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.unclesam {animation-name: slide-from-left;}
div.obama {animation-name: slide-from-right;}
div.child {animation-name: slide-from-top;}

@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.unclesam {
        width: 35vh;
        top: 60vh;
    }
    div.obama {
        width: 40vw;
        top: 45vh;
    }
    div.child {
        width: 45vw;
        right: 40px;
    }
}
/*
    * Define positions of div for larger screens
*/
@media screen and (min-width: 1200px) {
    div.unclesam {
        width: 55vh;
        top: 40vh;
    }
    div.obama {
        width: 45vh;
        bottom: 0;
    }
    div.child {
        width: 27.5vw;
        top: 0;
        right: 0;
    }
}


/*
    * Define positions of h2 for smaller screens
*/
@media screen and (max-width: 1200px) {
    
    h2.unclesam {top: 15vh; left: 25vw;}
    h2.obama {top: 20vh; left: 45vw;}
    h2.child {top: 25vh; left: 32.5vw}
}
/*
    * Define positions of h2 for larger screens
*/
@media screen and (min-width: 1200px) {
    h2.unclesam {top: 15vh; left: 35vw;}
    h2.obama {top: 20vh; left: 55vw;}
    h2.child {top: 25vh; left: 42.5vw}
}

/*
    * 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: 0;
        }
    }
    @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: 10vw;
        }
    }
    @keyframes slide-from-right {
        0% {
            right: -45vh;
        }
        100% {
            right: 20vw;
        }
    }
    @keyframes slide-from-top {
        0% {
            top: -30vw;
        }
        100% {
            top: 0;
        }
    }
}
