/* Variables */

:root {
    --choir-green: #2E564E;
    --choir-yellow: #E0B535;
}

/* Typography */

html {
    scroll-behavior: smooth;
}

html, body {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--choir-green);
}

#navbar li a {
    text-decoration: none;
    /* color: black; */
    color: var(--choir-green);
    transition-duration: 0.5s;
}

#navbar li {
    transition: 0.5s ease-in-out;
}

#navbar li:hover:not(:first-child):not(#about) {
    text-decoration: underline;
    transform: scale(1.2);
    transition: 0.5s ease-in-out;
}

#navbar li a:hover:not(#logo), #navbar li:hover:not(:first-child) {
    /* color: #0170b9; */
    color: var(--choir-yellow);
    transition-duration: 0.5s;
}

#navbar li:active {
    opacity: 0.9;
}

ul {
    list-style-type: none;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: #3a3a3a;
    color: white;
    height: 30rem;
}

footer div {
    width: 25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer div h3 {
    align-self: start;
    text-transform: uppercase;
}

#footersocial div a {
    color: white;
    text-decoration: none;
    transition-duration: 0.25s;
}

#footersocial div a:hover {
    /* color: #0170b9; */
    color: var(--choir-yellow);
    transition-duration: 0.25s;
}

#footersocial div a p {
    display: flex;
    flex-direction: row;
}

#footersocial div a p i {
    margin-right: 0.5rem;
    font-size: larger;
}



/* Classes */

.dropdown {
    display: inline-block;
}

.dropdowncontent {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0);
    min-width: 160px;
    z-index: 1;
    padding-top: 1rem;
}

.dropdowncontent a {
    /* color: black; */
    color: var(--choir-green);
    padding: 12px 6px;
    display: block;
    text-align: left;
    transition-duration: 0ms;
    background-color: #ffffff;
}

.dropdowncontent a:hover {
    background-color: #efefef;
    transition-duration: 0ms;
}

.dropdown:hover .dropdowncontent {
    display: block;
    cursor: pointer;
}

.lineright {
    height: 3px;
    width: 15%;
    background-color: rgb(0, 201, 242);
}

.socialimages {
    width: 10rem;
}

.socialimagesfacebook {
    width: 20rem;
}

.collapsible {
    outline: none;
    background-color: #f9f9f9;
    border: none;
    width: 100%;
    font-size: xx-large;
    height: 5rem;
    display: block;
    cursor: pointer;
    transition-duration: 1s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1rem;
}

.collapsible:after {
    content: '\002B';
    padding: 0 1rem;
    
}

.active:after {
  content: "\2212";
}

.collapsiblecontent {
    max-height: 0;
    overflow: hidden;
    background-color: #f1f1f1;
    transition: max-height 0.2s ease-out;
}

.collapsiblecontent ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 0;
}

.collapsiblediv {
    padding-bottom: 3rem;
    background-color: var(--choir-green);
}

.active, .collapsible:hover {
    background-color: #999;
    transition-duration: 1s;
}

.italicbold {
    font-weight: bold;
    font-style: italic;
}

.row > .column {
    height: 10rem;
}

.row {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    justify-self: center;
    min-height: 100rem;
    max-width: 82vw;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.modal .column {
    float: left;
    width: 50%;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.925);
}

.modalcontent {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    top: 15%;
}

.modalcontent img {
    max-height: 60vh;
    max-width: 100%;
    object-fit: contain;
    background-color: black;
}

.photos {
    width: 18rem;
    height: 9rem;
    object-fit: cover;
    object-position: center;
    transition-duration: 0.5s;
    padding: 0.25rem;
    margin: 0 2rem;
    box-shadow: 0 0 10px 2px;
}

.photos:hover {
    cursor: pointer;
    transform: scale(1.25);
    opacity: 0.75;
    transition-duration: 0.5s;
}

.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.myslides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.captioncontainer {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

.demo {
    display: none;
}

img.demo {
    opacity: 0.6;
}

img.hovershadow {
    transition: 0.3s;
}

.hovershadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60vw;
    /* background-color: #0170b9; */
    padding: 3rem 0;
}

form input:not(:last-of-type), form textarea {
    width: 100%;
    height: 3rem;
    border-width: 1px;
    margin-bottom: 2rem;
    background-color: #efefef;
}

form input:not(:last-of-type), form textarea {
    padding-left: 1rem;
}

form textarea {
    height: 10rem;
}

form label {
    display: flex;
    align-items: start;
}

#homeabout .leftdiv {
    max-width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: 15rem;
}

#homeabout .leftdiv h2 {
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

#homeabout .leftdiv p {
    margin-right: 2rem;
}

#homeabout .rightdiv {
    max-width: 50%;
    margin: 5rem 15rem 0 0;
}

.teamleft {
    width: 75%;
    padding: 0 1rem;
}

