@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Regular.ttf");
}

@font-face {
    font-family: "RobotoVar";
    src: url("../fonts/Roboto-VariableFont_wdth_wght.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 75% 125%;
    font-style: normal;
}


:root {
    --font-w-base: 400;
    --font-w-heading: 800;
}

@media (max-width: 768px) {
    :root {
        --font-w-base: 400;
        --font-w-heading: 900;
    }
}

body {
    margin: 0;
    background-color: rgb(37, 37, 37);
    font-family: "RobotoVar", sans-serif;
    font-optical-sizing: auto;
    font-size: 1.2em;
    font-style: normal;
    font-weight: var(--font-w-base);
    font-variation-settings: "wght" var(--font-w-base), "wdth" 100;
    overflow-x: hidden;
}


h1 {
    font-size: 2.5em;
    font-weight: var(--font-w-heading);
    font-variation-settings: "wght" var(--font-w-heading), "wdth" 100;
}

strong {
    font-weight: var(--font-w-heading);
    font-variation-settings: "wght" var(--font-w-heading), "wdth" 100;
}

/* ############################# 

    Global List Items

################################*/

li {
    margin-bottom: 1.2rem;
}

li:last-child {
    margin-bottom: 0;
    /* Remove margin from the last item */
}


/* ############################# 

    NAVIGATION BAR

################################*/


/* Navigation Bar Styling */
.nav-width {
    margin: auto;
    width: 100%;
    max-width: 800px;
    height: 4rem;

    display: flex;
    align-items: center;
    justify-content: space-evenly;
}


/* Navigation Bar Styling */
.navbar {
    z-index: 100;
    /* From https://css.glass */
    background: rgba(25, 25, 25, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);

    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;

}

/* Navigation Buttons Styling */
.navbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: white;
    padding: 0;
    margin: 0;
    height: 100%;
    text-decoration: none;
    transition: background 0.3s;
}

/* Home Button with Logo */
.home-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
}

.home-button img {
    height: 24px;
}

/* Hover Effect */
.navbar a:hover {
    background-color: rgb(20, 20, 20);
}


.text-focus {
    font-weight: var(--font-w-heading);
    color: #6e6e73;
}

/* ############################# 

    FADE IN

################################*/


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    /* Optional: Adds a slight upward movement */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}



/* ############################# 

    Content

################################*/

.links_footer {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.links {
    color: rgb(255, 255, 255);
}

/* Container and Content */
.container-white {
    background-color: rgb(255, 255, 255);
    width: 100%;
    color: black;
    overflow-x: clip;

}

.container-content {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: auto;

    max-width: 1200px;
    min-width: 300px;
    /* GLOBAL WEBSITE WIDTH */

}

.container-text-black {
    font-size: 1.4rem;
    line-height: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: rgb(228, 228, 228);
    margin: auto;
}

.container-margin {
    padding: 20px;
    padding-bottom: 0px;
    /*margin-left: 10px;
    margin-right: 10px;*/
}

.box {
    border-radius: 2rem;
    background-color: rgba(0, 0, 0, 0.03);
    padding: 30px;
}

.container-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 50px;
    /* col row */
    /* align-items: center; */
}

#container1 {
    width: 100%;
    height: 700px;
}


/* Side Notes */
.sidenote-right {
    color: gray;
    margin-top: 50px;
    text-align: right;
    font-weight: var(--font-w-heading);

}


/* ############################# 

    DoorTag Image Stack Container

################################*/

.image-stack {
    position: relative;
    aspect-ratio: 4 / 1.8;
}

.image-stack img {
    width: 80%;
    filter: drop-shadow(-5px 2px 25px rgba(20, 20, 20, 0.5));
    position: absolute;
    top: 0;
    left: 0;
    transition: top 0.5s ease, left 0.5s ease, height 0.5s ease;
}

.image-stack img:nth-child(2) {
    left: 6vw;
    top: 30px;
}

.image-stack img:nth-child(3) {
    left: 12vw;
    top: 60px;
}

/* Hover Effect on the Entire Stack */
@media only screen and (min-width: 1100px) {

    .image-stack:hover img {}

    .image-stack:hover img:nth-child(1) {
        top: -140px;
        left: 0px;
    }

    .image-stack:hover img:nth-child(2) {
        left: 6vw;
    }

    .image-stack:hover img:nth-child(3) {
        top: 200px;
        left: 12vw;
    }
}



/* ############################# 

    Popup Image Preview

################################*/

