@font-face {
    font-family: 'Stolzl';
    src: url('../assets/fonts/stolzl_regular.otf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Stolzl';
    src: url('../assets/fonts/stolzl_bold.otf');
    font-weight: 600;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Stolzl';
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow-x: hidden;
}

body > img {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.title__screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 136px;
    transition: .3s;
}

.title__screen > img {
    max-width: 1000px;
    width: 90%;
    margin-bottom: 80px;
}

.title__screen > h1 {
    font-size: 96px;
    color: white;
    margin-bottom: 24px;
    text-align: center;
}

.title__screen > p {
    font-size: 24px;
    line-height: 140%;
    color: white;
    text-align: center;
    max-width: 452px;
    width: 90%;
    margin-bottom: 38px;
}

.title__screen > button {
    padding: 24px 40px;
    background: white;
    font-size: 24px;
    border-radius: 48px;
    border: none;
    transition: .3s;
    cursor: pointer;
}

.title__screen > button:hover {
    opacity: .7;
}

footer {
    margin-top: 38px;
    padding-bottom: 38px;
    color: white;
    font-size: 18px;
    opacity: .2;
    text-align: center;
}

.cards__screen {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: 80px;
    width: 100%;
    display: none;
    opacity: 0;
    transition: .3s;
}

.cards__screen > img {
    width: 222px;
    margin-bottom: 40px;
}

.cards__screen > .buttons__wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.cards__screen > .buttons__wrapper > button {
    height: 6px;
    width: 32px;
    background: rgba(217, 217, 217, .2);
    border: none;
    border-radius: 3px;
    margin-bottom: 48px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.cards__screen > .buttons__wrapper > button > span {
    background: white;
    width: 0%;
    height: 100%;
    transition: 5s;
}

.cards__screen > .cards__wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    height: 600px;
}

.cards__screen > .cards__wrapper > article {
    flex-shrink: 0;
    padding: 20px 32px;
    border: 1px solid #FFFFFF26;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(240, 240, 240, 0.1) 100%);
    border-radius: 48px;
    backdrop-filter: blur(20px);

    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    transform-origin: left center;
    max-width: 437px;
    width: 90%;
    min-height: 558px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: .3s;
    pointer-events: none;
}

.cards__screen > .cards__wrapper > article > * {
    color: white;
    text-align: center;
}

.cards__screen > .cards__wrapper > article > p {
    font-size: 18px;
    line-height: 22px;
    opacity: .2;
}

.cards__screen > .cards__wrapper > article > h1 {
    font-size: 10px;
    line-height: 100%;
    margin-bottom: -60px;
}


.cards__screen > .cards__wrapper > article > h3 {
    font-size: 16px;
    line-height: 22px;
    opacity: .2;
    font-weight: 400;
}

.cards__screen > .cards__wrapper > article > h2 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 400;
}

.cards__screen > .cards__wrapper > article > span {
    font-size: 18px;
    line-height: 22px;
    padding: 8px 16px;
    border-radius: 48px;
    border: 1px solid white;
    opacity: .2;
}

@media screen and (max-width: 480px) {
    body {
        overflow-x: hidden;
    }

    .title__screen {
        padding-top: 64px;
    }

    .title__screen > img {
        margin-bottom: 24px;
    }

    .title__screen > h1 {
        font-size: 64px;
    }

    .cards__screen {
        padding-top: 24px;
    }

    .cards__screen > .cards__wrapper {
        overflow: hidden;
        height: 514px;
    }

    .cards__screen > .cards__wrapper > article {
        min-height: 514px;
    }

    .cards__screen > .cards__wrapper > article:last-of-type > h1 {
        margin-bottom: 0;
    }

    .cards__screen > .cards__wrapper > article:last-of-type > h2 {
        font-size: 16px;
    }
}

