/* START */
body {
    margin: 0;
    padding: 0;
}

#main {
    padding-top: 50px;
}

/* --- FONTS START --- */

p,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lato', sans-serif;
}

.overlay ul li a,
#splash h2,
.img-link h2 {
    font-weight: 600;
}

#splash h1,
#work_info h2,
.grid-item h3 {
    font-weight: 500;
}

footer h4,
#work_info p,
#main_intro,
#the_studio p,
.grid-item p,
.goBackArrow {
    font-weight: 300;
}

/* --- FONTS END --- */
/* --- SLIDER START --- */
.animate-right {
    animation: animateright 1s ease-in-out forwards;
}

.animate-out {
    animation: animateout 1s ease-in-out forwards;
}

@keyframes animateright {
    from {
        transform: translateX(100vw);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes animateout {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100vw);
    }
}

#splash {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.slide {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.slide:first-child {
    background-image: url("img/home/slide1.jpg");
}

.slide:nth-child(2) {
    background-image: url("img/home/slide2.jpg");
}

.slide:nth-child(3) {
    background-image: url("img/home/slide3.jpg");
}

.slide:nth-child(4) {
    background-image: url("img/home/slide4.jpg");
    display: block;
}

/* --- SLIDER END --- */
/* --- BURGERMENU START --- */
.button_container {
    position: fixed;
    top: 47px;
    right: 40px;
    height: 23px;
    width: 35px;
    cursor: pointer;
    -webkit-transition: opacity .25s ease;
    transition: opacity .25s ease;
    z-index: 100;
    pointer-events: auto;
}

.button_container:hover {
    opacity: .7;
}

.button_container.active .top {
    -webkit-transform: translateY(8px) translateX(0) rotate(45deg);
    transform: translateY(8px) translateX(0) rotate(45deg);
    background: #000;
}

.button_container.active .middle {
    opacity: 0;
    background: #000;
}

.button_container.active .bottom {
    -webkit-transform: translateY(-12px) translateX(0) rotate(-45deg);
    transform: translateY(-12px) translateX(0) rotate(-45deg);
    background: #000;
}

.button_container span {
    background: #000000;
    border: none;
    height: 2px;
    width: 80%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
    cursor: pointer;
}

.button_container span:nth-of-type(2) {
    top: 10px;
}

.button_container span:nth-of-type(3) {
    top: 20px;
}

.overlay {
    position: fixed;
    background: rgb(227, 225, 225);
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .35s, visibility .35s, height .35s;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    z-index: 90;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
}

.overlay.open li {
    -webkit-animation: fadeInRight .5s ease forwards;
    animation: fadeInRight .5s ease forwards;
    -webkit-animation-delay: .35s;
    animation-delay: .35s;
}

.overlay.open li:nth-of-type(2) {
    -webkit-animation-delay: .4s;
    animation-delay: .4s;
}

.overlay.open li:nth-of-type(3) {
    -webkit-animation-delay: .45s;
    animation-delay: .45s;
}

.overlay.open li:nth-of-type(4) {
    -webkit-animation-delay: .50s;
    animation-delay: .50s;
}

.overlay.open li:nth-of-type(5) {
    -webkit-animation-delay: .55s;
    animation-delay: .55s;
}

.overlay.open li:nth-of-type(6) {
    -webkit-animation-delay: .60s;
    animation-delay: .60s;
}

.overlay nav {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 4em;
    text-align: center;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
    margin-bottom: 20px;
}

.overlay ul li {
    display: block;
    height: 25%;
    height: calc(100% / 4);
    min-height: 50px;
    position: relative;
    opacity: 0;
}

.overlay ul li a {
    display: block;
    position: relative;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    text-transform: uppercase;
    line-height: 90px;
}

.overlay ul li a:hover,
#menu-current {
    color: #000;
}

@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}

/* --- BURGERMENU END --- */
/* --- SPLASH IMAGE START --- */

.splash_img {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#splash h1 {
    position: absolute;
    z-index: 5;
    width: 100%;
    text-align: center;
    color: white;
    text-transform: uppercase;
    margin: 0px;
    top: 40px;
}

a {
    text-decoration: none;
    color: inherit;
}

#splash h2 {
    position: absolute;
    z-index: 5;
    width: 70%;
    left: 15%;
    text-align: center;
    color: white;
    text-transform: uppercase;
    top: 35%;
    letter-spacing: 7.14px;
    font-size: 60px;
    line-height: 64.8px;
}


#scroller {
    position: absolute;
    width: 100%;
    height: 200px;
    bottom: 0;
    cursor: pointer;
}

#scroller i {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: absolute;
    height: 30px;
    width: 30px;
    bottom: 80px;
    left: calc(50% - 20px);
}

#splash h1,
#scroller i {
    transition: color .5s, border-color .5s;
}

#scroll_top {
    display: none;
    position: fixed;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1;
    top: 100px;
    right: 40px;
}

