@charset "UTF-8";

/* {
    outline: 1px solid red;
 } */


 html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
    margin: 0;
    padding: 0;
    width: 100%;
}

body{
    font-family: "hanken grotesk", "Helvetica", sans-serif;
    color: #121212;
    background-color: #f7f7f7;
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    top:0;
    left:0;
    width:100%;
    white-space: wrap;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* body::-webkit-scrollbar {
    display: none;
} */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  body.fade-in {
    animation: fadeIn 1s ease forwards;
    max-width: 100%;
  }
  
  @keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }
  
  body.fade-out {
    animation: fadeOut .3s ease forwards;
  }

.gradient {
    top:0;
    left:0;
    width: 100%;
    height: 100vh;
    background: #f7f7f7;
    overflow: hidden;
    position: fixed;
    z-index: -1000;
}

.fade-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f7f7f7;
    opacity: 0%; /* Start with 0 opacity */
    z-index: -998;
  }  
  
.bckg-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background-image: url('https://chimericalintelligence.org/user/themes/ci-lab/images/bwChimera-01.png');
    background-repeat: repeat-y;
    background-size: cover;
    opacity: .5;
    transform: translateY(0); 
    will-change: transform;
    overflow-y: visible;
    z-index: -999;
  }

/* .content {
    position: absolute;
    top:20%;
    left:0;
    min-height: 100vh;
    max-width: 100%;
} */

header {
    width: max-content;
}

.page-head {
    padding-left: 7.5%;
    padding-top: 10%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 100%;
}

h1, h2, #subtitle, p {
    margin:0;
    padding:0;
    max-width:60%;
}

h1 {
    font-family: "hanken grotesk";
    max-width: 50%;
    }

#subtitle {
    font-family: "hanken grotesk";
    font-size: 2.2rem;
    font-weight: 700;
    max-width: 60%;
    line-height:2.2rem;
}

.title {
font-size: 4rem;
max-width: 900px;
line-height: 3.2rem;
margin-bottom: 20px;
max-width: 50%;
}

#title-menu {
    display: none;
}

#home {
    display: none;
}

b {
    font-weight: 600;
}

h2{
    font-family: "hanken grotesk";
    font-size: 2.2rem;
    font-weight: 700;
    }

h3 {
    font-family: "hanken grotesk";
    margin:0 0 10px 0;
    padding: 0%;
    max-width: 100%;
    font-size: 1.7rem;
    line-height: 1.9rem;
    font-weight: 700;
}

p {
    font-size:1rem;
    line-height: 1.2rem;
    font-weight: 200;

}

ul {
    font-weight: 200;
    font-size: 1rem;
    line-height: 2rem;
    max-width: 60%;
}

.quote {
    font-weight: 100;
    opacity: .5;
    font-size: 0.9rem;
    line-height: 1.2rem;
}

a {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;
  }
  
  a:hover, a:focus {
    text-decoration: none;
    color: inherit;
  }

.intro {
    font-size: 1.1rem;
    line-height: 1.5rem;
    max-width: 60%;
}

#intro-bckg {
    backdrop-filter: blur(9.6px);
    -webkit-backdrop-filter: blur(9.6px);

}

.detail{
    padding: 25px;
    font-size: 0.9rem;
    line-height: 1.2rem;
    color: #121212e3;
    background: rgba(220, 220, 220, 0.5);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    max-width: 60%;
}

#titlesmall {
    position:absolute;
    left:25px;
    top:25px;
    line-height: 1.8rem;
    z-index: 1010;
    cursor: pointer;
    opacity:1;
    transition: opacity 0.3s ease-out;
}

#titlesmall:hover {
    opacity: 0.7;
    transition: opacity 0.2s ease-out;
}

.visible {
    visibility: visible;
}

#back-to-top {
    background: #f3f3f3;
    border-radius: 50px;
    backdrop-filter: blur(9.6px);
    -webkit-backdrop-filter: blur(9.6px);
    width:50px;
    height:50px;
    line-height: 50px;
    justify-content: center;
    align-content: center;
    text-align: center;
    transition: background .2s ease-out;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 400; 
    z-index: 1000;
}

#back-to-top:hover{
    transition: background  .2s ease-out;
    background: rgba(60, 60, 60, 0.75);
    color:#f7f7f7;
    }

