/* *******************
* RESET CSS
* *******************/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
i,
em {
    font-style: italic;
}
strong {
    font-weight: bold;
}

/* *******************
* VARIABLES
* *******************/
:root {
    --serif-font: PlayfairDisplay;
    --mono-font: dank_mono;

    --main-color: #092445;
    --accent-color: #e0a54b;
    --bright-color: #adcdf4;

    --transition: all 0.3s ease-in-out;
    --max-width: 1264px;
}

/* *******************
* FONTS
* *******************/
@font-face {
    font-family: "PlayfairDisplay";
    font-display: swap;
    src:
        url("assets/fonts/playfairdisplay-bold-webfont.woff2") format("woff2"),
        url("assets/fonts/playfairdisplay-bold-webfont.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "PlayfairDisplay";
    font-display: swap;
    src:
        url("assets/fonts/playfairdisplay-bolditalic-webfont.woff2")
            format("woff2"),
        url("assets/fonts/playfairdisplay-bolditalic-webfont.woff")
            format("woff");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "PlayfairDisplay";
    font-display: swap;
    src:
        url("assets/fonts/playfairdisplay-italic-webfont.woff2") format("woff2"),
        url("assets/fonts/playfairdisplay-italic-webfont.woff") format("woff");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "PlayfairDisplay";
    font-display: swap;
    src:
        url("assets/fonts/playfairdisplay-regular-webfont.woff2")
            format("woff2"),
        url("assets/fonts/playfairdisplay-regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "dank_mono";
    font-display: swap;
    src:
        url("assets/fonts/dank_mono_italic-webfont.woff2") format("woff2"),
        url("assets/fonts/dank_mono_italic-webfont.woff") format("woff");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "dank_mono";
    font-display: swap;
    src:
        url("assets/fonts/dank_mono_regular-webfont.woff2") format("woff2"),
        url("assets/fonts/dank_mono_regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

/* *******************
* CUSTOM CSS
* *******************/
/* Navigation bar */
header {
    max-width: 100%;
    border-bottom: 1px solid rgba(56, 56, 56, 0.1);
}

nav {
    padding: 25px;
    max-width: var(--max-width);
    height: 50px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    align-items: center;
}

nav div {
    display: flex;
    justify-content: flex-end;
    font-family: var(--mono-font);
    color: var(--main-color);
    font-size: 16px;
    width: 100%;
    flex-wrap: wrap;
}

nav div img {
    margin-right: 15px;
}

nav div a {
    color: var(--main-color);
    text-decoration: none;
}

nav div a.blog {
    margin-right: 25px;
    text-decoration: underline;
}

/* Hero section */
section.hero {
    display: flex;
    height: calc(100vh - 100px);
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
    padding: 0 25px;
}

section.hero .hero-main {
    width: 100%;
    font-family: var(--serif-font);
    font-size: 44px;
    line-height: 60px;
    font-weight: 400;
    color: var(--main-color);
    display: flex;
    justify-content: center;
}

section.hero .hero-main h1 {
    color: var(--main-color);
}

section.hero .hero-main h1 i {
    color: var(--accent-color);
}

section.hero a {
    font-size: 18px;
    font-family: var(--mono-font);
    color: #0009;
    text-decoration: none;
    border-bottom: 1px dashed;
    text-align: center;
    margin: 50px 50px 0 10px;
    display: inline-block;
    line-height: 28px;
    letter-spacing: 1px;
}

/* Scrolldown animation */
.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 25px;
    width: 13px;
    height: 13px;
    border-bottom: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    -webkit-transform: translate(-50%, 0%) rotate(45deg);
    transform: translate(-50%, 0%) rotate(45deg);
    -webkit-animation: fade_move_down 2s ease-in-out infinite;
    animation: fade_move_down 2s ease-in-out infinite;
}

@-webkit-keyframes fade_move_down {
    0% {
        -webkit-transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}
@-moz-keyframes fade_move_down {
    0% {
        -moz-transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -moz-transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}
@keyframes fade_move_down {
    0% {
        transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}

/* Bio section*/
section.bio {
    padding: 100px 25px;
    font-family: var(--mono-font);
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    color: var(--bright-color);
    background-color: var(--main-color);
}

section.bio .container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
}

section.bio h2 {
    font-family: var(--serif-font);
    text-align: center;
    padding: 0 25px 75px 25px;
    font-size: 36px;
    line-height: 40px;
    font-style: italic;
    color: var(--accent-color);
}

section.bio .container .bio-left {
    width: 60%;
    padding-right: 25px;
}

section.bio .container .bio-right {
    width: 40%;
    padding-left: 25px;
}

/* Portfolio section */
section.portfolio {
    padding: 100px 25px;
    color: var(--main-color);
}

section.portfolio .row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    max-width: var(--max-width);
    margin: 0 auto;
    justify-content: center;
    border: 1px solid rg;
}

section.portfolio .row div.project {
    width: 22.1%;
    height: 220px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin: 10px;
    display: block;
    overflow: hidden;
}

section.portfolio .row div.project .cover {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    transition: var(--transition);
    opacity: 0;
}

section.portfolio .row div.project .cover:hover {
    opacity: 1;
}

section.portfolio .row div.project .cover .inner {
    padding: 10px;
}

section.portfolio .row div.project .cover h3 {
    font-size: 32px;
    margin-bottom: 10px;
    font-family: var(--serif-font);
    font-style: italic;
}

section.portfolio .row div.project .cover p {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    font-family: var(--mono-font);
}

.project-1 {
    background-image: url("assets/portfolio/diktart.webp");
}
.project-2 {
    background-image: url("assets/portfolio/anthroposnatura.webp");
}
.project-3 {
    background-image: url("assets/portfolio/pascalisa.webp");
}
.project-4 {
    background-image: url("assets/portfolio/wazawok.webp");
}
.project-5 {
    background-image: url("assets/portfolio/celia.webp");
}
.project-6 {
    background-image: url("assets/portfolio/hubertine.webp");
}
.project-7 {
    background-image: url("assets/portfolio/the-tourangelle.webp");
}
.project-8 {
    background-image: url("assets/portfolio/atelier-synergie.webp");
}
.project-9 {
    background-image: url("assets/portfolio/livretours.webp");
}
.project-10 {
    background-image: url("assets/portfolio/studio71.webp");
}
.project-11 {
    background-image: url("assets/portfolio/bouwfonds.webp");
}
.project-12 {
    background-image: url("assets/portfolio/biere-la-pie.webp");
}

/* Lightbox */
.lb {
    display: none;
    position: fixed !important;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
}

.lb img {
    max-width: 90%;
    max-height: 90%;
}

.lb:target {
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

a.lb:hover {
    cursor: default;
}
img:hover {
    cursor: pointer;
}

/* Services section */
section.services {
    padding: 100px 0 50px 0;
    font-family: var(--mono-font);
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
    color: var(--bright-color);
    background-color: var(--main-color);
}

section.services .row {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

section.services h2 {
    font-family: var(--serif-font);
    text-align: center;
    padding: 0 25px 25px 25px;
    font-size: 36px;
    line-height: 40px;
    font-style: italic;
    color: var(--accent-color);
}

section.services .service {
    flex-direction: column;
    width: 44%;
    padding: 0 20px;
}

section.services .service img {
    width: auto;
    height: 80px;
    max-width: 125px;
    margin: 0 auto;
    display: block;
    cursor: auto;
}

section.services .service h3 {
    margin: 20px 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 2px;
}

/* Clients section */
section.clients {
    padding: 100px 25px;
    font-family: var(--serif-font);
    font-size: 18px;
    font-weight: 400;
    color: var(--main-color);
}

section.clients .container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}

section.clients .container div {
    width: 12.5%;
}

section.clients img {
    max-width: 100px;
    max-height: 100px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: var(--transition);
    transition: var(--transition);
}

section.clients img:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

section.clients h2 {
    text-align: center;
    margin-bottom: 100px;
    font-size: 28px;
    font-style: italic;
    color: var(--main-color);
}

/* Contact section */
em {
    font-style: italic;
}

section.contact p {
    margin: 5px 0;
    font-size: 16px;
    font-style: italic;
}

section.contact a {
    color: var(--accent-color);
}

section.contact {
    padding: 100px 25px;
    font-family: var(--mono-font);
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: var(--bright-color);
    background-color: var(--main-color);
    text-align: center;
}

section.contact .container {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

section.contact h2 {
    font-family: var(--serif-font);
    text-align: center;
    padding: 0 25px 50px 25px;
    font-size: 36px;
    line-height: 40px;
    font-style: italic;
    color: var(--accent-color);
}

section.contact .container .contact-left {
    width: 100%%;
}

section.contact .container .contact-right {
    width: 100%%;
}

/* Footer */
footer {
    padding: 30px 25px 15px 25px;
    font-family: var(--mono-font);
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: var(--main-color);
    text-align: center;
}

footer p {
    margin-bottom: 20px;
}

footer a {
    text-decoration: none;
    color: var(--accent-color);
}

/* Responsive styles */
@media screen and (max-width: 946px) {
    section.portfolio .row div.project {
        width: 46%;
    }
    section.clients .container div {
        width: 25%;
        margin-top: 25px;
    }
    section.hero .hero-left {
        font-size: 32px;
        line-height: 42px;
    }
}

@media screen and (max-width: 768px) {
    section.hero .hero-left {
        font-size: 22px;
        line-height: 28px;
    }

    section.bio .container {
        flex-direction: column;
    }

    section.bio .bio-right > p:nth-child(1) {
        margin-top: 25px;
    }

    section.bio .container .bio-left {
        width: 100%;
        padding-right: 0;
    }

    section.bio .container .bio-right {
        width: 100%;
        padding-left: 0;
    }

    section.services .service {
        width: 100%;
        margin-top: 25px;
    }

    section.services > div:nth-child(2) > div:nth-child(1) {
        margin-top: 0 !important;
    }

    section.services > div:nth-child(3) > div:nth-child(1) {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 680px) {
    section.clients .container div {
        width: 50%;
    }
}

@media screen and (max-width: 549px) {
    section.portfolio .row div.project {
        width: 100%;
    }
}
