html, body {
    height: 100%;
    width: 100%;
    overflow: auto;
    overflow-x:hidden;
    overscroll-behavior: none;
}

body {
    color: #fff;
    background: linear-gradient(200deg, #161616, #002c5e);
    background-blend-mode: overlay;
    align-items: center;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

#bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: transparent;
}

.archivo-black-regular {
  font-family: "Archivo Black", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.mains-titles {
    font-family: "Archivo Black", sans-serif;
    font-size: 2.5rem;
    text-align: center;
    z-index: 100;
}

.mains-titles-container {
    width: 70%;
    max-width: 70%;
    margin: 0 auto;
    text-align: center;
    z-index: 100;
}

.subtitle {
    font-family: "Arial", sans-serif;
    color: #a5a5a5;
    font-size: 1rem;
    text-align: center;
    z-index: 100;
}

.separator {
    width: 50%;
    max-width: 400px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    margin-top: 30px;
    margin-bottom: 30px;
}

.large_space {
    margin: 300px;
}

.space {
    margin: 100px;
}

.service_card {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(100, 100, 100, 0.2);
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 10px auto;
    border-radius: 20px;
    border: 2px solid rgba(100, 100, 100, 0.2);
    backdrop-filter: blur(5px);
    z-index: 100;
    position: relative;
    will-change: backdrop-filter, transform;
    isolation: isolate;
}

.intro-text-container {
    width: 80%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(100, 100, 100, 0.2);
    padding-top: 30px;
    padding-bottom: 30px;
    margin: 10px auto;
    border-radius: 20px;
    border: 2px solid rgba(100, 100, 100, 0.2);
    backdrop-filter: blur(5px);
    z-index: 100;
    position: relative;
    will-change: backdrop-filter, transform;
    isolation: isolate;
}

.intro-text-container-large {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(100, 100, 100, 0.2);
    padding-top: 30px;
    padding-bottom: 30px;
    margin: 10px auto;
    border-radius: 20px;
    border: 2px solid rgba(100, 100, 100, 0.2);
    backdrop-filter: blur(5px);
    z-index: 100;
    position: relative;
    will-change: backdrop-filter, transform;
    isolation: isolate;
}

.intro-text {
    width: 90%;
    font-size: 18px;
    text-align: center;
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card {
    display: flex;
    align-items: center;
    background-color: rgba(100, 100, 100, 0.2);
    border: 2px solid rgba(100, 100, 100, 0.2);
    border-radius: 20px;
    overflow: hidden;
    width: 80%;
    max-width: 600px;
    margin: 10px;
    position: relative;
    backdrop-filter: blur(5px);
    z-index: 100;
    position: relative;
    will-change: backdrop-filter, transform;
    isolation: isolate;
}

.card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    min-width: 150px;
    min-height: 150px;
}

.card-notification {
    position: absolute;
    font-size: 12px;
    top: 0;
    left: 0;
    color: #ffffff;
    padding: 0px 15px;
    border-top-left-radius: 18px;
    border-bottom-right-radius: 20px;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    z-index: 100;
    will-change: backdrop-filter, transform;
    isolation: isolate;
}

.card-notification:hover{
    font-size: 14px;
    transition: 0.3s;
}

#card-notification-bonplan {
    background-color: rgba(0, 140, 255, 0.637);
    box-shadow: 0px 0px 5px rgb(0, 57, 104);
}

#card-notification-hot {
    background-color: rgba(255, 0, 0, 0.637);
    box-shadow: 0px 0px 5px rgb(104, 0, 0);
}

.card-content {
    flex-grow: 1;
    padding: 0px;
    padding-left: 20px;
    padding-right: 20px;
}

.card-content h3 {
    margin: 0;
    font-size: 20px;
}

.card-content p {
    margin: 5px 0 0;
    font-size: 12px;
    color: #bbbbbb;
}

.card-button {
    background-color: rgb(255, 255, 255, 0);
    color: rgba(255, 255, 255, 0.2);
    border: none;
    border-left: 2px solid rgba(100, 100, 100, 0.2);
    padding: 0 20px;
    font-size: 24px;
    cursor: pointer;
    height: 150px;
    width: 60px;
    border-radius: 0 10px 10px 0;
    align-self: stretch;
    box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.card-button::after {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #ffffff0a;
    transition: width 0.3s ease;
    z-index: -1;
}

.card-button:hover::after {
    width: 100%;
}

.card-button:hover {
    background-color: #ffffff;
    border-left: 2px solid rgb(255, 255, 255);
    color: #000000;
    width: 100px;
}

.gallery-search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
}

#gallery-search {
    width: 320px;
    max-width: 70%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease-in-out;
    backdrop-filter: blur(6px);
}

#gallery-search::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#gallery-search:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.icone {
    position: absolute;
}

#blue {
    top: -20px;
    right: -20px;
    width: 70px;
    height: 70px;
}

#info {
    top: -25px;
    left: -25px;
    width: 70px;
    height: 70px;
}

.fullscreen-section {
    height: calc(var(--vh, 1vh) * 100);
}

 .scroll-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    z-index: 100;
}

.scroll-track {
    display: flex;
    white-space: nowrap;
    position: absolute;
    will-change: transform;
    animation: scroll linear infinite;
}

  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(var(--scroll-end));
    }
  }

.profile-card {
    width: 200px;
    background-color: rgba(100, 100, 100, 0.2);
    border: 2px solid rgba(100, 100, 100, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    margin: 0 30px;
    transition: transform 0.2s ease;
    position: relative;
    backdrop-filter: blur(5px);
    z-index: 100;
    will-change: backdrop-filter, transform;
    isolation: isolate;
}

.profile-card:hover {
  transform: translateY(-4px);
}

.profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.profile-name {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px;
  text-align: center;
}

.profile-button {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
}

.profile-button:hover {
  background: #0056d2;
}

@media (max-width: 768px) {
    #blue {
        top: -10px;
        right: -10px;
        width: 45px;
        height: 45px;
    }

    #info {
        top: -13px;
        left: -13px;
        width: 45px;
        height: 45px;
    }

    .large_space {
        margin: 200px;
    }

    .space {
        margin: 80px;
    }

    .service_card {
        width: 90%;
    }

    .mains-titles {
        font-size: 1.7rem;
    }

    .card img {
        width: 100px;
        height: 100px;
        min-width: 100px;
        min-height: 100px;
    }

    .card-notification {
        font-size: 10px;
    }

    .card-content h3 {
        margin: 0;
        font-size: 15px;
    }

    .intro-text {
        font-size: 15px;
    }

    .intro-text-container {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .card-content {
        flex-grow: 1;
        padding: 0px;
        padding-left: 20px;
        padding-right: 15px;
    }

    .card-content p {
        display: none;
    }

    .card-button {
        height: 100px;
    }
}

@media (max-width: 500px) {
    .large_space {
        margin: 180px;
    }

    .space {
        margin: 50px;
    }

    .mains-titles {
        font-size: 1.2rem;
    }

    .service_card {
        width: 95%;
    }

    .card-content h3 {
        margin: 0;
        font-size: 12px;
    }

    .intro-text {
        font-size: 12px;
    }
}