.button-container{
    display: flex;
    width: max-content;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 35px;
}

button{
    background: #121212;
    border-radius: 50px;
    color: #f7f7f7;
    border: none;
    backdrop-filter: blur(9.6px);
    -webkit-backdrop-filter: blur(9.6px);
    width: max-content;
    padding:12px 30px 10px 30px;
    margin:0;
    height: 50px;
    display: flex;
    justify-content: center;
    align-content: center;
    text-align: center;
    transition: background-color 0.2s ease-out;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
}

button:hover{
    background: #f7f7f7;
    color: #121212;
    transition: background  .4s ease-out;
}

.button{
background: #121212;
color:#f7f7f7;
border-radius: 50px;
backdrop-filter: blur(9.6px);
-webkit-backdrop-filter: blur(9.6px);
width: max-content;
padding:12px 30px 10px 30px;
height:33px;
line-height: 30px;
display: flex;
justify-content: center;
align-content: center;
text-align: center;
transition: background-color 0.2s ease-out;
cursor: pointer;
font-size: 1rem;
font-weight: 400;
transition: background  .7s ease-out;
}

.button:hover{
transition: background-color 0.2s ease-out;
background: rgba(150, 150, 150, .15);
color:#121212;
}

#join:hover {
    background: rgba(220, 220, 220, .35);
    color: #121212;
}

#back {
    font-size: 1rem;
    margin-bottom: -100px;    
}

#inline {
    font-size: 1rem;
    padding:7px 20px 5px 20px;
}

.image-container {
    max-width: 70%; /* Define your desired width */
    overflow: visible; /* Ensures the image is cropped if it overflows */
    display: block; /* Helps center the content in the container */
    margin-bottom: 100px;
}

.image-container img {
    width: auto;
    height: 100%;
}

.caption {
    text-align: left; /* Center the caption text */
    padding: 10px 10px; /* Add some padding around the caption */
    /* Additional styling for the caption as needed */
}

.slider-container {
    max-width: 60%;
    height:auto;
    position: relative;
}

.my-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.my-slider img {
    width: 100%;
    display: none; /* Hide all images initially */
    object-fit: cover;
}

/* Show the first image by default */
.my-slider img:first-child {
    display: block;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #121212;
    background-color: rgba(220, 220, 220, 0.75) ;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: none;
    padding: 10px;
    transition: all 0.2s ease-in-out;
}

.prev:hover, .next:hover {
    color: #121212;
    background-color: rgba(255,255,255,.15) ;
}

.prev { left: 0; }
.next { right: 0; }

/* Styling for the iframe container */
.iframe-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

#roadmap{ 
    width: 70%;
}

#small-iframe {
    max-width:30%;
}

iframe {
    border: none;
    min-width: 100%;
}

.menu {
    position: fixed;
    top: 5%;
    right: 5%;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    background: rgba(150, 150, 150, 0.25);
    border-radius: 50px;
    backdrop-filter: blur(9.6px);
    -webkit-backdrop-filter: blur(9.6px);
    padding: 5px 5px 5px 30px;
    font-weight: 300;
    z-index: 999;
    transition: background 0.2s ease-out;
}

.menu:hover{
    background: rgba(150, 150, 150, 0.15);
    transition: background 0.2s ease-out;
}

.burger-menu {
    display: none; /* Hidden by default, shown on mobile */
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 32px;
    height: 24px;
  }
  
  .line {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #121212;
    transition: all 0.3s ease;
  }
  
  .line1, .line3 {
    top: 0;
  }
  
  .line2 {
    top: 50%;
    transform: translateY(-50%);
  }
  
  .line3 {
    top: 100%;
    transform: translateY(-100%);
  }
  
  /* When burger menu is active */
  .burger-menu.is-active .line1 {
    transform: translate(0px, 12px) rotate(60deg);
  }
  
  .burger-menu.is-active .line2 {
    opacity: 100;
    transform: translate(0px,0px);
  }
  
  .burger-menu.is-active .line3 {
    transform: translate(0px, -12px) rotate(-60deg);
  }
  
  .menu.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 0px;
  }
  

.menu-basic {
    padding: 10px;
    cursor: pointer;
    justify-content: center;
    font-size: 1rem;
}

