﻿/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
  margin-right: auto;
}

.header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 99;
    padding-bottom: 20px;
    position: sticky;
    top: 0;
    padding-top: 40px;
}

.header-line {
    border-bottom: 1px dashed #FFFFFF80;
}

.mobile-toggler {
    display: none;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    margin-right: 5px;
}

.logo {
    position: relative;
    z-index: 100;
}

.icon-close {
    display: none;
    color: #fff;
    margin-right: -5px;
}

.header-menu {
    display: flex;
    flex-wrap: nowrap;
}

.header-menu-items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: 294px;
    justify-content: space-between;
}

.contact-button {
    order: 2;
    margin-left: 30px;
    width: 120px;
    text-align: center;
}

.footer {
    position: relative;
    left: 0;
    bottom: 0;
    white-space: nowrap;
}

.footer-title,
.footer-containers,
.footnote {
    padding-left: 100px;
}

.footer-background {
    display: block;
    position: relative;
    top: 0;
    width: 1440px;
    height: auto;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
}

.footer-background-div {
    position: relative;
    width: 100vw;
    top: 70px;
    left: 50%;
    width: 100vw;
    height: auto;
    transform: translateX(-50%);
    max-width: 1440px;
    z-index: -1;
    overflow: hidden;
}

.footer.footer-line .footer-background {
    display: none;
}

.footer-containers {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: flex-start;
}

.footnote {
    font-size: 12px;
    line-height: 16px;
    color: #FFFFFF80;
}

.company-container,
.social-container,
.contact-container {
    margin-top: 20px;
}

.company-container-items,
.social-container-items {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.company-container-items,
.social-container-items,
.contact-container-items {
    margin-top: 10px;
}

.contact-container-items {
    display: flex;
}

.contact-container {
    margin-left: 100px;
    margin-right: 200px;
}

.footer-note {
    display: inline-block;
}

.footer-notes {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
}

.header-menu .nav-link.active {
    color: #DB3B00;
}

.footer.footer-line {
    border-top: 1px dashed #FFFFFF80;
    padding-top: 50px;
    margin-top: 0;
}

.cookie-modal {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 101;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 730px;
    width: 730px;
}

.cookie-content {
    background: #343539;
    padding: 24px 30px;
}

.cookie-buttons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.cookie-buttons button {
    cursor: pointer;
    padding: 8px 45px;
}

.change-language {
    order: 1;
    position: relative;
    display: flex;
    margin-left: 16px;
}

.language-selector {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

.language-list {
    position: absolute;
    align-items: center;
    top: 100%;
    left: 0;
    width: max-content;
    min-width: 100%;
    display: none;
    flex-direction: column;
    background: #222;
    border-radius: 6px;
    padding: 6px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.language-list.show {
    display: flex;
}

.language-list a.language-button {
    display: block;
    padding: 8px 12px;
    white-space: nowrap;
    color: white;
    text-decoration: none!important;
}

@media (min-width: 1440px) {
    .footer-background-div::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(0,0,0, 1) 0px, rgba(0,0,0,0) 70px, rgba(0,0,0,0) calc(100% - 70px), rgba(0,0,0, 1) 100%);
        pointer-events: none;
    }
}

@media (max-width: 1199px) {
    .footer-title,
    .footer-containers,
    .footnote {
        padding-left: 12px;
    }
}

@media (max-width: 992px) {
    .contact-container {
        margin-right: 100px;
    }
}

@media (max-width: 768px) {
    .header-menu {
        display: none;
    }

    .header-menu.open {
        display: block;
        background: #000;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        max-height: 100vh;
        width: 100vw;
        gap: 30px;
        transition: opacity 0.3s ease;
        z-index: 99;
    }

    .mobile-toggler {
        display: block;
        position: relative;
        z-index: 100;
        color: white;
        background: transparent;
        border: none;
    }

    .mobile-toggler.active .icon-burger {
        display: none;
    }

    .mobile-toggler.active .icon-close {
        display: inline;
    }

    .header-menu-items {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: nowrap;
        position: absolute;
        top: 160px;
        left: 12px;
        flex-direction: column;
        gap: 40px;
    }

    .header {
        padding-bottom: 12px;
        max-width: calc(100% - 24px);
    }

    .change-language {
        order: 0;
        margin-left: 0;
        margin-right: 16px;
        z-index: 100;
    }

    .contact-button {
        display: none;
    }

    .header-menu.open ~ .contact-button {
        display: block;
        bottom: 40px;
        left: 12px;
        width: calc(100% - 24px);
        position: fixed;
        margin-left: unset;
        z-index: 100;
    }

    .contact-container-items,
    .footer-containers {
        flex-direction: column;
    }

    .company-container-items,
    .social-container-items {
        flex-direction: row;
        gap: 40px
    }

    .contact-container {
        margin-left: 0;
        margin-right: 0;
    }

    .contact-container-items {
        gap: 16px;
    }

    .footer-notes {
        justify-content: normal;
        flex-direction: column-reverse;
    }


    .first-footer-note {
        margin-top: 16px;
    }

    .footer-background {
        width: calc(100vw + 300px);
    }

    .footer {
        margin-top: -70px;
    }

    .header {
        padding-top: 10px;
        padding-left: 0;
        padding-right: 0;
        margin-left: 12px;
        margin-right: 12px;
    }

    .footer {
        padding-left: 0;
        padding-right: 0;
        margin-left: 12px;
        margin-right: 12px;
        overflow: hidden;
        max-width: calc(100% - 24px);
    }

    .cookie-modal {
        bottom: 0;
        width: 100%;
    }

    .cookie-content {
        padding: 24px;
    }
}

@media (max-width: 576px) {

    .footer-background {
        left: 60%;
    }

    .cookie-buttons button {
        padding: 8px 40px;
    }
}

@media (max-width: 366px) {

    .cookie-buttons button {
        padding: 8px 30px;
    }

}
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    width: 100vw;
    max-width: 1440px;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    will-change: opacity;
    z-index: -1;
}

@supports (animation-timeline: scroll()) {
    .header::before {
        animation: header-fade-in linear both;
        animation-timeline: scroll();
        animation-range: 0 80px;
    }
}

@keyframes header-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
