#home-page__navbar img {
    display: flex;
    justify-content: center;
}

#masthead .elementor-widget-container ul {
    justify-content: space-between;
}

#main-title-home-page {
    font-size: 48px;
    font-weight: 600;
    color: white;
    letter-spacing: -1px;
    line-height: 57px;
    span {
        position: relative;
        z-index: 100;
        white-space: nowrap;
 
        &::before {
            content: "";
            position: absolute;
            bottom: 8px;
            right: 0;
            width: 100%;
            height: 9px;
            background-color: #BED431;
            z-index: -1;
        }
    }
}

#team-btn .elementor-button-icon {
    font-size:21px;
    display: flex;
    align-items: center;
}

#title-with-border div h2{
    color: white;
    -webkit-text-stroke: 3px #BED431;
    paint-order: stroke fill;
}

#contact_form .wpcf7-submit {
    background-color: #BED431;
    color: white;
    border-radius: 16px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #BED431;
    padding: 15px 53px ;
    margin-top: 55px;
    transition: ease-in-out 0.3s;

    &:hover {
        background-color: white;
        color: black;
        border: 1px solid black;
    }
}

#contact_form  .fields-form-contact {
    display: flex;
    column-gap: 61px;
    font-size: 18px;
    font-weight: 400;
    color: rgba(42, 42, 42, 0.48);
}

#contact_form  .fields-form-contact {
    margin-bottom: 60px;
    input {
        border: none;
        border-bottom: 1px solid rgb(165 165 165) ;
        border-radius: 0;
    }

    p {
        margin: 0;
        width: 100%;

        label {
            width: 100%;
        }
    }

    textarea {
        width: 100%;
        resize: none;
    }
}

#contact_form  .fields-form-contact textarea {
    border: none;
    border-bottom: 1px solid rgb(165 165 165) ;
    border-radius: 0;
}

.form-contact__checkbox {
    color: rgba(42, 42, 42, 0.48);
}

.fields-form-contact textarea {
    height: 90px;
    margin-top: 10px;
}

.form__textarea {
    margin-bottom: 30px!important; 
}

.form-contact__checkbox .wpcf7-list-item,
.form-contact__checkbox p{
    margin: 0;
}

#gallery-container .elementor-element{
    transition: ease-in-out 0.3s;
}

#gallery-container .gallery-container__card:hover {
    transform: scale(1.04);
}

.elementor-image-carousel-wrapper .swiper-slide {
    aspect-ratio: 1/1;
    overflow: hidden;
    box-shadow: 3px 6px 11px  rgba(0, 0, 0, 0.24);
    border-radius: 30px;
}

.elementor-image-carousel-wrapper {
    overflow:visible!important;
}

.elementor-element.elementor-pagination-position-outside .swiper, .elementor-lightbox.elementor-pagination-position-outside .swiper{
    padding-bottom: 60px;
}

.swiper-pagination .swiper-pagination-bullet {
    background: rgba(154, 151, 151, 1);
    width: 9px;
    height: 9px;
    margin: 4px!important;
}

.elementor-image-carousel-wrapper .swiper-slide a, 
.elementor-image-carousel-wrapper .swiper-slide a figure{
    height: 100%;
    aspect-ratio: 1/1;
}

.elementor-image-carousel-wrapper .swiper-slide a figure{
   overflow: hidden;
}

.elementor-image-carousel-wrapper .swiper-slide a img{
    width: 100%;
    object-fit: cover;
    height: 100%;
    aspect-ratio: 1 / 1;
    transition: ease-in-out 0.6s;
}

.elementor-image-carousel-wrapper .swiper-slide:hover img {
    transform: scale(1.05);
}

#galerie-photo-container {
    overflow: hidden;
}

#scroll-to-top-btn {
    cursor: pointer;
    display: none;
    z-index: 100;
    position: fixed;
    bottom: 330px;
    right: 100px;
}

#menu-navbar nav {
    display: flex;
    flex-direction: column;
}

#contact-btn a {
    background: white;
    width: 215px;
    padding: 16px 20px;
    margin-left: 10px;
    z-index: 10000;
    border-radius: 0px 0px 10px 10px;
    display: flex;
    justify-content: center;
    right: 0;
    position: relative;
    transition: 0.3s;
}
#contact-btn a:hover{
    transform:translate(0px, 14px);
}
#contact-btn a {
    &:after {
        content: "";
        width: 100%;
        height: calc(100% + 25px);
        background-color: white;
        border-bottom: 1px solid #d3d3d3;
        top: -14px;
        left: 0;
        position: absolute;
        border-radius: 0px 0px 10px 10px;
        transition: ease-in-out 0.3s;
        z-index: -1;
    }
}

#copyright-footer p {
    color: white;
    font-size: 18px;
    font-weight: 300;
}

#home-page__navbar .e-con-inner {
    display: flex;
    justify-content: space-between;
}

#equipe {
    overflow-x: clip;
}

@media screen and (max-width: 1500px ) {
    #scroll-to-top-btn  {
        display: none!important;
    }
}

@media screen and (max-width: 1200px ) {
    #home-page__services, #home-page__contact .e-con-inner {
        background-color: #f2f2f2;
    }

}

@media screen and (max-width: 1023px) {
    #google-map-container {
        position: absolute;
    }
}


@media screen and (max-width: 767px) {
    #main-title-home-page {
        font-size: 39px;
        line-height: 45px;
    }

    #contact_form .fields-form-contact {
        display: flex;
        flex-direction: column;
        margin-bottom: 0px;
        p {
            margin-bottom: 20px;
        }
    }

    .form__textarea {
        margin-top: 30px!important;
    }

    .elementor-image-carousel-wrapper .swiper-slide {
        border-radius: 10px;
    }

}

@media screen and (max-width: 620px)  {
    #home-page__services .gallery-container__card {
        width: 100%!important;
        max-width: 400px;
    }

    #gallery-container {
        display: flex;
        justify-content: center;
    }
}

@media screen and ((min-width: 480px) and (max-width: 767px) ) {
    #home-page__services .gallery-container__card{
        width: 45%;
    }

    #home-page__services .e-con-inner {
        background-color: white;
    }

    #equipe .e-con-boxed .e-con-inner {
        display: flex;
        flex-direction: row;

        .e-con-full {
            width: 48%;
        }
    }
}
