@font-face { /* EXTRA BOLD */
    font-family: 'Extra Bold';
    src: url('../font/static/Inter-ExtraBold.ttf') format('truetype');
}
@font-face { /* BOLD */
    font-family: 'Bold';
    src: url('../font/static/Inter-Bold.ttf') format('truetype');
}
@font-face { /* REGULAR */
    font-family: 'Regular';
    src: url('../font/static/Inter-Regular.ttf') format('truetype');
}
@font-face { /* MEDIUM */
    font-family: 'Medium';
    src: url('../font/static/Inter-Medium.ttf') format('truetype');
}
@font-face { /* LIGHT */
    font-family: 'Light';
    src: url('../font/static/Inter-Light.ttf') format('truetype');
}

figcaption, td {
    font-family: 'Regular';
}

#logo {
    width: 20%;
    height: auto;
}

#navbar {
    background-color: #FAE196;
    margin-bottom: 3%;
    padding: 20px;
    font-family: 'Medium';
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap; 
}

#navbar a {
    position: relative;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-family: 'Medium';
    margin: 10px;
    font-size: 125%;
}

#navbar > a:last-of-type {
    color: #2E3192;
}

#navbar a::before { 
    content: ""; 
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: transparent; 
    transform: scaleX(0);
    transform-origin: bottom;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#navbar a:hover::before {
    transform: scaleX(1);
    background-color: #000000;
}

#navbar a.upload:hover::before {
    transform: scaleX(1);
    background-color: #2E3192;
}


.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    box-shadow: 0 16px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    flex-direction: column;
    font-size: 80%;
    width: 180px;
}

.dropdown:hover .dropdown-content { 
    display: block;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #000000;
    text-decoration: none;
    padding: 16px 0;
    display: block;
    text-align: center;
    font-family: 'Light';
}

.dropdown-content a:hover {
    background-color: #ffffff;
    color: #000000;
}

.dropdown a {
    color: #000000;
    text-decoration: none;
    font-family: 'Light';
    margin: 10px;
    font-size: 40%;
    margin: 0;
    position: relative; 
}

.dropdown a::before { 
    content: ""; 
    position: absolute; 
    left: 0; 
    bottom: 0;
    height: 2px;
    width: 150%; 
    background-color: transparent;
    transform: scaleX(0);
    transform-origin: bottom;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.dropdown a:hover::before {
    transform: scaleX(1);
    background-color: #000000;
}

#logo {
    max-width: 30%;
}

@media (max-width: 768px) {
    #navbar {
        flex-direction: column; 
        align-items: flex-start; 
        padding: 10px; 
    }

    #navbar a {
        font-size: 100%; 
        margin-right: 10px; 
    }
}

.logout {
    background-color: transparent;
    border: none;
    font-size: 20px;
    border: 1px solid #000;
    border-radius: 5px;
    height: 34px;
    cursor: pointer;
    transition: border-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.logout:hover {
    border-color: #ff0000;
    color: #ff0000;
}

h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Bold';
}

h2 {
    font-family: 'Regular';
}

h3, h4, h5, h6, p, ul, span, label, input, button {
    font-family: 'Light';
}

footer {
    background-color: #FAE196;
    margin-top: 3%;
    width: 100%;
    font-family: 'Regular';
}

.footer-container {
    width: 90%;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #848484;
    padding: 1%;
    font-size: 90%;
}

.subtitle, .name, .institution, .faculty, .address, .email {
    margin: 5px 0;
    padding: 0;
}

.subtitle {
    font-family: 'Medium';
}

#footer-logo {
    max-width: 200px;
}