@import url('https://fonts.googleapis.com/css2?family=Georama:ital,wght@0,100..900;1,100..900&display=swap');
/*
This is a bigger mess
*/

body {

    margin: 0;
    font-family: Georama, sans-serif;
    display: flex;
    flex-direction: column;
    background-color: #1D212C;
}

h1 {

    font-size: 29px;
    color: rgb(246 247 249);
    font-family: Georama, sans-serif;
    text-align: center;
    margin-top: 20px;

}

.assignments-container {

    margin-left: auto;
    margin-right: auto;
    width: 80%;
    max-width: 800px;
    margin-top: 20px;

}


.assignment {

    background-color: #FF9232;
    border: 1px;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.assignment h2 {

    font-size: 20px;
    color: #050E2E;
    margin: 0 0 10px;

}


.assignment p {

    font-size: 20px;
    color: #050E2E;
    margin: 0;
}

.assignment a {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #050E2E;
    text-decoration: none;
}

.assignment a:hover {
    text-decoration: underline;
}

.topnav {
    display: flex;
    list-style-type: none;
    text-align: center;
    background-color: #050E2E;
    padding: 20px 20px;
    padding-left: 0px;
    overflow: hidden;
    margin: 0;
}

.topnav li {
    text-align: center;
    display: inline;
}

.topnav li a {
    font-size: 17px;
    text-align: center;
    padding: 20px 18px;
    color: rgb(246 247 249);
    font-family: Georama, sans-serif;
}

.topnav-active {
    background-color: #FF9232;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: white;
    color: black;
}