:root {
    /* Primary */
    --TEAL: #105C78;
    --CERULEAN: #00ADDC;
    --LIME: #B2D33B;
    --ORANGE: #F68B1F;
    --FUCHSIA: #B72467;

    /* Secondary */
    --GOLDENROD: #FFCD34;
    --CRIMSON: #DB3526;
    --VIOLET: #51499E;
    --CORNFLOWER: #4881C3;
    --JADE: #25B574;

    --GREY: #acb2ae;
    --LIGHT: #ccffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    height: 100%;
}
body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
main{
    flex-grow: 1;
}
/* Header */
#header, #footer{
    min-height: 80px;
    background: var(--TEAL);
    color: #fff;
    flex-shrink: 0;
    font-family: Arial, Helvetica, sans-serif !important;
}
@media print {
    #header, #footer {
        display: none !important;
    }
}
#header a:visited, #footer a:visited{
    color: #fff;
}

#header{
    transform-style: preserve-3d;
    position: relative;
    z-index: 999;
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 5px solid var(--CERULEAN);
    max-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#header span{
    white-space: nowrap;
}
.logo{
    margin: 30px 10px 20px 20px;
    max-width: 223px;
    max-height: 50px;
}
.logo2{
    margin: 35px 20px 20px 15px;
    width: 185.7px;
    height: 45px;
}
.logo2-icon{
    display: none;
    height: 45px;
    width: auto;
    margin: 10px 20px 0 0;
}
.header-left, .header-right{
    flex-shrink: 0;
}
.header-center{
    transform-style: preserve-3d;    
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.navigation-link, .menu-link{
    width: 100%;
    height: 100%;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.header-center p{
    padding: 5px;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}
.header-center i{
    padding: 2px;
    margin-bottom: 3px;
    font-size: 32px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
    color: var(--CERULEAN);
}
.navigation-link i, .navigation-link p{
    pointer-events: none;
}
.navigation-link i, .menu-link i{
    -moz-transition: color 1s ease;
    -webkit-transition: color 1s ease;
    transition: color 1s ease;
}
.menu-link span{
    pointer-events: none;
}

.navigation-link:hover i, #side-menu .menu-link:hover i{
    color: var(--LIME);
}
/* Footer */
#footer{
    border-top: 5px solid var(--CERULEAN);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
.footer-left, .footer-right{
    display:flex;
    flex-direction: column;
    height: 100%;
    line-height: 1.2rem;
}
.footer-links{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
}
.footer-links > div{
    display: flex;
    flex-direction: column;
}
.footer-links a{
    text-decoration: none;
    color: #fff !important;
    padding: 5px;
    font-weight: bolder;
}
.footer-links a:hover{
    text-decoration: underline;
}
.footer-left h1{
    font-size: 18px;
    color: #fff;
}
.footer-left h2{
    font-size: 16px;
    margin-top: 10px;
    color: #fff;
}
.footer-left .contact, .footer-left .address{
    margin: 5px 0 5px 15px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}
.footer-left .contact i {
    color: var(--LIME);
}
.footer-left i{
    margin-right: 5px;
}
.footer-left .social{
    display:flex;
    align-items: center;
}
.footer-left .follow-button{
    margin: 10px 0;
    background-color: var(--CERULEAN);
    text-decoration: none;
    color: #fff;
    padding: 5px 15px;
    display:flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 35px;
    font-weight: bolder;
    white-space: nowrap;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color .25 ease;
}
.footer-left .follow-button:hover{
    background-color: var(--TEAL);
    border: 1px solid var(--CERULEAN);
}
.footer-right {
    flex-grow: 1;
    justify-content: center;
}
.footer-right a{
    width: fit-content;
}
.footer-affiliations{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.footer-affiliations a:first-child{
    padding: 0 50px;
}
/* Side Menu */
#side-menu-toggler{
    display: none;
    font-size: 34px;
    min-width: 34px;
    margin: 10px 5px 0px 15px;
    cursor: pointer;
}
#side-menu-toggler i.active{
    color: var(--LIME);
}
#side-menu-toggler i:hover{
    color: var(--LIME);
}
#side-menu-toggler i.active:hover{
    color: #fff;
}
#side-menu{
    position: absolute;
    top: 100%;
    margin-left: 8px;
    height: 500px;
    width: 150px;
    border: 5px solid var(--LIME);
    border-top: 5px solid var(--TEAL);
    opacity: 90%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    background-color: var(--TEAL);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    text-align: center;

    visibility: hidden;
    transform: translateY(-120px) translateZ(-10px);
    opacity: 0;
    transition: all .5s ease-in-out, width 0s, visibility .5s;
}

