:root {
  --uva-blue: rgb(35, 45, 75);
  --uva-blue-25: rgb(200, 203, 210);
  --uva-orange: rgb(229, 114, 0);
  --uva-orange-25: rgb(249, 220, 191);
  --uva-medium-gray: rgb(218, 218, 218);
}

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}


body {
    min-height: 100vh;
    margin: 0px;
    display: flex;
    flex-direction: column;
    font-family: franklin-gothic-urw, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--uva-blue)
}

svg {
    width: 1.3em;
    vertical-align: middle;
}

h1 {
    margin: 0px;
    font-size: 3em;
    font-weight: bold;
    color: var(--uva-blue);
}

h4 {
    font-weight: lighter;
}

p {
    margin: 5px;
    font-weight: inherit;
}

a {
    text-decoration: none; 
    color: inherit;
}

.content {
    margin-top: 11vh;
    flex: 1
}

#navbar {
    padding: .5em 12%;
    width: 100%;
    height: 11vh;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--uva-blue-25);
    background-color: white;
}

#navbar-logo {
    height: 3.5em;
}

#navbar-title {
    padding: 0.5em;
    font-size: inherit;
    font-weight: normal;
    border-radius: .25em;
    color: white;
    background-color: var(--uva-blue);
}

#navbar-left {
    height: 100%;
    padding: 10px 0px;
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 20px;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
}

#navbar-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 3em;
    align-items: center;
}

.navbar-button {
    font-size: 1.05em;
    font-weight: bold;
}

.navbar-button:hover{
    color: var(--uva-blue);
    text-decoration: underline;
    text-decoration-color: var(--uva-orange);
}

.dropdown {
    display: none;
}

#dropdown-menu-button {
    background-color: white;
    border: none;
}

#dropdown-menu-button svg {
    width: 2em;
    color: var(--uva-blue);
}

.dropdown-menu.show {
    padding: 1em;
    width: fit-content;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    font-size: 1.25em;
    color: var(--uva-blue)
}

#login-button {
    margin-left: 20px;
    padding: 10px 20px;
    background-color: var(--uva-orange);
    font-size: x-large;
    color: white;
}

.content-block {
    width: 100%;
    margin: 2em 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-content {
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2em;
}

.button {
    padding: .5em 1em;
    font-size: .9em;
    font-weight: bold;
    color: white;
    background: var(--uva-blue);
    border-radius: 25px;
}

#notfound-message {
    padding: 50px;
    text-align: center;
    font-size: xx-large;
}

footer {
    margin-top: auto;
    padding: 20px 50px;
    color: white;
    background-color: var(--uva-blue);
}

#footer-content {
    margin: auto;
    width: 60%;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.footer-divider {
    width: 2px;
    height: 100px;
    background-color: var(--uva-blue-25);
}

@media (max-width: 1300px) {
    #navbar {
        padding: 0.5em 3%;
    }
}

@media (max-width: 1100px) {
    #navbar {
        padding: 0;
        justify-content: center;
    }
    
    #navbar-left {
        justify-content: center;
    }

    #navbar-logo {
        width: 90%;
        object-fit: scale-down;
    }

    #navbar-title {
        display: none;
    }

    #navbar-buttons {
        display: none;
    }

    .dropdown {
        display: block;
    }
}

@media (max-width: 800px) {
    h1 {
        font-size: 2em;
    }

    .page-content {
        width: 100%;
        padding: 2em;
    }

    .footer {
        padding: 0em;
    }

    #footer-content {
        width: 100%;
        flex-direction: column-reverse;
    }

    .footer-divider {
        display: none;
    }
}