html {
    width: 100vw;
}

body {
    margin: 0;
    --primary-color: #205181;
    --primary-dark: #0F2942;
    --inverted-color: #FFFFFF;
    --sky-blue: #92E4E1;
    --dark-blue: #0F2942;
    --faq-blue: #CFECF9;
    --grassy: #A9E293;
    color: var(--primary-color);
    font-family: 'Source Serif Pro', serif;
    font-size: 1.5vw;
    line-height: 1.25em;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--faq-blue);
}

button {
    font-family: 'Source Serif Pro', serif;
    font-size: 3vw;
    line-height: 1.25em;
    border: none;
    background-color: var(--dark-blue);
    padding: .7em 3em;
    cursor: pointer;
    margin: .5em 1em;
    border-radius: 4px;
    color: var(--inverted-color);
    transition: transform .3s ease, background-color .3s ease;
}

button:hover {
    transform: scale(1.02);
    background-color: #184168;
}

h1 {
    font-family: 'Milonga', Cursive;
    font-size: 5vw;
    line-height: 1.1em;
    font-weight: normal;
    margin: 0;
}

h2 {
    font-family: 'Milonga', serif;
    font-size: 7vw;
    line-height: 1.25em;
    font-weight: normal;
    font-style: normal;
    margin: 0;
}

h3 {
    font-family: 'Milonga', serif;
    font-size: 2vw;
    line-height: 1.1em;
    font-weight: normal;
    font-style: normal;
    margin: 0;
}

h4 {
    font-size: 2vw;
    line-height: 1.25em;
    font-weight: 400;
    font-family: 'Milonga', serif;
    font-style: normal;
    margin: 0;
}

h5 {
    font-size: 1.5vw;
    line-height: 1.5em;
    font-weight: 700;
    font-style: normal;
    margin: 0;
}

p {
    margin: 0;
    padding: 0;
    font-size: 1em;
    line-height: 1.375em;
    font-weight: 400;
    font-style: normal;
}

.inverted-text a {
    color: #FFBF00;
}

.inverted-text a:visited {
    color: #BF9B30;
}

section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

hr {
    display: block;
    border: none;
    margin: 1em 0 2em;
    height: .1em;
    background-color: var(--primary-dark);
}

/* UTILITY */
.inverted-text {
    color: var(--inverted-color);
}

.inverted-text hr {
    background-color: var(--inverted-color);
}

section {
    overflow: hidden;
}

.section-title {
    font-style: normal;
    font-weight: normal;
}

.section-content {
    max-width: 90vw;
    margin: auto;
    z-index: 1;
}

.mobile {
    display: none;
}

#navbar {
    transition: transform 1s;
}

.nav-hide {
    transform: translateY(-6vh);
}

/* NAVIGATION */
#navbar {
    z-index: 10000;
    height: 6vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    background-color: rgba(255, 255, 255, .85);
    position: fixed;
    margin-bottom: -6vh;
    top: 0;
    box-sizing: border-box;
    padding: 1vh 12.5vw;
}

#nav-logo-container {
    height: 100%;
    box-sizing: border-box;
    margin-right: 12vw;
}

.nav-logo {
    height: 100%;
}

.grow-anim {
    -webkit-transition: transform .3s;
    transition: transform .3s;
}

.grow-anim:hover {
    transform: scale(1.05);
}

#nav-links {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex: 1 1 auto;
    max-width: 40vw;
    font-size: 1em;
}

.nav-link {
    color: var(--primary-color);
    line-height: 1.17em;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Source Serif Pro', serif;
}

.under-anim {
    position: relative;
}

.under-anim::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: .1em;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.under-anim:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

#mlh-trust-badge {
    display: block;
    position: fixed;
    width: 4.5vw;
    right: 10vw;
    z-index: 1000000;
}

#mlh-trust-badge img {
    width: 100%;
}

.illo-base {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

/* HERO SECTION */
#hero {
    z-index: 10;
    display: block;
    text-align: left;
    position: relative;
    margin-bottom: 20vw;
}

