html,
body {
    margin: 0;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

* {
    box-sizing: border-box;
}

header {
    padding: 0px;
    text-align: center;
    z-index: 1000;
}

main {
    margin-bottom: 20px;
}

h1 {
    text-align: center;
    color: #006981;
    font-size: x-large;
    font-style: oblique;
}

h2 {
    font-weight: bold;
    color: #01DFE7;
}

.accueilvignette {
    margin: 50px 0 10px 0;
}

.accueilvignette h2{
    color: #333;
    margin-top: 20px;
    padding: 0;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

[class*=col-] {
    float: left;
    padding: 0;
}

a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
}

.ulcontent {
    list-style: none;
    padding: 0;
    max-width: 80%; 
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    text-align: left;
}

.licontent {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.licontent strong{
    margin-right: 5px;
}

.licontent:before {
    content: "■";
    color: #01DFE7;
    font-size: 1.2em;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    margin: 0px;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

nav li {
    margin: auto;
    text-align: center;
}

nav li a {
    padding: 10px 20px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    background-color: #006981;
    border: 1px solid #026075;
    border-radius: 30px;
    white-space: nowrap;
}

nav li a:hover {
    background-color: #ddd;
    color: #333;
}

.pad-5 {
    padding: 30px;
}

.black {
    color: rgb(0, 0, 0);
}

.gris {
    color: #333;
}

.toplogo {
    margin-top: 10px;
    padding-left: 10px;
    width: 50px;
    height: auto;
}

.bottomlogo {
    position: relative;
    top: 0;
    left: 50px;
    margin-top: 10px;
    padding-left: 10px;
    max-width: 150px;
    height: auto;
}

.serviceindex{
    height: 300px;
    width: 300px;
}

.menu {
    background-color: rgb(250, 250, 250);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.imgindex {
    width: 100%;
    height: 350px;
    background-image: url(images/slider1.jpg);
    background-position: center;
    background-size: cover;
}

.titleindex-1 {
    text-align: center;
    color: #006981;
    font-size: x-large;
    font-style: oblique;

}

.container {
    text-align: center;
    align-content: center;
    max-width: 80%;
    margin: 0 auto
}

.pictureservice {
    width: 100%;
    margin: 0px;
}

.serviceindex:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.block-services{
    background-color: #f1f0f0;
    padding: 10px 0 10px 0;
    margin-bottom: 30px;
    border-radius: 20px;
    box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.6);
}

.accueildescription {
    margin: 10px 0 10px 0;
}

video{
    width: auto;
}
.realisation-video {
    display: flex;
    margin: 20px auto;
    align-items: center;
}

.realisation-item-video {
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    transition: transform 0.3s ease;
    width: auto;
    margin: auto;
}

.realisation-item-video:hover {
    transform: scale(1.05);
}

.realisation {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0 auto;
}

.realisation-item {
    width: 22%;
    background: #fff;
    border: 1px solid #ddd;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.realisation-item:hover {
    transform: scale(1.05);
}

.realisation-image {
    width: 100%; 
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
}

.realisation-image-page{
    width: 90%;
    max-width: 1200px;
}

.plus{
    background-color:#01DFE7;
    border: 2px solid black;
    color: #fff ;
    padding: 10px;
    border-radius: 30px;
    display:inline-block;
    margin-top: 20px; 
}

.footercontainer {
    background-image: url(images/footer.png);
    background-position: center;
    background-size: cover;
    padding: 50px 0px 50px;
    justify-content: space-around;
}

.footercontainer2 {
    padding: 5px;
    background-color: #026075;
    text-align: center;
    color: #01DFE7;
}

footer span,
footer a {
    color: #ddd;
    font-weight: bold;
    text-align: center;
}

.btncontact {
    display: inline-block;
    background-color: #01DFE7;
    color: rgb(0, 0, 0);
    text-decoration: none;
    border: none;
    padding: 15px;
    font-size: 1em;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 1s ease-in, transform 2s ease-out;
    animation: pulsation 1s infinite;
}

.btncontact:hover {
    background-color: aquamarine;
    transform: scale(1.2);
    animation: pulsation 2s ease-in-out; 
}

@keyframes pulsation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}
.mapcontact{
    margin-top: 50px;
    display: flex;
    text-align: center;
    max-width: 1200px;
    gap: 20px;
}

.map{
    padding: 10px;
    background-color: #006981;
    border-radius: 10px;
}
.contact {
    max-width: 600px;
    margin: 0px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact h2 {
    color: #006981;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.contact p {
    font-size: 1em;
    margin-bottom: 20px;
    color: #555;
}


.block-contact {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.consent {
    display: flex;
    align-items: center;
}

#consent{
    width: 50%;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

input:focus, textarea:focus, select:focus {
    border-color: #006981;
    outline: none;
}

.btn-submit {
    background-color: #01DFE7;
    color: #fff;
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
    background-color: #006981;
    transform: scale(1.05);
}

.btn-submit:active {
    transform: scale(0.95);
}

.privacy, .terms {
    text-align: left;
    margin: 30px;
}



@media only screen and (max-width: 767px) {
    footer {
        text-align: center;
    }

    .bottomlogo {
        left: 0;
    }

    .menu {
        display: none;
    }

    .responsivemenu div {
        border: 5px solid #006981;
        margin: 5px;
        padding: 5px 0px;
    }

    .responsivemenu{
        position:relative;
        width: 100%;
        background-color: #fff;
        margin: 0px;
        top: 0;
    }

    .imgindex{
        margin-top: 20px;
    }

    .ulcontent {
        width: 100%; 
        padding: 0 10px;
        white-space:initial;
    }

    .mapcontact{
        display: block;
    }
    .contact {
        padding: 15px;
        margin-bottom: 20px;
    }

    input, textarea, select {
        font-size: 0.9em;
    }

    .btn-submit {
        padding: 10px 15px;
        font-size: 0.9em;
    }

    .licontent {
        justify-content: flex-start; 
    }

    .realisation-video {
        flex-wrap: wrap; 
    }

    .realisation-item-video {
        width: 100%;
        margin: 10px;
    }

    video{
        width: 70%;
    }

    .realisation {
        flex-wrap: wrap; 
    }

    .realisation-item {
        width: 100%;
        margin: 10px;
    }
    
    .col-s-1 {
        width: 8.33%;
    }

    .col-s-2 {
        width: 16.66%;
    }

    .col-s-3 {
        width: 25%;
    }

    .col-s-4 {
        width: 33.33%;
    }

    .col-s-5 {
        width: 41.66%;
    }

    .col-s-6 {
        width: 50%;
    }

    .col-s-7 {
        width: 58.33%;
    }

    .col-s-8 {
        width: 66.66%;
    }

    .col-s-9 {
        width: 75%;
    }

    .col-s-10 {
        width: 83.33%;
    }

    .col-s-11 {
        width: 91.66%;
    }

    .col-s-12 {
        width: 100%;
    }

}

@media only screen and (min-width: 768px) {
    .responsivemenu {
        display: none;
    }

    .col-1 {
        width: 8.33%;
    }

    .col-2 {
        width: 16.66%;
    }

    .col-3 {
        width: 25%;
    }

    .col-4 {
        width: 33.33%;
    }

    .col-5 {
        width: 41.66%;
    }

    .col-6 {
        width: 50%;
    }

    .col-7 {
        width: 58.33%;
    }

    .col-8 {
        width: 66.66%;
    }

    .col-9 {
        width: 75%;
    }

    .col-10 {
        width: 83.33%;
    }

    .col-11 {
        width: 91.66%;
    }

    .col-12 {
        width: 100%;
    }

}