:root {
    --mint-cake-color: #9bc8ab;
    --sunset-color: #f08050;
    --granite-color: #3d3f3f;
    --rosy-cheeks: #f6b09d;
    --sunrise-color: #f9b104;
    --cloudy-color: #ffffff;
}

.header {
    width: 100%;
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-left: 1.5vw;
    padding-right: 1.5vw;
    padding-top: 2vw;
    padding-bottom: 2vw;
}

.header>div {
    flex-grow: 1;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.navbar a {
    float: left;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: max(24px, 1.2vw);
    color: black;
}

.navlogo img {
    height: 100px;
}

.navcontact {
    display: flex;
    flex-grow: 0;
    flex-shrink: 1;
    align-items: center;
    justify-content: flex-end;
}

.navcontact-item {
    padding: 0.5vw;
    white-space: nowrap;
}

.nav-contact-btn {
    padding: 12px 16px;
    opacity: 1;
    transition: 0.3s;
    font-size: max(24px, 1.2vw);
}

.navbar a:hover,
.dropdown:hover .dropdown-button {
    background-color: #ddd;
    color: black;
    cursor: pointer;
}

.navbar a.active {
    background-color: #04aa6d;
    color: white;
}

.icon {
    display: none;
}

.nav-button-hidden {
    display: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropdown-button {
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: max(24px, 1.2vw);
    border: none;
    outline: none;
    background-color: inherit;
    font-family: inherit;
    /* Important for vertical align on mobile phones */
    margin: 0;
    /* Important for vertical align on mobile phones */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

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

.overlay {
    height: 100%;
    width: 100%;
    transform: translate(-100%,0);
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    background-color: white;
    overflow-x: hidden;
    /* Disable horizontal scroll */
    transition: 0.5s;
    /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
    display: none;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

.sub-overlay {
    right: 0;
    left: auto;
    transform: translate(100%,0);
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%;
    /* 25% from the top */
    width: 100%;
    /* 100% width */
    text-align: center;
    /* Centered text/links */
    margin-top: 30px;
    display:block;
    /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay-content a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: black;
    display: block;
    /* Display block instead of inline */
    transition: 0.3s;
    /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay-content a:hover,
.overlay-content a:focus {
    color: #f1f1f1;
}

.overlay-social, 
.overlay-contact {
    display: flex;
    justify-content: center;
}

.contact-btn {
    background-color: var(--sunset-color);
    color: #000000;
    font-weight: bold;
    text-align: center;
    border: none;
    text-decoration: none;
    border-radius: 6px;
    opacity: 0.8;
}

.contact-btn:hover {
    opacity: 1
}

.contact-btn:active {
    transform: scale(0.98);
    box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24);
}

.overlay-contact-btn {
    min-width: 200px;
    margin: 2vw;
}

#nav-close #nav-burger {
    font-size: 1.25em;
}

.bi-facebook, .bi-instagram {
    height: 32px;
    width: 32px;
    background-size: contain;
    display: inline-block;
}

.bi-facebook:hover {
    fill: #4267B2;
}

.bi-instagram:hover {
    fill: #e95950;    
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

@media screen and (max-width: 800px) {
    .overlay {
        display: block;
    }

    .navbar .navitem {
        display: none;
    }

    .navcontact {
        display: none;
    }

    .navbar a.icon {
        float: right;
        /*display: block;*/
    }

    .navlogo img {
        height: auto;
        max-width: 75%;
        max-height: 100px;
    }

    .nav-button-visible {
        display: block;
    }
}

@media screen and (max-width: 800px) {
    .navbar.responsive {
        position: relative;
    }

    .navbar.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .navbar.responsive .navitem,
    .navbar.responsive .navlogo {
        float: none;
        display: block;
        text-align: left;
    }

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