#up {
    z-index: 5;
    position: fixed;
    bottom: 20px;
    right: 20px;
}

#up img {

    width: 50px;
}

.col1 h1 {
    padding-top: 200px;
    font-size: 5em;
    color: white;
}


.wrap-service {
    padding: 8% 10% 10% 10%;
    grid-gap: 30px;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: auto auto;
}

.serv {
    background-color: #c48d0b;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .2s;
    cursor: pointer;
}

.serv:hover {
    transition: all .2s;
    scale: 1.02;
}

.serv form {
      width:100%;
    height: 100%;
}
.style:hover {
    transition: all .2s;
    scale: 1.02;
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2em;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    transition: all .2s;
    text-align: center;
}

.title:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transition: all .2s;
}

.serv1 {
    grid-column: auto/auto;
    grid-row: auto/auto;
    max-height: 8em;
}

.wrap-img {

    padding: 20% 10% 0% 10%;
    gap: 30px;
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: auto auto;
}

.imgwrap {
    background-position: center;
    background-size: cover;
    aspect-ratio: 6/4;
}

#texte_out p{
    
    line-height: 2;
}
#texte_out li{
    padding: unset;
    line-height: 2;
}

#img_out{
    padding: 20% 10% 0% 10%;
    gap: 30px;
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: auto auto;
    
}
/* il faut changer les images dans le css,

exemple -->

.img1{
    background-image: url(votre-image.png);
}

 le javascript pour changer les images ne fonctionne pas encore*/


@media only screen and (max-width: 1200px) {
    .wrap-img {

        padding: 20% 10% 0% 10%;
        gap: 30px;
        width: 100%;
        height: 100vh;
        display: grid;
        grid-template-columns: auto;
    }

    .col1 h1 {
        font-size: 3em;
    }

    .title {
        font-size: 1.5em;
    }
}

@media only screen and (max-width: 800px) {

    .col1 h1 {
        padding-top: 100px;
    }
    .col1 {
        height: 60vh;
        width: 100%;
        grid-row: 1/2;
        grid-column: 1/2;
    }

    .col2 {
        width: 100%;
        height: auto ;
        overflow-y: visible;
        grid-row: 2/3;
        grid-column: 1/2;
    }
    .wrap-img{
        height: 100%;
    }
}
