:root{
    --primary-bg-color: #ffffff;
    --primary-color: #000c26;
    --primary-contour: #e8e6e6;
    --primary-accent: #0066cc;
    --primary-secondary-color: #4a5568;
}
@font-face {
    font-family: 'Zalando';
    src: url('/public/fonts/ZalandoSansSemiExpanded-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}
body, html{
    margin: 0;
    font-family: Zalando,Helvetica,Arial,sans-serif;
    color: var(--primary-color);
    background: var(--primary-bg-color);
}
p{
    line-height: 1.6;
}

/* SLOW-IMAGE-LOADING */

.blur-load {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.blur-load::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: inherit;
    background-position: inherit;
    filter: blur(10px);
    opacity: 1;
    transition: opacity 1s linear;
    transform: scale(1.1);
}

.blur-load.loaded {
    background-image: none !important;
}
.blur-load.loaded::before {
    opacity: 0;
}
.blur-load .loading-indicator{
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 12px 12px;
    width: fit-content;
    height: fit-content;
    border-radius: 8px;
    background-color: #00000023;
    color: var(--primary-bg-color);
    display: block;
}
.blur-load.loaded .loading-indicator{
    display: none;
}
.blur-load img {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    user-select: none;
    display: block;
}
.blur-load.loaded img{
    opacity: 1;
}

/* HEADER */

header{
    display: flex;
    flex-direction: column;
    background: #fafdff;
    background: linear-gradient(123deg,#f2f9ff 0%, #fafdff 100%);
}
header .top{
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    border-bottom: 1px solid #e8e6e6;
    padding: 0 5%;
}
header .top > .content{
    flex: 1;
    max-width: 1100px;
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: space-between;
}
header .top a .icon > svg{
    width: 15px;
    height: 15px;
    color: #001542;
}
header .top a{
    display: flex;
    gap: 8px;
    color: #001542;
    text-decoration: none;
    height: max-content;
    font-size: 1em;
    padding: 8px 12px;
    border-radius: 8px;
}
header .top a:hover{
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(2px);
}
header .top a span{
    transform: translateY(-2px);
}
header .top a .numbered{
    transform: translateY(-1px);
    font-size: 0.9em;
}
header .top > .content > div{
    display: flex;
    gap: 12px;
}
header .bottom{
    display: flex;
    justify-content: center;
    padding: 0 5%;
}
header .bottom > .content{
    flex: 1;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
}
header .bottom nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
header .bottom nav a{
    text-decoration: none;
    color: #0066cc;
}
header .bottom nav div.links{
    display: flex;
    align-items: center;
    gap: 20px;
}
header .bottom .dropdown-title{
    all: unset;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    color: #0066cc;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
header .bottom .dropdown-title svg{
    height: 16px;
    width: 16px;
}
header .bottom .services-dropdown{
    position: relative;
    display: inline-block;
}
header .bottom .dropdown-content{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-bg-color);
    min-width: 320px;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 100;
    overflow: hidden;
    border: 1px solid var(--primary-contour);
    flex-direction: column;
    padding: 10px;
}
header .bottom .dropdown-content a{
    width: 100%;
    box-sizing: border-box;
}
header .bottom .services-dropdown:hover .dropdown-content {
    display: flex;
}
header .bottom .services-dropdown:hover .dropdown-title svg {
    transform: rotate(180deg);
}
header .bottom nav div a{
    padding: 8px 12px;
    border-radius: 8px;
}
header .bottom nav div a:hover{
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(2px);
}
header .bottom .button{
    background: linear-gradient(123deg,#0045bd 0%, #001542 100%);
    padding: 12px 20px;
    font-size: 1.1em;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 600;
}
header .bottom .button:hover{
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(2px);
}
header #banner{
    display: flex;
    justify-content: center;
    padding: 0 5%;
    margin-bottom: 30px;
}
header #banner > .content{
    flex: 1;
    background: #146aff;
    background: linear-gradient(123deg,#146aff 0%, #00a2ff 100%);
    height: 300px;
    max-width: 1100px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    color: #ffffff;
    overflow: hidden;
}
header #banner h1, header #banner p{
    margin: 0;
}
header #banner .button{
    padding: 8px 20px;
    background: #ffffff;
    display: flex;
    width: fit-content;
    gap: 4px;
    align-items: center;
    text-decoration: none;
    border-radius: 50px;
    color: #146aff;
    font-weight: 600;
}
header #banner .button:hover{
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(2px);
}
header #banner .text{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 5%;
}
header #banner .image{
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    mask: 
        radial-gradient(42.64px at 59.8px 50%,#000 99%,#0000 101%) 0 calc(50% - 52px)/100% 104px,
        radial-gradient(42.64px at -33.8px 50%,#0000 99%,#000 101%) 26px 50%/100% 104px repeat-y;
}
header #banner .image > div{
    height: 100%;
    width: 550px;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 1000px) {
    header #banner{
        padding: 0;
        margin-bottom: 0;
    }
    header #banner .content{
        border-radius: 0;
        min-height: 60vh;
    }
}

/* MOBILE HEADER*/

header .mobile-header {
    display: none;

    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

    padding: 15px 5%;
    background: var(--primary-bg-color);
    border-bottom: 1px solid var(--primary-contour);
}

header .mobile-header a {
    text-decoration: none;
    color: var(--primary-accent);
}

header .mobile-header .mobile-nav-button {
    all: unset;
    padding: 5%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

header .mobile-header .menu-toggle-checkbox:checked ~ .mobile-nav-button {
    background-color: var(--primary-accent);
    color: var(--primary-bg-color);
}

header .mobile-header .mobile-nav-button svg {
    width: 24px;
    height: 24px;
}

.menu-toggle-checkbox,
.dropdown-toggle-checkbox {
    display: none;
}

.dropdown-title {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.dropdown-title svg {
    transition: transform 0.2s ease;
    width: 24px;
    height: 24px;
}

.nav-menu a{
    width: 100%;
}


@media (max-width: 1000px) {  
    header .top, header .bottom {
        display: none;
    }
    
    header #banner .image {
        display: none;
    }

    header .mobile-header {
        display: flex;
    }
}

.nav-menu {
    display: none;

    flex-direction: column;

    width: 100%;
    background-color: var(--primary-bg-color);
    border-top: 1px solid #e2e8f0;
    z-index: 999;
    box-sizing: border-box;
}

.menu-toggle-checkbox:checked ~ .nav-menu {
    display: flex;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    background: #fafdff;
    background: linear-gradient(123deg,#f2f9ff 0%, #fafdff 100%);
    padding-left: 15px; 
    border-radius: 6px;
}

.dropdown-toggle-checkbox:checked ~ .dropdown-content {
    display: flex;
}

.dropdown-toggle-checkbox:checked ~ .dropdown-title svg {
    transform: rotate(180deg);
}

.nav-menu a, .dropdown-title {
    padding: 12px 0;
    border-bottom: 1px solid var(--primary-contour);
    color: var(--primary-color);
}

.dropdown-content a {
    border-bottom: none;
    padding: 10px 0;
}

/* 404 */

#error404{
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
#error404 h1{
    font-size: 4em;
    margin: 0;
}
#error404 h2{
    font-size: 2em;
    margin: 0;
}