@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:wght@300;400;700&family=Roboto:wght@300;400;700&display=swap');


nav{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #a99d96;
    padding: 1vh 2vw;
}

.custom-link {
    color: black;
    text-decoration: none;
    transition: transform 0.2s ease-in-out; /* Animation fluide */
}

.custom-link:visited {
    color: black;
}

.custom-link:hover {
    transform: scale(4); /* Agrandit légèrement le lien */
}

html, body{
    margin: 0px;
    min-height: 100%;
    font-family: 'Roboto', sans-serif;
}

.images{
    display: flex;
    flex-direction: row;
    background-color:#a99d96;
    justify-content: space-around;
    padding: 15vh 2vw;
}

.imageContenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Inria Serif', serif;
    font-size: 1.2em;
}

#logo{
    width: 10vw;
    height: 7vh;
}

#content {
    background-color: #d8d1cb;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

#references {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: repeat(2, auto); 
    gap: 5vw;
    margin: 20px;
    justify-items: center;
}

.reference {
    width: 100%; 
    max-width: 30vw; 
    text-align: center; 
    border: 1px solid #ddd; 
    border-radius: 10px; 
    padding: 20px;
    background-color: #f9f9f9; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    height: 35vh;
}

.reference img {
    width: 20vw;
    height: 25vh;
    border-radius: 8px; 
}

.reference p {
    margin: 10px 0;
    font-size: 1.2em;
    font-weight: bold;
}

h1{
    margin: 0px;
    padding: 3vh 2vw;
    text-align: center;
}

.imageTop{
    width: 17vw;
    height: 60vh;
    border-radius: 12px;
}

.projet{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 5vh 2vw;
}

.projet img{
    width: 30vw;
    height: 30vh;
    border-radius: 12px;
}

#nomEntreprise{
    color:#bd1414;
}

#Adresse{
    margin-top: 0px;
    margin-bottom: 12px;
}

.textProjet{
    background-color:#a99d96;
    padding: 3vh 3vw;
    border-radius: 33px;
    align-self: center;
    font-size: large;
}

#infos{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 5vh 2vw;
}

.Map{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.Map iframe{
    width: 30vw;
    height: 30vh;
    border-radius: 12px;
}

.Contact{
    background-color:#a99d96;
    padding: 2.5vh 2.5vw;
    border-radius: 33px;
    font-size: large;
    height: 35vh;
    width: 15vw;
    margin-top: 4vh;
}

.Telephone{
    display: flex;
    flex-direction: row;
}

.Telephone img{
    padding-right: 10px;
    width: 2vw;
    height: 4vh;
}

.Mail{
    display: flex;
    flex-direction: row;
}

.Mail img{
    padding-right: 10px;
    width: 2vw;
    height: 4vh;
}

footer {
    background-color: #d8d1cb;
    padding: 4vh 2vw;
    text-align: center;
}

button {
    background-color: #d8d1cb;
    border: none;
    padding: 1vh 2vw;
    border-radius: 12px;
    font-size: large;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
}

button:hover {
    background-color: #bfb6af;
    transform: scale(1.05);
}

.chantierAvantApres{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 5vh 2vw;
}

.slideshow-container {
    position: relative;
    margin: auto;
}

.slide {
    aspect-ratio: 3 / 4;
    width: 30vw;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}


.chantier h3 {
    text-align: center;
}

.prev, .next {
    cursor: pointer;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
}

.boutonsSlide {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 2vh 2vw;
}

.travauxRealises{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 5vh 2vw;
}

.travauxRealisesContenu{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30vw;
}

.travauxRealisesContenu img{
    width: 30vw;
    height: 30vh;
    border-radius: 12px;
}

.travauxRealisesContenu p{
    font-weight: 100;
    color: #7c7471;
}