#scroll_top i {
    border: solid black;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(223deg);
    -webkit-transform: rotate(223deg);
    position: absolute;
    height: 18px;
    width: 18px;
}

#scroller_top i {
    transition: color .5s, border-color .5s;
}

/* --- SPLASH IMAGE END --- */
/* --- IMAGE STYLING START --- */
.img-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img-link:hover {
    background-color: #ffffff6e;
}

.img-link h2 {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    color: white;
    text-transform: uppercase;
    font-size: 40px;
    letter-spacing: 8px;
    line-height: 58.8px;
    margin: 0;
}

/* --- IMAGE STYLING END --- */
/* --- FOOTER START --- */
footer {
    width: 70%;
    margin: 0 auto;
    padding: 10px;
    height: 150px;
}

footer h4 {
    font-size: 15px;
    line-height: 10px;
    letter-spacing: 2px;
}

/* --- FOOTER START --- */
/* --- WORKS TEMPLATE STYLING START --- */

#work_info {
    width: 70%;
    margin: 0 auto;
    margin-bottom: 50px;
}

#work_info p {
    margin: 5px 0;
}

.goBackArrow {
    padding-top: 20px;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

/* --- WORKS TEMPLATE STYLING END --- */

/* --- ABOUT PAGE START --- */

#main_intro {
    width: 70%;
    margin: 0 auto;
    font-size: 24px;
    line-height: 22.4px;
    max-width: 70vw;
    padding: 50px 0;
}

#main_intro p {
    width: 60%;
    line-height: 35px;
}

.main-part {
    width: 70%;
    margin: 0 auto;
    padding-top: 90px;
}

.img-link-container {
    width: 100%;
    height: 600px;
    position: relative;
}

#the_studio .img-link-container {
    margin-bottom: 90px;
}

#the_studio .img-link {
    background-image: url("img/about/6.jpg");

}

#friends .img-link {
    background-image: url("img/about/7.jpg");

}

#friends h2 {
    top: 40%;
    line-height: 50px;
}

#friend_grid {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    grid-gap: 10px;
    margin: 0 auto;
    padding: 50px 0;
}

.friend_cell {
    padding-top: 70%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 60% auto;
}

.friend_cell:nth-of-type(4),
.friend_cell:nth-of-type(5),
.friend_cell:nth-of-type(6),
.friend_cell:nth-of-type(10) {
    background-size: 40% auto;
}

#the_studio p {
    line-height: 30px;
    font-size: 19px;
}

/* --- ABOUT PAGE END --- */
/* --- CSS GRID START --- */
.grid {
    width: calc(70% - 15px);
    padding-right: 15px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40% 10% 10% 40%;
    grid-gap: 90px 5px;
}

.grid .grid-item {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.grid-item h3 {
    font-size: 25px;
}

.grid-item p {
    line-height: 21.5px;
    max-width: 70vw;
    font-size: 14px;
    margin: 0;
    letter-spacing: 0.28px;
}

.grid-item a {
    color: #CCC;
    font-size: 14px;
    text-decoration: none;
}

.grid-item a:hover {
    color: #ABABAB;
}

.grid-item:nth-of-type(10) {
    position: relative;
}

.grid .grid-item:nth-of-type(1) {
    grid-area: a;
}

.grid .grid-item:nth-of-type(2) {
    grid-area: b;
}

.grid .grid-item:nth-of-type(3) {
    grid-area: c;
}

.grid .grid-item:nth-of-type(4) {
    grid-area: d;
}

.grid .grid-item:nth-of-type(5) {
    grid-area: e;
}

.grid .grid-item:nth-of-type(6) {
    grid-area: f;
}

.grid .grid-item:nth-of-type(7) {
    grid-area: g;
}

.grid .grid-item:nth-of-type(8) {
    grid-area: h;
}

.grid .grid-item:nth-of-type(9) {
    grid-area: i;
}

.grid .grid-item:nth-of-type(10) {
    grid-area: j;
}

.grid .grid-item:nth-of-type(11) {
    grid-area: k;
}

.grid .grid-item:nth-of-type(12) {
    grid-area: l;
}

.grid .grid-item:nth-of-type(13) {
    grid-area: m;
}

.grid .grid-item:nth-of-type(14) {
    grid-area: n;
}

.grid .grid-item:nth-of-type(15) {
    grid-area: o;
}

.grid .grid-item:nth-of-type(16) {
    grid-area: p;
}

.grid .grid-item:nth-of-type(17) {
    grid-area: q;
}

.grid .grid-item:nth-of-type(18) {
    grid-area: r;
}

.grid .grid-item:nth-of-type(19) {
    grid-area: s;
}

.grid .grid-item:nth-of-type(20) {
    grid-area: t;
}

/* --- CSS GRID END --- */
/* --- MEDIA QUERIES START --- */

/* - TABLET LANDSCAPE - */
@media only screen and (max-width: 1024px) and (orientation: landscape) {

    /* SPLASH */
    #splash h2 {
        width: 80%;
        left: 10%;
        top: 32%;
    }

    /* FOOTER */
    footer {
        width: 90%;
    }

    /* ABOUT */
    #work_info {
        width: 90%;
    }

    #main_intro {
        margin-left: 5%;
    }

    #main_intro p {
        width: unset;
    }

    .main-part {
        width: calc(90% + 15px);
    }

    /* GRID */
    .grid {
        grid-template-columns: 45% 5% 5% 45%;
        width: 90%;
    }

    .grid-item h3 {
        font-size: 25px;
    }
}

