body {
    margin: 0;
    padding: 0;

    color: white;
    font-family: sans-serif;
}
img {width: 100%; pointer-events: none;}
h2 {
    position: relative;
    width: fit-content;

    margin: 0;
    padding: 0;

    font-size: 5vh;

    animation: appear 7.5s ease-in forwards
                /* , color-change 1s linear infinite alternate; */
}

div#content {
    /* display: none; */
    width: 100vw;
    height: 100vh;
    /* background-image: url("/medias/draw-poitingfingers.png"); */
    background-size: auto 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: black;
}
div.pointing {
    position: fixed;
    width: 27.5vw;
    
    animation-duration: 5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

div.judge {animation-name: slide-from-left;}
div.harry {animation-name: slide-from-right;}
div.anakin {animation-name: slide-from-top;}

h2.yes {
    position: fixed;
    font-weight: 700;
    font-size: 8vh;

    border: 1px solid white;
}
h2.no {
    position: fixed;
    font-weight: 700;
    font-size: 3vh;

    border: 1px solid white;
}

@keyframes appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes color-change {
    0% {
        color: red;
    }
    20% {
        color: orange;
    }
    40% {
        color: yellow;
    }
    60% {
        color: green;
    }
    80% {
        color: blue;
    }
    100% {
        color: purple;
    }
}


/*
    * Define positions of div for smaller screens
*/
@media screen and (max-width: 1200px) {
    div.judge {
        width: 25vh;
        bottom: 2.5vw;
    }
    div.harry {
        width: 55vw;
        top: 40vh;
    }
    div.anakin {
        width: 35vw;
        right: 0;
    }
}
/*
    * Define positions of div for larger screens
*/
@media screen and (min-width: 1200px) {
    div.judge {
        width: 55vh;
        top: 30vh;
    }
    div.harry {
        width: 45vh;
        bottom: 0;
    }
    div.anakin {
        width: 22.5vw;
        top: 0;
        right: 0;
    }
}


/*
    * Define positions of h2 for smaller screens
*/
@media screen and (max-width: 1200px) {
    
    h2.anakin {top: 15vh; left: 20vw;}
    h2.harry {top: 17.5vh; left: 40vw;}
    h2.judge {top: 20vh; left: 27.5vw}
    h2.yes {top: 42.5vh; left: 7.5vw; padding: 3vw 5vw; padding-top: 0; border-radius: 50px;}
    h2.no {top: 57.5vh; left: 7.5vw; padding: 1vw 5vw; padding-top: 0; border-radius: 50px;}
}
/*
    * Define positions of h2 for larger screens
*/
@media screen and (min-width: 1200px) {
    h2.anakin {top: 10vh; left: 40vw;}
    h2.harry {top: 15vh; left: 47.5vw;}
    h2.judge {top: 20vh; left: 42.5vw;}
    h2.yes {top: 45vh; left: 37.5vw; padding: 1vw 2.5vw; padding-top: 0; border-radius: 50px;}
    h2.no {top: 55vh; left: 50vw; padding: .25vw 1.5vw; padding-top: 0; border-radius: 50px;}
}

/*
    * Define animations for smaller screens
*/
@media screen and (max-width: 1200px) {
    @keyframes slide-from-left {
        0% {
            left: -35vh;
        }
        100% {
            left: 2.5vw;
        }
    }
    @keyframes slide-from-right {
        0% {
            right: -40vw;
        }
        100% {
            right: -5vw;
        }
    }
    @keyframes slide-from-top {
        0% {
            top: -40vw;
        }
        100% {
            top: 0;
        }
    }
}
/*
    * Define animations for larger screens
*/
@media screen and (min-width: 1200px) {
    @keyframes slide-from-left {
        0% {
            left: -55vh;
        }
        100% {
            left: 2.5vw;
        }
    }
    @keyframes slide-from-right {
        0% {
            right: -45vh;
        }
        100% {
            right: 15vw;
        }
    }
    @keyframes slide-from-top {
        0% {
            top: -30vw;
        }
        100% {
            top: 0;
        }
    }
}
