* {
    margin: 0;
    padding: 0;
    outline: none;
    background-color: none;
    box-sizing: border-box;
    font-family: sans-serif;
    color: black;
}

body {
    height: fit-content;
    min-height: 100vh;
    width: 100vw;
    background-color: #3e64ad;
    padding-top: 0;
    overflow-x: hidden;
    padding-bottom: 25px;
}

header {
    /* 550x100 */
    width: 100%;
    height: 100px;
    max-height: calc(100vw / 5);
    background-image: url("../img/header-bg.png");
    background-size: contain;
}

header img {
    height: 100%;
    max-width: 100%;
}

h1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
    padding: 0 10px;
    font-family: Arial Black, Arial;
    font-size: 40px;
    width: 100%;
}

#mobile {
    display: none;
    justify-content: center;
    align-content: center;
    margin-bottom: 10px;
}

#mobile menu li {
    display: none;
}

#mobile menu li:first-of-type {
    display: flex;
}

#mobile menu {
    padding: 5px;
    max-width: 98vw;
}

#mobile menu li:first-of-type {
    cursor: pointer;
    user-select: none;
}

#sidebar {
    width: 300px;
    margin-right: 50px;
    margin-top: 10px;
}

#sidebar img {
    width: 250px;
    height: auto;
    margin: 0 auto;
    border: 2px solid black;
}

menu {
    width: 250px;
    background-color: #003399;
    padding: 8px;
    padding-top: 0;
    border: 2px solid black;
    margin-top: 10px;
}

menu li {
    width: 100%;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3e64ad;
    color: white;
    font-size: 15px;
    letter-spacing: 2px;
    font-family: verdana, tahoma, "ms sans serif", sans-serif
}

#sidebar menu li:first-of-type {
    background-color: #003399;
    user-select: none;
}

menu li a {
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    cursor: pointer;
}

menu li a:hover {
    text-decoration: underline;
}

#container {
    width: 1000px;
    max-width: 96vw;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
}

#main {
    width: calc(100% - 350px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
    padding-bottom: 30px;
}

#main p {
    width: 100%;
    text-align: left;
    padding: 10px;
}

#main ul {
    padding: 10px;
    width: 100%;
    list-style-position: inside;
    padding-left: 25px;
}

#main #jacket {
    width: 100%;
    height: auto;
}

#main table {
    width: 100%;
    min-width: 600px;
    background-color: lightgrey;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

#main table tr {
    height: 27px;
}

#main table td, #main table th {
    font-size: 11px;
    padding: 2px;
    text-align: center;
}

#main table tr:nth-child(even){
    background-color: rgb(172, 172, 172);
}

#achievements tr th:first-of-type, #achievements tr td:first-of-type {
    text-align: left;
    width: 140px;
}

#achievements .ove {
    color: darkblue;
    font-weight: bold;
}

#colors tr th, #colors tr td {
    padding: 0 6px;
}

#colors tr td:nth-of-type(1), #colors tr th:nth-of-type(1) {
    width: 50px;
}

#colors tr td:nth-of-type(2), #colors tr th:nth-of-type(2) {
    width: 120px;
    text-align: left;
}

#colors tr td:nth-of-type(3), #colors tr th:nth-of-type(3) {
    text-align: left;
}

#colors tr td:nth-of-type(4), #colors tr th:nth-of-type(4) {
    width: 50px;
}

#marquee {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 20px;
    font-size: 12px;
    background-color:#3e64ad;
    display: flex;
    align-items: center;
}

@media only screen and (max-width: 950px) {
    #sidebar {
        margin-right: 20px;
        width: 260px;
    }
    #main {
        width: calc(100% - 320px);
    }
}

@media only screen and (max-width: 750px) {
    #sidebar {
        margin-right: 10px;
        width: 210px;
    }
    #main {
        width: calc(100% - 310px);
        overflow-x: scroll;
    }
}

@media only screen and (max-width: 650px) {
    #mobile {
        display: flex;
    }

    #sidebar {
        display: none;
    }

    #main {
        width: 100%;
    }
}

@media only screen and (max-width: 570px) {
    h1 {
        font-size: 25px;
    }
}