*{
    font-family: Arial, sans-serif;
}
body{
    margin: 0;
    background-color: #121212;
    overflow-x: hidden;
}
a{
    text-decoration: none;
    color: #ffffff;
}
#center-table {
    text-align: center;
}
table {
    width: 100%;
    height: 100vh;
    border-collapse: collapse;
    background-color: #191C24;
}
td.time, th.time {
    width: 10vw;
}
th ,td{
    width: 20vw;
    color: #000;
    font-size: 15pt;
}
  
table thead th {
    background-color: #1a1a1a;
    color: #00bcd4;
    border: 1px solid #242424;
}
  
table tbody td {
    border-bottom: 1px solid #444;
    border-top: 1px solid #444;
}
  
table tbody tr:last-child td {
    border-bottom: none;
}
tbody td.time{
    border: 1px solid #242424;
    background: #1a1a1a;
    color: #ecf0f1;
    font-size: 1rem;
}
#mtgpause{
    height: 8vh;
}
.prog{
    background-color: rgb(255, 71, 71);
}
.infra{
    background-color: lightblue;
}
.db{
    background-color: rgb(172, 77, 172);
}
.ra{
    background-color: rgb(255, 255, 134);
}
.meet{
    background-color: lightsalmon;
}
.math{
    background-color: lightgreen;
}
.tut{
    background-color: rgb(87, 75, 255);
}
.pauseblock{
    background-color: #3b3b3b;
}
.pause h4{
    margin: 0;
}
.pause{
    height: 30px;
}
.free{
    background-color: #222224;
}
.prog:hover, .infra:hover, .ra:hover, .db:hover, .meet:hover, .math:hover, .tut:hover{
    filter: grayscale(75%);
    cursor: pointer;
}
nav{
    position: relative;
}

@media (max-width: 768px) {
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    nav a {
        padding: 10px;
    }
    #center-table {
        display: block;
    }
    table {
        width: 100%;
        font-size: 12px;
    }
    th, td {
        width: 15vw;
    }
    td p, th p {
        font-size: 12px;
        margin: 5px 0;
    }
    td.time, th.time {
        width: 15%;
        font-size: 0.9rem;
    }
    .pause h4 {
        font-size: 14px;
    }
    .prog, .infra, .ra, .db, .meet, .math, .tut {
        filter: brightness(90%);
    }
}
