html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    background-color: black;
    color:white;
    text-align: center;
    font-size: 60px;
    height: 100px;
    width: 100%;
    padding-top: 3%;
}

body {
    background-color: maroon;
    color:black;
    line-height: 25px;
    text-align: center;
}

#body-div {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
}

#left, #main, #right {
    padding: 10px;
}

#left, #right {
    display: flex;
    align-items: center;
    width: 12%;
    background-color: rgb(218, 26, 26);
    background-image: url("../images/mu-badge.jpg");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: auto;
}

#main {
    flex: 1;
}

section {
    padding: 30px 0;
}

.table-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
}

.table-main {
    margin: 20px;
}

.table-left, .table-right {
    display: flex;
    align-items: center;
    width: 12%;
    background-color: rgb(218, 26, 26);
    background-image: url("../images/mu-badge.jpg");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: auto;
}

table {
    background-color: white;
    text-align: center;
    border: 2px solid;
    width: 74%;
    margin: auto;
    empty-cells: hide;
}

th, td, tr {
    border: 1px solid;
}

th, #subs {
    background-color: lightgrey;
}

h3 {
    font-size: 40px;
    text-decoration: underline;
    padding: 0 0 25px 0;
}

h5 {
    font-size: 30px;
    text-decoration: underline;
}

.form-div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ratings-form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    width: 60%;
}

form {
    font-size: 20px;
    text-align: center;
    border: 1px solid;
    color: whitesmoke;
    background-color: black;
    padding: 20px;
    box-shadow: beige 5px 5px 15px;
}

label, select {
    margin: 2px;
    line-height: 50px;
}

label {
    width: 80px;
    display: inline-block;
    padding: 0 20px;
}

select {
    height: 30px;
    width: 70px;
    font-size: 16px;
    text-align: center;
}

.submit-button {
    text-align: center;
    padding: 10px;
    right: 20px;
}

#submit-button {
    height: 50px;
    width: 180px;
    margin-top: 25px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: rgb(218, 26, 26);
    background-color: rgba(208, 178, 5, 0.922);
    border-radius: 8px;
}


.anchor-buttons {
    font-family: Arial, Helvetica, sans-serif;
    margin: 20px;
    color: rgb(218, 26, 26);
    background-color: rgba(208, 178, 5, 0.922);
    border-radius: 8px;
    padding: 10px;
}

p {
    font-size: 18px;
    color: black;
    width: 65%;
    margin: auto;
}

label:empty,
label:empty + select,
label:empty + select + br,
label:empty + br {
  display: none;
}

@media (max-width: 767px) {

    header {
        font-size: 40px;
        height: 80px;
        padding-top: 5%;
    }

    h3 {
        font-size: 30px;
        padding: 0 0 15px 0;
    }

    h5 {
        font-size: 20px;
    }

    #left, #right {
        display: none;
    }

    #main {
        width: 90%;
    }

    p {
        width: 90%;
        font-size: 15px;
    }

    form {
        width: 90%;
        font-size: 15px;
        padding: 10px;
    }

    #ratings-form {
        width: 90%;
        gap: 20px;
    }

    #submit-button {
        width: 140px;
        height: 40px;
        font-size: 16px;
    }

    select {
        width: 50px;
        height: 25px;
        font-size: 14px;
    }

    .table-left, .table-right {
        display: none;
    }

    table {
        width: 100%;
        font-size: 12px;
    }

    .anchor-buttons {
        font-size: 14px;
        padding: 5px;
    }

}