body {
    margin: 0;
    padding: 0;
    background-color: #fffbc4;
    position: relative;
}

@font-face {
    font-family: Playbill;
    src: url(PlaybillRegular.ttf);
}

@font-face {
    font-family: Marquee;
    src: url(RetroSigned-DYYY0.ttf);
}

/* page selection menu */

.menu-box {
    background-color: #a00220;
    padding: 0.5rem;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 0px 15px white inset, 3px 3px 10px black;
    position: sticky;
    top: 0;
    z-index: 10;
}

button {
    display: none;
    color: black;
    padding: 0.55rem;
    margin: 0.4rem;
    background-color: #fceb00;
    border-radius: 5px;
    font-size: 1.25rem;
    font-family: Playbill;
    box-shadow: 2px 2px 10px black;
}

.logo {
    width: 15%;
    height: auto;
    min-width: 130px;
    display: inline;
}

nav {
    justify-self: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    color: black;
    padding: 0.4rem;
    margin: 0.4rem;
    background-color: #fceb00;
    border-radius: 5px;
    font-size: 1.25rem;
    font-family: Playbill;
    box-shadow: 2px 2px 10px black;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 2px;
}

.social-icons a {
  display: inline-block;
  width: 3.49rem;
  height: 2.4rem;
}

.social-icons svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* other formatting */

.main-heading {
    font-family: Marquee;
    color: #a00220;
    font-size: 2.1rem;
    text-align: center;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 3rem;
    column-gap: 2rem;
    z-index: 0;
}

p {
    text-align: center;
    font-size: 1rem;
    color: black;
    min-width: 30%;
}


iframe {
    width: 18rem;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.red-border {
    justify-self: center;
    border: 5px dotted #a00220;
    padding: 8px;
    border-radius: 10px;
    background-color: #fff569;
    box-shadow: 2px 2px 10px black;
    margin: 3rem;
    column-gap: 1rem;
}

.second-heading {
    color:#a00220;
    font-family: Playbill;
    font-size: 1.7rem;
    text-align: center;
}

.featured-poster {
    width: 30%;
    border-radius: 5px;
    justify-self: center;
    border:#a00220 solid 3px ;
}

.vertical-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 0.5rem;
}

.larger-width {
    min-width: 60%;
}

.smaller-width {
    max-width: 50%;
}

.row-gap {
    row-gap: 1.5rem;
}

.column-gap {
    column-gap: 0.5rem;
    padding: 0px;
    justify-content: center;
}

.bigger-column-gap {
    column-gap: 2rem;
    padding: 0px;
    justify-content: center;
}

.footer {
    background-color: #a00220;
    color: white;
    padding: 0.5rem;
    margin-top: 2rem;
    text-align: center;
}

.margin {
    margin: 1rem 3rem;
}

.temp-margin {
    margin: 1rem 3rem;
}

.align-start {
    align-items: flex-start;
    align-self: flex-start;
}

.half-width {
    width: 45%;
}

.link {
    color: black;
    background-color: #fceb00;
    border-radius: 5px;
    font-size: 1.4rem;
    font-family: Playbill;
    box-shadow: 2px 2px 10px black;
    padding: 0.55rem;
    text-align: center;
}

.red {
    color: #a00220;
}

.align-left {
    text-align: left;
    justify-content: flex-start;
}

.past-events {
    justify-self: center;
    min-width: 65%;
    margin: auto;
}

.space-around {
    justify-content: space-around;
}

/* index specifically */

.triple-threat {
    position: relative;
    text-align: center;
    color: white;
    z-index: 0;
}

.fullscreen-img {
    width: 100%;
    height: 17.5rem;
    object-fit: cover;
    border-bottom: solid 2px black;
}

.text-triple-threat {
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 2rem;
}

.audition-link {
    position: absolute;
    bottom: 1.4rem;
    left: 1rem;
}

.audition-vid {
    width: 100%;
}

/* upcoming events */

.photo {
    width: 35%;
    border-radius: 5px;
}

/* extracurricular */

.extracurricular {
    min-height: 10rem;
    object-fit: cover;
    border-radius: 5px;
    border:#a00220 solid 3px ;
}

.reverse-wrap {
    flex-wrap: nowrap;
}

/* alumni */

