@import url("https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");
:root {
    --primary-color: #d22127;
}
body {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
}
.asap_regular {
    font-family: "Asap", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
}
.asap_semibold {
    font-family: "Asap", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
}
.asap_bold {
    font-family: "Asap", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
}
.nunito_regular {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
}
.nunito_semibold {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
}
.nunito_bold {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background: rgba(43, 61, 79, 0.05);
}
::-webkit-scrollbar-thumb {
    background: rgba(43, 61, 79, 0.4);
    border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgb(233, 10, 10);
}
a {
    transition: all .3s ease;
}
.list-side {
    height: calc(100vh - 480px);
}

.bg-primary {
    background: var(--primary-color);
}
.text-primary {
    color: var(--primary-color);
}
.smooth {
    transition: all 0.3s ease-in;
}
.smooth-fast {
    transition: all 0.15s ease-in;
}



@media screen and (max-width: 639px) {
    .modal, 
    .contact-modal,
    .imprint-modal {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: visibility 0s linear 0.25s, opacity 0.25s 0s;
    }
    .imprint-modal {
        z-index: 50;   
    }
    .modal-content,
    .contact-content {
        position: fixed;
        bottom: -100%;
        left: 0;
        background-color: white;
        width: 100vw;
        height: 80vh;
        transition: all 0.5s ease;
        opacity: 0;
        z-index: 10;
    }

    .modal-content.show-content,
    .contact-content.show-contact-content {
        bottom: 0;
        opacity: 1;
        z-index: 10;
    }

    .show-modal,
    .show-contact-modal,
    .show-imprint-modal {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
    }
    .show-imprint-modal {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media screen and (min-width: 640px) and (max-width: 1023px) {
    .modal, 
    .contact-modal {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: visibility 0s linear 0.25s, opacity 0.25s 0s;
    }
    .show-modal,
    .show-contact-modal {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
    }

   .modal-content,
   .contact-content {
        position: fixed;
        top: 0;
        left: -100%;
        background-color: white;
        width: clamp(0px, 100%, 545px);
        height: 100dvh;
        transition: all 0.5s ease;
        opacity: 0;
        z-index: 10;
    }
    .modal-content.show-content,
    .contact-content.show-contact-content {
        left: 0;
        opacity: 1;
        z-index: 10;
    }
}
@media screen and (min-width: 1024px) {
    .modal-content {
        position: relative;
        background-color: white;
        width: clamp(0px, 100%, 540px);
        height: 100dvh;
    }
}

/*---------------------- Tooltip ------------------------*/
.tooltip {
    position: relative;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -70px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
@media screen and (max-width: 767px) {
    .tooltip:hover .tooltiptext {
        visibility: hidden !important;
        opacity: 0 !important;
    }
}