@charset "utf-8";

/* Events Styles */

body {
    background-color: rgb(202,233,246);
    margin: 0;
    font-size: 22px;
    text-align: center;
    font-family: "Georgia", serif;
}

header {
    padding-top: 30px;
}

/*Navigation Styles */

nav {
    background-color: white;
    padding: 10px;
    display: block;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

li a {
    color: black;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 10px 20px;
}

li a:hover {
    background-color: rgb(169,220,241);
}

.navicon {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

h1, h2, caption 
{
    font-family: "Luminari", fantasy;
    font-size: 40px;
    text-align: center;
    margin-top: 30px;
}

p, td 
{
    font-family: "Georgia", serif;
    font-size: 17px;
    line-height: 1.5;
}

/* Table Styles */

table {
    width: 90%;
    margin: 30px auto;
    border-collapse: collapse;
    background-color: white;
}

th, td {
    border: 1px solid #000;
    padding: 12px;
    text-align: left;
}

th {
    background-color: rgb(169,220,241);
}


/* TABLET STYLES (768px and below) */
@media (max-width: 768px) {
    body {
        font-size: 18px;
    }
}


/* MOBILE STYLES (480px and below) */
@media (max-width: 480px) {

    /* Navicon */
    .navicon {
        display: block;
        margin: 10px auto;
    }

    nav {
        display: none;
    }

    nav.open {
        display: block;
    }

    ul {
        flex-direction: column;
    }

    li a {
        display: block;
        padding: 15px;
        font-size: 1rem;
    }

    /* Responsive Table */
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 20px;
        border: 1px solid #000;
        padding: 10px;
    }

    td {
        border: none;
        position: relative;
        padding-left: 50%;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 12px;
        font-weight: bold;
    }
}

/* Video Styles */
video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}