﻿/* home.css */

div.section {
    background-color: rgb(10 10 12 / 0.80);
    border-radius: 20px;
    margin: 20px;
    padding: 20px;
}

div.yearBanner {
    margin: 50px 20px;
    width: calc(100% - 40px);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0f0f12;
    border-radius: 30px;
    font-weight: bold;
    border: 2px solid #9ac256;
}

    div.yearBanner div.year {
        flex: 1;
        background-color: #9ac256;
        color: #000000;
        text-align: center;
        font-size: 80px;
        border-top-left-radius: 26px;
        border-bottom-left-radius: 26px;
    }

    div.yearBanner div.dates {
        flex: 4;
        text-align: center;
        font-size: 40px;
        color: #9ac256;
    }

h1 {
    text-align: center;
    margin: 40px 0;
    text-transform: uppercase;
}

h2 {
    display: inline-block;
    text-align: center;
    margin: 0 0 30px 0;
    font-variant: small-caps;
    background-color: #1c1c28;
    padding: 10px 60px;
    border-radius: 100px;
    width: 100%;
    border-radius: 7px;
}


img.icon {
    width: 48px;
    margin-top: 10px;
}


div.speakers {
    text-align: center;
}

    div.speakers div.speaker {
        width: 240px;
        vertical-align: top;
        display: inline-block;
        text-align: center;
        margin: 10px;
        background-color: #0e0e14;
        padding: 40px;
        border-radius: 20px;
    }

        div.speakers div.speaker img {
            width: 96px;
        }

        div.speakers div.speaker span.name {
            margin-top: 20px;
            display: block;
        }

span.name span.first {
    font-size: 80%;
    display: block;
}

span.name span.last {
    font-size: 130%;
    display: block;
}

div.flexCols {
    display: flex;
}

    div.flexCols > div {
        flex: 1;
        text-align: center;
    }

table.schedule {
    width: 100%;
    margin-bottom: 35px;
}

    table.schedule th {
        padding: 20px 4px;
    }

        table.schedule th:first-child {
            text-align: left;
        }

        table.schedule th:last-child {
            text-align: right;
        }

    table.schedule td {
        padding: 4px;
    }

        table.schedule td:first-child {
            text-align: left;
        }

        table.schedule td:last-child {
            text-align: right;
            font-weight: bold;
        }

    table.schedule tr.newDay td {
        padding-top: 18px;
    }

div.accoms {
    text-align: center;
}

    div.accoms div.accom {
        display: inline-block;
        width: 500px;
        max-width: calc(100% - 20px);
        margin: 10px;
        text-align: center;
        background-color: #0e0e14;
        padding: 40px;
        border-radius: 20px;
    }

        div.accoms div.accom div.name {
            font-weight: bold;
            font-size: 110%;
        }

        div.accoms div.accom div.address {
            margin: 10px;
        }

        div.accoms div.accom a {
            display: block;
            padding: 10px;
        }




@media only screen and (max-width: 1299px) {

    div.flexCols {
        display: block;
    }

        div.flexCols > div {
            flex: none;
        }

    table.schedule {
        margin: 0 auto;
        margin-bottom: 35px;
        max-width: 500px;
    }

    h2 {
        padding: 10px 30px;
    }
}



@media only screen and (max-width: 799px) {

    div.yearBanner {
        margin: 50px 20px;
        width: calc(100% - 40px);
        display: block;
        background-color: #0f0f12;
        border-radius: 30px;
        font-weight: bold;
        border: 2px solid #9ac256;
    }

        div.yearBanner div.year {
            display: block;
            flex: none;
            background-color: #9ac256;
            color: #000000;
            text-align: center;
            font-size: 80px;
            border-top-left-radius: 26px;
            border-top-right-radius: 26px;
            border-bottom-left-radius: 0;
        }

        div.yearBanner div.dates {
            display: block;
            flex: none;
            text-align: center;
            font-size: 30px;
            color: #9ac256;
            padding: 20px 10px;
        }

    div.accoms div.accom {
        padding: 20px !important;
    }
}
