#main-header {
    display: inline;
    position: fixed;
    width: 100vw;
    /* background-color: white; */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 50;
    transform: translateY(0%);
    animation-duration: 1600ms;
    animation-delay: 0001ms;
    animation-timing-function: cubic-bezier(0.17, 0.17, 0.24, 1);
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-play-state: paused;
    animation-name: header-drop;
}

#main-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
    background-color: white;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: opacity;
}

#main-header:hover:before {
    opacity: 0.8;
}

body.loading #main-header {
    transform: translateY(-100%);
}

#main-header.animate {
    animation-play-state: running;
}

#mobile-header {
    display: none;
    position: fixed;
    width: 100vw;
    /* background-color: white; */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 100;
    transform: translateY(0%);
    animation-duration: 1600ms;
    animation-delay: 0001ms;
    animation-timing-function: cubic-bezier(0.17, 0.17, 0.24, 1);
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-play-state: paused;
    animation-name: header-drop;
}

#mobile-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
    background-color: white;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: opacity;
}

body.loading #mobile-header {
    transform: translateY(-100%);
}

#mobile-header.animate {
    animation-play-state: running;
}

@keyframes header-drop {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0px);
    }
}

#mobile-navigation-relative-positioner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100vw;
    height: 0;
    position: relative;
}

#mobile-navigation-absolute-positioner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    /* backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10; */
}

#mobile-navigation-formatter {
    height: calc(100% - (80px + 2*15px));
    width: calc(100% - (2*15px));
    padding: 15px;
}

#mobile-navigation-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /* padding: 15px; */
    border-radius: 10px;
    background-color: white;
    opacity: 0;
    transform: scale(0.95);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0);
    transition-duration: 0.4s, 0.4s, 0.4s;
    transition-delay: 0.05s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: opacity, transform, box-shadow;
}

#mobile-navigation-container.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0.3px 0.7px rgba(0, 0, 0, 0.126), 0 0.9px 1.7px rgba(0, 0, 0, 0.179), 0 1.8px 3.5px rgba(0, 0, 0, 0.224), 0 3.7px 7.3px rgba(0, 0, 0, 0.277), 0 10px 20px rgba(0, 0, 0, 0.4);;
}

.nav-container {
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: height;
}

.nav-container.shrink {
    height: 40px;
}

.nav-container:hover {
    height: 80px;
}

.header-section {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 33%;
}

#home-container.header-section {
    justify-content: flex-start;
    padding-left: 20px;
}

#page-navigation.header-section {
    justify-content: center;
}

#contact-container.header-section {
    justify-content: flex-end;
    padding-right: 20px;
}

.header-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.logo-small {
    height: 50px;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: height;
}

.nav-container.shrink .logo-small {
    height: 25px;
}

.nav-container:hover .logo-small {
    height: 50px;
}

.link-hover-wrap {
    padding: 10px 0 7.5px 0;
    opacity: 1;
    margin: 0 20px;
}

.link-nav {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    
    cursor: pointer;
    height: 100%;
}

#home-section.link-nav {
    padding: 10px 0 10px 0;
}

.link-container {
    height: 100%;
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* .link-wrap {
    height: 24px;
    margin: 3px 0 3px 0;
} */

.link-text {
    font-size: 24px;
    /* line-height: 24px; */
    margin: 0px;
    color:#000000;
    white-space: nowrap;
}

.link-decoration-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 2.5px;
}

.link-decoration {
    background-color: #000000;
    height: 2.5px;
    width: 0%;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: width;
}

.link-hover-wrap:hover .link-decoration {
    width: 100%;
}

.link-relative-positioner {
    position: relative;
    bottom: 0px;
    left: -15px;
    height: 100px;
    width: 100%;
    z-index: 10;
}

.link-pointer {
    position: absolute;
    top: 17.5px;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
    background-color: white;
    border-radius: 3px;
}

.link-absolute-positioner {
    position: absolute;
    top: 25px;
    left: 0;
    /* width: min-content;
    height: min-content; */
}

