main{
    width: 1200px;
    margin: auto;
}

.realisations, .realisations:visited{
    color: #8E6D54;
}


h3{
    text-align: center;
    font-size: 1.8em;
    font-family: 'montserrat', Arial, Helvetica, sans-serif;
    margin-top: 100px;
    font-weight: 100;
}

h4{
    font-size: 1.2em;
    font-family: 'segoepr', Arial, Helvetica, sans-serif;
    font-weight: normal;
}

.projets_container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

.projets{
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 15px;
    margin-bottom: 80px;
}


.projets .container{
    margin: auto;
    margin-right: 0;
    margin-left: 0;
    overflow: hidden;
    width: 30%;
    position: relative;
    font-family: 'montserrat', Arial, Helvetica, sans-serif;
    font-weight: 100;
}

.projets img{
    object-fit: cover;
    width: 100%;
    height: 350px
    
}


.sous-titre{
    text-align: center;
    margin-bottom: 150px;
}

* {box-sizing: border-box}



/* The overlay effect - lays on top of the container and over the image */
.overlay {
  position: absolute;
  bottom: 4px;
  background: rgba(97, 67, 42, 0.4); /* Black see-through */
  width: 100%;
  transition: .5s ease;
  opacity:0;
  color:white;
  font-size: 13px;
  font-weight: 100;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.container:hover .overlay {
  opacity: 1;
}
  






@media screen and (max-width: 1200px) {
    .tab{
        display: none;
    }

    .overlay{
        opacity: 1;
        font-size: 0.8em;
    }

    main{
        width: 100%;
        margin: auto;
    }

    .projets_container{
        margin-top: 10px;
    }

    .projets .container{
        width: fit-content;
        max-width: 440px;
    }

    .projets{
        display: flex;
        justify-content: center;
        width: 95%;
        max-width: 950px;
        margin: auto;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 10px;
    }

    .projets img{
        height: 350px;
    }

    h3{
        margin-top: 10px;
        font-size: 1.5em;
    }

}

@media screen and (max-width: 680px) {
    .tel, .tab{
        display: none;
    }

    .overlay{
        font-size: 0.7em;
    }

    main{
        width: 100%;
    }

    .projets_container{
        margin-top: 20px;
    }

    .projets .container{
        width: fit-content;
    }

    .projets{
        gap: 0;
    }

    .projets img{
        height: 250px;
    }

    .presentation{
        display: none;
    }

    h3{
        margin-top: 20px;
        font-size: 1.3em;
    }

    .container{
        text-align: center;
    }

    .signature img{
        height: 65px;
    }

    footer{
        margin-top: 60px;
    }

    .bandeau_bas{
        width: 100vw;
    }
}
