@font-face {
    font-family: "Heading Now";
    src: url("../fonts/HeadingNow-85Medium.otf") format("opentype");
    font-weight: 500;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: #000000;
    background-image: url(../img/bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    font-weight: 500;
    font-family: "Heading Now";
    color: #ffffff;
    text-transform: uppercase;
    overflow: hidden auto;
    transition: background-image 0.3s;
    cursor: default;
}

body.is-bw {
    background-image: url(../img/bg-bw.jpg);
}

body * {
    box-sizing: border-box;
    margin: 0;
}

img,
svg {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.main {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: inherit;
}

.main__content {
    position: absolute;
    left: 8.44vh;
    top: 17.89vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content__title {
    font-size: 7.3vh;
    line-height: 100%;
    color: #50f000;
    text-align: center;
}

.content__subtitle {
    margin-top: -2vh;
    margin-left: -1vh;
    font-size: 20vh;
    line-height: 108%;
    color: #ffffff;
    text-align: center;
}
.content__button {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    /* Добавьте остальные стили, которые были у вашей кнопки */
}

/* Если нужно, чтобы ссылка занимала всю область кнопки */
.content__button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 0; /* Настройте по необходимости */
}

.content__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 51.39vh;
    height: 10.45vh;
    margin: 3.14vh auto 0;
    border-radius: 6vh;
    background-color: #50f000;
    font-size: 3.4vh;
    line-height: 100%;
    color: #000000;
    transition: transform 0.3s;
    cursor: pointer;
}

.content__button:hover {
    transform: scale(1.1);
}

.main__answer {
    max-width: 90vw;
    margin: auto;
    padding-bottom: 5.56vh;
    font-size: 6.11vh;
    line-height: 140%;
    color: #ffffff;
    text-align: center;
}

footer {
    position: absolute;
    right: 7vh;
    bottom: 3.67vh;
    display: flex;
    align-items: center;
    gap: 1vh;
}

footer img {
    width: 3vh;
}

.hide {
    display: none !important;
}

@media screen and (orientation: portrait) {
    body {
        background-image: url(../img/bg-mob.jpg);
        background-position: top center;
        background-size: 100%;
    }

    body.is-bw {
        background-image: url(../img/bg-bw-mob.jpg);
    }

    .main {
        justify-content: flex-start;
        width: 86.32vw;
        padding: 13.83vw 0 30vw;
        margin: 0 auto;
    }

    .main__content {
        position: relative;
        left: initial;
        top: initial;
        align-items: center;
        width: 100%;
    }

    .content__title {
        font-size: 8.5vw;
    }

    .content__subtitle {
        margin-top: -2vw;
        margin-left: -1vw;
        font-size: 23.5vw;
    }

    .content__button {
        width: 100%;
        height: 17.54vw;
        margin-top: 105vw;
        border-radius: 10vw;
        font-size: 5.72vw;
    }

    .main__answer {
        margin-top: 0;
        padding-top: 61.28vw;
        padding-bottom: 0;
        font-size: 7.69vw;
    }

    footer {
        right: 50%;
        transform: translateX(50%);
        bottom: 11.44vw;
        gap: 1vw;
    }

    footer img {
        width: 6.5vw;
    }
}