.menu-basic::after{
    content: '';
    display: block;
    margin-top:0px;
    width:0;
    height: 1px;
    background-color: #121212;
    border-radius: 50px;
    transition: width 0.1s ease-in;
}

.menu-basic:hover::after{
    width: 100%;
}

.menu-passive{
    opacity: .5;
    padding: 10px;
    cursor:default;
    justify-content: center;
    font-size: 1rem;
}

.menu-button{
    background-color: #121212;
    color: #f7f7f7;
    border-radius: 50px;
    padding: 10px 20px 10px 20px;
    cursor: pointer;
    font-weight: 400;
    transition: background  .3s ease-out;
}

.menu-button:hover {
    background-color: #f7f7f7;
    color: #121212;
    font-weight: 400;
    transition: background  .3s ease-out;
}

#sub {
    bottom: 5%;
    top:auto;
    z-index: 999;
    border-radius: 50px;
    padding: 5px 5px 5px 5px;
    gap: 10px;
    justify-content: center;
    text-align: center;
}

#sub .menu-basic:hover{
    background: #121212;
    border-radius: 50px;
    color:#f3f3f3;
}

#sub .menu-basic:hover::after{
    width: 0;
}

.signup-form {
    width: 80%;
    padding: 20px;
    border-radius: 5px;
  }

  .signup-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
  }

  .signup-form input[type="text"],
  .signup-form input[type="email"] {
    min-width: 100px ;
    padding: 12px 20px 12px 20px;
    margin-bottom: 30px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(9.6px);
    -webkit-backdrop-filter: blur(9.6px);
    color: #f7f7f7;
    font-family: 'hanken grotesk';
    font-size: 1rem;
  }

  /* Non-mandatory fields styling */
  .optional {
    color: #f7f7f7bf;
    font-weight: 100;
  }

#name {
    width: 200px;
}

#email {width: 350px;}

#place{
    width: 100px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  background: rgba(255,255,255,.85);
  color: #121212;
}

/* Custom checkbox styles */
.custom-checkbox {
    display: flex;
    position: relative;
    padding-left: 40px; /* Space for custom checkbox */
    cursor: pointer;
    user-select: none;
  }

  .gdpr-compliance label {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.gdpr-compliance label:hover {
    color:#f3f3f3;
}
  
  /* Hide the default checkbox */
  .custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 23px;
    width: 23px;
    background-color: rgba(255,255,255,.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 1px;
  }
  
  /* On mouse-over, add a grey background color */
  .custom-checkbox:hover input ~ .checkmark {
    background-color: #f7f7f7;
  }
  
  /* When the checkbox is checked */
  .custom-checkbox input:checked ~ .checkmark {
    background-color: rgba(0, 0, 0, .25);
  }
  
  /* Create the checkmark/indicator */
  .custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .custom-checkbox input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
  }
  

.footer{
    margin-top: 100px;
    margin-left: -10%;
    height: 350px;
    min-width:100%;
    background: #f7f7f7;
    border-top: 1px solid #121212;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-bottom: 20px;
    z-index:1000;

}

.footer-column {
    display: flex;
    flex-direction: column;
    justify-content: top; /* Aligns column content to the top */
    align-items: left; /* Center align items horizontally in the column */
    flex: 1; /* Each column will grow equally to fill the container */
    margin: 0 10px; /* Adds a little space between columns */
    max-width: 200px; /* Maximum width for each column to avoid overly wide columns */
}

.left-column, .middle-column, .right-column {
    flex: 1; /* Distribute space evenly */
}

.menu-basic-footer {
    padding: 10px;
    cursor: pointer;
    justify-content: center;
    font-size: 1rem;
    text-align: left; /* Center the text if desired */
}

.menu-basic-footer a {
    text-decoration: none; /* Optional: Remove the underline from the link */
    color: inherit; /* Optional: Use the parent's text color */
}

.menu-basic-footer span {
    position: relative;
    display: inline-block; /* Make the span behave like an inline-block */
}

.menu-basic-footer span::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin: auto; /* Center the pseudo-element */
    bottom: -5px; /* Adjust as needed */
    width: 0;
    height: 1px;
    background-color: #121212;
    border-radius: 50px;
    transition: width 0.1s ease-in;
}

