/* PALETTE */
:root {
    --blue: #3D61CC;
    /*Godard Blue*/
    --white: #F2F2F2;
    /*Truffaut White*/
    --orange: #F24724;
    /*Varda Orange*/
    --yellow: #F2B90C;
    /*Resnais Yellow*/
}

/* TYPOGRAPHY */

h1,
h2,
h3,
h4,
a {
    font-family: 'JeanLucWeb-Bold';
}

h1 {
    font-style: normal;
    font-weight: bold;
    font-size: 14rem;
    line-height: 90%;
    letter-spacing: 0.05em;
    color: var(--white);
    margin: 0;

}

h2 {
    font-style: normal;
    font-weight: bold;
    font-size: 7.5rem;
    line-height: 80%;
    text-align: center;
    letter-spacing: 0.05em;
    color: var(--white);
    padding-top: 10px;
    margin: 0;

}

h3 {
    font-style: normal;
    font-weight: bold;
    font-size: 2.25rem;
    line-height: 80%;
    text-align: center;
    letter-spacing: 0.05em;
    color: var(--white);
    margin: 0;

}

h4 {
    font-style: normal;
    font-weight: bold;
    font-size: 3rem;
    line-height: 400%;
    text-align: center;
    letter-spacing: 0.7em;
    color: var(--white);
    margin: 0;
}

a {
    font-style: normal;
    font-weight: bold;
    font-size: 7.5rem;
    line-height: 100%;
    text-align: center;
    letter-spacing: 0.05em;
    color: var(--white);
    margin: 0;
    text-decoration: none;
    outline: none;
    border: 0;

}

p {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 300;
    font-size: 5rem;
    line-height: 120%;
    text-align: center;
    letter-spacing: 0.05em;
    color: var(--white);
    margin: 8%;
    padding-left: 6%;
    padding-right: 6%;

}

/* MEDIA QUERIES */

@media only screen and (max-width: 1500px) {
    .production {
        display: none;
    }
}

/* GLOBAL STYLES */


html {
    overflow-x: hidden;
    background: #000000;
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 0.5vw;
}

body {
    overflow-x: hidden;
    margin: 0;
    width: 100%;
    background-color: black;
}

video {
    width: 100vw;
    margin: 0 0 1%;
}

a:active {
    text-decoration: none;
    outline: none;
    border: 0;
}

a:hover {
    text-decoration: none;
    outline: none;
    border: 0;
    color: var(--blue);

}

.menu > h1 {
    line-height: 100%;
    font-size: 20rem;

}

.menu > h2 {
    line-height: 100%;
    font-size: 8rem;

}

.menu > h1 > span {
    color: var(--blue);
    white-space: nowrap;

}

/* HEADER */

#header {
    position: relative;
    height: 100%;
}

.menu {
    width: 75%;
    height: 25%;
    overflow: visible;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    justify-content: center;
    text-align: center;
    z-index: 1;

}

/* NAVBAR */

.navbar {
    position: fixed;
    white-space: nowrap;
    z-index: 2;
    background-color: black;
    top: 0;
    width: 200%;
    left: -100px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

li {
    display: inline;
}

/* WORKS */

#works {
    display: grid;
    grid-gap: 1% 1%;
    grid-template-columns: 1fr 1fr;
}

.thumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}

.thumbs > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);
}

 .thumbs:hover > img {
    filter: url(#overlay);
    transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -webkit-transition: 0.5s ease-in-out;

    
}


.caption {
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* text-shadow: 0px 0px 30px #000000; */

}

.production {
    position: absolute;
    bottom: 0px;
    /* text-shadow: 0px 0px 30px #000000; */

}

/* MODAL */

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modal:target {
    opacity: 1;
    pointer-events: auto;
}

.modal > div {
    width: 90%;
    position: relative;
    padding-top: 50.625%;
    margin: 5% auto;
    background: #000;
}

.modal > div > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 90vh;
    border: 0;
}

.close {
    color: #FFFFFF;
    line-height: 60px;
    position: relative;
    top: -55vw;
    right: -101%;
    width: 30px;
    text-align: center;
    text-decoration: none;
}

/* ABOUT */

#about {
    padding-top: 30%;
}

#about h1 {
    text-align: center;
    color: var(--blue);
}

#about .garden img {
    width: 10vw;
    height: auto;
}

#about .garden {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1%;
    display: grid;
    grid-gap: 8px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

/* CONTACT */

#contact {
    display: table;
    margin: 0 auto;
    padding-top: 1%;
    padding-bottom: 1%;
}

#contact > a {
    width: 50%;
    margin: 0 auto;
    white-space: nowrap;

}

#contact > a > span {
    float: right;
}

/* FOOTER */

#footer img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 5vw;
    height: auto;
}