#side-menu i{
    position: absolute;
    font-size: 40px;
    z-index: -1;
    padding: 2px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
    color: var(--CERULEAN);
    transform: translateY(-100%);
}
#side-menu-content{
    position: absolute;
    width: calc(100vw - 200px);
    height: 300px;
    top: 0px;
    left: 0;
    transform: translateX(150px);

    background-color: var(--TEAL);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 5px solid var(--LIME);
    border-top: 5px solid var(--TEAL);
}
.menu-link{
    padding: 60px 5px 0px 5px;
}
.expandable-container {
    position: absolute;
    top: 100%;  
    width: 80vw;
    background-color: var(--TEAL);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    margin: 1px 25px 0px 25px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 5px solid var(--LIME);
    border-top: 5px solid var(--TEAL);

    visibility: hidden;
    transform: translateY(-120px) translateZ(-10px);
    opacity: 0;
    transition: all .5s ease-in-out, width 0s, visibility .5s, left 0s;
}
.expandable-container h1{
    text-align: center;
    font-size: 24px;
    margin: 20px 0 20px 0;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
    color: #fff;
}
.expandable-container p{
    font-size: 20px;
    margin-bottom: 10px;
}
.expandable-container a{
    color:#fff;
    text-decoration: none;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
}
.expandable-container a:hover{
    text-decoration: underline;
}
.expandable-container ul{
    list-style-type: none;
    margin: 0 15px 0 15px;
}
.expandable-container li{
    padding-bottom: 20px;
    font-size: 14px;
}
.expandable-inner{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;    
    justify-content: center;
    gap: 10px;
}
.expandable-inner div{
    flex: 1 1 0;
    min-width: 210px;
}
.expandable-close{
    position: absolute;
    top: 0;
    right: 0;
    margin: 15px 15px 0 0;
    color: var(--CERULEAN) !important;
}
.expandable-close:hover{
    cursor: pointer;
    color: var(--LIME) !important;
}
@media only screen and (max-width: 1080px) {
    .navigation-link p{
        z-index: 1;
    }
    .navigation-link i{
        position: absolute;
        font-size: 42px;
        z-index: 0;
    }
    .expandable-content {
        width: max-content;
    }
    .header-center p{
        white-space: normal;
    }
}
@media only screen and (max-width: 860px) {
    .navigation-link p{
        display: none;
    }
    .navigation-link i{
        font-size: 32px;
    }
    #footer {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding-bottom: 10px;
    }
    .footer-left .contact{
        flex-direction: row;
        justify-content: center;
    }
    .footer-left .contact p{
        margin: 0 20px;
    }
    .footer-left .social {
        justify-content: center;
    }
    .footer-left, .footer-links, .footer-right{
        height: fit-content;
        width: 100%;
        max-width: 100%;
        align-items: center;
    }
    .footer-links {
        flex-direction: column;
    }
    .footer-links > div{
        width: 100%;
        align-items: center;
    }
    .footer-affiliations{
        flex-direction: column;
        padding-bottom: 10px;
    }
    .footer-affiliations a:first-child{
        padding: 20px 0;
    }
}
@media only screen and (max-width: 720px) {
    .navigation-link {
        display: none;
    }
    #side-menu-toggler {
        display: block;
    }
    #expandable-menu {
        width: calc(100vw - 200px);
        left: -160px;
    }
    #expandable-menu i{
        display: none;
    }
}
@media only screen and (max-width: 600px) {
    .logo2 {
        display: none;
    }
    .logo2-icon{
        display: block;
    }
}