.menu-basic-footer:hover span::after {
    width: 100%;
}

.viewport-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    position: relative;
    text-align: left;
    padding-left: 100px;
}

.heading {    
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    position: relative;
    text-align: left;
    padding: 200px 0 0px 100px;
}

.event-container {
    position: absolute;
    bottom: 100px;
    right: 100px;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: left;
    align-items: left;
    padding: 1.5em;
    backdrop-filter: blur(9.6px);
    -webkit-backdrop-filter: blur(9.6px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 350px;
    z-index:100;
    transition: background-color 0.2s ease-in-out;
}

.event-container:hover {
    background-color: rgba(255, 255, 255, 1);
    transition: background-color 0.2s ease-in-out;
}

#clickable-headline, #event-link {
    text-decoration: none;
    width: max-content;
}

#clickable-headline:hover, #event-link:hover {
    text-decoration: underline;
}

#pill {
    font-size: 1rem;
    margin-bottom:10px;
}

.image-stack {
    position: relative;
    width: 80%;
    margin: auto;
    height: 70vh; /* Adjust as needed */
  }
  
  .image-item {
    position: absolute;
    top: 50%;
    left: 30%; /* Adjusted for desktop */
    transform-origin: center center;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
    z-index:1;
  }
  
  .image-item img {
    display: block;
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-out;
    transition: transform 0.3s ease-out;
    cursor: pointer;
  }

  .image-item img:hover{
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
    transform: scale(1.01);
    transition: box-shadow 0.3s ease-out;
    transition: transform 0.3s ease-out;
  }
  
  .rotate-1 { z-index:10;transform: translate(-50%, -50%) rotate(-5deg) scale(0.6); }
  .rotate-2 { z-index:9;transform: translate(-50%, -50%) rotate(10deg) scale(0.5); }
  .rotate-3 { z-index:8;transform: translate(-50%, -50%) rotate(-15deg) scale(0.6); }
  .rotate-4 { z-index:7;transform: translate(-50%, -50%) rotate(-20deg) scale(0.6); }
  .rotate-5 { z-index:6;transform: translate(-50%, -50%) rotate(+5deg) scale(0.6); }
  /* Add more rotation classes as needed */
  
  .hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  #project-button {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    z-index: 0; /* Ensure it's behind the images initially */
  }
  
  .image-stack .hidden ~ .project-button {
    opacity: 1; /* Show button when images are hidden */
  }


  .featured-articles {
    display: flex;
    max-width: 90%;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.article {
    width: 30%;
    cursor: pointer;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
    transition: transform 0.3s ease-out;
}

.article:hover {
    transform: scale(1.025);
    transition: transform 0.3s ease-out;
}

.image-wrapper {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative;
    overflow: hidden;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container */
}

.article-tag, .article-title, .article-description {
    margin-top: 10px;
}

.article-tag {
    font-weight: bold;
    font-size:0.8rem;
    color: #121212;
}

.article-title {
    font-size: 1.5rem;
    font-weight:bold;
}

.article-title:hover {
    text-decoration: underline;
}

.article-description {
    font-size: 1rem;
    color: #121212;
}




.event-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.event {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease-out;
}

.event:hover {
    transform: scale(1.025);
    cursor: pointer;
}

.event-image {
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    position: relative;
    overflow: hidden;
}

.event-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 16px;
}

.event-title {
    font-size: 1.5em;
    margin: 0 0 10px;
}

.event-title:hover {
    text-decoration: underline;
}

.event-description {
    font-size: 1em;
    margin: 0 0 15px;
}

.event-date {
    width: max-content;
}

.link:hover {
    text-decoration:underline;
}

#social {
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width:33px;
    height:33px;
    padding:10px;
    margin: 5px;
    border-radius: 50%;
    background-color: #121212;
    backdrop-filter: blur(9.6px);
    -webkit-backdrop-filter: blur(9.6px);
    color:#f7f7f7;
    transition: background-color 0.2s ease-out;
}

#social:hover {
    transition: background-color 0.2s ease-out;
    background: rgba(150, 150, 150, .15);
    color:#121212;
}

#social svg {
    fill: #f7f7f7;
    padding: 0;
    margin: 0;
    width: 30px;
    height: 30px;
}

#social:hover svg {
    fill:#121212;
}