/* - TABLET PORTRAIT - */
@media only screen and (max-width: 1024px) and (orientation: portrait) {

    /* SPLASH */
    #splash h2 {
        top: 38%;
        font-size: 4vw;
        letter-spacing: 7.14px;
        line-height: 46.8px;
    }

    /* FOOTER */
    footer {
        width: 90%;
    }

    /* ABOUT */
    #work_info {
        width: 90%;
    }

    #main_intro {
        margin-left: 5%;
    }

    #main_intro p {
        width: unset;
    }

    .main-part {
        width: calc(90% + 15px);
    }

    /* GRID */
    .grid {
        grid-template-columns: 45% 5% 5% 45%;
        width: 90%;
    }

    .grid-item h3 {
        font-size: 25px;
    }
}

/* - MOBILE LANDSCAPE - */
@media only screen and (max-width: 736px) and (orientation: landscape) {

    /* START */
    #main {
        padding-top: 0px;
    }

    /* BURGER */
    .overlay ul li {
        font-size: 25px;
        height: 0px;
    }

    .overlay ul li a {
        line-height: 60px;
    }

    /* SPLASH */
    #splash h1 {
        top: 25px;
        font-size: 20px;
    }

    #splash h2 {
        width: 100%;
        left: 0;
        margin-left: 0;
        letter-spacing: 4.14px;
        top: 35%;
        font-size: 35px;
        line-height: 39.8px;
    }


    #scroller i {
        height: 20px;
        width: 20px;
    }

    /* FOOTER */
    footer {
        width: 90%;
    }

    /* ABOUT */

    #main_intro {
        font-size: 14px;
        padding: 20px 0;
        margin: 0 auto;
    }

    #main_intro p {
        width: 80%;
        line-height: 25px;
    }

    .main-part {
        width: auto;
    }

    .img-link-container {
        height: 300px;
    }

    #the_studio p {
        width: 90%;
        margin: 0 auto;
        margin-top: 30px;
        font-size: 15px;
        line-height: 25px;
    }

    /* GRID */
    .grid {
        width: 100%;
        padding-right: 0;
        display: block;
    }

    .grid .grid-item {
        margin-bottom: 30px;
    }

    .grid-item h2 {
        top: 30%;
    }

    .grid-item p {
        margin: 0 auto;
        max-width: 80vw;
    }

    .grid-item h3 {
        margin: 0 auto;
        max-width: 80vw;
        margin-bottom: 10px;
    }
}

/* - MOBILE PORTRAIT - */
@media only screen and (max-width: 736px) and (orientation: portrait) {

    /* START */
    #main {
        padding-top: 15px;
    }

    /* BURGER */
    .overlay ul li {
        font-size: 30px;
    }

    .overlay ul li a {
        line-height: 60px;
    }

    /* SPLASH */

    #splash h1 {
        font-size: 20px;
    }

    #splash h2 {
        width: 100%;
        left: 0;
        margin-left: 0;
        letter-spacing: 4.14px;
        line-height: 34.8px;
        top: 35%;
        font-size: 26px;
    }

    #scroller i {
        height: 20px;
        width: 20px;
    }

    /* IMAGE STYLING */
    .img-link h2 {
        font-size: 30px;
    }

    /* FOOTER */
    footer {
        width: 90%;
    }

    /* ABOUT */
    #main_intro {
        font-size: 14px;
        padding: 20px 0;
        margin: 0 auto;
    }

    #main_intro p {
        width: 100%;
        line-height: 25px;
    }

    .main-part {
        width: auto;
    }

    .img-link-container {
        height: 300px;
    }

    #the_studio p {
        width: 90%;
        margin: 0 auto;
        margin-top: 30px;
        font-size: 15px;
        line-height: 25px;
    }

    /* GRID */
    .grid {
        padding-right: 0;
        display: block;
        width: 100%;
    }

    .grid .grid-item {
        margin-bottom: 30px;
    }

    .grid-item h2 {
        top: 35%;
        font-size: 26px;
    }

    .grid-item p {
        margin: 0 auto;
        max-width: 80vw;
    }

    .grid-item h3 {
        margin: 0 auto;
        max-width: 80vw;
        margin-bottom: 10px;
    }
}

/* --- MEDIA QUERIES END --- */