/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

html {
  scroll-behavior: smooth;
}

body {
    --text-color: #2f0504;
    --bkg-color: #ffbdbb;
    --bkg2-color: white;
    --mid-color: #2f0504;
    --acct-color: #640200;
    --hover-color: #ffbdbb;
    --text2-color: #2f050498;
}

body.dark-theme {
    --text-color: #fff0f0de;
    --bkg-color: #300908;
    --bkg2-color: #121212;
    --mid-color: #640200;
    --acct-color: #ffbdbb;
    --hover-color: #640200;
    --text2-color: #fff0f098;
}

div, h1, h2, h3, p {
    font-family: "Roboto Mono", monospace;
    color: var(--text-color);
}

a {
    color: var(--acct-color);
}

a:hover {
    color: var(--hover-color);
}

/* header */
.header {
    background-color: var(--bkg-color);
    font-family: "Roboto Mono", monospace;
}
.header .title a {
    font-family: "Roboto Mono", monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration-line: none;
}
.header .mdl-navigation__link {
    font-family: "Roboto Mono", monospace;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    border-bottom: 4px solid transparent;
    display: inline-block;
    height: 60px;
    line-height: 60px;
}

.header .mdl-navigation__link:hover {
    background-color: transparent;
    border-bottom: 4px solid #640200;
}
.header .material-icons {
    color: var(--text-color) !important;
}

/* drawer */
.drawer {
    background-color: var(--bkg-color);
    border-right: none;
    font-family: "Roboto Mono", monospace;
}
.drawer .mdl-navigation__link.mdl-navigation__link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}
.drawer .mdl-navigation__link.mdl-navigation__link:hover {
    color: var(--bkg-color);
    background-color: #640200;
}

/* main*/
.main {
    display: flex;
    align-items: center;
    /* flex-wrap: wrap; */
    background-color: var(--bkg2-color);
    padding-top: 50px;
    padding-bottom: 50px;
}
.main-text {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 500px;
    padding-right: 20px;
    /* background-color: tomato; */
}
.main-image {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 700px;
    /* background-color: blue; */
}
.date-text {
    font-size: calc(24px + 2vw);
    font-weight: 700;
    line-height: 120%;
    margin: 0;
}
.sub-text {
    /* color: #640200; */
    font-size: calc(12px + 0.5vw);
    line-height: 120%;
    margin-top: calc(10px + 1.5vw);
    margin-bottom: calc(20px + 1.5vw);
}
.logo-image {
    max-width: 700px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}
.mdl-switch__label {
    font-style: italic;
    font-size: calc(12px + 0.5vw);
    color: var(--text2-color);
}
@media only screen and (max-width: 600px) {
    .main {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        background-color: var(--bkg2-color);
        padding-top: 20px;
        padding-bottom: 50px;
    }
    .main-text {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        flex-direction: column;
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 500px;
        padding-right: 0px;
        margin-right: 20px;
        margin-left: 20px;
        /* background-color: tomato; */
    }
    .date-text {
        font-size: calc(24px + 2vw);
        font-weight: 700;
        line-height: 120%;
        text-align: center;
        margin: 0;
    }
    .sub-text {
        /* color: #640200; */
        font-size: calc(12px + 0.5vw);
        line-height: 120%;
        text-align: center;
    }
}

/* section */
.section {
    background-color: var(--bkg-color);
    flex-direction: row;
    padding: 40px;
    min-height: 100px;
    padding-left: 200px;
    padding-right: 200px;
}
.section-title {
    font-size: calc(24px + 2vw);
    font-weight: 700;
    text-align: center;
}
.section-red {
    background-color: var(--bkg-color);
}
.section-white {
    background-color: var(--bkg2-color);
}
/* .section-staff {
    padding-left: 50px;
    padding-right: 50px;
} */
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 20px;
}
.text-item {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 300px;
}
.text {
    font-size: 12px;
    margin: 20px;
}
.image-item {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 450px;
}
.image {
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.registration-container {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px;
}

.registration-item {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 200px;
    padding: 20px;
    background-color: var(--bkg2-color)
}

.registration-item p {
    text-align: center;
}

.italics {
    font-style: italic;
}

.bold {
    font-weight: 700;
    font-size: 16px;
}

.deadline {
    font-size: calc(16px + 1vw);
    text-align: center;
    padding: 20px;
    border: 4px solid var(--text-color);
    line-height: 120%;
    /* margin-left: 20px;
    margin-right: 20px; */
}

.deadline span {
    font-weight: 700;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mdl-button {
    font-family: "Roboto Mono", monospace;
    color: var(--bkg2-color);
    background-color: var(--acct-color);
    margin-bottom: 10px;
}

.mdl-button:hover {
    background-color: var(--mid-color)
}


.schedule-info-text {
    font-size: 18px;
    font-weight: 300;
    line-height: normal;
    text-align: center;
}

.schedule-info-text bold {
    font-weight: 700;
}

.time-block {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    /* background-color: violet; */
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 20px;
}

.time-card {
    /* flex-grow: 0.4;
    flex-shrink: 0.4;
    flex-basis: 20px; */
    width: 120px;
    /* background-color: blue; */
    background: linear-gradient(var(--text-color), var(--text-color)) no-repeat center/2px 100%;
}

.time-block-title {
    font-size: 18px;
    font-weight: 700;
    padding: 20px;
    text-align: center;
    background: var(--bkg2-color)
}

.event-card-holder {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 100px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    /* background-color: violet; */
    gap: 20px;
}

.event-card {
    background-color: var(--bkg-color);
    padding: 20px;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 100px;
    /* border: 4px solid blue; */
}

.event-card-title {
    font-size: 18px;
    line-height: 100%;
    font-weight: 700;
}

.event-card-description {
    font-size: 14px;
    font-style: italic;
}

.event-card-location {
    font-size: 14px;
    font-weight: 300;
}

@media only screen and (max-width: 800px) {
    .section {
        padding: 40px;
    }
    /* .section-staff {
        padding: 10px;
    } */
    .image {
        max-width: 400px;
    }
    .time-card {
        width: 60px;
    }
}

.sponsors {
    font-size: 18px;
    font-weight: 300;
    line-height: normal;
    text-align: center;
}



.card-container {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    /* background-color: violet; */
    margin-top: 50px;
    margin-bottom: 50px;
    gap: 10px;
}
.card {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 100px;
    /* border: 4px solid blue; */
}

.card-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 150px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--bkg-color);
}

.card .caption {
    margin: 10px;
    font-size: 14px;
    text-align: center;
    /* white-space: nowrap; */
}

@media only screen and (max-width: 600px) {
    .card-image{
        width: 30vw;
    }
}

.sponsor-logo {
    height: 80px;
}

.footer {
    background-color: var(--bkg-color);
}
.footer p {
    font-size: 16px;
    font-weight: 500;
}

.spacer {
    height: 4px;
}