@media screen and (max-width: 767px) {

    .event-list {
        grid-template-columns: 1fr;
    }

    .viewport-section {
        padding:0px;
    }

    #small-iframe {
        max-width:50%;
    }

    .featured-articles {
        margin-top: 0;
    }

    .article-title, .article-description {
        margin-top: 5px;
    }

    .article {
        width: 100%;
    }

    .article-description {
        margin-bottom: 50px;
    }

    .article:not(:first-child) {
        display: none; /* Hide all articles except the first one */
    }

    .event-container {
        display:none;
        height: auto;
        position: absolute;
        padding: 1em;
        max-width: 80vw;
        left: 20px;
        bottom: 20px;
        right: 20px;
        z-index: 100;
        transition: background-color 0.2s ease-in-out;
    }

    .event-container:hover {
        background-color: rgba(255, 255, 255, 1);
    }

    #event-link {
        text-decoration: none;
        font-size: 1.2rem;
        line-height: 1.4rem;
        padding:inherit;
    }

    #event-link:hover {
        text-decoration: underline;
    }

    .event-date {
        font-size: 0.9rem;
        line-height: 1rem;
        margin-top: -15px;
    }

    .event-location {
        margin-top: -15px;
        font-size: 0.9rem;
        line-height: 1rem;
    }

    #pill {
        font-size: 0.9rem;
        margin-bottom: -10px;
    }

    .image-stack {
        width: 100%;
        height: 400px; /* Full viewport height */
    }

    .image-item {
        left: 50%; /* Center the images on mobile viewports */
        transform: translate(-50%, -50%) scale(2); /* Scale images on mobile viewports */
    }

    .image-item img {
        width: 100vw; /* Full viewport width */
        height: auto;
    }

    .rotate-1 {
        transform: translate(-50%, -50%) rotate(-5deg) scale(1);
    }

    .rotate-2 {
        transform: translate(-50%, -50%) rotate(10deg) scale(1);
    }

    .rotate-3 {
        transform: translate(-50%, -50%) rotate(-15deg) scale(1.5);
    }

    #project-button {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 150px;
        transform: translate(-50%, -50%);
        z-index: 0; /* Ensure it's behind the images initially */
    }

    .bckg-img {
        background-image: url('https://chimericalintelligence.org/user/themes/ci-lab/images/bwChimera-01.png');
    }

    .footer {
        height:auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-column {
        width: 100%;
        max-width: none;
        margin: 10px 0 0 50px;
    }

    .right-column {
        margin-top: 20px;
    }

    .content {
        top: 10%;
        left: 0;
        width: 100%;
    }

    .page-head {
        padding: 50px 10px 10px 5%;
        gap: 25px;
        max-width: 100%;
    }

    .viewport-section {
        height: 100vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        position: relative;
        text-align: left;
        padding-left: 5%;
    }

    .heading {    
        padding: 100px 0 0 5%;
    }

    .title {
        font-size: 2rem;
        line-height: 2.2rem;
        max-width: 100%;
    }

    #titlesmall {
        display: none;
    }

    h2 {
        font-size: 2rem;
        max-width: 100%;
        padding: 2.5%;
    }

    #subtitle {
        margin-top: -20px;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.7rem;
        max-width: 80%;
    }

    h3 {
        font-size: 1.5rem;
        padding: 0;
    }

    .intro {
        max-width: 100%;
    }

    p {
        font-size: 1rem;
        line-height: 1.4rem;
        padding: 2.5%;
    }

    .iframe-container iframe {
        width: 100%;
        height: 50%;
    }

   #roadmap {
        width: 100%;
        opacity: 80%;
    }

   #roadmap-home {
        width: 140%;
        opacity: 80%;
        margin-left: -100px;
    } 

    iframe {
        width: 200%;
    }

    ul {
        max-width: 100%;
    }

    .detail {
        max-width: 90%;
    }

    #back-to-top {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 1.5rem;
        font-weight: 400;
        z-index: 1000;
    }
    

    .button-container {
        display: flex;
        flex-direction: row;
        gap: 5px;
        margin-bottom: 10px;
    }

    .menu {
        top: 0;
        right: 0;
        border-radius: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        background: none;
    }

    .menu.active {
        width: 100%;
        height: 100%;
        align-items: center;
        border-radius: 0;
        gap: 2rem;
        flex-direction: column;
        padding: 25vh 0 0;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(9.6px);
        -webkit-backdrop-filter: blur(9.6px);
    }

    .menu:hover {
        background: rgba(0, 0, 0, 0);
    }

    .menu.active:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    .burger-menu {
        display: block;
    }

    .menu-basic, .menu-button, #title-menu.title, .menu-passive {
        display: none; /* Initially hidden */
    }

    #sub {
        flex-direction: row;
        padding-left:10px;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(9.6px);
        -webkit-backdrop-filter: blur(9.6px);
    }

    #sub .menu-basic {
        display: block;
    }

    #back {
        display: block;
    }

    .menu-button {
        background: none;
        color: #121212;
        border: 1px solid #121212;
    }

    .menu.active .menu-basic, .menu.active .menu-button, .menu.active #title-menu.title {
        display: block; /* Show when menu is active */
    }

    .menu.active .menu-basic, .menu.active .menu-button {
        font-size: 1.2rem;
    }

    #home {
        display: block;
    }

    #title-menu.title {
        font-size: 2rem;
        font-family: 'hanken grotesk';
        font-weight: 700;
        color: #121212;
        line-height: 1.6rem;
        position: fixed;
        top: 25px;
        left: 25px;
        width: 50%;
    }

    #sub {
        bottom: 5%;
        top: auto;
        z-index: 999;
        border-radius: 50px;
        padding: 5px 5px 5px 15px;
        gap: 10px;
        justify-content: center;
        text-align: center;
    }

    #sub .menu-basic:hover {
        background: #121212;
        border-radius: 50px;
    }

    #sub .menu-basic:hover::after {
        width: 0;
    }

    .signup-form {
        width: 80%;
        padding: 10px;
        border-radius: 5px;
    }

    #name {
        width: 80%;
    }

    #email {
        width: 100%;
    }

    #place {
        width: 70%;
    }

    .image-container {
        max-width: 100%;
    }

    .image-container img {
        max-width: 100%;
    }

}

