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

@font-face {
    font-family: Ano;
    font-weight: 400;
    src: url("../fonts/AnoRegular-Regular-DSKFG8h.otf") format('opentype');
}
@font-face {
    font-family: Ano;
    font-weight: 400;
    font-style: italic;
    src: url("../fonts/AnoRegular-Italic-sb6lm4e.otf") format('opentype');
}
@font-face {
    font-family: Ano;
    font-weight: 500;
    src: url("../fonts/AnoBold-Regular-vaiAT7C.otf") format('opentype');
}
@font-face {
    font-family: Ano;
    font-weight: 700;
    src: url("../fonts/AnoBlack-Regular--E-v5D3.otf") format('opentype');
}

@keyframes twinkle {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

html {
    font-size: 9px;
    @media (height >= 680px) {
        font-size: 10px;
    }
    @media (width >= 1080px) {
        font-size: 11px;
    }
    @media (width >= 1280px) {
        font-size: 12px;
    }
}

body {
    background-color: #000;
    color: #fff;
}

body, input {
    font-family: Ano, sans-serif;
    font-weight: 400;
}

a {
    color: currentColor;
}

body > * {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 100dvh;
    padding: 45px 30px 15px;
    text-align: center;
    text-transform: uppercase;
    &.hidden {
        display: none;
    }
    &.appearing {
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
    }
    @media (height < 680px) {
        padding-top: 30px;
    }
    @media (width >= 768px) {
        padding-bottom: 30px;
    }
}

p {
    font-size: 1.6rem;
    line-height: 1.2;
    a {
        border-bottom: 1px solid #fff9;
        text-decoration: none;
        font-weight: 700;
    }

    &.note {
        text-transform: none;
        font-size: 1.2rem;
        font-style: italic;
    }
}

.logo {
    display: block;
    margin: 0 auto;
    width: 90%;
    max-width: 400px;
    @media (height < 680px) {
        width: 85%;
        margin-bottom: -5px;
    }
}

.button {
    border: 1px solid #fff;
    border-radius: 25px;
    padding: 15px 45px 13px;
    text-transform: uppercase;
    text-decoration: none;
    background-color: #0009;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: .15em;
    cursor: pointer;
    transition: background-color .2s;
    &.active, &:disabled {
        background-color: #000;
    }
    @media (width >= 768px) {
        padding-block: 18px 15px;
        font-size: 1.4rem;
    }
}

.em {
    font-family: 'social-gothic', sans-serif;
    font-weight: 500;
}

.step-1, .step-3::before, .album {
    background: #000 url("../images/bg-mobile-Edj9cbj.webp") no-repeat center 60% / cover;
    @media (width >= 768px) {
        background-image: url("../images/bg-tablet-TAr5mwJ.webp");
    }
    @media (width >= 1024px) {
        background-image: url("../images/bg-desktop-q4m4qLM.webp");
    }
}

.step-1 {
    > div {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        @media (width >= 1280px) {
            width: 100%;
            flex-direction: row;
            justify-content: space-between;
        }
        > div {
            p:nth-of-type(1) {
                margin-bottom: 5px;
                font-size: 3rem;
                @media (width < 1280px) {
                    margin-top: 15px;
                }
            }

            p:nth-of-type(2) {
                font-size: 1.8rem;
            }
        }
        > p {
            font-size: 2.4rem;
            font-weight: 500;
            @media (width < 1280px) {
                margin-top: auto;
            }
            span {
                display: block;
                margin-top: -.1em;
                font-size: 9rem;
            }
        }
    }

    .location {
        margin-bottom: 5px;
    }

    .button {
        margin-block: 30px;
        @media (height >= 680px) {
            margin-block: 45px;
        }
    }
}

.step-2 {
    background: linear-gradient(#8c8c8c 0%, #0c0c0c 100%) no-repeat center center / cover;
    p:nth-of-type(1) {
        margin-top: 12vh;
        margin-bottom: 30px;
        letter-spacing: .1em;
        @media (height >= 680px) {
            margin-top: 15vh;
        }
    }
    label, input[type="text"], input[type="email"], input[type="tel"] {
        display: block;
        width: 100%;
        max-width: 500px;
        padding: 10px 15px;
        text-align: left;
    }
    label {
        font-size: 1.6rem;
    }
    input[type="text"], input[type="email"], input[type="tel"] {
        margin-bottom: 15px;
        border: none;
        border-radius: 25px;
        font-size: 2rem;
        background-color: #000;
        color: #fff;
        &:focus-visible {
            outline: none;
        }
    }
    input[type="submit"] {
        margin-top: auto;
        margin-bottom: 45px;
        color: #fff;
        @media (height >= 680px) {
            margin-bottom: 60px;
        }
    }
}

.step-3 {
    &::before {
        content: '';
        position: fixed;
        z-index: -1;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
    }

    p {
        line-height: 1.4;
    }

    .first-screen {
        height: calc(100dvh - 45px);
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 90px;
        padding-bottom: 30px;
        p:nth-of-type(1) {
            margin-top: 15px;
            font-size: 4.5rem;
            font-weight: 500;
        }
        p:nth-of-type(2) {
            font-size: 1.4rem;
        }

        .qr {
            display: block;
            max-width: 150px;
            width: 35%;
            height: auto;
            margin-top: auto;
            margin-bottom: 30px;
            background-color: #fff;
        }

        p:nth-of-type(3) {
            max-width: 280px;
            margin-bottom: 15px;
            font-size: 1.3rem;
            @media (width >= 768px) {
                font-size: 1.4rem;
            }
        }

        .scroll-down {
            display: block;
            margin: 15px auto 0;
            width: 50px;
            height: auto;
            animation: twinkle .6s ease-in-out infinite alternate;
        }
    }

    .button {
        display: block;
        margin: 0 auto 15px;
        padding-inline: 15px;
        width: 260px;
        @media (width >= 768px) {
            width: 300px;
        }
    }

    > p:last-child {
        margin-top: 30px;
    }
}

.check {
    justify-content: center;
    background-color: #000;
    p:nth-of-type(1) {
        margin-top: 15px;
        text-transform: uppercase;
        font-size: 4rem;
    }
}

.album {
    p:nth-of-type(1) {
        margin-top: 30px;
        font-weight: 500;
    }
    p:nth-of-type(2) {
        margin-bottom: -.15em;
        font-size: 8rem;
    }
    p:nth-of-type(3) {
        margin-bottom: 20vh;
        font-size: 5.7rem;
    }

    .button {
        width: 200px;
        margin-bottom: 30px;
        padding-inline: 30px;
        @media (width >= 768px) {
            width: 300px;
        }
    }
}
