* {
    box-sizing: border-box;
    font-family: "Montserrat";
}

html {
    scroll-behavior: smooth;
    font-family: "Montserrat";
}

body {
    font-family: "Montserrat";
}

.logo {
    transform: translateY(-2px);
}

.player {
    aspect-ratio: 16 / 9;
    width: 200%;
}

h1 {
    color: #024da8;
}

h2 {
    color: #024da8;
}

h3 {
    color: #024da8;
}

.arrow {
    color: #ffffff;
}

.icon {
    transition: transform 0.3s ease;
    /* Ajoute une transition fluide */
}

.link:hover .icon {
    transform: scale(1.2);
    /* Grossit le SVG de 20% lorsqu'il est survolé */
}

.centered-link {
    display: block;
    text-align: center;
}

.breadcrumb-item {
    text-align: center;
}

.text {
    align-items: center;
    text-align: center;
}

.back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.content {
    text-align: center;
    margin-top: 80px;
    font-family: "Montserrat";
}

.content h1 {
    font-size: 50px;
    color: #fff;
}

.content p {
    color: #fff;
    font-size: 20px;
    /* border: 2px solid #fff; */
    padding: 14px 70px;
    border-radius: 50px;
    margin-top: 20px;
}

.content-video {
    width: 100%;
    height: 100vh;
    position: relative;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}

.gridAlign {
    align-items: center;
    justify-content: space-around;
    padding: 70px;
}

.section-title h2 {
    text-align: center;
    padding: 20px;
    font-weight: 500;
    color: #024da8;
    font-size: 30px;
    text-transform: uppercase;
    /* margin-top: 25px; */
    margin-bottom: 10px;
    font-weight: bold;
}

.section-title h1 {
    text-align: center;
    padding: 20px;
    font-weight: 500;
    color: white;
    font-size: 50px;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 10px;
    font-weight: bold;
}

h1 {
    text-align: center;
    padding: 20px;
    font-weight: 500;
    color: #024da8;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: bold;
}

.section-title h3 {
    text-align: center;
    padding: 20px;
    font-size: 23px;
    font-weight: 500;
    color: #024da8;
    text-transform: uppercase;
    /* margin-top: 25px; */
    margin-bottom: 10px;
    margin-top: 15px;
    font-weight: bold;
}


/* .cardDegrade {
    align-items: center;
    justify-content: center;
    text-align: center;

} */

.image-containerL {
    position: relative;
    overflow: hidden;
}

.image-containerL::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    /* Ajustez cette valeur pour contrôler la taille du dégradé */
    background: linear-gradient( to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 98%);
}

.image-containerR {
    position: relative;
    overflow: hidden;
}

.image-containerR::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    /* Ajustez cette valeur pour contrôler la taille du dégradé */
    background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 98%);
}

.image-card {
    transition: transform 0.3s ease-in-out;
    margin-bottom: 50px;
}

#cardBasse {
    margin-bottom: 25px;
}

.image-card:hover {
    transform: translateY(-10px);
}

.image-card:hover .card-title {
    font-weight: bold;
    /* Couleur de titre au survol */
}

#navbar {
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
}

#navbar.scrolled {
    background-color: #024da8;
}

.navbar-nav .nav-link {
    color: white;
}

.image-card img {
    border: 0.2px solid #024da8;
    /* Ajout de la bordure noire */
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Ajout de l'ombre */
    transition: box-shadow 0.3s ease;
    /* Animation de transition */
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Augmentation de l'ombre au survol */
}

.parallax {
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax1 {
    background-image: url("../image/photoPiscineWeb/b.jpg");
}


/* mettre une image en fond */


/* .cont {
    background-image: url(/image/photoPiscineWeb/k.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
} */

.texteCont {
    text-align: center;
    color: #fff;
    line-height: 1.8rem;
    padding: 15px 25px;
    margin-bottom: 15px;
}

.texteCont h1 {
    font-size: 50px;
    margin-top: 100px;
}

.contact {
    align-items: center;
    margin-top: 150px;
}

.form {
    max-width: 600px;
    margin: 4rem auto 0 auto;
}

.form input,
.form textarea {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 20px 8px 12px rgba(0, 0, 0, 0.1);
}

.form textarea {
    min-height: 200px;
}

.form .btn {
    display: inline-block;
    border: none;
    color: #ffffff;
    width: 200px;
    background-color: #024da8;
    font-size: 20px;
    text-transform: uppercase;
}


/* Style des inputs */

input[type="text"],
input[type="email"],
textarea {
    border: none;
    border-bottom: 2px solid #ccc;
    /* Bordure en bas seulement */
    padding: 10px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out;
    /* Transition pour la bordure */
}


/* Effet d'ombre lorsqu'un input est en focus */

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #024da8;
    /* Changement de couleur de la bordure */
    outline: none;
    /* Supprimer l'outline par défaut */
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    /* Ombre douce */
}


/* Style du bouton */

.btn {
    color: white;
    border-color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    /* Transition pour la couleur de fond */
}


/* Effet d'ombre sur le bouton */

.btn:hover,
.btn:focus {
    background-color: #4c8bf5;
    /* Changement de couleur de fond au survol */
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    /* Ombre douce au survol */
    color: #ffffff;
}

.btns:hover,
.btns:focus {
    background-color: #024da8;
    /* Changement de couleur de fond au survol */
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    /* Ombre douce au survol */
    color: #ffffff;
}

