/* FONTS */

@font-face {
    font-family: 'Raleway';
    src: url('fonts/Raleway-Regular.woff2') format('woff2'),
        url('fonts/Raleway-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* GENERIC */

body {
    color: #4c261a;
    font: normal normal 18px/140% Raleway, Arial, Helvetica, sans-serif;
    margin: 0;
}

a {
    color: currentColor;
    text-decoration: none;
}

div {
    box-sizing: border-box;
}

p {
    box-sizing: border-box;
    margin-top: 0;
}

h3 {
    margin-bottom: 0;
}

img {
    display: block;
    max-width: 100%;
}

strong {
    color: #d3712d;
}

/* HEADER */

#header {
    margin: 50px 0;
}

#header h1 {
    font-size: 48px;
    font-weight: bold;
    line-height: 100%;
    text-transform: uppercase;
}

#header .row {
    display: flex;
    margin: auto;
    max-width: 1140px;
    width: 100%;
}

#header .row .col:first-child {
    padding: 0 50px 50px;
    width: 33%;
}

#header .row .col:nth-child(2) {
    padding-right: 50px;
    width: 67%;
}

#header .hosts {
    display: flex;
    font-size: 16px;
    line-height: 20px;
    justify-content: space-evenly;
    text-align: center;
    width: 100%;
}

#header .hosts img {
    margin-bottom: 20px;
    max-width: 100%;
}

/* GALLERY */

#gallery {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

#gallery .image-wrap {
    aspect-ratio: 1920/999;
    border: solid 20px white;
    border-radius: 50px;
    overflow: hidden;
    width: 20%;
}

#gallery .thumbnail {
    cursor: zoom-in;
    display: block;
    filter: saturate(.5);
    margin: auto;
    max-width: 100%;
    min-height: 100%;
    transition: all .2s;
}

#gallery .image-wrap:hover .thumbnail {
    filter: saturate(1);
    transform: scale(1.1);
}

#lightbox {
    background-color: rgba(0, 0, 0, .9);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 12;
}

#lightbox .preview {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: zoom-out;
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: -1;
}

#lightbox h3 {
    background-image: linear-gradient(to top, rgba(0, 0, 0, .75), transparent);
    bottom: 0;
    color: white;
    font-size: 16px;
    left: 0;
    margin: 0;
    padding: 40px 20px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 100;
}

/* FOOTER */

#footer {
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 30px;
    text-align: center;
}

#footer img {
    border-radius: 50px;
    margin: 50px auto 30px;
    max-width: calc(100% - 100px);
}

#footer p:last-child {
    color: #d3712d;
    font-size: 10px;
    line-height: 12px;
    text-transform: uppercase;
}

/* MENTIONS LÉGALES */

#legal-btn {
    cursor: zoom-in;
}

#mentions-legales {
    background-color: white;
    cursor: zoom-out;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 12;
}

#mentions-legales article {
    font-size: 12px;
    height: 90vh;
    line-height: 140%;
    overflow-y: scroll;
    padding: 50px;
    width: 90vw;
}

/* MEDIA QUERIES */

/* Desktop 1366x768 */
@media screen and (max-width: 1919px) {

}

/* Desktop 1600x900 */
@media screen and (min-width: 1367) and (max-width: 1600px) {

}

/* Desktop 1280x1024 */
@media screen and (min-width: 800px) and (max-width: 1280px) {

    /* GALLERY */
    
    #gallery .image-wrap {
        width: 25%;
    }

}

/* Tablet Landscape 1024x768 */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {

}

/* Tablet Portrait 768x1024 */
@media screen and (max-width: 990px) {

    /* HEADER */
    
    #header .row {
        align-items: center;
        flex-direction: column;
    }
    
    #header .row .col:first-child {
        width: 50%;
    }
    
    #header .row .col:nth-child(2) {
        padding-right: 0;
    }

    /* GALLERY */
    
    #gallery .image-wrap {
        width: 33%;
    }

}

/* Smartphone 414x896 */
@media screen and (max-width: 767px) {

    /* HEADER */
    
    #header .row .col:first-child {
        width: 75%;
    }
    
    #header .row .col:nth-child(2) {
        width: 90%;
    }

    #header .hosts {
        align-items: center;
        flex-direction: column;
    }
    
    #header .hosts img {
        margin-top: 20px;
        max-width: 150px;
    }

    /* GALLERY */
    
    #gallery .image-wrap {
        width: 100%;
    }

    #lightbox h3 {
        font-size: 14px;
        padding: 40px 0;
    }

    /* FOOTER */

    #mentions-legales article {
        padding: 50px 20px;
    }

}

/* Smartphone 360x780 */
@media screen and (max-width: 360px) {

    #header h1 {
        font-size: 36px;
        line-height: 100%;
    }

}