@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;700&display=swap');

* {
    font-family: 'Cabin', sans-serif;
    box-sizing: border-box;
    margin:0;
    padding:0;

}

.barre {
    text-decoration: line-through;
}
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.header {
    text-align: center;
}
.header a {
    text-align: center;
    color: black;
    text-decoration: none;
    font-weight: 700;
}
a {
    font-family: 'Cabin', sans-serif;
  color: black;
  text-decoration: none;
  font-weight: 400;
}

.flex-container {
    display: flex;
    flex-direction: row;
    font-size: 15px;
    text-align: center;
    height:100%;
}

.flex-item-left {
    padding: 10px;
    flex: 43%;
}

#currentImg {
     max-width: 100%;
}


.flex-item-center {
    padding: 10px;
    flex: 14%;
}

.flex-item-right {
    padding: 10px;
    flex: 43%;
}

.description {
    height: 50%;
    text-align: right;
    padding: 10px;
}

.description .titre {
    font-weight: 700;
}
p {
    font-weight: 400;
    font-size: 13px;
}
.gallery {

    padding-top: 10px;
    padding-bottom: 10px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create 2 equal columns that sits next to each other */
.column2 {
    flex: 50%;
    max-width: 50%;
    padding: 0 4px;
}

/* Create 3 equal columns that sits next to each other */
.column {
    flex: 33%;
    max-width: 33%;
    padding: 0 4px;
}
/* Create 4 equal columns that sits next to each other */
.column5 {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

/* Create 5 equal columns that sits next to each other */
.column5 {
    flex: 20%;
    max-width: 20%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
}

.footer {
    text-align: center;
    position: fixed;
    margin: auto;
    bottom: 0;
    width: 14%;
    left: 50%;
    margin-left: -7%;
}

/* Responsive layout - makes a one column-layout instead of two-column layout */
@media only screen and (max-width: 768px) {
    .flex-container {
        flex-direction: column;
    }
    .flex-item-left{
        order:3;
     }
    .flex-item-center{
        order:1;
     }
     .flex-item-right{
        order: 2;
     }

     .description {
        height: 50%;
        text-align: left;
    }

    .projets {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        order: 1;
    }
    .projet {
       margin-right:10px;
    }
    .footer {
    position: relative;
    width: auto;
    }
}
