:root {
    /*Color variables*/
    --background: #004374;
    --navbar: #005E9f;
    --text: white;
    --link: #5fb7ff;

    --light: #f1f1f1;
    --hover: #ddd;
    --select: #ccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    /* font-style: inherit; */
    list-style-type: none;
    font-family: "Raleway", sans-serif;
}

body {
    margin: 0px;
    background-color: var(--background);
}

body,
html {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}

hr {
    height: 1px;
    border:none;
    /* background: linear-gradient(to right, #00000000 2%, var(--text) 25% , var(--text) 75% , #00000000 98%); */
    background-color: var(--text);
    width:90%;
    margin:auto;
}

h1 {
    text-align: center;
    font-family: 'Raleway', serif;
    font-size: 80px;
    color: var(--text);
    font-weight: bold;
    padding: 15px 0;
}

h3 {
    font-family: 'Raleway', serif;
    font-size: 2em;
    color: var(--text);
    font-weight: bold;
    padding: 8px;
}

h4 {
    font-family: 'Raleway', serif;
    font-size: 1.5em;
    color: var(--text);
    font-weight: bold;
    padding: 8px;
}

a {
    transition: 0.2s;
    text-decoration: none;
    color: var(--text);
}

a:hover {
    transition: 0.2s;
    color: #383938;
}

p {
    color: var(--text);
    margin: 0;
}

::-webkit-scrollbar {
    width: 5px;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*Navbar stuff*/
nav div {
    padding: 0px;
    display: flex;
    float: center;
    justify-content: space-between;
    list-style-type: none;
    max-width: 100%;
    /* height: 2em; */
    align-items: center;
    margin: auto;
    font-size: 16px;
}

.navbar-custom {
    background-color: var(--navbar);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.navbar-custom a {
    font-family: 'Raleway';
    font-size: 1em;
    padding: 0 20px;
    color: var(--text) !important;
    text-decoration-color: #00000000;
    font-weight: bold;
    /* max-width: 100%; */
}

.navbar-custom a:hover {
    text-decoration: 4px underline;
    text-decoration-color: var(--text);
}

.navbar-custom img {
    box-sizing: border-box;
    width: auto;
    height: 2em;
}

.navbar-custom .logo {
    height: 3em;
}

.navbar-custom .user {
    border: solid 1px #00000000;
    border-radius: 8px;
    position: absolute;
    right: 1em;
    height: 60%;
    /* width:auto; */
    text-align: center;
    background-color: var(--background);
    padding: 0 1.5em;
    overflow: hidden;

    display: inline-block;
    text-decoration: none;
    width: auto;
    /* margin: 24px 0; */
    overflow: hidden;
    color:var(--text);
    transition: border 0.2s;
}

.navbar-custom .user:hover {
    border: 1px solid var(--text);
}

.navbar-full {
    flex-direction: row;
    display: flex;
    justify-content: center;
}

.navbar-short {
    flex-direction: row;
    display: none;
    justify-content: space-evenly;
}

.dropdown {
    margin: 0;
    height:2em;
}

.dropdown button {
    background-color: #00000000;
    border: #00000000;
}

.dropdown-content {
    display:none;
    position: absolute;
    background-color: var(--navbar);
    height:fit-content;
    width:fit-content;
    max-width: none;
    top:1.8em;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    font-size:1em;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    display:block;
    text-align: center;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* hides navbar when width<1000px */
@media screen and (max-width: 992px) {
    html{
        font-size: 2em;
    }
    
    nav div {
        font-size: 18px;
    }

    .navbar-full {
        display: none;
    }

    .navbar-short {
        display: flex;
    }
}
