* {
    box-sizing: border-box;
}

a {
    color: black;
    text-decoration: none;
}

.container a {
    cursor: pointer;
}

body {
    text-transform: lowercase;
}

.container {
    margin: 1rem;
    width: 500px;
    max-width: 90vw;
    border: 1px solid black;
    padding: 1.5rem;
}

@media only screen and (max-width: 30em) {
    .container {
        width: calc(100vw - 2rem);
        margin: 1rem auto;
}
}

.title {
    text-transform: uppercase;
    transition: 3s;
    text-align: center;
    font-weight: bold;
}

hr {
    border-top: 0.25px solid black;
}

.person {
    text-transform: uppercase;
    transition: 3s;
    text-align: center;
    font-weight: 150px;
}

.person:hover {
    transform: skew(90deg, 0deg);
}

.image {
    margin: 0 auto;
    width: 300px;
    height: 300px;
    border: gray solid 1px;
    transition: 3s;
    filter: grayscale(1);
    -webkit-transition: background-image 5s ease-in-out;
    transition: background-image 5s ease-in-out;
}

.image:hover {
    box-shadow: yellow 0px 0px 30px;
    filter: grayscale(0);
}

li img {
    width: 400px;
    border: 1px black solid;
    box-shadow: black 0px 0px 30px;
    display: none;
    z-index: 99;
    position: fixed;
    right: 1rem;
    top: 1rem;
    transition: 2s ease-in-out;
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

li:hover img {
    display: block;
}

#morgan {
    background: url('images/morgan.jpeg');
    background-size: contain;
}

#shenita {
    background: url('images/shenita.jpg');
    background-size: contain;
}

#msg {
    background: url('images/msg.jpeg');
    background-size: contain;
}

#morgan:hover {
    background: url('images/morganalt.jpg');
    background-size: contain;
    /* transform: scale(0.5, 9) rotate(360deg); */
}

#shenita:hover {
    background: url('images/shenitaalt.jpg');
    background-size: cover;
    /* transform: scale(9, 0.5) rotate(360deg); */
}

#msg:hover {
    background: url('images/msgalt.jpg');
    background-size: contain;
    /* transform: rotate(360deg); */
}

li {
    transition: 3s;
}

li:hover {
    text-transform: uppercase;
    font-size: 1.5em;
}

ul {
    display: inline-block;
    text-align: left;
}

audio {
    margin: 0 auto;
    display: table;
    filter: grayscale(1) contrast(99%) invert(100%);
}

#back {
    position: fixed;
    bottom: 0rem;
    right: 1rem;
    text-shadow: 0px 0px 10px yellow;
}

#back:hover {
    cursor: pointer;
    text-transform: capitalize;
    text-shadow: 0px 0px 5px yellow;
}

::selection {
    background-color: yellow;
}