@font-face {
    font-family: "Zalando";
    src: url(webfonts/zalando.woff2);
}

@font-face {
    font-family: "ClashDisplay";
    src: url(webfonts/ClashDisplay-Variable.woff2);
}

@font-face {
    font-family: "IBM Mono Regular";
    src: url(webfonts/ibm-400.woff2);
}

@font-face {
    font-family: "IBM Mono Light";
    src: url(webfonts/ibm-200.woff2);
}

@font-face {
    font-family: "IBM Mono Semi Bold";
    src: url(webfonts/ibm-600.woff2);
}

@font-face {
    font-family: "IBM Mono Bold";
    src: url(webfonts/ibm-700.woff2);
}



/* @font-face {
    font-family: "Roboto Mono";
    src: url(webfonts/roboto-mono.woff2);
} */

/* Customisation */
body {
    font-family: "IBM Mono Regular";
    background-color: black;
    color: white;
}

a,
a:visited {
    color: darkorange;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: white;
}

/* TYPOGRAPHY */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Zalando";
    text-transform: uppercase;
}

h1 {
    font-size: clamp(1.8rem, -4.7rem + 20.8vw, 7rem);
    font-weight: 100;
}




/* STRUCTURE */
.site-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid white;
}

.site-main {

    padding: 1rem;
}

.site-footer {
    border-top: 1px solid white;
    padding: 1rem;
    /* font-size: 0.6rem; */
}

/* HEADER */
.site-branding {}

h1.site-title,
p.site-title {
    font-size: 5rem;
    text-transform: uppercase;
    margin: 0;
}

/* 
.site-title a {
    display: block;
    width: 100px;
    height: 100px;
    background: url("images/logo-vzafactory.svg") no-repeat center center;
    background-size: contain;
    text-indent: -5000px;
} */

.site-title a {
    display: block;
    width: 100px;
    height: 100px;
    background: url(images/logo-vzafactory-new.svg) no-repeat center center;
    background-size: contain;
    font-size: 1rem;
    text-indent: -5000px;
}

/* 
p.site-title a {
    color: white;
}

p.site-title a:hover {
    color: darkorange;
} */

.site-description {
    display: none;
}

/* NAVIGATION */
.main-navigation {
    width: auto;
}

.main-navigation ul {

    justify-content: center;
}

.main-navigation li {
    margin-left: 4em;
}

.main-navigation li a {
    color: white;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: "zalando";
}

.main-navigation li a:hover {
    color: darkorange;

}

.menu-toggle {
    background: url(images/icon-burger-off.svg) no-repeat center center transparent;
    background-size: contain;
    width: 80px;
    height: 80px;
    text-indent: -5000px;
    border: 0;
    position: absolute;
    top: 25px;
    right: 10px;
    z-index: 1000;
}

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

.main-navigation.toggled ul {
    background-color: chartreuse;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-navigation.toggled ul li {
    margin: 1rem 0;
    padding: 0;
}

.main-navigation.toggled ul li a {
    font-size: 2rem;
    color: black;
}

/* HOMEPAGE */
.home .entry-header {
    display: none;
}

.page .entry-header {
    display: none;
}

/* ARCHIVES */

.archive .page-header {
    display: none;
}

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

.works-grid article {
    width: 30%;
    margin-bottom: 2rem;
    position: relative;
}

.works-grid article h4 {
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    color: white;
    margin: 0;
    /* opacity: 0; */
    transition: all 0.3s ease-in-out;
}

.works-grid article img {
    transition: all 0.3s ease-in-out;
}

.works-grid article a:hover h4 {
    opacity: 1;
    transform: scale(1.01) translate(-50%, -50%);
}

.works-grid article a:hover img {
    opacity: 0.5;
}

/* SINGLE */
.nav-subtitle {
    text-transform: uppercase;
    font-size: 0.6em;
    font-weight: bold;
    display: block;
}

.nav-title {
    font-size: 0.8em;
    display: block;
}

body .site-main .post-navigation {
    margin-top: 5rem;
}

.post-navigation img {
    max-width: 10rem;
    /*100px;*/
    display: block;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease-in-out;
}

.post-navigation a:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.post-navigation .nav-next img {
    margin-left: auto;
}

.post-navigation-image-box {
    display: inline-block;
    position: relative;
    margin: 0.2rem;
}

.post-navigation-image-box .nav-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 10;
}

.post-navigation a:hover .post-navigation-image-box .nav-title {
    opacity: 1;
}

/* FORM */
input {
    max-width: 100%;
}


/* MOVING IMGAGES */

.moving-pix-01 img {
    animation: sway1 4s ease-in-out infinite;
    transform-origin: center center;
}

.moving-pix-02 img {
    animation: sway2 4s ease-in-out infinite;
    transform-origin: bottom center;
}

.moving-pix-03 img {
    animation: sway3 4s ease-in-out infinite;
    transform-origin: bottom right;
}

.works-grid article {}

.works-grid article:nth-of-type(1n) {
    animation: sway1 4s ease-in-out infinite;
    transform-origin: center center;
}

.works-grid article:nth-of-type(2n) {
    animation: sway2 4s ease-in-out infinite;
    transform-origin: center center;
}

.works-grid article:nth-of-type(3n) {
    animation: sway3 4s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes sway1 {
    0% {
        transform: translate(0, 0) rotate(0);
    }

    15% {
        transform: translate(1px, -2px) rotate(2deg);
    }

    33% {
        transform: translate(-2px, -5px) rotate(-3deg);
    }

    52% {
        transform: translate(3px, -3px) rotate(4deg);
    }

    71% {
        transform: translate(-1px, -4px) rotate(-2deg);
    }

    88% {
        transform: translate(2px, -2px) rotate(1deg);
    }

    100% {
        transform: translate(0, 0) rotate(0);
    }
}

@keyframes sway2 {
    0% {
        transform: translate(0px, 0px);
    }

    10% {
        transform: translate(20px, -10px);
    }

    20% {
        transform: translate(35px, -25px);
    }

    30% {
        transform: translate(50vw, -20vh);
    }

    40% {
        transform: translate(-30px, -70px);
    }

    50% {
        transform: translate(-50px, -40px);
    }

    60% {
        transform: translate(-20px, -80px);
    }

    70% {
        transform: translate(30px, -60px);
    }

    80% {
        transform: translate(55px, -30px);
    }

    90% {
        transform: translate(25px, -15px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

@keyframes sway3 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    20% {
        transform: translate(8px, -6px) rotate(8deg);
    }

    40% {
        transform: translate(-12px, -12px) rotate(-12deg);
    }

    60% {
        transform: translate(10px, -8px) rotate(10deg);
    }

    80% {
        transform: translate(-6px, -10px) rotate(-6deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}


/* RESPONSIVE */
@media (max-width: 990px) {
    /* TABLET */

    /* h1 {
        font-size: 3rem;
    } */

    .works-grid article {
        width: 50%;
    }

}


@media (max-width: 600px) {
    /* MOBILE */

    /* h1 {
        font-size: 2rem;
    } */

    .works-grid article {
        width: 100%;
    }

}