/* Small images */
.thumbnail {
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

/* Popup container */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Darkened background */
    backdrop-filter: blur(8px);
    /* Blurred effect */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Large image inside popup */
.popup img {
    margin-top: 4rem;
    max-width: calc(100vw - 100px);
    /* Fit screen width with 10px padding */
    max-height: calc(100vh - 5rem - 100px);
    /* Fit screen height with 10px padding */
    border-radius: 10px;
    /* Slight rounded corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Show popup when active */
.popup.active {
    opacity: 1;
    visibility: visible;
}


/* ############################# 

    App Image Preview

################################*/


#image-container-app-prev {
    position: relative;
    max-width: 500px;
    aspect-ratio: 1 / 1.3;
    /* image ratio */
    margin: 0 auto;
}


/* Bottom Image */
#image-bottom-app-prev {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

/* Top Image */
#image-top-app-prev {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
}

/* ############################# 

        FOLLOW 

################################*/


.split-line {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    margin-left: 30px;
    margin-right: 30px;
}

.split-line::before,
.split-line::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid gray;
    margin: 5px;
}

.split-line span {
    padding: 0 10px;
    font-weight: var(--font-w-heading);
    color: gray;
}


.container-flex-follow {
    display: flex;
    flex-wrap: wrap;
    /* Allows wrapping if necessary */
    justify-content: center;
    /* Centers items */
    align-items: center;
    /* Aligns vertically */
    gap: 20px;
    /* Adds spacing */
}

/* On Wide Screen */
@media only screen and (min-width: 1100px) {
    .form-disclaimer {
        max-width: 40%;
    }

    .form-mail {
        max-width: 40%;
    }
}


/* Ensure items go into separate rows on smaller screens */
@media (max-width: 1100px) {
    .container-flex-follow {
        flex-direction: column;
        /* Stacks elements vertically */
        align-items: center;
        /* Center elements */
    }

    .container-flex-follow>div {
        min-width: 100px;
    }

    .split-line {
        /* Ensure divider spans full width */
        text-align: center;
    }
}


/* ############################# 

        EMAIL INPUT FORM

################################*/

.form-disclaimer {
    font-size: 0.8rem;
    line-height: 1rem;
    text-align: left;

    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;

}

.form-mail {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0px;
    padding: 20px;
    padding-top: 30px;
    margin: 0 auto;
}



@media only screen and (min-width: 1100px) {
    .form-disclaimer {
        max-width: 40%;
    }

    .form-mail {
        max-width: 40%;
    }
}



.form-mail textarea {
    font-family: "RobotoVar", sans-serif;
    flex-basis: 100%;
    border: 2px solid rgba(0, 0, 0, 0);
    padding: 20px;
    font-size: 1rem;
    color: #6e6e73;
    font-weight: var(--font-w-heading);
}

.form-mail textarea:focus {

    border: 2px solid gray;
    padding-left: 20px;
    font-size: 1rem;
    color: black;
    font-weight: var(--font-w-heading);
}



.form-mail input[type="email"] {
    flex: 4;
    height: 2rem;
    border: 2px solid rgba(0, 0, 0, 0);
    padding-left: 20px;
    font-size: 1rem;
    color: #6e6e73;
    font-weight: var(--font-w-heading);
}

.form-mail input[type="email"]:focus {
    flex: 4;
    height: 2rem;
    border: 2px solid gray;
    padding-left: 20px;
    font-size: 1rem;
    color: black;
    font-weight: var(--font-w-heading);
}


.form-mail button[type="submit"] {
    flex: 1;
    min-height: 2rem;
    font-weight: var(--font-w-heading);
    background-color: rgba(175, 0, 0, 0.8);
    color: white;

    border: 0px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-mail button[type="submit"]:hover {
    background-color: rgba(235, 0, 0, 0.8);
    color: white;
}

.form-mail button[type="submit"]:active {
    background-color: rgba(175, 0, 0, 0.8);
    color: white;
}

/* ############################# 

    Socials

################################*/



.social-icons {
    margin-top: 20px;
}

.social-icons a {
    margin-left: 5px;
    margin-right: 5px;
    text-decoration: none;
}

.social-icons img {
    width: 44px;
    /* Adjust size as needed */
    height: auto;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}


/* ############################# 

    THREE JS 3D

################################*/



#threejs-container {
    position: absolute;
    top: 35vh;
    width: 100%;
    height: 450px;
    opacity: 0;
    /* Start hidden */
    transition: opacity 1s ease;
}