.teamright {
    width: 10rem;
    float: right;
    display: inline;
}

.teamcontainer {
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

.teaminfo {
    max-width: 80rem;
}

.teamnames {
    font-size: 2rem;
}

.membersdiv {
    /* display: flex; */
    flex-direction: column;
    /* width: 80vw; */
    /* justify-self: center; */
}

.fandldiv, .memberdouble div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 15rem;
    max-width: 100vw;
}

.fandldiv {
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

.memberdouble {
    display: flex;
    flex-direction: row;
    background-color: #efefef;
    color: var(--choir-green);
    align-items: center;
}

.memberdouble div {
    margin: 0 2rem;
}

.fandldiv p {
    width: 50%;
}

.memberdouble div p {
    width: 75%;
}

.fandldiv h1, .memberdouble div h1 {
    text-transform: uppercase;
}

.fandldiv, .memberdouble div {
    min-height: max-content;
}

.contacthere {
    color: var(--choir-yellow);
}

.contacthere:hover {
    opacity: 0.8;
}

#backtotop {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    padding: 1rem;
    color: var(--choir-yellow);
    background-color: #191a1f;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: #191a1f 0 0 5px 0;
    border-radius: 5px;
    z-index: 1;
}

#backtotop:active {
    color: #191a1f;
    background-color: var(--choir-yellow);
    box-shadow: var(--choir-yellow) 0 0 5px 0;
}




/* ID's */

#navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

#logotext {
    display: flex;
    flex-direction: row;
}

#logotext h1 {
    padding: 0.5rem 0 0 1rem;
}

#masthead {
    display: flex;
    justify-content: center;
    background-color: var(--choir-green);
}

#masthead iframe {
    width: 53rem;
    height: 30rem;
    background-color: #3a3a3a;
    padding: 1rem;
    margin: 3rem 0;
}

#mastheadimage {
    display: flex;
    flex-direction: column;
    justify-content: end;
    width: 100%;
    height: 50rem;
    background: url(../images/homepagemasthead.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

#mastheadimage h1, #mastheadimage div {
    margin-left: 15rem;
    margin-bottom: 15rem;
}

#mastheadimage h1 {
    font-size: 5rem;
    color: white;
    padding-bottom: 0;
    margin-bottom: 0;
    text-shadow: 2px 2px black;
}

#homeabout {
    display: flex;
    justify-content: space-around;
    min-height: 40rem;
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

#footerdiv {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
}

#charityeventssurround {
    width: 100%;
    background: url('../images/musicnotes.png') center no-repeat;
    background-color: #191a1f;
}

#charityeventsdiv {
    display: flex;
    align-items: center;
    justify-self: center;
    flex-direction: column;
    min-height: 15rem;
    width: 60%;
    color: white;
    padding: 1rem 0;
}

#charityeventsdiv h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

#charityeventsdiv p {
    font-size: 26px;
    text-align: center;
    padding-top: 2rem;
}

#socialmediadiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

#follow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#videodiv {
    max-height: 40rem;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 0;
    background-color: var(--choir-green);
}

#videodiv iframe {
    height: 40rem;
    width: 71.1rem;
}

#footersocial {
    display: flex;
    flex-direction: column;
    justify-content: start;
    max-height: 20rem;
}

#footersocial div {
    width: min-content;
    align-items: start;
    font-size: 1.25rem;
}

#footernav {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 20rem;
    font-size: 1.25rem;
}

#footernav li {
    width: max-content;
}

#footernav li a {
    color: white;
    text-decoration: none;
    transition-duration: 0.25s;
}

#footernav li a:hover {
    /* color: #0170b9; */
    color: var(--choir-yellow);
    transition-duration: 0.25s;
    cursor: pointer;
}

#footercharity {
    align-items: start;
    height: 20rem;
}

#historyheader {
    display: flex;
    background-color: #efefef;
    height: 10rem;
    align-items: center;
    font-size: x-large;
    text-transform: uppercase;
    justify-content: center;
}

#historyheader h1 {
    width: 60rem;
}

#historytext, #masthead {
    display: flex;
    justify-content: center;
    align-items: center;
}

#historytext div {
    flex-direction: column;
    font-size: large;
    width: 65rem;
    padding-bottom: 1rem;
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

#historytext {
    background-color: var(--choir-green);
}

#ceremonymasthead {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50rem;
    background: url('../images/wedding.jpg');
}

#ceremonymasthead h1 {
    font-size: 3rem;
    text-transform: uppercase;
    color: white;
    text-shadow: 2px 2px black;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#ceremonyintro, #ceremonyreasonsdiv {
    padding-left: 20rem;
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

#ceremonyintro {
    padding-bottom: 2rem;
}

#ceremonyintro h1 {
    font-size: 2.25rem;
    text-transform: uppercase;
    padding: 3rem 0;
    margin: 0;
}

