/* FONTS */
@import url("iconic/css/iconmonstr-iconic-font.min.css");
@import url("fonts.css");

/* ----------------------------------------------------- NAVIGATION SCROLL SNAP EFFECT */
/* activation de “scroll snap” */
html, body {
  height: 100%;
  margin: 0;
}
section {
  /* important */
  scroll-snap-align: start;

  /* fix height width */
  height: 100vh;
  width: 100%;

  /* layout */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;

  /* scroll inside sections */
  max-height: 100vh;
  max-width: 100%;
  overflow-y: scroll;
}
html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth; 
    overflow-y: scroll;
    font-size: 10px;
}
/* Body responsive */
@media only screen and (max-width: 400px) {
    html {
        font-size: 9.375px;
    }
}
/* ---------------------------------------------------------------------- */
/* GLOBAL SETTINGS */
:root{
    --black : #0b0b0b;
    --white : white;
    --tonic-one : blue;
    --tonic-two : red;
    --tonic-tree : yellow;
    --navwidth: 50px;
}
html, body {
    height: 100%;
}
body {
    background: var(--white);
    font-family: "librebaskerville-regular", "Libre Baskerville", serif;
    font-size: 1.6rem;
    line-height: 1.875;
    color: var(--black);
    margin: 0;
    padding: 0;
}

/* LINKS */
a {
    color: var(--tonic-one);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    padding: .2em .5em;
}
a:hover, a:focus, a:active {
    color: var(--tonic-two);
}
a:focus {
    outline: none;
}

