body {
    color: #F2F2F2;
    font-family: 'Bitter', serif;
    font-size: 1em;
    font-weight: 300;
    line-height: 1.8em;
    /* max-width: 1200px;
    min-width: 800px; */
}

#container {
    max-width: 1200px;
    min-width: 800px;
    margin: auto;
}

main {
    display: flex;
    flex-direction: row;
}

header {
    border-radius: 5px;
    color: #4A4A4A;
    margin: 30px;
}

/* ------ banner ------ */
#banner {
    background-color: #E0EDF4;
    border-radius: 5px;
    overflow: hidden;
    width: 1100px;
    height: 250px;
    position: relative;
    margin: auto;
}

#headings {
    position: relative;
    left: 5%;
    top: 15%;
}

#shadows {
    position: relative;
    bottom: 240%;
}

#vinylShadow {
    position: absolute;
    left: 45%;
    top: -16.8%;
    z-index: 0;

    width: 600px;
    height: 600px;
}

#innershadow {
    background: linear-gradient(180deg, rgba(124, 124, 124, 0) 49.93%, #4A4A4A 220.05%);

    position: absolute;
    bottom: 0%;
    width: 1100px;
    height: 54px;

    z-index: 3;
}

h1, h2 {
    font-family: 'Lora', serif;
    font-weight: 600;  
}

h2 {
    font-size: 1.5em;
    font-weight: 300;
}

h3 {
    font-size: 1em;
    font-weight: 400;
    margin: 0;
    line-height: 0.8em;
}

/* ------ banner animations ------ */

#animation {
    width: 600px;
    height: 600px;

    position: relative;
    left: 45%;
    bottom: 70%;
}

#animation #vinyl{
    animation-name: vinyl;
    animation-delay: 1s;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-play-state: paused;
    animation-timing-function: linear;
    transform-origin: center;

    width: 600px;
    height: 600px;

    z-index: 1;
}

#animation:hover #vinyl {
    animation-play-state: running;
}

@keyframes vinyl {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}

#arm {
    position: relative;
    left: 37%;
    bottom: 125%;

    width: 400px;
    height: 429px;
    z-index: 2;

    animation-name: armStatic;
    animation-direction: alternate;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;

    transition: all 1s;
}

@keyframes armStatic {
    0% {transform: rotate(0deg);}
    50% {transform: rotate(3deg);}
    100% {transform: rotate(0deg);}
}

#animation:hover #arm {
    animation-name: arm;
    animation-direction: alternate;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;

    transform: rotate(25deg);
}

@keyframes arm {
    from {transform: rotate(0deg);}
    to {transform: rotate(25deg);}
}


/* ------ section designs ----- */

section {
    border-radius: 5px;
    margin: 0 auto;
    padding: 30px;
    width: 270px;
    height: 270px;
}

section h2 {
    font-weight: 300;
    margin: 0px;
    color: #E0EDF4;
}

#studios {
    background-color: #846AAD;
}

#studios ul li a:hover {
    border-left: 5px solid #BCB0D0;
}

#research {
    background-color: #2D5CA3;
    margin: 0px 10px 0px;
}

#research ul li a:hover {
    border-left: 5px solid #A7BBDA;
}

#final {
    background-color: #669D43;
    height: 100px;
}

#final ul li a:hover {
    border-left: 5px solid #B3CEA1;
}

ul {
    margin: 10px;
    padding-left: 5px; 
    list-style-type: none;
}

ul li a {
    text-decoration: none;
    color: aliceblue;
    border-left: 5px solid transparent;
    padding: 5px 15px;
}
/* ------ main page animation ----- */

#volume {
    animation-name: volume;
    animation-direction: alternate;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;

    transform-origin: center;

    position: relative;
    bottom: -110%;

    width: 75px;
    height: 87px;
}

@keyframes volume {
    0% {transform: rotate(-45deg);}
    20% {transform: rotate(-25deg);}
    40% {transform: rotate(-30deg);}
    60% {transform: rotate(0deg);}
    80% {transform: rotate(15deg);}
    100% {transform: rotate(30deg);} 
}

#volume2 {
    animation-name: volume;
    animation-direction: alternate;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;

    transform-origin: center;

    position: relative;
    bottom: -22%;
    left: 40%;

    width: 75px;   
}

@keyframes volume2 {
    0% {transform: rotate(80deg);}
    20% {transform: rotate(25deg);}
    40% {transform: rotate(30deg);}
    60% {transform: rotate(0deg);}
    80% {transform: rotate(-15deg);}
    100% {transform: rotate(-10deg);} 
}

#control {
    display: flex;
    gap: 3px;

    width: 50px;
    height: 60px;

    position: relative;
    bottom: 30%;
    left: 80%;
}

#amp1, #amp2, #amp3 {
    background-color: #2D5CA3;
    width: 25px;
    height: 30px;

    position: relative;
    display: block;

    transform-origin: bottom;
}

#amp1 {
    animation-name: controls;
    animation-iteration-count: infinite;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-direction: alternate;
}

@keyframes controls {
    0% {transform: scaleY(1);}
    50% {transform: scaleY(2)}
    100% {transform: scaleY(1.5)}
}

#amp2 {
    animation-name: controls2;
    animation-iteration-count: infinite;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-direction: alternate;
}

@keyframes controls2 {
    0% {transform: scaleY(0.75);}
    50% {transform: scaleY(0.65)}
    100% {transform: scaleY(1.5)}
}

#amp3 {
    animation-name: controls3;
    animation-iteration-count: infinite;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-direction: alternate;
}

@keyframes controls3 {
    0% {transform: scaleY(0.5);}
    30% {transform: scaleY(1.2)}
    60% {transform: scaleY(1)}
    100% {transform: scaleY(0.75)}
}

/* ----- footer ----- */

footer {
    background-color: #E5CA93;
    padding: 10px;
    width: 100%;
    text-align: center;

    position: absolute;
    bottom: 0;
}

footer a {
    text-decoration: none;
    color: #4A4A4A;
}