@font-face {
    font-family: 'stack-sans';
    src: url(webfonts/stack-sans.woff2);
}

@font-face {
    font-family: 'zodiack';
    src: url(webfonts/Zodiak-Variable.woff2);
}


body {
    font-family: 'stack-sans';
}

a,
a:visited {
    color: tomato;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'zodiack';
    font-weight: 100;
    color: black;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

h1 {
    font-size: 5rem;
}

h2 {
    font-size: 3rem;
}

.site-description {
    display: none;
}

.home .entry-title {
    display: none;
}

/* STRUCTURE */
.site-header {}

.site-main {}

.site-header,
.site-main,
.site-footer {
    padding: 1rem;
}

.site-footer {
    background-color: black;
    color: white;
    font-size: 0.8rem;
    padding-top: 2rem;
    padding-bottom: 5rem;
}



/* HEADER */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.site-branding {}

.main-navigation {
    width: auto;
}

.site-description {
    display: none;
}

/* SITE BRANDING */
h1.site-title,
p.site-title {
    margin: 0;
    line-height: 1;
    font-size: 3rem;
    font-weight: 100;
    letter-spacing: -0.05em;
}

.site-branding a {
    font-family: 'zodiack';
    color: black;
    text-decoration: none;
}

/* NAVIGATION */

.main-navigation ul li a {
    display: block;
    padding: 0.25em 1em;
    color: black;
    font-weight: 200;
    font-size: 1.5rem;
}

.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current-menu-ancestor>a,
.main-navigation ul li a:hover {
    background-color: black;
    color: white;
    text-decoration: none;
}

.main-navigation ul li {
    margin-left: 1px;
}

.main-navigation ul ul {
    display: block;
    background-color: white;
}

.main-navigation ul ul a {
    width: 100%;
}

/* BURGER MENU TOUJOURS VISIBLE */

.menu-toggle {
    display: block !important;
    z-index: 2000;
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: url(images/burger-off.svg) no-repeat center;
    background-size: contain;
    width: 50px;
    height: 50px;
    text-indent: -9999px;
    border: 0;
}

.toggled .menu-toggle {
    background-image: url(images/burger-on.svg);
}

.main-navigation ul {
    display: none !important;
}

.main-navigation.toggled ul {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
}

.main-navigation ul ul {
    position: static !important;
    box-shadow: none;
    background-color: transparent;
    padding: 1rem !important;
    font-size: 0.8em;
}

.main-navigation.toggled #primary-menu {
    background-color: white;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

/* 
.menu-toggle {
    position: absolute;
    display: block !important;
    z-index: 2000;
    top: 2rem;
    right: 2rem;
    background-color: white;
    color: black;
    border-color: black;
}

.toggled .menu-toggle {
    background-color: black;
    border-color: black;
    color: white;
}

.main-navigation ul {
    display: none !important;
}

.main-navigation.toggled ul {
    display: block !important;
} */

/* .main-navigation.toggled .menu-menu-principal-container {
    background-color: tomato;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
} */


/* ARCHIVE */

/* .archive article {
    border-bottom: 1px solid black;
} */

.archive-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.archive-grid article {
    width: 30%;
    position: relative;
}

.archive-grid article .entry-header {
    position: absolute;
    left: 1rem;
    bottom: 0;
    opacity: 0;
    transition: 0.3s all ease-in-out;
}

.archive-grid article .entry-header h3 {
    color: white;
}

.archive-grid article a:hover .entry-header {
    opacity: 1;
}

/* SINGLE PROJECTS */

body.single.category-motion-design {
    background-color: #ccc;
}