@media screen and (max-width: 472px) {


    .title {
        font-size: 3.5rem;
        line-height: 3rem;
    }

    p {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }

    .intro {
        font-size: 1.2rem;
        line-height: 1.8rem;
        max-width: 100%;
    }

    .button {
        font-size: 1rem;
        padding: 7px 20px 6px 20px;
    }

    #back {
        margin: 0;
    }

    #back-to-top {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 25px;
        line-height: 50px;
        font-size: 1rem;
    }

}


/* Keyframes for wiggle animation */
@keyframes wiggle {
    0%, 100% {
      transform: translate(-50%, -50%) rotate(-5deg) scale(0.6);
    }
    2% {
      transform: translate(-50%, -50%) rotate(-10deg) scale(0.6);
    }
    4% {
      transform: translate(-50%, -50%) rotate(0deg) scale(0.6);
    }
    6% {
        transform: translate(-50%, -50%) rotate(-5deg) scale(0.6);
      }
  }
 
  @media screen and (min-width: 766px) { 
  /* Apply wiggle animation to the topmost image */
  .image-item:first-child {
    animation: wiggle 5s ease-out infinite;
  }
}

/* Module Container */
.module {
    margin: 50px auto;
    padding: 20px;
    max-width: 90%;
  }
  
  .module-title {
    font-family: "hanken grotesk", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #121212;
    margin-bottom: 30px;
    text-align: left;
  }
  
  /* Cards Grid */
  .module-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  /* Individual Card */
  .card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(9.6px);
    -webkit-backdrop-filter: blur(9.6px);
    border: 1px solid rgba(18, 18, 18, 0.1);
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
  }
  
  .card:hover {
    box-shadow: 0 4px 15px rgba(18, 18, 18, 0.2);
    transform: translateY(-3px);
  }
  
  .card-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .card p {
    font-size: 1rem;
    font-weight: 200;
    line-height: 1.4rem;
    color: #121212;
  }
  
  /* Card Link Styling */
  .card-link {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #121212;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s ease;
  }
  
  .card-link:hover {
    text-decoration: underline;
  }
  
  .card-link::after {
    content: "→";
    font-size: 1rem;
    transition: transform 0.3s ease;
  }
  
  .card-link:hover::after {
    transform: translateX(5px);
  }

  
  /* Team Module Container */
