/* styles.css */
/* @import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities'; */

/* Vos styles personnalisés ici */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", serif, sans-serif;
}

.custom {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}

.custom::before {
    content: "";
    background: linear-gradient(45deg, #050234, #ffde84);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.small-underline {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.small-underline::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 25%;
    left: 25%;
    width: 50%;
    height: 2px;
    background-color: #d5b431;
}

.small-underline::before {
    content: "";
    position: absolute;
    bottom: -13px;
    right: 42%;
    width: 15%;
    height: 7px;
    background-color: #d5b431;
}

.carousel-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 50px;
    height: 5px;
    background-color: #ffffff90;
    cursor: pointer;
}

.carousel-button-active {
    background-color: #d5b431;
    cursor: auto;
}

.formbg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.describe {
    background-color: rgba(245, 245, 220, 0.245);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.carousel {
    overflow: hidden;
    position: relative;
    width: 100vw;
}

.carousel .container-box {
    transform: translate3d(0, 0, 0);
}

.carousel .slide {
    flex-shrink: 0;
    line-height: 1.4;
    text-align: center;
}

section#video-background {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

section#video-background::after {
    content: "";
    position: absolute;
    background: linear-gradient(0deg, #1a1a1a 0%, #00000051 100%);
    width: 100%;
    height: 100%;
    top: 0;
}
.image-slideshow-container {
    position: relative;
    display: flex;
}

.image-slideshow {
  width: 100%;
  height: auto;
  z-index: 1;
}
.image-slideshow-container::before {
  content: ""; 
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  background-color: #717171b5;
  border: 1px white solid;
  pointer-events: none; 
  z-index: 0;
}
.image-slideshow-container::after {
  content: ""; 
  position: absolute;
  border: 1px #ffffffbf solid;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  background-color: #7070702f;
  pointer-events: none; 
  z-index: 1;
}

section#video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header {
    position: fixed;
    background-color: transparent;
    width: 100%;
    z-index: 99;
}

header .navbar {
    position: relative;
    transition: all 1s ease-out;
    background-color: #1E1E1E;
  }
  
.fill-underline {
    position: relative;
    text-decoration: none;
}

.fill-underline::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    background-color: #ffca19;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.fill-underline:hover::after {
    width: 60px;
}

.title-underline {
    position: relative;
    text-decoration: none;
}

.title-underline::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 5px;
    border-radius: 8px;
    background-color: #ffca19;
    bottom: -7px;
    left: 0px;
    /* transition: width 0.3s ease-in-out; */
}
.title-underline-2 {
    position: relative;
    text-decoration: none;
}

.title-underline-2::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 5px;
    border-radius: 8px;
    background-color: #000000;
    bottom: -7px;
    left: 0px;
    /* transition: width 0.3s ease-in-out; */
}

.image {
    background: url(../img/about.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* .image-2 {
    background: url(../img/img-2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.image-2::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ffca19ab;
} */

/* intersection observer css */
p, img {
    opacity: 0;
    position: relative;
    bottom: -40;
    transition: all 1s ease-in-out;
}

.logo {
    opacity: 1
}

.show {
    opacity: 1;
    bottom: 0;
}

@media only screen and (max-width: 768px) {
    .title-underline::before {
        content: "";
        position: absolute;
        width: 80px;
        height: 5px;
        border-radius: 8px;
        background-color: #ffca19;
        bottom: -7px;
        left: 0px;
        /* transition: width 0.3s ease-in-out; */
    }
}
