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

:root {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #fff;
    --brand-red: #DA291C;
}

.hidden {
    display: none !important;
}


/* Index */
#index-body {
    display: flex;
    background: #1E1E1E;
}


#scan-me {
    background: var(--brand-red);
    margin: 0;
    width: 25vmin;
    padding-bottom: .5em;
    position: fixed;
    right: 1dvw;
    bottom: 25vmin;
    color: #fff;

}

#qr-code-img {
    width: 25vmin;
    height: 25vmin;
    position: fixed;
    right: 1dvw;
    bottom: 1dvw;
}

.image {
    position: fixed;
    margin-inline: auto;
    height: 100dvh;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.fade-out {
    animation-name: fade-out;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.fade-in {
    animation-name: fade-in;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 100%;
    }
}

@keyframes fade-out {
    from {
        opacity: 100%;
    }
    to {
        opacity: 0;
    }
}

/* Mobile */
body {
    background: #fff;
}

#main-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100dvh;
}

h1 {
    margin-top: 2rem;
    color: #1E1E1E;
    font-size: 12vmin;
    text-align: center;
}

p {
    text-align: center;
    margin-top: .5rem;
    font-size: 4vmin;
    font-weight: 400;
    color: #1E1E1E;
}

#hand {
    font-size: 8vmin;
    margin-bottom: 2rem;
}

#language-selector {
    width: 100%;
    padding: 1em;
    display: flex;
    flex-direction: column;
    gap: .5em;
    justify-content: center;
    align-items: center;
}

.language {
    all: unset;
    font-size: max(2rem, 3vmin);
    background: var(--brand-red);
    width: 100%;
    padding: .5em 0;
    text-align: center;
    border-radius: 15vmin;
    transition: width 300ms ease-in;
}

.language:hover {
    cursor: pointer;
    background: #fff;
    outline: 2px solid var(--brand-red);
    color: var(--brand-red);
    width: 95%;
}