/* ############################# 

    BANNER VIDEO

################################*/

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 10 / 4;
    min-height: 50svh;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 3rem;
    left: 0;
    filter: brightness(0.75);
}


/* ############################# 

    VIDEO TEXT BANNER

################################*/

.video-text {
    width: 100%;
    max-width: 1200px;
    font-size: min(5vh, 7vw);
    font-weight: var(--font-w-heading);
    font-variation-settings: "wght" var(--font-w-heading), "wdth" 100;
    color: white;
    text-shadow: 0px 0px 20px black;
    display: flex;
    gap: 0.25em;
}


.dropping-texts {
    display: inline-block;
    text-align: left;
    vertical-align: -2px;
}

.dropping-texts>div {
    font-size: 0px;
    opacity: 0;
    position: absolute;
    font-weight: var(--font-w-heading);
    display: flex;
    flex-direction: column;
}


.dropping-texts>div:nth-child(1) {
    animation: roll 7s linear infinite 0s;
}

.dropping-texts>div:nth-child(2) {
    animation: roll 7s linear infinite 2.3s;
}

.dropping-texts>div:nth-child(3) {
    animation: roll 7s linear infinite 4.6s;
}


@keyframes roll {
    0% {
        font-size: 0px;
        opacity: 0;
        margin-left: -30px;
        margin-top: 0px;
        transform: rotate(-25deg);
    }

    3% {
        opacity: 1;
        transform: rotate(0deg);
    }

    5% {
        font-size: inherit;
        opacity: 1;
        margin-left: 0px;
        margin-top: 0px;
    }

    33% {
        font-size: inherit;
        opacity: 1;
        margin-left: 0px;
        margin-top: 0px;
        transform: rotate(0deg);
    }

    38% {
        font-size: 0px;
        opacity: 0.5;
        margin-left: 20px;
        margin-top: 60px;
    }

    100% {
        font-size: 0px;
        opacity: 0;
        margin-left: -30px;
        margin-top: 0px;
        transform: rotate(15deg);
    }
}


/* ############################# 

    FAQ

################################*/

.faw-item {
    padding-bottom: 0.5em;
}

.faq-question {
    padding: 0.5em;
    padding-left: 1em;
    transition: background-color 0.2s;
    border-radius: 2rem;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.faq-answer {
    padding-left: 1em;
    padding-bottom: 0.5em;
    color: rgb(105 105 105);
}



/* ############################# 

    TIMELINE

################################*/


.timeline-dot {
    position: relative;
    width: 20px;
    text-align: center;
}

/* Line */
.timeline-dot::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 6px;
    background-color: rgba(200, 200, 200, 1);
    transform: translateX(-50%);
}

.milestone-done::before {
    background-color: rgba(175, 0, 0, 1);
}

.milestone-done-last::before {
    background: linear-gradient(to bottom, rgba(175, 0, 0, 1) 50%, rgba(200, 200, 200, 1) 100%);
}

.milestone-last::before {
    background: linear-gradient(to bottom, rgba(200, 200, 200, 1) 50%, rgba(200, 200, 200, 0) 100%);
}


/* Dot */
.timeline-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background-color: rgba(200, 200, 200, 1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
}

.milestone-done::after,
.milestone-done-last::after {
    content: "✓";
    font-weight: var(--font-w-heading);
    line-height: 1.6em;
    width: 28px;
    height: 28px;
    background-color: rgba(175, 0, 0, 1);
    color: white;
}


/* Item */
.timeline-item div {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25);
}

.timeline-item h3 {
    margin-top: 0px;
}




/* ############################# 

    COOKIES USER CONSENT

################################*/



.cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    color: black;
    padding: 15px;
    font-size: 14px;
    text-align: center;
    z-index: 1000;
}

.cookie-consent-button {
    border: none;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.cookie-consent-button:hover {
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);
}

.cookie-consent-button:active {
    opacity: .5;
}

.cookie-consent-button.btn-success {
    background-color: rgba(175, 0, 0, 1);
    ;
    color: white;
}

.cookie-consent-button.btn-grayscale {
    background-color: #dfe1e5;
    color: black;
}

.cookie-consent-button.btn-outline {
    background-color: rgb(255, 232, 232);
    color: rgba(175, 0, 0, 1);
}

.cookie-consent-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.cookie-consent-options label {
    margin: 0 10px;
    font-size: 14px;
}

.cookie-consent-options input {
    margin-right: 5px;
}