@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    width: 95%;
    margin: 10px auto;
    font-family: Arial, Helvetica, sans-serif;
}

.nav {
    display: flex;
    align-items: center;
    margin: 0 auto;
    justify-content: space-between;
    font-size: 14px;
}

h1 {
    margin: 1px 0;
    font-family: 'Times New Roman', Times, serif;
}

a {
    text-decoration: none;
    color: #3f0eee;
    text-decoration: underline;
}

a:visited {
    color: #020276;
}

span {
    padding: 2px 4px; 
    color: rgb(0, 0, 0); 
    border-radius: 4px;
    border: 1px solid #a2a9b1;
}

.nav_logo {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    margin: 0;
}

.nav_logo_title p:nth-child(2) {
    margin: -2px 0;
    font-size: 8px;
    font-style: italic;
}

.nav_logo_title p {
    margin: 0;
    font-size: 18px;
}

.nav_options a{
    margin: 0 6px;
}

.container {
    margin: 20px auto;
    display: grid;
    grid-template-columns: 18% 82%;
}

.sidebar {
    width: 80%;
    padding-left: 30px;
    position: sticky;
    top: 20px;
    max-height: 300px;
    overflow: hidden;
    font-weight: thinner;
}

.sidebar_header p{
    border-bottom: 1px solid #717171;
    padding: 10px 0;
    width: 80%;
}

.sidebar_contents {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
    border-collapse: collapse;
}

.sidebar_contents a {
    text-decoration: none;
    color: #6f4af6;
    padding: 2px 0;
    width: 70%;
}

.sidebar_contents a:hover {
    color: #ea7908;
}

.main {
    width: 96%;
}

.nav_mobile {
    display: none;
}

.infobox {
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    color: black;
    padding: 0.2em;
    float: right;
    clear: both;
    line-height: 1.5em;
    width: 14em;
    margin: -1em 0.5em;
}
        
.infobox_title {
    font-size: 16px;
    text-align: center;
    background-color: #ababee;
    padding: 0.2em;
}
        
.infobox_image {
    text-align: center;
    padding: 0.1em;
}

.main_title {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 16px 0;
    justify-content: space-between;
    border-bottom: 1px solid gray;
}

.main_container{
    margin: 20px 0;
}

.main_content p{
    font-size: 16px;
    line-height: 26px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 14px 0;
}

.notification {
    width: 40%;
    margin: 10px auto;
    border: 2px solid #be1414;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.notification p {
    margin: 4px 10px;
}

sup{
    font-size: 10px;
    position: relative;
    top: -0.5em;
    line-height: 0;
}

#col {
    margin: 0;
    column-count: 1;
    column-gap: 20px;
    column-rule: 1px solid #ccc;
}

@media only screen and (max-width: 448px){
    .infobox {
        float: none;
        width: 100%;
        margin: 1em 0;
    }
    .sidebar {
        display: none;
    }
    .container {
        display: block;
        margin: 0;
    }

    .nav {
        display: none;
    }

    .nav_mobile {
        display:block;
        margin: 0;
    }

    #main_title {
        display: flex;
        flex-direction: column;
        align-items: start;
        width: 100%;
        margin: 30px 0;
    }

    #main_title p {
        margin: 8px 0;
    }

    .notification {
        width: 100%;
    }

    .main, .nav_mobile {
        width: 100%;
    }
}