#hero-paper {
    display: inline-flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    background-image: url('assets/illos/hero/paper.png');
    background-position-y: -10%;
    background-size: 100% 100%;
    background-clip: border-box;
    max-width: 40vw;
    margin: 3vw 7vw;
    padding: 1em;
    transform: rotateY(-3deg);

}

#hero-paper > img {
    width: 60%;
    object-fit: contain;
    overflow: auto;
}

#hero-content {
    transform: rotate(-3deg);
    margin-bottom: 2em;
}

/* ABOUT SECTION */
#part-one-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#forest-wrapper {
    background: transparent;
    width: 100%;
    z-index: 0;
}

#hero-animations {
    position: relative;
    top: 0px;
}

#forest-illo-base {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
}

#about {
    z-index: 10;
    display: flex;
    align-items: flex-end;
    overflow: visible;
    background-color: var(--dark-blue);
}

#about-content {
    max-width: 80%;
    text-align: left;
    z-index: 1;
    position: relative;
    margin: 3em;
}

#about-content > h2 {
    margin: auto;
    text-align: center;
}

#about-content > p {
    margin-left: 15%;
    max-width: 80%;
}

#about-background::before {
    content: '';
    display: block;
    position: absolute;
    background-color: rgba(255, 255, 255, .85);
    box-shadow: 0 0 3em 4em rgba(255, 255, 255, .85);
    border-radius: 50%;
    width: 100%;
    padding-top: 100%;
}

#about-background {
    max-width: 32em;
    position: relative;
    z-index: 100;
    margin: 24em 2em 4em;
    display: flex;
}

#about-content > .section-title {
    margin-bottom: .25em;
}

/* SCHEDULE SECTION */
#schedule {
    z-index: 10;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-end;
    /* something's happening here... */
    background-color: var(--dark-blue);
}

#schedule-content > .section-title {
    left: -20%;
    margin-bottom: 1vw;
}

#mushrooms-illo {
    height: 30vw;
    position: relative;
    left: -5vw;
    z-index: 1;
}

#schedule-content {
    margin: 0;
    width: 40vw;
    z-index: 1;
}

.schedule-block {
    margin-bottom: 2em;
}

.schedule-item {
    display: flex;
    padding-left: .5em;
}

.schedule-times {
    display: inline-block;
    padding-right: 1em;
    min-width: 40%;
}

.schedule-event {
    display: inline-block;
}

/* SPONSOR SECTION */
#sponsors {
    position: relative;
    text-align: center;
    /* fixing jump to in-page anchor */
    margin-top: -1%;
    padding-top: 8vh;
    padding-bottom: 10vh;
    background-color: var(--dark-blue);
}

#sponsors-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 2vw;
    align-self: center;
    justify-content: center;
}

.sponsor-icon {
    margin-left: 1vw;
    margin-right: 1vw;
    margin-top: 3vw;
    width: 15vw;
    height: 9vw;
    background-color: #f5f5f5;
}

#sponsor-note {
    margin: 6vh auto 5vh;
    text-align: center;
    font-weight: 600;
    line-height: 1.5em;
    font-family: 'Source Serif Pro', serif;
}

/* SPONSOR SECTION */
.sponsor-container {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 1;
    float: left;
    background: #0F2942;
    padding: 2rem;
}

.sponsor-container > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.sponsor-container a {
    text-decoration: none;
}

.sponsor-container .king, 
.sponsor-container .queen,
.sponsor-container .jack,
.sponsor-container .joker {
    padding: 5px 0 10px 0;
    width: 100%;
}

.sponsor-container .queen, .sponsor-container .jack {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.sponsor-container .queen > div , .sponsor-container .jack > div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.sponsor-container img {
    filter: brightness(0) invert(1);
    transition: transform 0.5s;
}

.sponsor-container img:hover {
    transform: scale(1.1, 1.1);
}

.sponsor-container .king img {
    width: calc(11 * 30px);
    padding: 20px 30px 20px 30px;
}

.sponsor-container .queen img {
    width: calc(6 * 30px);
    padding: 0 30px 0 30px;
}

.sponsor-container .jack img {
    width: calc(3.75 * 30px);
    padding: 0 30px 20px 30px;
}

.sponsor-container .joker img {
    width: calc(3.5 * 30px);
}

/* FAQS SECTION */
#faqs {
    display: flex;
    flex-direction: row;
    background-color: var(--faq-blue);
    z-index: 30;
    padding-top: 10vh;
    overflow: visible;
    position: relative;
    /* will-change: transform; */
}