.entretien .buttonEsp button {
    margin: 20px 20px 20px 20px;
}

.content-Service h3 {
    color: #024da8;
    padding: 15px;
}

.nav-link:hover {
    color: #ffffff;
}

.Services {
    margin-top: 120px;
}

.text-center h3 {
    color: #4c8bf5;
    padding: 5%;
}

.text-center p {
    padding: 5%;
}

.textSousSection {
    color: #000;
    line-height: 1.6;
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
    /* margin-bottom: 20px; */
    font-weight: 500;
    font-family: "Montserrat";
}

.titreGr h2 {
    margin-top: 50px;
}

.texteGr {
    margin-bottom: 50px;
}

.service-cards {
    padding: 20px 0;
    padding: 60px;
}

.service-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-link {
    text-decoration: none;
    color: inherit;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #024da8;
    font-weight: bold;
}

.card-text {
    font-size: 1.2rem;
    color: black;
}

.card-img-top {
    object-fit: cover;
    height: 200px;
}

@media (max-width: 768px) {
    .card-img-top {
        height: 150px;
    }
}

.content-Renov {
    position: relative;
    background-image: url("../image/photoPiscine/Piscine\ à\ Côté\ Des.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    /* Hauteur ajustable selon vos besoins */
}

.content-imageRenov {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    /* Pour centrer le texte horizontalement */
}

.imageRenov {
    display: none;
    /* Cacher l'image si elle est utilisée en arrière-plan */
}

h1,
p,
.link {
    color: #ffffff;
    /* Couleur du texte */
}


/* .icon {
    width: 50px;
    height: auto;
} */

.fle {
    width: 60px;
    height: 60px;
    margin-bottom: 100px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    padding: 9px;
}

#fleInde {
    margin-bottom: 220px;
}

.content-imageRenov h1 {
    font-size: 50px;
}

.content-imageRenov p {
    font-size: 20px;
}

.liste li {
    list-style: square;
    font-size: 20px;
    margin-top: 20px;
    padding: 20px;
}

.navAcc {
    display: flex;
    justify-content: center;
    align-items: center;
}

.breadcrumb-item a {
    color: #fff;
    font-size: 18px;
}

.navAcc .breadcrumb-item.active {
    color: white;
    font-size: 18px;
}

#dernierC {
    margin-bottom: 60px;
}

span {
    padding: 0.2em;
    border-radius: 0.2em;
    display: inline-flex;
    font-weight: bold;
    align-items: center;
}

.icon-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.icon-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.icon-item svg {
    margin-right: 10px;
    /* Taille de base pour les écrans plus grands */
    width: 80px;
    height: 70px;
    border: 2px solid #000;
    border-radius: 50%;
    padding: 12px;
}

.icon-item li {
    list-style-type: none;
    color: #000;
    line-height: 1.6;
    font-size: 1.2rem;
    padding: 20px;
    font-weight: 500;
    font-family: "Montserrat";
}

.circle {
    transition: transform 0.3s ease-in-out, fill 0.3s ease-in-out;
    fill: #000;
}

.circle:hover {
    transform: scale(1.2);
    fill: #000;
}


/* Media query pour les écrans plus petits */

@media (max-width: 768px) {
    .icon-item svg {
        margin-right: 10px;
        /* Taille de base pour les écrans plus grands */
        width: 100px;
        height: 100px;
        border: 0px;
    }
}

.row {
    margin-top: 30px;
    margin-bottom: 30px;
}

.object-fit-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Positionnement de la vidéo */

.video-back {
    position: fixed;
    /* Position fixe pour couvrir toute la page */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* S'assure que la vidéo couvre tout le conteneur */
    z-index: -1;
    /* Pour s'assurer que la vidéo soit derrière le contenu */
}


/* Styles pour le contenu */

.content-video {
    position: relative;
    /* Pour que le contenu apparaisse au-dessus de la vidéo */
    z-index: 1;
    /* Pour s'assurer que le contenu soit devant la vidéo */
    color: white;
    /* Couleur du texte pour contraster avec la vidéo */
    text-align: center;
    padding: 50px;
}

#contactC {
    text-align: center;
}

#col-suiverM {
    margin-left: 0px;
}

.popup2 {
    display: inline-block;
    justify-content: center;
    padding: 15px 30px;
    font-size: 21px;
    font-weight: bold;
    color: #ffffff;
    border: 1px solid #000;
    text-transform: uppercase;
    margin-top: 20px;
    background-color: #024da8;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
}

.videoPop {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-card {
    height: 100%;
    /* Vous pouvez ajuster cette valeur en fonction de vos besoins */
}

[class*="reveal-"] {
    opacity: 0;
    transform: translateY(-30px);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-2 {
    transition-delay: 0.1s;
}

.reveal-3 {
    transition-delay: 0.2s;
}

.reveal-4 {
    transition-delay: 0.3s;
}

.offcanvas-body {
    background-color: #024da8;
}

.offcanvas-header {
    background-color: #024da8;
    color: #ffffff;
}

.btn-close {
    color: #ffffff;
    background-color: white;
}

.navbar-toggler {
    border: 2px solid #000;
}

@media screen and (max-width: 576px) {
    .videoPetitEcran {
        width: 400px;
        height: 500px;
    }
    .popup2 {
        margin-bottom: 25px;
    }
}