
*, ::before, ::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #ffcd45;
    text-shadow: none;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*   com + maj + l   */
/*reset tools*/
h1,h2,h3,h4,h5,h6,figure,p,ul,li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/*helper classes*/
/*
.black {
    color: #000;
}
*/

/*generals*/
body {
    background-color: #fff;
    color: #695c4f;
    height: 100vh;
    overflow-x: hidden;
    font-family: "", sans-serif;
}
h1 {
    text-align: center;
    font-size: 30px;
    margin-top: 30%;
    font-weight: bold;
}

h2 {
    font-size: 20px;
    font-weight: 300;
    line-height: 25px;
    text-align: center;
}
footer {
    margin-top: 150px;
}
video {
    pointer-events: none;
}
img {
    pointer-events: none;
}
a {
    text-decoration: none;
    cursor: pointer;
    color: #695c4f;
}
a:visited {
    color: #695c4f;!important
}
p {
    font-size: 150px;
}

nav {
  --mask: conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/8px 100%;
    mask: var(--mask);
    position: fixed;
    width: 100vw;
    max-height: 80px;
    margin: auto;
    margin-left: -10px;
    top: 0;
    z-index: 2;
    text-align: center;
    background-color: #fff;
    border-bottom: solid 2px #ffcd45;
}
nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0px;
}
nav li {
    width: 150px;
}
nav ul a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    transition: 0.25s;
    text-decoration: none;
    font-weight: 700;
}

nav li img {
    max-height: 60px;
    padding: 0;
    margin: 0 15px;
}
.project-nav {
    width: 100vw;
    position: fixed;
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 50px 0px;
    z-index: 2;
}
.previous-project, .next-project {
    position: relative;
    display: inline-block;
    font-size: 30pt;
    padding: 22px 30px;
    transition: 0.25s;
    text-decoration: none;
}

/*grid*/
.home-header {
    min-height: 00px;
}

main {
}

footer {
    height: 100px;
}
/*gallery*/
.container-gallery {
    max-width: 1300px;
    margin: auto;
    width: 90%;
    height: auto;
    display: grid;
    grid-template-columns: 650px 650px;
    justify-content: center;
    align-content: center;
    grid-gap: 20px;
}
.gallery-item {
    margin: 2px;
    width: 650px;
    height: 400px;
    justify-self: center;
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    object-fit: cover;
    z-index: -1;
    height: 85%;
    width: 100%;
    margin-bottom: 8px;
}

.gallery-item p {
    object-fit: contain;
    z-index: 0;
    text-align: left;
    font-weight: 400;
    text-transform: uppercase;
}

.textlink {
    padding: 0px 5px;
    background-color: #ffcd45;
    color: #695c4f;
    margin: 0;
    font-weight: bold;
}

/*project*/
.container-project {
    margin: auto;
    width: 90%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    text-align: center;
}

.container-project iframe {
    margin-bottom: 20px;
}
.container-project p {
    margin: 30px 40px;
}
.project-header {
    height: 20vh;
}

.project-media img, .project-media video {
    margin: 20px auto;
    max-width: 80vw;
}
.project-media-insta-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.project-media iframe {
    width: 80vw;
    height: 40vw;
}

.project-nav {
    font-size: 30px;
    margin-top: 0px;
    justify-content: space-between;
}

/*about*/
.container-about {
    margin: auto;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    justify-content: center;
    align-content: center;
    grid-gap: 10px;
}
.container-about video {
    max-width: 200px;
}
.container-about div {
    margin: 0 auto;
}
.container-about p {
    align-self: center;
}
/*contact*/
.contact-list {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.contact-list a {
    transition: 0.2s ease;
}
.contact-list img {
    max-width: 45px;
    margin: 18px;
}
.contact-list:before {
    display: inline-block;
    position: absolute;
    content: "";
    border-top: 2px solid #ffcd45;
    border-radius: 20px;
    width: 30vw;
    margin-top: -10px;
      --mask: conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/3px 100%;
    mask: var(--mask);
}

/*pages img bg*/
.inktober-page .project-media, .hyukoh-page .project-media, .distant-page .project-media, .illustrations-page .project-media, .brasserie-page .project-media {
    min-height: 385px;
    margin: 35px 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
/*desktop*/
@media screen and (min-width: 1320px) {
    h1 {
        margin-top: 15%;
    }
    h2 {
        font-size: 20px;
        margin: 0;
    }
    p {
        font-size: 15px;
    }
    footer {
        margin-top: 100px;
    }
    .contact-list a:hover {
        margin-top: -5px;
    }
    .contact-list img {
        max-width: 35px;
        margin: 15px;
    }
    a:hover {
        color: #ffcd45;
    }

    nav li img:hover {
        transform: rotate(360deg);
        transition: all 0.5s;
    }
    .container-gallery {
        grid-template-columns: 650px 650px;
    }
    .gallery-item:hover {
        transition: all 0.2s ease-in-out;
        margin: 0px;
        box-shadow: 0px 25px 21px -8px rgba(0,0,0,0.01);
    }
    .gallery-item:hover p {
        transition: all 0.2s ease-in-out;
        color: #ffcd45;
        font-size: 14px;
    }
    .gallery-item:hover img {
        transition: all 0.5s ease-in-out;
        opacity: 80%;
    }
    .textlink:hover {
        transition: all 0.3s;
        color: #fff;
    }
    
    .container-project p {
        margin: 20px 100px;
    }
    .project-media img {
        width: 60vw;
    }
    .contact-list:before {
        border-top: 1px solid #ffcd45;
        width: 10vw;
    }
    
    .inktober-page .project-media, .hyukoh-page .project-media, .distant-page .project-media, .illustrations-page .project-media, .brasserie-page .project-media {
        min-height: 700px;
    }

}
/*desktop HD*/
@media screen and (max-width: 1320px) {
    .container-gallery {
        grid-template-columns: 520px 520px;
    }
}
/*desktop HD*/
@media screen and (max-width: 1130px) {
    .container-gallery {
        grid-template-columns: 650px;
    }
}
/*ipad mini*/
@media screen and (min-width: 620px) {
    p {
        font-size: 15px;
    }
    .container-project {
        width: 80%;
    }
    .container-about {
        width: 80%;
        grid-template-columns: repeat(auto-fit, 400px);
    }
    .container-about video {
        max-width: 250px;
    }

    .gallery-item {
        width: 90%;
        height: 400px;
    }
    .inktober-page .project-media, .hyukoh-page .project-media, .distant-page .project-media, .illustrations-page .project-media, .brasserie-page .project-media {
        min-height: 600px;
        margin: 60px 0%;
    }
    .inktober-page .project-media h3{
        margin-top: -50px;
    }
}
/*mobile*/
@media screen and (max-width: 630px) {
    h2 {
        font-size: 30px;
        margin-top: 5px;
    }
    p {
        font-size: 20px;
    }
    .container-gallery {
        grid-gap: 40px;
        grid-template-columns: 400px;
    }
    .gallery-item {
        width: 85%;
        height: 400px;
    }
    .project-nav {
        position: relative;
    }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */
/*ME*/
.active {
    font-weight: bold;
    color: #edae03;
}
.visible {
    visibility: visible;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