#ceremonyreasonsdiv p {
    padding-right: 20rem;
}

#ceremonyreasonsdiv {
    display: flex;
    flex-direction: column;
    padding-bottom: 3rem;
}

#concertsmasthead {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50rem;
    background: url('../images/church.jpg');
}

#concertsmasthead h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px black;
    font-size: 3rem;
    text-transform: uppercase;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#concertsinfo {
    padding: 3rem 20rem;
    display: flex;
    flex-direction: column;
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

#concertacknowledgement {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 3rem;
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

#photomasthead {
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    height: 10rem;
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

#photoscontainer {
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

#eventmasthead {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10rem;
    background-color: #efefef;
}

#eventmasthead h1 {
    font-size: 2rem;
    text-transform: uppercase;
}

#eventyeardiv {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5rem;
    padding-top: 2rem;
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

#new {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--choir-green);
    color: var(--choir-yellow);
    padding: 2rem 0;
}

#new iframe {
    width: 800px;
    height: 600px;
}

#form {
    display: flex;
    justify-content: center;
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

#surroundcontent {
    width: 100%;
    background-color: var(--choir-green);
    color: var(--choir-yellow);
}

#joincontent {
    justify-self: center;
    max-width: 80rem;
    padding: 2rem 0;
}

#joincontent img {
    width: 10rem;
    display: inline;
    float: left;
    margin-right: 1.5rem;
}

#joincontent p {
    font-size: large;
    padding: 1rem 0;
    margin: 0;
}

#span {
    margin-top: 4rem;
    font-weight: bold;
    font-style: italic;
}

#teamimage1 {
    width: 20rem;
    float:inline-end;
    padding-left: 2rem;
    display: flex;
}

#teamimage2 {
    width: 20rem;
    float:inline-start;
    padding-right: 2rem;
    display: flex;
}

#surround {
    display: flex;
    justify-content: center;
}


/* Media Queries */

/* Below 1295px seems to make the page width go weird */

@media screen and (max-width: 1515px) {
    
    #homeabout img {
        width: 30rem;
        height: 20rem;
    }

    .row {
        padding: 0;
        margin: 0;
    }

    .teaminfo {
        max-width: 90vw;
    }

    .memberdouble div {
        width: 40vw;
    }
}

@media screen and (max-width: 1350px) {
    
    .leftdiv p {
        font-size: 0.9rem;
    }

    #navbar li a {
        font-size: 0.9rem;
    }

    .column {
        margin: 1rem 0;
    }
}

@media screen and (max-width: 1295px) {
    
    #videodiv {
        height: max-content;
    }

    #videodiv iframe  {
        max-width: 90vw;
        max-height: 45vw;
    }

    /* Change this ASAP for the navbar to work better */
    #navbar {
        display: flex;
        flex-direction: column;
    }

    #homeabout {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    #homeabout .rightdiv {
        margin: 5rem 0 0 0;
        display: flex;
        justify-content: center;
    }

    #homeabout .leftdiv {
        margin: 0;
        display: flex;
        align-items: center;
    }

    #homeabout .leftdiv p {
        margin-right: 0;
        text-align: center;
    }

    #mastheadimage h1 {
        margin-left: 10%;
    }

    #historytext div {
        margin: 0 2.5rem;
    }

    #historyheader {
        display: flex;
        justify-content: center;
    }

    #historyheader h1 {
        width: min-content;
    }

    #ceremonyintro, #ceremonyreasonsdiv {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-left: 0;
    }

    #ceremonyreasonsdiv p {
        padding-right: 0;
        max-width: 40rem;
    }

    #ceremonymasthead {
        background-position: center;
    }

    #concertsmasthead {
        background-position: center;
    }

    #concertsinfo {
        padding: 3rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #concertsinfo p {
        max-width: 75vw;
    }

    #concertacknowledgement p {
        max-width: 75vw;
    }
}

@media screen and (max-width: 1100px) {

    #masthead div iframe {
        width: 90vw;
        height: 45vw;
    }

    #new iframe {
        max-width: 90vw;
    }

    #joincontent {
        max-width: 90vw;
    }

    .memberdouble {
        flex-direction: column;
    }

    .memberdouble div p {
        width: 100%;
    }
}






@media screen and (max-width: 850px) {
    
    #footerdiv {
        flex-direction: column;
        min-height: min-content;
    }

    footer {
        min-height: min-content;
    }

    #footersocial {
        margin: 0 2rem 2rem 0;
    }

    #footercharity {
        text-align: center;
        max-width: 90vw;
    }

    #footercharity h3 {
        align-self: center;
    }

    .teaminfo {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 630px) {
    
    .rightdiv, .rightdiv img {
        display: none;
    }

    #footerdiv div, #footerbottom {
        max-width: 90vw;
    }

    #joincontent img {
        display: none;
    }

}