header{
    background-color: #220041;
    color: white;
    text-align: center;
    padding: 1.3em;
    position: fixed;
    width: 100%;
    z-index: 9999;
    height: 4rem;
    top: 0;
    left: 0;
}


.header-expanded {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.logo-div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 0.3em;
}

.logo-img {
    height: 1.5rem;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}

.nav-div .nav-link {
    margin: 0 1em;
}

.nav-link {
    font-size: 0.95em;
}



.menu-icon{
    font-size: 1em;
    cursor: pointer;
    display: none;
}

.header-collapsed {
    display: none;
    padding-top: 1rem;
    background-color: #220041;
    color: white;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
}

.collapsed-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid #f8f8ff;
    border-bottom: 1px solid #f8f8ff;
    flex-wrap: nowrap;
    align-content: center;
    align-items: flex-start;
    justify-content: center;
}

.collapsed-menu *{
    margin: 1em;
}

a {
    color: white;
    text-decoration: none;
}


/* Main div */
main{
    padding: 2em;
    background-color: white;
}

.main-div{
    background-color: white;
}


/* FIXED MEDIA QUERY */
@media screen and (max-width: 480px) {
    .nav-div .nav-link {
        display: none;
    }
    .menu-icon {
        display: block;
    }
}

@media screen and (min-width: 481px) {
    .nav-div .nav-link {
        display: flex;
    }
    .menu-icon {
        display: none;
    }
    #header-collapsed{
        display: none;
    }
}



