@font-face {
    font-family: "Geometria";
    src: url("./assets/fonts/geometria_medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

body {
    margin: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    font-family: "Geometria", sans-serif;
    position: relative;
    background: url("./assets/images/desktop.webp") center/cover no-repeat;
}

.group {
    position: absolute;
    left: 117px;
    bottom: 33px;
    width: 521.894px;
    z-index: -1;
}

.group-mobile {
    display: none;
}

.page {
    height: 100%;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page.active {
    display: flex;
}

.video {
    width: 100%;
    max-width: 1280px;
}

.title {
    color: #fff;
    text-align: center;
    font-size: 64.071px;
    font-weight: 500;
    line-height: 110%;
    margin: 0 0 81px 0;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 393px;
    width: 100%;
}

button {
    width: 100%;
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: none;

    color: #1d1d1b;
    text-align: center;
    font-size: 29.366px;
    font-weight: 500;
    line-height: 110%;
    margin-bottom: 26px;
    cursor: pointer;
}

button:focus-visible {
    outline: 0;
}

.top-mobile {
    display: none;
}

#page1,
#page2,
#page3,
#page4 {
    background: #000;
}

@media (max-width: 1280px) {
    .group {
        max-width: 350px;
    }
}

@media (max-width: 1024px) {
    body {
        background: url("./assets/images/mobile.webp") top/cover no-repeat;
        background: #E30613;
    }

    .title {
        font-size: 49.693px;
        margin-bottom: 101px;
    }

    .group {
        display: none;
    }

    .group-mobile {
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
    }
    .top-mobile {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .title {
        font-size: 27.676px;
        margin-bottom: 41px;
    }

    button {
        font-size: 16.355px;
        margin-bottom: 14.5px;
        padding: 13.3px;
        border-radius: 13.366px;
    }

    nav {
        max-width: 218.874px;
    }

    .group {
        display: none;
    }
}
