@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.9;
    }
}

@keyframes showquestion {
    0% {
        width: 90vw;
        height: 90vh;
        z-index: 50;
    }

    100% {
        width: 50vw;
        height: 20rem;
    }
}

@font-face {
    font-family: Lexend;
    src: url(../Lexend-VariableFont_wght.ttf) format('truetype');
}

body {
    font-family: Lexend;
    font-weight: 600;
    background-color: #EDEEEE;
    background-image: radial-gradient(circle at 2px 2px, white 2px, transparent 0), radial-gradient(circle at 2px 2px, white 2px, transparent 0);
    background-size: 24px 24px;
    background-position: 0px 0px, 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: 1s fadein ease-in forwards;
    overflow: hidden;
}

h1 {
    font-size: 2rem;
    color: white;
    text-shadow: 0.3rem 0.3rem #005d96;
}

header {
    position: relative;
    top: 2rem;
    width: 90vw;
    height: 90vh;
    padding: 2rem;
    border-radius: 2rem;
    background-image: linear-gradient(to bottom, #6eaaff, #386fc7);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    place-content: center;
    z-index: 50;
    text-align: center;
    animation: 1s showquestion ease-out forwards;
    animation-delay: 3s;
}

    header h1 {
        width: 80%;
        position: relative;
        bottom: 1rem;
    }

.btn {
    color: white;
    padding: 2rem 2rem 5rem 2rem;
    width: 30vw;
    position: fixed;
    top: 30rem;
    border-radius: 2rem;
    transition: transform 0.2s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

    .btn figure {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .btn figcaption {
        position: relative;
        top: 1rem;
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .btn img {
        width: 100%;
        border-radius: 2rem;
    }

    .btn:hover {
        transform: scale(1.05);
    }

    .btn:active {
        transform: scale(0.95);
    }

#left {
    left: 15vw;
    background-image: linear-gradient(to bottom,#50ad59,#397d40);
}

#right {
    right: 15vw;
    background-image: linear-gradient(to bottom,#ff8000,#c96500);
}

.btn-full {
    color: white;
    padding: 2rem 2rem 5rem 2rem;
    width: 45vw;
    border-radius: 2rem;
    transition: transform 0.2s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    background-image: linear-gradient(to bottom,#50ad59,#397d40);
    position: fixed;
    left: 25vw;
    bottom: 25vh;
}

    .btn-full figure {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .btn-full figcaption {
        position: relative;
        top: 3rem;
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .btn-full img {
        width: 100%;
        border-radius: 2rem;
    }

    .btn-full:hover {
        transform: scale(1.05);
    }

    .btn-full:active {
        transform: scale(0.95);
    }

.goback {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: blue;
    color: white;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .goback:hover {
        transform: scale(1.05);
    }

    .goback:active {
        transform: scale(0.95);
    }

.mobilerefuse {
    visibility: hidden;
}

@media (max-width:800px) {
    @media (orientation: portrait) {
        .mobilerefuse {
            visibility: visible;
            width: 100vw;
            height: 200vh;
            background-color: black;
            z-index: 100;
            color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    }
    @media (orientation: landscape) {
        body {
            overflow:scroll;
            overflow-x:hidden;
            overflow-y:scroll;
        }
    }
}