#faqs-content>.section-title {
    margin-bottom: 1.5vw;
}

#faqs-content {
    width: 37.5vw;
    margin-left: 12.5vw;
    line-height: 1.5em;
}

.faqs-illo {
    margin-left: 12.5vw;
    width: 25vw;
    align-self: stretch;
    background-color: transparent;
    z-index: 15;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.faqs-item {
    margin-bottom: 2.5vw;
}

/* FOOTER */
footer {
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    background-color: var(--grassy);
    color: var(--primary-dark);
    margin: auto;
}

#footer-illo-blue {
    background-color: var(--faq-blue);
    width: 100%;
    height: 40vh;
    position: absolute;
    z-index: 10;
}

#footer-illo-castle {
    position: relative;
    z-index: 100;
    width: 60%;
    margin: auto;
}

#footer-wrapper {
    width: 80%;
    margin: 4vh auto;
}

#footer-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap-reverse;
    align-self: center;
    margin-bottom: 4vh;
}

#footer-questions-section {
    flex: 1 1 auto;
    margin: 0 auto 2vh;
    min-width: 200px;
    max-width: 50%;
}

#footer-question {
    line-height: 1.25em;
}

#footer-reach-out {
    font-weight: 600;
    margin-bottom: 1em;
}

#footer-gt-student {
    flex: 1 1 40%;
    margin-bottom: 2vh;
}

.footer-end {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 2vw;
    justify-content: space-between;
}

#footer-note {
    line-height: 1.25em;
}

.footer-logo {
    height: 2.5em;
    position: relative;
}

#footer-logo-container {
    overflow: visible;
}

.social-row>a>img {
    margin-right: 2vw;
    width: 4vw;
    height: 4vw;
    fill: var(--primary-color)
}

@media only screen and (max-width: 1200px) {
    h2 {
        font-size: 6vw;
        line-height: 1.5em;
    }

    h3 {
        font-size: 3vw;
    }

    body, h5, p, span {
        font-size: 2vw;
        line-height: 1.25em;
    }

    /* NAVIGATION */
    .nav-register-info {
        display: none;
    }

    #about-background {
        margin: 4em 2em;
        max-width: 26em;
    }

    #about-content {
        margin: 2em auto;
    }

    #about-content > h2 {
        text-align: center;
    }

    #about-content > p {
        max-width: 90%;
        margin-left: 10%;
    }

    /* SCHEDULE SECTION */
    .schedule-illo {
        display: none;
    }

    #schedule-content {
        margin: auto;
        max-width: 80vw;
    }

    /* SPONSOR SECTION */
    .sponsors-container {
        max-width: 90vw;
    }

    #sponsors-title {
        line-height: 1em;
    }

    .sponsor-icon {
        width: 20vw;
        height: 12vw;
    }

    #sponsor-note {
        max-width: 75vw;
        font-size: 1em;
        line-height: 1.2em;
    }

    /* FAQS SECTION */
    #faqs {
        padding-top: 0;
    }

    #faqs-wrapper {
        display: flex;
        flex-direction: column;
        margin-top: 0;
    }

    #faqs-content {
        width: 80vw;
        text-align: left;
        margin-bottom: 0;
    }

    #faqs-content>.section-title {
        text-align: center;
    }

    #faqs-cards-top {
        max-height: 30vw;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        z-index: 20;
    }

    #diamond-mobile {
        height: 25vw;
        transform: rotate(37deg);
        position: relative;
        top: 8vw;
        left: 5vw;
    }

    #queen-mobile {
        height: 36vw;
        transform: translateX(-2vw) rotate(-30deg);
    }

    #jester-mobile {
        height: 28vw;
        transform: rotate(-24deg);
        position: relative;
        left: 10vw;
        top: 5vw;
    }

    #club-mobile {
        height: 40vw;
        transform: translateX(-4vw) rotate(47deg);
    }

    #faqs-cards-bottom {
        max-height: 30vw;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        z-index: 20;
    }

    .faqs-illo {
        display: none;
    }

    .faqs-item {
        margin-bottom: 3vw;
    }

    /* FOOTER */
    footer {
        width: 100%;
    }

    #footer-illo-blue {
        height: 20vh;
    }

    #footer-content {
        margin-bottom: 1vh;
        width: 100%;
        text-align: center;
    }

    #footer-questions-section {
		width: 100%;
		max-width: 100%;
    }

    #footer-gt-student {
        width: 100%;
        order: 1;
    }

    .footer-question {
        margin-top: 15vw;
    }

    .footer-end {
        flex-direction: row-reverse;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .footer-hr {
        display: none;
    }

    #footer-note {
        margin: 1.5vw auto 2.5vw;
    }

    #footer-logo-container {
        display: none;
    }

    .footer-logo {
        height: 1em;
    }
}

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

    /* NAVIGATION */
    #navbar {
        display: none;
    }
}

