@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap');

/* FONTS 
Poppins: Semibold 600
Poppins: Bold 700
Quicksand: Regular 400  
Quicksand: Semibold 600 

 COLORS
Dark blue: #00203F
Light blue: #9CC3D5
Yellow: #FDD20E
*/

@media(min-width: 80rem) {
    body {
        flex-direction: row
    }
}

img {
    border-radius: 3px;
    /* width: 100%; */
}

.scrollbar{
    scrollbar-width: none
}

.scrollmenu {
    background-color: #fff;
    border-top: 1px solid #004a89;
    border-bottom: 1px solid #004a89;
    overflow: auto;
    white-space: nowrap;
  }
  
  .scrollmenu a {
    display: inline-block;
    color: #004a89;
    text-align: center;
    padding: 5px 7px;
    text-decoration: none;
  }
  
  .scrollmenu a:hover {
    background-color: #004a89;
    color: white;
  }

#myBtnContainer {
    margin: auto 0;
}

.btn_filter {
    border: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 300;
    color: #004a89;
    background-color: white;
    /* padding: 12px 16px; */
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.btn_filter:hover {
    background-color: #004a89;
    color: white;
}

/* SECTIONS */

/* Work Galerie Projets */

.img__galerie {
    width: 100%;
}

.img__galerie__open {
    opacity: 0.5;
    border: 1px solid #004a89;
}

.column {
    display: none;
}

.show {
    display: block;
}

.home--galery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 4px;
    grid-row-gap: 2px;
}

@media (min-width: 48rem) {
    .home--galery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 80rem) {
    .home--galery {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Galerie effet hover */

.img__wrap {
    position: relative;
    height: auto;
    width: auto;
}

.img__description {
    position: absolute;
    text-align: center;
    font-size: 0.8em;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 20% 20px;
    background: #004a89;
    border-radius: 3px;
    color: white;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility .2s;
}

.img__description__open {
    position: absolute;
    text-align: center;
    font-size: 1.0em;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 20% 20px;
    font-weight: bold;
    color: #004a89;
    visibility: visible;
}


.img__wrap:hover .img__description {
    visibility: visible;
    opacity: 1;
}