.hover-card {
    display: flex;
    flex-direction: row;
    width: min-content;
    height: min-content;
    padding: 8px;
    background-color: white;
    box-shadow: rgba(26, 26, 99, 0.6) 10px 10px 10px, #002aff 0px 0px inset, #002aff 0px 0px inset, #002aff 0px 0px inset, #002aff 0px 0px inset;
    border-radius: 5px;
}

.card-column {
    display: flex;
    flex-direction: column;
    width: min-content;
    padding: 0 10px;
    height: min-content;
}

.card-column:first-of-type {
    box-shadow: rgb(197, 197, 197) 1px 0px;
    padding-right: 12px;  
}

.card-column:nth-of-type(2) {
    padding-left: 12px;  
}

/* .card-divider {
    width: 3px;
    height: 100%;
    background-color: rgb(208, 208, 208);
} */

.link-card-font {
    font-size: 20px;
}

.hover-link-nav {
    padding: 10px 0 7.5px 0;
    opacity: 1;
    margin: 0;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    cursor: pointer;
}

.link-decoration-card {
    background-color: #000000;
    height: 2.5px;
    width: 0%;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: width;
}

.hover-link-nav:hover .link-decoration-card {
    width: 100%;
}

.link-icon-wrap {
    height: 100%;
    width: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 10px 0 0;
}

.link-icon {
    width: 25px;
}

#services-nav .card-column {
    box-shadow: none;
}

#booking-nav .card-column {
    box-shadow: none;
}

#hamburger-helper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: fit-content;
    height: 100%;
    padding: 0 10px;
}

#ham-vert-positioner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min-content;
    height: 100%;
}

#ham-container {
    width: 30px;
    aspect-ratio: 1;
}

#mobile-navigation-container .card-column {
    display: flex;
    flex-direction: column;
    width: min-content;
    padding: 20px 20px 0 20px;
    height: min-content;
    width: calc(100% - 40px);
    box-shadow: none;
}

#mobile-navigation-container .hover-link-nav {
    padding: 5px 0 5px 0;
    height: 50px;
    opacity: 1;
    margin: 0;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    cursor: pointer;
}

#mobile-navigation-container .link-decoration-card {
    background-color: #000000;
    height: 2.5px;
    width: 0%;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: width;
}

#mobile-navigation-container .link-icon-wrap {
    height: 100%;
    width: 37.5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 10px 0 0;
}

#mobile-navigation-container .link-icon {
    width: 37.5px;
}

#mobile-navigation-container .link-text {
    font-size: 36px;
    /* line-height: 24px; */
    margin: 0px;
    padding-top: 5px;
    color:#000000;
    white-space: nowrap;
}

#mobile-navigation-container .link-decoration-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 2.5px;
}

#mobile-navigation-container .link-decoration {
    background-color: #000000;
    height: 2.5px;
    width: 0%;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: width;
}

#mobile-navigation-container.link-hover-wrap:hover .link-decoration {
    width: 100%;
}

/* #booking-icon {
    width: 17.5px;
} */

@media only screen and (max-width: 1020px) {
    #main-header {
        display: none;
        position: fixed;
        width: 100vw;
        /* background-color: white; */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 10;
        transform: translateY(0%);
        animation-duration: 1600ms;
        animation-delay: 0001ms;
        animation-timing-function: cubic-bezier(0.17, 0.17, 0.24, 1);
        animation-iteration-count: 1;
        animation-direction: normal;
        animation-fill-mode: forwards;
        animation-play-state: paused;
        animation-name: header-drop;
    }

    #mobile-header {
        display: inline;
        position: fixed;
        width: 100vw;
        /* background-color: white; */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 10;
        transform: translateY(0%);
        animation-duration: 1600ms;
        animation-delay: 0001ms;
        animation-timing-function: cubic-bezier(0.17, 0.17, 0.24, 1);
        animation-iteration-count: 1;
        animation-direction: normal;
        animation-fill-mode: forwards;
        animation-play-state: paused;
        animation-name: header-drop;
    }

}