/* TYPOGRAHPY */
/* titles */
h1, h2, h3, h4, h5, h6, .h01, .h02, .h03, .h04, .h05, .h06 {
    font-family: "montserrat-medium", "Montserrat", sans-serif;
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
h1, .h01 {
    font-family: "montserrat-bold", "Montserrat", sans-serif;
    font-size: 3.6rem;
    line-height: 1.25;
    letter-spacing: -.1rem;
}
h2, .h02 {
    font-size: 3rem;
    line-height: 1.3;
}

h3, .h03 {
    font-size: 2.4rem;
    line-height: 1.25;
}

h4, .h04 {
    font-size: 2.1rem;
    line-height: 1.286;
}

h5, .h05 {
    font-size: 1.6rem;
    line-height: 1.3125;
}
h1, .h01, h2, .h02, h3, .h03, h4, .h04 {
    margin-top: 6rem;
    margin-bottom: 1.8rem;
}
/* paragraphs */
p img {
    margin: 0;
}
p.lead {
    font-family: "montserrat-regular", "Montserrat", sans-serif;
    font-size: 2rem;
    line-height: 1.8;
    margin-bottom: 3.6rem;
    color: var(--black);
}
/* italic, strong, bold */
em, i, strong, b {
    font-size: inherit;
    line-height: inherit;
    font-style: normal;
    font-weight: normal;
}
em, i {
    font-family: "librebaskerville-italic", "Libre Baskerville", serif;
}
strong, b {
    font-family: "librebaskerville-bold", "Libre Baskerville", serif;
}
small {
    font-size: 1.2rem;
    line-height: inherit;
}
hr {
    border: solid var(--tonic-one);
    border-width: 2px 0 0;
    clear: both;
    margin: 0 auto;
    height: 0;
    width: 50%;
}
/* blockquotes */
blockquote {
    margin: 3.9rem 0;
    padding-left: 4.5rem;
    position: relative;
}
blockquote:before {
    content: "\201C";
    font-size: 10rem;
    line-height: 0px;
    margin: 0;
    color: var(--black);
    font-family: arial, sans-serif;
    position: absolute;
    top: 3.6rem;
    left: 0;
}
blockquote p {
    font-family: "montserrat-regular", "Montserrat", sans-serif;
    padding: 0;
    font-size: 2.1rem;
    line-height: 1.857;
    color: var(--black);
}
blockquote cite {
    display: block;
    font-family: "montserrat-regular", "Montserrat", sans-serif;
    font-size: 1.4rem;
    font-style: normal;
    line-height: 1.5;
}
blockquote cite:before {
    content: "\2014 \0020";
}
blockquote cite a, blockquote cite a:visited {
    color: #6c6c6c;
    border: none;
}
/* Typo Responsive */
@media only screen and (max-width: 600px) {
    h1, .h01 {
        font-size: 3.3rem;
        letter-spacing: -.07rem;
    }
}
@media only screen and (max-width: 600px) {
    h1, .h01, h2, .h02, h3, .h03, h4, .h04 {
        margin-top: 5.1rem;
    }
}
@media only screen and (max-width: 800px) {
    p.lead {
        font-size: 1.8rem;
    }
}

/* ---------------------------------------------------------------------- */
/* HEADER NAVIGATION BAR */
/* ---------------------------------------------------------------------- */
.s-header {
    width: 100%;
    height: 72px;
    background-color: var(--white);
    border-bottom: 2px solid var(--tonic-one);
    position: sticky;
    top: 0;
    z-index: 500;
}
.s-header.offset {
    -webkit-transform: translate3d(0, -100%, 0);
    -ms-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}
.s-header.scrolling {
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.s-header.sticky {
    position: fixed;
    top: 0;
    background-color: var(--white) !important;
    opacity: 0;
    visibility: hidden;
    z-index: 600;
}
.s-header.sticky .header-nav-wrap {
    top: 0;
}
.s-header.sticky.scrolling {
    opacity: 1;
    visibility: visible;
}
/* header logo*/
.header-logo {
    display: inline-block;
    margin: .5rem 5rem;
    padding: 0;
    z-index: 501;
}
.header-logo a {
    display: block;
    outline: 0;
    border: none;
    max-width: 90px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.header-logo img {
    max-height: 100%;
}
/* mobile menu toggle */
.header-menu-toggle {
    display: none;
    position: absolute;
    right: 29px;
    top: 18px;
    height: 42px;
    width: 42px;
    line-height: 42px;
    font-family: "montserrat-regular", "Montserrat", sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: .2rem;
    color: var(--black);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.header-menu-toggle:hover, .header-menu-toggle:focus {
    color: var(--tonic-two);
}
.header-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin-top: -1px;
    position: absolute;
    left: 9px;
    top: 50%;
    right: auto;
    bottom: auto;
    background-color: var(--tonic-one);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    font: 0/0 a;
    text-shadow: none;
    color: transparent;
}
.header-menu-toggle span::before,
.header-menu-toggle span::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: inherit;
    position: absolute;
    left: 0;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.header-menu-toggle span::before {
    top: -9px;
}
.header-menu-toggle span::after {
    bottom: -9px;
}
.s-header.sticky .header-menu-toggle {
    top: 12px;
}
/* span button + backgroound COLOR */
.header-menu-toggle.is-clicked span {
    background-color: transparent;
}
.header-menu-toggle.is-clicked span {
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}
.header-menu-toggle.is-clicked span::before,
.header-menu-toggle.is-clicked span::after {
    background-color: var(--tonic-one);
}

.header-menu-toggle.is-clicked span::before {
    top: 0;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}

.header-menu-toggle.is-clicked span::after {
    bottom: 0;
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
}


/* -------------------------------------------------------------------
 * ## navigation - (_site-layout.scss)
 * ------------------------------------------------------------------- */

.header-nav-wrap {
    font-family: "montserrat-bold", "Montserrat", sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .25rem;
    position: absolute;
    top: 9px;
    right: 50px;
}

.header-nav {
    display: inline-block;
    list-style: none;
    margin: 0;
    height: 72px;
}

.header-nav li {
    display: inline-block;
    padding-left: 0;
    margin-right: 2rem;
}

.header-nav li a {
    display: block;
    line-height: 72px;
    color: var(--black);
}

.header-nav li.current a {
    font-family: "montserrat-extrabold", "Montserrat", sans-serif;
    color: var(--black);
}


/* -------------------------------------------------------------------
 * responsive:
 * header
 * ------------------------------------------------------------------- */

@media only screen and (max-width: 800px) {
    .header-logo {
        left: 40px;
    }
    .header-nav-wrap {
        display: none;
        height: auto;
        width: 100%;
        right: auto;
        top: 0;
        left: 0;
        padding: 120px 40px 21px;
    }
    .header-nav-wrap .header-nav {
        display: block;
        height: auto;
        margin: 0 0 4.2rem 0;
        border-top: 1px solid var(--tonic-one);
    }
    .header-nav-wrap .header-nav li {
        display: block;
        margin: 0;
        padding: 0;
        border-bottom: 1px dotted var(--tonic-one);
    }
    .header-nav-wrap .header-nav li a {
        padding: 18px 0;
        line-height: 18px;
    }
    .header-menu-toggle {
        display: block;
    }
}


/* -------------------------------------------------------------------
 * make sure the menu is visible on larger screens
 * ------------------------------------------------------------------- */

@media only screen and (min-width: 801px) {
    .header-nav-wrap {
        display: block !important;
    }
}





















/* ---------------------------------------------------------------------- */
/* WORKS */
/* ---------------------------------------------------------------------- */
/* Responsive video */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* floated image */
img.pull-right {
    margin: 1.5rem 0 0 3rem;
}
img.pull-left {
    margin: 1.5rem 3rem 0 0;
}
.masonry-wrap {
    margin-top: 4.8rem;
    max-width: 100vw;
}

.masonry:after {
    content: "";
    display: table;
    clear: both;
}

.masonry .grid-sizer, .masonry__brick {
    width: 400px;
}

.masonry__brick {
    float: left;
    padding: 0;
}

.item-folio {
    position: relative;
    overflow: hidden;
}

.item-folio__thumb img {
    vertical-align: top;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.item-folio__thumb .shadow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .8;
    background: -moz-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    /* filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#cc000000', GradientType=0); */
}

.item-folio__thumb a {
    display: block;
}

.item-folio__thumb a::before {
    display: block;
    background-color: rgba(0, 0, 0, 0.8);
    content: "";
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.item-folio__thumb a::after {
    content: "...";
    font-family: georgia, serif;
    font-size: 3rem;
    display: block;
    height: 30px;
    width: 30px;
    line-height: 30px;
    margin-left: -15px;
    margin-top: -15px;
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    color: var(--black);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform: scale(0.5);
    z-index: 1;
}

.item-folio__text {
    position: absolute;
    left: 0;
    bottom: 3rem;
    padding: 0 3rem;
    z-index: 2;
}

.item-folio__title {
    color: var(--black);
    font-family: "montserrat-semibold", "Montserrat", sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: .2rem;
    margin: 0;
}

.item-folio__cat {
    color: rgba(255, 255, 255, 0.5);
    font-family: "montserrat-regular", "Montserrat", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.item-folio__caption {
    display: none;
}

.item-folio__project-link {
    display: block;
    color: var(--black);
    box-shadow: 0 0 0 1px var(--black);
    border-radius: 50%;
    height: 4.2rem;
    width: 4.2rem;
    text-align: center;
    z-index: 500;
    position: absolute;
    top: 3rem;
    left: 3rem;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    -ms-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
}

.item-folio__project-link i {
    font-size: 1.8rem;
    line-height: 4.2rem;
}

.item-folio__project-link::before {
    display: block;
    content: "";
    height: 1px;
    width: 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 50%;
    left: -3rem;
}

.item-folio__project-link:hover, .item-folio__project-link:focus, .item-folio__project-link:active {
    background-color: var(--black);
    color: #000000;
}


/* on hover */

.item-folio:hover .item-folio__thumb a::before {
    opacity: 1;
    visibility: visible;
}

.item-folio:hover .item-folio__thumb a::after {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.item-folio:hover .item-folio__thumb img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.item-folio:hover .item-folio__project-link {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}


/* -------------------------------------------------------------------
 * responsive:
 * works
 * ------------------------------------------------------------------- */

@media only screen and (max-width: 1700px) {
    .masonry-wrap {
        width: 1400px;
    }
    .masonry .grid-sizer, .masonry__brick {
        width: 350px;
    }
}

@media only screen and (max-width: 1500px) {
    .masonry-wrap {
        width: 1200px;
    }
    .masonry .grid-sizer, .masonry__brick {
        width: 400px;
    }
}

@media only screen and (max-width: 1300px) {
    .masonry-wrap {
        width: 999px;
    }
    .masonry .grid-sizer, .masonry__brick {
        width: 333px;
    }
}

@media only screen and (max-width: 1099px) {
    .masonry-wrap {
        width: 90%;
        max-width: 800px;
    }
    .masonry .grid-sizer, .masonry__brick {
        width: 50%;
    }
}

@media only screen and (max-width: 600px) {
    .masonry .grid-sizer, .masonry__brick {
        width: 100%;
    }
}

@media only screen and (max-width: 400px) {
    .masonry-wrap {
        width: auto;
    }
}


/* ---------------------------------------------------------------------- */
/* EXPERIENCE */
/* ---------------------------------------------------------------------- */
#experience {
    display: flex;
    gap: 2rem;
    margin: 0 auto;
    border: 2px solid var(--tonic-one);
}
.section-resume, .section-intro{
    width: 100%;
    max-width: 50%;
}
.section-intro{
    background-color: var(--tonic-tree);
}
.section-intro p{
    max-width: 50ch;
}
/* Scroll Experiences Resume */
.section-resume{
    overflow-y: scroll;
    position: relative;
}
.resume-header{
    color: var(--tonic-one);
    background-color: var(--white);
    border-bottom: 2px solid var(--tonic-one);
    z-index: 100;
    position: sticky !important;
    top: 0;
}
.resume-timeline {
	max-width: 50ch;
}
.s-resume .timeline-wrap {
	position: relative;
}
.s-resume .timeline-wrap::before {
	content: "";
	display: block;
	width: 2px;
	height: 100%;
	background: var(--tonic-two);
	position: absolute;
	left: -4.8rem;
	top: 0;
}
.s-resume .timeline-block {
	position: relative;
}
.s-resume .timeline-ico {
	height: 4.8rem;
	width: 4.8rem;
	line-height: 4.8rem;
	background: var(--tonic-two);
	border-radius: 50%;
	text-align: center;
	color: var(--white);
	position: absolute;
	margin-left: -7rem;
}
.s-resume .timeline-ico i {
	position: relative;
	left: 0rem;
	top: 0rem;
}
/* Experinces Responsive */
@media only screen and (max-width: 800px) {
    #experience {
        display: block;
        /* overflow-y: scroll; */
    }
    .section-resume, .section-intro{
        right: 0;
        max-width: 100%;
    }
}
/* --------------------- */

/* FOOTER */
footer {
    font-family: "montserrat-regular", "Montserrat", sans-serif;
    font-size: 14px;
    padding: 0rem 4rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    width: 100vw;
}
footer a:hover, footer a:focus{
    color: var(--white);
    background-color: var(--tonic-one);
}
.footer-social li {
    display: inline-block;
    margin: 0 auto;
    line-height: 3.9rem;
    vertical-align: middle;
}
.footer-social li:nth-child(1)::after, .footer-social li:nth-child(2)::after {
    content: "|";
    color: var(--tonic-one);
}

/* GO TO TOP BUTTON */
.go-top {
    position: fixed;
    bottom: 1em;
    right: 1em;
    z-index: 600;
    display: none;
}
.go-top a {
    display: block;
    height: 60px;
    width: 60px;
    line-height: 50px;
    text-align: center;
    background: var(--white);
    color: var(--tonic-one);
    border: 4px solid var(--tonic-one);
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.go-top a:hover, .go-top a:focus {
    background: var(--tonic-one);
    color: var(--white);
}

/* ERROR */
.s-error {
    position: relative;
    width: 100%;
    height: 30vh;

}
.s-error h1 {
    font-size: 5em;
    position: absolute;
    top: 0%;
    left: 40%;
    transform: translate(-50%, 0%);
    padding: .5em .5em;
    width: fit-content;
    color: var(--white);
    animation: error-rotate infinite 4s;
}
@keyframes error-rotate {
  0%   {background-color:var(--tonic-two); left:40%; top:0%;}
  25%  {background-color:var(--tonic-tree); left:60%; top:0%;}
  50%  {background-color:var(--tonic-one); left:40%; top:0%;}
  75%  {background-color:var(--black); left:60%; top:0%;}
  100% {background-color:var(--tonic-two); left:40%; top:0%;}
}

/* HIDDEN CONTENT */
#blog, .s-cta, .s-basic, #stats {
    display: none;
}