* {
    margin: 0;
    padding: 0;
}


:root {
    --margin: 0 22vw;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Rubik;
    color: white;
}


h1,
h2,
p {
    font-family: Rubik;
}

img {
    border-radius: 26px;
}


/* Menu */
.menu {
    position: fixed;
    display: block;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.7);
    /*background-color: rgb(95, 95, 95);*/
    background-color: #333;
}

.menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin-inline: auto;
}

.menu .logo {
    display: block;
    width: 60px;
}

.menu .logo img {
    width: 100%;
}

.menu-listing {
    display: flex;
    align-items: center;
    list-style: none;
}

.menu-listing ul {
    position: absolute;
    top: 100%;
    background-color: #333;
    list-style: none;
}

.menu-listing ul {
    display: none;
    border-radius: 10px;
    left: 0;
}


.menu-listing li {
    padding: 10px;
    position: relative;
}

.menu-listing ul li {
    text-align: left;
}

.menu-listing ul li:hover {
    border-bottom: 2px solid rgb(45, 223, 119);
}

.menu-listing li.withBorderBottom:hover {
    border-bottom: 2px solid rgb(45, 181, 223);
}

.menu-listing .withSubMenu {
    position: relative;
}

.menu-listing .withSubMenu:hover .subMenu {
    display: block;
}

.menu-listing a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
}

.menu-listing a:hover {
    color: rgb(31, 191, 255);
}

.menu-listing ul a:hover {
    color: rgb(24, 190, 79);
}




/* Common */
.buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.buttonBleu,
.buttonVert {
    border-radius: 12px;
    font-weight: 600;
    color: white;
    display: flex;
    text-align: center;
    padding: 21px 29px;
    font-size: 22px;
    text-decoration: none;
}

.buttonBleu {
    background-color: rgb(55, 163, 202) !important;
}

.buttonVert {
    background-color: rgb(97, 176, 94) !important;
}


.animate-top {
    position: relative;
    animation: animatetop 1s
}

@keyframes animatetop {
    from {
        bottom: -50px;
        opacity: 0;
    }

    to {
        bottom: 0px;
        opacity: 1;
    }
}

.animate-bottom {
    position: relative;
    animation: animatebottom 0.4s
}

@keyframes animatebottom {
    from {
        bottom: 50px;
        opacity: 0;
    }

    to {
        bottom: 0px;
        opacity: 1;
    }
}

