.intro {
    background-color: white;
    border-radius: 10px;
    border-style: ridge;
    border-color:#492929;
    justify-content: center;
    margin-bottom: 1em;
}

#welcome {
    max-width: 50%;
}

.intro p {
    padding-left: 1em;
    padding-right: 1em;
}

a:visited {
    color:#492929;
}

.miniportfolio {
    background-color: white;
    border-radius: 10px;
    border-style: ridge;
    border-color:#492929;
    justify-content: center;
    margin-bottom: 1em;
    padding-top: 1em;
}

.minicontainer {
    columns: 2;
}

.minicontainer img {
    max-width: 90%;
    border-radius: 6px;
}


.liens {
    background-color: white;
    border-radius: 10px;
    border-style: ridge;
    border-color:#492929;
    justify-content: center;
}

/* Cartes liens */

.image {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 20px;
        scale: 80%;
        bottom: 0;
        top: 10;
        transition: 0.2s all ease-out;
      }

.overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        height: auto;
      }

.button {
      transition: 0.2s all ease-out;
        position: absolute;
        top: 0;
        left: 0;
        max-width: 100%;
        height: auto;
        transform: scale(0.8, 0.8);
      }

.card {
    position: relative;
    width: 70%;
    margin: auto;
}

.card:hover .button {
        transition: 0.2s all ease-out;
        padding:0%;
        opacity: 1;
        transform: scale(0.7, 0.7);
      }

.card:hover .image {
    box-shadow: 0px 30px 18px -8px rgba(0, 0, 0,0.1);
    transform: scale(1.10, 1.10);
    border-radius: 50px;
    transition: 0.2s all ease-out;
    }

/* About */
.titre {
    background-color: white;
    border-radius: 10px;
    border-style: ridge;
    border-color:#492929;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5em;
    width: 100%;
}

.titre p {
    padding: 0em 1em 0em 1em;
}

.about {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}
#aboutIntro, #aboutMedium {
    background-color: white;
    border-radius: 10px;
    border-style: ridge;
    border-color:#492929;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5em;
    padding: 1em;
}

.inspo-container {
    width: 100%;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-evenly;
}

.inspo {
    width: 150px;
    background-color: white;
    border-radius: 10px;
    border-style: ridge;
    border-color:#492929;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
}

.avis-container {
    width: 100%;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-evenly;
}

.avis {
    width: 20%;
    background-color: white;
    border-radius: 10px;
    border-style: ridge;
    border-color:#492929;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5em;
    padding: 1em;
}

.about img {
    max-width: 90%;
}

.aboutMedium {
    margin-top: 0;
}

/* Responsive design */

@media screen and (max-width: 500px) {
    .card {
        position:relative;
        width: 45%;
        margin: auto;
    }
}

@media screen and (min-width: 700px) {
    #welcome {
        max-width: 30%;
    }
    
    .card {
        position: relative;
        max-width: 40%;
        display: inline-block;
        margin: 0%;
    }

    .about img {
        max-width: 25%;
    }

    #aboutIntro {
        width: 70%;
    }

    .minicontainer {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .minicontainer img {
        max-width: 17%;
        margin: 0.5em;
    }

}

@media screen and (min-width: 1200px) {
    #welcome {
        max-width: 20%;
    }
    .card {
        position: relative;
        max-width: 30%;
        display: inline-block;
    }
}