.alumni {
    width: 80%;
    aspect-ratio: 8 / 10;
    object-fit: cover;
    border-radius: 5px;
    border:#a00220 solid 3px ;
}

.alumni-width {
    width: 8rem;
    height: 20rem;
    justify-content: flex-start;
    align-items: center;
}

/* about us */

.min-width {
    min-width: 20%;
}

.justify-start {
    justify-content: flex-start;
    justify-self: flex-start;
}

.esa-width {
    width: 60%;
}
    

/* responsive sizing */

@media only screen and (max-width: 600px) {
    html {
        font-size: 16px;
    }

    nav {
        flex-wrap: wrap;
    }

    svg {
        transform: scale(0.7);
        transform-origin: top left;
    }

    .menu-box {
        justify-content: space-evenly;
    }

    button {
        display: inline;
        order: 2;
    }

    nav {
        display: none;
    }

    .social-icons {
        display: none;
        flex-wrap: wrap;
    }

    .container {
        flex-wrap: wrap;
    }

    .reverse-wrap {
        flex-wrap: wrap-reverse;
    }

    .main-heading {
        font-size: 1.8rem;
    }
    
    .half-width {
        width: 90%;
    }

    iframe {
        width: 16rem;
    }

    .featured-poster {
        width: 9rem;
    }

    .photo {
        width: 5rem;
    }

    .temp-margin {
        margin: 0;
    }

    .alumni-width {
        width: 8rem;
        height: 20rem;
    }

    .min-width {
        width: 65%;
    }

}

@media (min-width:601px) and (max-width:620px) {
    html {
        font-size: 17px;
    }

    svg {
        transform: scale(0.85);
        transform-origin: top left;
    }

    .social-icons {
        flex-wrap: wrap;
        display: none;
    }

    nav {
        display: none;
        flex-wrap: wrap;
    }

    .menu-box {
        justify-content: space-evenly;
    }

    button {
        display: inline;
        order: 2;
    }

    .container {
        flex-wrap: wrap;
    }

    .reverse-wrap {
        flex-wrap: wrap-reverse;
    }

    .half-width {
        width: 45%;
    }

    iframe {
        width: 16rem;
    }

    .featured-poster {
        width: 9rem;
    }

    .photo {
        width: 5rem;
    }

    .temp-margin {
        margin: 0;
    }

    .alumni-width {
        width: 8rem;
        height: 20rem;
    }

    .min-width {
        width: 30%;
    }

}

@media only screen and (min-width: 706px){
    html {
        font-size: 18px;
    }

    nav {
        flex-wrap: wrap;
    }

    .social-icons {
        flex-wrap: wrap;
    }

    .container {
        flex-wrap: nowrap;
    }

    .reverse-wrap {
        flex-wrap: none;
    }

    iframe {
        width: 16rem;
    }

    .half-width {
        width: 45%;
    }
    
    .alumni-width {
        width: 10rem;
        height: 21rem;
    }

    .min-width {
        width: 40%;
    }

}

@media only screen and (min-width: 840px){
    html {
        font-size: 19px;
    }

    .social-icons {
        flex-wrap: wrap;
    }

    .main-heading {
        font-size: 2.5rem;
    }

    nav {
        flex-wrap: wrap;
    }

}

@media only screen and (min-width: 880px) {

    html {
        font-size: 21px;
    }

    .social-icons {
        flex-wrap: nowrap;
    }

    .container {
        column-gap: 5rem;
    }

    .column-gap {
        column-gap: 0.5rem;
    }

    .bigger-column-gap {
        column-gap: 2rem;
    }

    .red-border {
        column-gap: 2rem;
    }

    .larger-width {
        max-width: 50%;
    }

    .alumni-width {
        width: 13rem;
        height: 23.5rem;
    }

    nav {
        flex-wrap: wrap;
    }
    
}

@media only screen and (min-width: 900px) {

    nav {
        flex-wrap: wrap;
    }

    html {
        font-size: 21.7px;
    }


}

@media only screen and (min-width: 1220px) {

    html {
        font-size: 22.5px;
    }

    .social-icons {
        flex-wrap: nowrap;
    }

    nav {
        flex-wrap: nowrap;
    }
    
}

.wrap {
    flex-wrap: wrap;
}