/* animation pour révéler element html*/
.reveal {
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

.reveal2 {
    transform: translateX(-50px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal2.active {
    transform: translateX(0);
    opacity: 1;
}

.reveal3 {
    transform: scale(0.5);
    opacity: 0;
    transition: 1s all ease;
}

.reveal3.active {
    transform: scale(1);
    opacity: 1;
}

/* inter-section */
.inter-section {
    background-color: #3f9481;
    height: 13px;
    position: relative;
}


/* section principale */
.main-section .bg-image {
    background-image: url('../img/bgImg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    filter: blur(10px);
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    z-index: 0;
}

.main-section .content {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-section h1 {
    font-size: 80px;
    margin-bottom: 22px;
}

.main-section p {
    font-size: 30px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.main-section .description {
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: center;
}

.main-section .description .texte {
    width: 890px;
}


.main-section .buttons {
    gap: 20px;
    margin-top: 51px;
}

.main-section .buttons button {
    padding: 10px 20px;
    margin-right: 10px;
    font-size: 22px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

.main-section .logo {
    display: block;
    width: 290px;
}

.main-section .logo img {
    width: 100%;
}



/* Section à propos */
.section-aPropos .content {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 60px 45px 60px 45px;
    color: black;
    gap: 80px;
}

.section-aPropos .imgApropos {
    display: block;
    width: 650px;
}

.section-aPropos .imgApropos img {
    width: 100%;
}

.section-aPropos h1 {
    font-size: 37px;
    margin-bottom: 22px;
    font-weight: 500;
}

.section-aPropos .info-list {
    padding: 22px 53px;
}

.section-aPropos .info-list li {
    padding: 10px;
}

.section-aPropos .buttons {
    justify-content: center;
}


/* Section rasso */
.section-rasso,
.section-course {
    height: 100vh;
}


.section-rasso .bg-image,
.section-course .bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    filter: blur(5px);
    position: absolute;
    width: 100%;
}

.section-rasso .bg-image {
    background-image: url('../img/gallerieImg.jpg');
}

.section-rasso .content,
.section-course .content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    gap: 57px;
}

.section-rasso .subContent,
.section-course .subContent {
    display: flex;
    flex-direction: row;
    align-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

.section-rasso .text,
.section-course .text {
    max-width: 693px;
}

.section-rasso h1,
.section-course h1 {
    font-weight: 500;
    font-size: 48px;
    margin-bottom: 18px;
    color: white;
    margin-top: 0;
}

.section-rasso h2,
.section-course h2 {
    font-weight: 500;
    font-size: 22px;
    font-style: italic;
    color: rgb(101, 214, 255);
    margin-bottom: 37px;
}

.section-rasso p {
    font-weight: 500;
    font-size: 18px;
    padding-right: 52px;
}

.section-rasso .imgPrincipale,
.section-course .imgPrincipale {
    display: block;
    width: 549px;
    padding-top: 50px;
}

.section-rasso .imgPrincipale img,
.section-course .imgPrincipale img {
    width: 100%;
}


.section-rasso .gallery,
.section-course .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
    max-width: 600px;
    align-items: center;
}

.section-rasso .gallery img,
.section-course .gallery img {
    width: 100%;
    object-fit: cover;
}


/* section course */
.section-course .bg-image {
    background-image: url('../img/Gallerie_course/Nascar_2.jpg');
}

.section-course .text {
    text-align: right;
}


.section-course p {
    font-weight: 500;
    font-size: 18px;
    padding-left: 52px;
}

.section-course .imgContainer {
    display: flex;
    justify-content: flex-end;
}


/* Section avis */
.section-avis {
    color: black;
}

.section-avis h1 {
    font-weight: 500;
    font-size: 37px;
    margin-bottom: -9px;
}

.section-avis .content {
    padding: 60px 45px 60px 45px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-avis .main-avis {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
}

.section-avis .liste-avis {
    display: flex;
    margin-top: 58px;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 60vw;
    gap: 35px;
}

.section-avis .avis-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 493px;
    margin: 20px auto;
    border-radius: 8px;
    align-content: flex-start;
}

.section-avis .avis-container .enTeteDiv {
    display: flex;
    width: 100%;
    align-items: center;
}

.section-avis .avis-container .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.section-avis .avis-container .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-avis .avis-container .pseudo {
    flex-grow: 1;
    font-weight: bold;
}

.section-avis .avis-container .etoiles {
    font-size: 24px;
    color: #ffd700;
    /* couleur jaune pour les étoiles */
}

.section-avis .avis-container .titre {
    width: 100%;
    display: flex;
    justify-content: center;
    font-weight: 600;
    font-size: 25px;
    margin-top: 22px;
}

.section-avis .avis-container .titre p {
    text-align: center;
}

.section-avis .avis-container .titre span.reverse {
    transform: scaleX(-1);
}

.section-avis .avis-container .description {
    text-align: justify;
    margin-top: 14px;
}

.section-avis .main-avis .buttons {
    justify-content: center;
    gap: 50px;
}

.section-avis .voir-plus,
.section-avis .laisser-avis {
    position: relative;
    border: none;
    cursor: pointer;
}

.section-avis .laisser-avis {
    background-color: #a247d1 !important;
}


/* Section color */
.section-color {
    height: 100vh;
}

.section-color .bg-image {
    background-image: url('../img/porsche\ LSCM.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    filter: blur(5px);
    position: absolute;
    width: 100%;
}

.section-color .content {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    gap: 450px;
    flex-wrap: wrap;
    align-content: center;
}


.section-color .left-section h1 {
    font-weight: 500;
    font-size: 50px;
    margin-bottom: 11px;
    color: white;
}

.section-color .left-section .buttonVert {
    outline: none;
    cursor: pointer;
    border: none;
}


.section-color .right-section h1 {
    font-weight: 500;
    font-size: 50px;
    color: white;
}

.section-color .right-section p {
    color: white;
    font-weight: 300;
    font-size: 1.2em;
    max-width: 476px;
    /* Ajuste la taille de la description selon nos besoins */
}

.section-color .color-section .onlyDestop {
    display: none;
}



/* section social */
.section-social .content {
    position: relative;
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
    color: black;
    text-align: center;
}

.section-social .content .description {
    margin: auto;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
}

.section-social .social-icon {
    display: flex;
    height: 47px;
    width: 229px;
    background-color: #40afd1;
    border-radius: 47px;
    position: relative;
    margin-top: 33px;
}

.section-social .social-icon svg {
    position: absolute;
    display: flex;
    width: 40%;
    height: 100%;
    font-size: 24px;
    font-weight: 700;
    opacity: 1;
    transition: opacity 0.25s;
    z-index: 2;
    cursor: pointer;
}

.section-social .social-icon .social-link1,
.section-social .social-icon .social-link2,
.section-social .social-icon .social-link3,
.section-social .social-icon .social-link4 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33%;
    color: whitesmoke;
    font-size: 24px;
    text-decoration: none;
    transition: 0.25s;
    border-radius: 50px;
}

.section-social .social-icon svg {
    transform: scale(1);
}

.section-social .social-icon .social-link1:hover {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f09433', endColorstr='#bc1888', GradientType=1);
    animation: bounce_613 0.4s linear;
}

.section-social .social-icon .social-link2:hover {
    background-color: #00ccff;
    animation: bounce_613 0.4s linear;
}

.section-social .social-icon .social-link3:hover {
    background-color: #5865f2;
    animation: bounce_613 0.4s linear;
}

.section-social .social-icon .social-link4:hover {
    background-color: #121412;
    animation: bounce_613 0.4s linear;
}

@keyframes bounce_613 {
    40% {
        transform: scale(1.4);
    }

    60% {
        transform: scale(0.8);
    }

    80% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}



.section-social .social-icons {
    display: flex;
}