* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: montserrat, serif;
    font-size: 16px;
    box-sizing: border-box;

    --header-blue: #2c5e85ff;
    --header-blue-light: rgb(124, 170, 193);
    --header-blue-light-2: rgb(216, 238, 249);
    --header-light: #f2f2f1ff;
    --header-height: 99px;
    --header-content-height: 60px;

    --footer-height: 100px;
}

/* BASE TEMPLATE */
/* HEADER */
/* Header style */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--header-blue);
    color: var(--header-light);
    cursor: default;
    z-index: 999;
}

#header-logo {
    position: absolute;
    top: 4.8px;
    left: 0px;
    height: 80px;
    z-index: 1000;
}

#header-hr-white {
    position: absolute;
    top: 58.7px;
    left: 0;
    width: 100%;
    height: 4.7px;
    background-color: white;
    z-index: 1001;
    margin-left: 120px;
    border:0;
}

#header-hr-blue {
    position: absolute;
    top: 59.5px;
    left: 0;
    width: 100%;
    height: 3.1px;
    background-color: #6497b1;
    z-index: 1002;
    margin-left: 120px;
    border: 0;
}

#title-div {
    position: absolute;
    display: block;
    width: 100%;
    height: 38px;
    background-color: var(--header-light);
    color: var(--header-blue);
    bottom: 0;
    left: 0;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    line-height: 38px;
    padding: 0 150px;
}

/*Header content*/
#header-elem-div {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 50px;
    width: 70%;
    height: var(--header-content-height);
}

.header-elem {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    line-height: var(--header-content-height);
}

.header-elem:hover {
    text-decoration: underline;
    cursor: pointer;
}

#menu-btn {
    display: none;
}

/* DROPDOWN MENU */
#dropdown-menu-overlay {
    display: none;
}

.dropdown-menu {
    display: block;
    position: relative;
    width: 100vh;
    text-align: center;
}

.dropdown-menu-item {
    display: block;
    padding: 15px;
    margin-bottom: 25px;
    width: 300px;
    background-color: var(--header-blue);
    color: white;
    border-radius: 10px;
    box-shadow: 6px 6px 8px 0 rgba(0, 0, 0, 0.3);
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition-duration: 0.3s;
}

.dropdown-menu-item:hover {
    box-shadow: 8px 8px 12px 0 rgba(0, 0, 0, 0.5);
}

/* FOOTER */
#footer {
    display: block;
    width: 100%;
    height: 100px;
    background-color: var(--header-blue);
    color: var(--header-light);
    text-align: center;
    padding: 10px 50px;
}

.footer-horizontal-spacer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#footer-logo {
    height: 80px;
}

/* CONTENT */
#content {
    margin-top: var(--header-height);
    width: 100%;
    align-items: center;
    text-align: center;
}

/* NARROWER SCREEN */
@media (max-width:900px) {
    #title-div {
        padding: 0 50px;
    }
}

@media(max-width:900px) {
    #header {
        height: calc(var(--header-height) - 38px);
    }

    #title-div {
        display: none;
    }

    #content {
        margin-top: calc(var(--header-height) - 30px);
    }

    /* #header-title {
        display: none;
    } */
}

@media(max-width:800px) {
    #header-elem-div {
        width: auto;
    }
    
    #header-links-div {
        display: none;
    }

    #menu-btn{
        display: block;
        position: absolute;
        top: 50%;
        right: 30px;
        transform: translateX(50%) translateY(-50%);
        height: 25px;
        transition-duration: 0.3s;
    }

    #menu-btn:hover {
        height: 27px;
        cursor: pointer;
    }

    #menu-btn img {
        height: 100%;
    }

    #dropdown-menu-overlay {
        display: block;
        position: fixed;
        top: calc(var(--footer-height) - 38px);
        left: 0;
        height: 0px;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.0);
        transition: height 0.7s ease, background-color 0.4s ease 0.3s;
        overflow: hidden;
        z-index: 100;
    }

    #dropdown-menu-overlay.active {
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.7);
    }

    #dropdown-menu {
        display: block;
        position: absolute;
        top: -50vh;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        transition: top 0.7s ease;
        height: auto;
    }

    #dropdown-menu.active {
        top: 50vh;
    }
}