.team-module {
    margin: 50px auto;
    padding: 20px;
    min-width: 90%;
  }
  
  .team-title {
    font-family: "hanken grotesk", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #121212;
    margin-bottom: 30px;
    text-align: left;
  }
  
  /* Team Cards Grid */
  .team-cards {
    display: grid;
    grid-template-columns: 1fr; /* Default to a single column */
    gap: 20px;
  }
  
  /* Individual Team Card */
  .team-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(9.6px);
    -webkit-backdrop-filter: blur(9.6px);
    border: 1px solid rgba(18, 18, 18, 0.1);
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
  
  .team-card:hover {
    box-shadow: 0 4px 15px rgba(18, 18, 18, 0.2);
    backdrop-filter: blur(9.6px);
    -webkit-backdrop-filter: blur(9.6px);
    transform: translateY(-3px);
  }
  
  /* Team Name */
  .team-name {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  /* Team Link Styling */
  .team-link {
    font-size: 1rem;
    font-weight: 400;
    color: #121212;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .team-link:hover {
    color: #333333; /* Accent color for hover */
    text-decoration: underline;
  }
  
  /* Responsive Layout */
  @media screen and (min-width: 768px) {
    .team-cards {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Use multiple columns */
    }
  }
    

  .subtitle, .title, .menu {
    opacity: 0; /* Initially hidden */
    transform: translateY(20px); /* Start slightly below */
    animation: fadeInUp 1s ease-out forwards; /* Animation settings */
  }
.menu {
    animation-delay: 0.2s; /* Optional: Adds a delay before starting */
  }
.title {
    animation-delay: 0s; /* Optional: Adds a delay before starting */
  }
  .subtitle{
    animation-delay: 0.4s; /* Optional: Adds a delay before starting */
  }


  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  

  /* DARK MODE DARK MODE DARK MODE */

 /* Custom Grav Contact Form Styling */

form[name="contact-form"] {
    max-width: 60%;
    margin-left: 7.5%;
    padding: 25px;
    border-radius: 8px;
}

form[name="contact-form"] input[type="text"] {
    width: 50%;
    padding: 12px 20px;
    margin-bottom: 20px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(9.6px);
    color: #121212;
    font-family: 'hanken grotesk', sans-serif;
    font-size: 1rem;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

form[name="contact-form"] input[type="email"] {
    width: 70%;
    padding: 12px 20px;
    margin-bottom: 20px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(9.6px);
    color: #121212;
    font-family: 'hanken grotesk', sans-serif;
    font-size: 1rem;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

form[name="contact-form"] textarea {
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 20px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(9.6px);
    color: #121212;
    font-family: 'hanken grotesk', sans-serif;
    font-size: 1rem;
    transition: background 0.3s ease;
    box-sizing: border-box;
    resize: vertical;
    height: 150px;
}

form[name="contact-form"] input[type="text"]:focus,
form[name="contact-form"] input[type="email"]:focus,
form[name="contact-form"] textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.85);
}

form[name="contact-form"] .buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 10px;
}

form[name="contact-form"] button[type="submit"],
form[name="contact-form"] input[type="submit"] {
    background: #121212;
    border-radius: 50px;
    color: #f7f7f7;
    padding: 12px 30px 10px 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-out;
    font-family: 'hanken grotesk', sans-serif;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

form[name="contact-form"] button[type="submit"]:hover,
form[name="contact-form"] input[type="submit"]:hover {
    background: #f7f7f7;
    color: #121212;
}

@media screen and (max-width: 767px) {
    form[name="contact-form"] {
        max-width: 90%;
        margin: 0 auto;
        padding: 15px;
    }
    form[name="contact-form"] input[type="text"],
    form[name="contact-form"] input[type="email"],
    form[name="contact-form"] textarea {
        width: 100%;
    }
    form[name="contact-form"] .buttons {
        flex-direction: column;
        gap: 10px;
    }
}

.footer-copyright {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    padding: 20px 0 40px 0;
  }
  .footer-copyright a {
    color: inherit;
    text-decoration: underline;
  }

  input[name="botcheck"] {
    display: none !important;
  }
  