/* iPad Pro */
@media only screen and (max-width: 1024px) and (min-height: 1366px) {

    /* NAVIGATION */
    #navbar {
        display: none;
    }

}

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

    #mlh-trust-badge {
        display: none;
    }
    body {
        font-size: 4vw;
        line-height: 1.375em;
    }

    h1 {
        font-size: 10vw;
    }

    h2, h3 {
        font-size: 6vw;
    }

    h4 {
        font-size: 5vw;
    }

    body, h5, p, span {
        font-size: 4vw;
        line-height: 1.375em;
    }

    .section-content {
        text-align: center;
    }

    /* HERO SECTION */
    #hero-paper {
        max-width: 100vw;
        margin: 12vw 0 0;
        transform: translateY(12vw) rotateY(-3deg);
    }

    #hero {
        padding-bottom: calc(100vh - 110vw); /* from svg push */
        margin-bottom: 0;
    }

    #hero-paper > img {
        width: 50%;
    }

    /* ABOUT SECTION */
    #forest-wrapper {
        top: -8vh;
    }

    #schedule {
        display: flex;
        flex-direction: row;
        background-color: var(--dark-blue);
    }

    #about-background {
        max-width: 100vw;
        padding: 0;
        align-self: center;
    }

    #about-background::before {
        box-shadow: 0 0 2em 3em rgba(255, 255, 255, .85);
    }

    #about-content {
        text-align: center;
        display: block;
        margin: 2em auto 0;
    }

    #about-content > p {
        max-width: 100%;
        margin: 0;
    }

    #about-text {
        margin: auto auto 29px;
        max-width: 90%;
    }

    button {
        font-size: 24px;
    }

    /* SCHEDULE SECTION */
    #schedule {
        padding-top: 4em;
        display: flex;
    }

    #schedule-content {
        margin: 0 auto;
        width: 80vw;
    }

    #schedule-content>.section-title {
        left: 0;
    }

    .schedule-block {
        margin-bottom: 1em;
        text-align: left;
    }

    /* SPONSOR SECTION */
    #sponsors {
        padding-top: 5vh;
        padding-bottom: 5vh;
    }

    .sponsors-container {
        max-width: 90vw;
    }

    .sponsor-icon {
        margin-left: 2vw;
        margin-right: 2vw;
        margin-top: 6vw;
        width: 35vw;
        height: 21vw;
    }

    #sponsor-note {
        max-width: 75vw;
    }

    /* FAQS SECTION */
    #faqs {
        padding: 0;
        text-align: left;
    }

    #faqs-wrapper {
        margin-top: 3vh;
    }

    .faqs-item {
        margin-bottom: 7vw;
    }

    .faqs-question {
        margin-bottom: 15px;
    }

    /* FOOTER */
    .footer-note {
        margin-left: 1.5vw;
        font-size: 3vw;
        margin-top: 1.5vw;
        margin-bottom: 2.5vw;
    }
    .footer-question {
        margin-bottom: -6vw;
    }

    .content-right {
        margin-top: -6vw;
    }

    .social-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .social-row>a>img {
        width: 8vw;
        height: 8vw;
        margin-right: 0;
        transition: transform 0.5s;
    }
}