
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

/* ✅ Importation des polices */
@font-face {
    font-family: 'Bacalisties';
    src: url('polices/bacalisties/Bacalisties-Regular.ttf') format('truetype'),
         url('polices/bacalisties/bacalisties.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('polices/Montserrat/montserrat-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-bold';
    src: url('polices/Montserrat/montserrat-800.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

body {
    background-image: url(images/bg-image.jpg) ;
    overflow: hidden;
    text-align: left;
    height: 100vh;
    overflow: hidden;
    background-size: cover;
    overscroll-behavior-y: contain;
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.3); /* Ajout de scale(1.4) pour agrandir de 40% */
    width: 900px;
    height: 500px;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
}

.container .slide .item {
    width: 200px;
    height: 300px;
    position: absolute;

    top: 50%;
    transform: translateY(-50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s ease-in-out, left 0.5s ease-in-out;
}


.slide .item:nth-child(1),
.slide .item:nth-child(2) {
    left: 0;
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.slide .item:nth-child(3) {
    left: 50%;
}

.slide .item:nth-child(4) {
    left: calc(50% + 215px);
}

.slide .item:nth-child(5) {
    left: calc(50% + 440px);
}

/* Here n = 0, 1, 2, 3,.... */

.slide .item:nth-child(n + 6) {
    left: calc(50% + 660px);
    opacity: 0;
}

.animate-in-left {
  animation: slideInLeft 0.3s ease;
}
.animate-in-right {
  animation: slideInRight 0.3s ease;
}

@keyframes slideInLeft {
  from {
    transform: translate(-20%, -50%);
    opacity: 0.8;
  }
  to {
    transform: translate(-35%, -50%);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translate(0, -50%);
    opacity: 0.8;
  }
  to {
    transform: translate(20%, -50%);
    opacity: 1;
  }
}

.item .content {
    position: absolute;
    top: 50%;
    left: 35px;
    width: 400px;
    text-align: left;
    color: #eee;
    transform: translate(0 - 50%);
    font-family: system-ui,;
    display: none;
}
.slide .item:nth-child(2) .content {
    display: block;
}

.black{
    font-family: Montserrat;
    color: black;
}
.montserrat{
    font-family: Montserrat;
}
.content .name {
    font-size: 35px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .des {
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s forwards;
    font-family: montserrat;
    background-color: #fff;
    color: black;
}



.content .name-rev {
    font-size: 35px;
    margin-top: 0px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}
.content .name-lite {
    font-size: 35px;
    margin-top: 0px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
    color: #0d343d;
}
.content .name-lite span {
    text-transform: lowercase;
}
.content .name-rev span {
    text-transform: lowercase;
}
.name-rev{
    color:#f0cfa6;
    font-family: montserrat;
}
.name-lite{
    font-family: montserrat;
    color: #0d343d;
}

.des{
    color: #180302;
    font-family: montserrat;
    font-size: 16px;
}

.rev-text{
    color:#f0cfa6;
}
.lite-text{
    color: #0d343d;
}

@keyframes animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}





/* ✅ Boutons de navigation - Style personnalisé */
.button {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.button button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    margin: 0 10px;
    border: 2px solid #dabea8;
    background: white;
    color: #dabea8;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.button button:hover {
    background: #c39178;
    color: white;
    transform: scale(1.1);
}
