@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

body {
    background: #121212;
    color: white;
    font-family: 'Roboto', sans-serif;
    padding: 0 10%;
    display: flex;
    align-items: center;
}

html,
body {
    height: 100%;
}

.mockup {
    background-image: url('../img/mockup.png');
    background-size: auto 75%;
    background-repeat: no-repeat;
    background-position: 80%;
    height: 100%;
    flex: 1;
    transform: translateY(10%);
    opacity: 0;
    transition: all 1s;
}

main {
    display: block;
    flex: 1;
}

h1 {
    font-size: 48pt;
    font-weight: 500;
    margin-bottom: 0px;
}

h2 {
    color: #ffffff80;
    font-size: 30pt;
    font-weight: 400;
    margin-top: 10px;
}

a {
    text-decoration: none;
    background-color: #191919;
    border-radius: 16px;
    border: none;
    font-family: 'Roboto', sans-serif;
    color: white;
    font-size: 16pt;
    padding: 18px 64px;
    font-weight: 500;
}

.mobile-button {
    display: none;
    height: min-content;
    padding: 0 0;
    margin: 0px auto 16px;
    width: 100%;
}

.desktop-button {
    margin-right: 16px;
}

@media only screen and (max-width: 900px) {

    /* Для мобильных устройств */
    body {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px
    }

    .mockup {
        background-position: center;
        width: 100%;
        background-size: auto 100%;
        flex: 10;
    }

    h1 {
        font-size: 24pt;
    }

    h2 {
        font-size: 18pt;
    }

    .desktop-button {
        display: none;
    }

    .mobile-button {
        display: flex;
        padding: auto;
        flex: 1;
        align-items: center;
        justify-content: center;
    }
}