:root {
    --cl-1: #020813;
    --cl-2: #020f23;
    --cl-3: #f85268;
    --cl-4: #ffdfd2;
    --cl-5: #fff8f5;
    --cl-6: #EADBD5;
}

* {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}

body {

    background-color: var(--cl-5);
    /*          background-color: var(--cl-5);*/
    color: var(--cl-1);
}

a {
    color: var(--cl-4);
}

a:hover {
    color: var(--cl-3);
}

.loading {
    height: 100vh;
    overflow: hidden;

    /*    transform: rotate(40deg);*/
}

.loading-screen {
    height: 100vh;
    position: fixed;
    width: 100%;

    z-index: 10000;

    pointer-events: none;

}

.wipeContainer {
    pointer-events: none;
}

.h-wipe {
    width: 100%;
    height: 100vh;
    position: absolute;
}

.company-title {
    color: var(--cl-3);
    text-align: center;
    position: absolute;
    margin: auto;
    width: calc(100% - 40px);
    opacity: 0.8;
    font-size: 15px;
    /*    background-color: antiquewhite;*/
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}


.loading-graphic {

    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100vh;

    /*    background-color: #a75f00;*/

    color: var(--cl-1);

    transition: opacity 0.3s ease-in;

    opacity: 1;


}


.loading-graphic.loaded {
    opacity: 0;
}

.matchAnimation {
    width: 250px;
    height: 250px;
    animation: fadeIn 1s linear forwards;
    position: absolute;
    /*    background-color: var(--cl-6);*/
}


.loading-bloc {
    background-color: var(--cl-6);
    height: 100vh;
    width: 100%;
    position: absolute;
}

.loaded {
    opacity: 0;
}

.site-content {}

.paralax-wrapper {
    padding: 20px;
}

h1 {
    font-weight: 800;
    font-size: 2.5em;
    font-family: 'Permanent Marker', cursive;

}

h2 {
    font-style: italic;
    font-size: 1.2em;
    line-height: 1.8em;
}

h2 strong {
    position: relative;
}

h2 strong::before {
    content: "";
    height: 2px;
    background-color: var(--cl-3);
    width: 100%;
    margin-top: 33px;
    position: absolute;
}

a {
    text-decoration: none;
}

p {
    font-size: 0.8em;
    line-height: 2.5em;
    margin-top: 30px;
}

hr {
    margin-top: 25px;
    border-top: 1px solid var(--cl-1);
    opacity: 0.5;
}



/*----------------------------------*/
/*   LANDING PAGE            */
/*----------------------------------*/





.landing-page {
    height: 100vh;
    width: 100%;
    /*    background: url(/img/image.png);*/

    /*        position: sticky;*/
    /*            position: absolute;*/
    /*            top: 0;*/
    /*    z-index: -2;*/


    /*background-color: #fff2f2;*/

    background-color: var(--cl-1);

    overflow: hidden;
    /*    padding: 20px;*/

    pointer-events: none;

    transition: transform 0.7s cubic-bezier(0, 0, .02, 1), filter 0.4s ease-out;

    /*    margin-top:0px;*/
    /*        transition: filter 0.4s ease-in;*/

    /*    transform: translateY(80px);*/
}

.landing-page.loading {
    transform: scale(1.5);
    /*    filter: blur(20px);*/
}

.scene {
    /*
    background-color: #1d1027;
    border-radius: 10px;
*/
    pointer-events: none;
    user-select: none;
    /*    z-index: -1;*/
}

.plain {
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);

    /*
    width: 100vw;
    height: 100vh;
*/

    display: flex;
    align-items: center;
    justify-content: center;

    /*    position: absolute;*/

    /*    margin: auto;*/

    /*        background-color: rgba(93, 179, 255, 0.12);*/
}


.landingImage-center {
    width: 33%;
    max-width: 686px;
    margin-bottom: 15vh;

}

.planet-small {
    width: 7vw;
    margin-bottom: 40vw;
    margin-right: 65vw;
    /*    position: absolute;*/
    /*    top:0;*/
}

.planet-big {
    width: 25vw;
    margin-bottom: 60vw;
    margin-left: 70vw;
    /*    position: absolute;*/
    /*    top:-20vw;*/

}


@keyframes scratchy {
    0% {
        background-position: 0 0;
    }

    25% {
        background-position: 0 0;
    }

    26% {
        background-position: 20px -20px;
    }

    50% {
        background-position: 20px -20px;
    }

    51% {
        background-position: 40px -40px;
    }

    75% {
        background-position: 40px -40px;
    }

    76% {
        background-position: 60px -60px;
    }

    99% {
        background-position: 60px -60px;
    }

    100% {
        background-position: 0 0;
    }
}

.company-name {
    font-family: "Asap";
    color: rgba(250, 6, 53, 0.76);
    font-size: 11vw;
    margin-bottom: 6.5vw;
    /*    min-width: 800px;*/
    text-align: center;
    line-height: 0.95em;
}



.textured {
    background: url("../img/repeat-white.png") center center repeat;
    -webkit-animation: scratchy 0.253s linear forwards infinite;
    -moz-animation: scratchy 0.253s linear forwards infinite;
    animation: scratchy 0.453s linear forwards infinite;
    background-size: 80px 60px;
    -webkit-background-clip: text;
    /*  -webkit-text-fill-color: transparent;*/
}



.company-tagline {
    margin-top: 6.5vw;

    color: var(--cl-4);
    font-size: 3.5vw;
    font-family: 'Permanent Marker', cursive;

    /*    transition: font-size 0.2s ease-in-out;*/
}

.home-slice {
    height: 300px;
    width: 110%;
    margin-left: -10%;

    position: absolute;

    /*    z-index: -1;*/
    background-color: #3b0f23;
    background-color: var(--cl-5);

    transform-origin: top right;
    box-shadow: 0px -10px 180px #570e22;
    pointer-events: none;
    z-index: 10;
}

.nav-home-wrapper {
    position: absolute;
    top: 80vh;
    /*    background-color: rgba(109, 0, 101, 0.33);*/
    width: calc(100% - 40px);
    display: flex;
    /*    align-items: center;*/
    justify-content: center;
}


.homepage-nav {


    /*    z-index: 10000;*/
    /*    background-color: rgba(43, 83, 88, 0.76);*/
    /*    height: 80px;*/
    /*    width: 500px;*/
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 20px;

}


.btn {
    cursor: pointer;
    pointer-events: auto;
}

.btn:hover {
    /*    background-color: aqua;*/

}

.round-btn {
    width: 45px;
    height: 45px;
    background-color: var(--cl-5);
    padding: 12px;
    border-radius: 30px;
    justify-self: center;
    align-self: center;
    /*    margin: 10px;*/
    transition: all 0.2s ease-in-out;

}

.round-btn:hover {
    transform: rotate(-30deg);
}

/*
.texture-animation {
    background-color: rgba(255, 223, 210, 0.8);
}

.texture-animation::before {
    content: '';
    background: url("../img/repeat-white.png") center center repeat;
    -webkit-animation: scratchy 0.253s linear forwards infinite;
    -moz-animation: scratchy 0.253s linear forwards infinite;
    animation: scratchy 0.453s linear forwards infinite;

    position: absolute;

    width: 45px;
    height: 45px;
    margin-left: -12px;
    margin-top: -12px;
    z-index: -1;
    border-radius: 30px;
    opacity: 0.7;
}
*/

.work-btn {

    padding: 12px 30px;
    border-radius: 30px;
    border: solid 5px var(--cl-4);
    background-color: var(--cl-1);
}

.work-btn-txt {
    color: var(--cl-3);
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 800;
    font-size: 22px;
    font-family: "asap";
}

.portfolio {
    width: 100%;
    /*   height: 100%;*/
    background-color: var(--cl-5);
    /*    background-color: var(--cl-1);*/
    position: absolute;
    z-index: 10;
}




.portfolio_base-grid {
    /*border-top: 10px solid var(--cl-4);*/
    padding-top: 10px;
    /*    height: 100vh;*/
    background-color: var(--cl-5);
    /*     background-color: var(--cl-1);*/


    display: grid;
    max-width: 1200px;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto;
    grid-template-areas:
        "sidebar projects-grid";

    /*    position: absolute;*/

    pointer-events: none;
    z-index: 20;

    margin: auto;

}

.portfolio_sidebar {
    grid-area: sidebar;
    z-index: 10;
    
    opacity: 1;
    transition: transform 1s ease-in-out;
    transition: opacity 0.3s ease-out;
    

}

.sidebar-grid {
    position: sticky;
    top: 10px;
    height: 80vh;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 50px 50px 1fr;
    grid-gap: 10px;
    max-width: 60px;
    width: 60px;
    background-color: var(--cl-5);
    /*     background-color: var(--cl-1);*/
}



.portfolio_title {
    margin-top: 10px;
    align-self: start;
    /*    background-color: antiquewhite;*/
    width: 60px;
    transform: rotate(90deg);
    margin-top: 30px;
}

.portfolio_title h1 {
    width: 500px;
    font-family: "Asap";
    text-transform: uppercase;
    font-size: 1.5em;
    /*    font-weight: 400;*/
    /*    transform: rotate(90deg);        */
}

.portfolio_title strong {
    color: var(--cl-3);
    font-style: italic;

}

.portfolio_projects-grid {
    grid-area: projects-grid;
    /*    justify-self: center;*/
    /*    place-self:center;*/
    /*      justify-self: end;*/

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /*    grid-auto-rows: 30vw;*/
    grid-auto-flow: row;
    grid-gap: 15px;

    padding-right: 20px;
    /*    padding-bottom: 20px;*/

    /*    justify-self: center;*/

    /*    max-width: 1200px;*/

    /*    width: calc(100vw - 60px);*/

}

.project {
    overflow: hidden;
    position: relative;
    height: 30vw;
    max-height: 350px;
    /*    box-shadow: 0px 0px 70px rgba(75, 57, 55, 0.09);*/
    /*    border-radius: 10px;*/
    pointer-events: auto;
    cursor: pointer;
}

.size_3 {
    grid-column: span 3;
    /*    background-color: #fff;*/
    height: 40vw;
    max-height: 500px;
}

.size_2 {
    grid-column: span 2;
    background-color: rgba(0, 0, 0, 0.03);
}

.size_1 {
    grid-column: span 1;
    background-color: rgba(0, 0, 0, 0.03);
}

.project_image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: scale(1.1);

    transition: all 0.5s cubic-bezier(.57, 0, .45, .99);
}


.project:hover .project_image {
    transform: scale(1.01);
    /*    height: 18vw;*/
}

.project:hover .project_info-overlay {
    opacity: 1;
    transform: translateY(0px);
}

.project_info-overlay {
    position: absolute;
    /*    width: 100%;*/
    /*    height: 10%;*/

    padding: 10px 20px 5px 10px;
    border-top-right-radius: 10px;
    bottom: 0px;
    left: 0px;
    background-color: var(--cl-5);
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
}

.eye-icon-overlay {
    z-index: 10;
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: var(--cl-5);
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 7px 5px 10px 12px;

    border-bottom-left-radius: 10px;

    transform: translateY(-40px);
    transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;

    opacity: 0;
}

.eye-icon-overlay img {
    width: 25px;
    height: 25px;
}

.project:hover .eye-icon-overlay {
    opacity: 1;
    transform: translateY(0px);
}

.project_info-information {
    font-size: 1em;
}

.project_info-information strong {
    color: var(--cl-3);
    font-weight: 600;
}



@media screen and (max-width: 600px) {

    .portfolio_projects-grid {
        grid-template-columns: 1fr;
    }

    .project_info-overlay {
        opacity: 1;
        transform: translateY(1px);
    }

    .size_3 {
        grid-column: span 1;
    }

    .size_2 {
        grid-column: span 1;
    }

    .size_1 {
        grid-column: span 1;
    }

    .project {
        height: 60vw;
        max-height: 350px;
    }

    .portfolio_base-grid {
        grid-template-columns: 20px 1fr;
    }

    .portfolio_sidebar {
        /*        display: none;*/
        transform: translateX(-60px);
        opacity: 0;
    }
}



/*----------------------------------*/
/*    WORK PAGE            */
/*----------------------------------*/


.centre-column {

    margin: auto;
    width: 100%;

    max-width: 1000px;

    padding: 50px;

    transition: padding 1s cubic-bezier(.62, 0, .38, 1);

    z-index: 10;
}

.close-btn_wrapper {
    z-index: 20;
    margin-bottom: -55px;
    display: flex;
    justify-content: flex-end;

    position: sticky;
    top: 10px;
}

.close-btn {
    /*    width: 45px;*/
    background-color: var(--cl-5);
    color: var(--cl-2);
    font-family: 'Permanent Marker';
    font-size: 30px;
    padding: 5px 15px;
    z-index: 20;
    margin-right: -50px;
    cursor: pointer;

    /*    border-radius: 0px 15px 15px 0px;*/

    pointer-events: auto;

    transition: margin 1s cubic-bezier(.62, 0, .38, 1), color 0.2s ease-in-out;
}

.close-btn:hover {
    /*    background-color: var(--cl-3);*/
    color: var(--cl-3);
}

.close-btn img {
    padding-top: 5px;
}

.project-head_wrapper {
    . background-color: antiquewhite;
    position: absolute;

    height: 48px;
    display: flex;
    align-items: center;

    text-align: center;

}

.project-head {
    width: 100vw;
    text-align: center;
    font-size: 12px;
    color: #a1a6af;
}

.project-head strong {
    color: #021131;
}


.vimeo-player {
    /*
    position: -webkit-sticky;
    position: sticky;
    top: 0;
*/
}

.video-info-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
    grid-template-areas:
        "col-1 col-space col-2";
    width: 100%;

    margin-top: 40px;
}

.credits {}

.credits-mobile {
    display: none;
}

.column-1 {
    grid-area: col-1;
    transition: margin 0.5s ease-in-out;
}

.column-2 {
    grid-area: col-2;
    transition: margin 0.5s ease-in-out;
}

.column-space {
    grid-area: col-space;
    width: 7vw;
    max-width: 90px;

    /*    background-color: red;*/
}


table,
th,
td {
    text-align: left;
    padding-right: 20px;
    padding-bottom: 5px;
    font-weight: 600;
    font-size: 0.9em;
}

table {
    margin-top: 25px;
}

.text-fade {
    opacity: 40%;
}

.text-italic {
    font-style: italic;
}


.project-spacer {
    height: 80px;
}

@media screen and (max-width: 900px) {

    .centre-column {
        padding: 0px;
    }

    .column-1 {
        margin-left: 5vw;
    }

    .column-2 {
        margin-right: 5vw;
    }

    .close-btn {
        margin-right: 0px;
        border-radius: 15px 0px 0px 15px;
        /*        border: 2px solid #f7f7f7;*/
        /*
        border-top: 2px solid #f7f7f7;
        border-bottom: 2px solid #f7f7f7;
        border-left: 2px solid #f7f7f7;
*/
    }

}

@media screen and (max-width: 550px) {

    .video-info-grid {
        grid-template-columns: 100%;
        grid-template-areas:
            "col-1"
            "col-2";
    }

    .column-1 {
        margin: 0px 20px 30px 20px;
    }

    .column-2 {
        margin: 0px 20px 0px 20px;
    }

    .credits {
        display: none;
    }

    .credits-mobile {
        display: block;
    }

}

/*----------------------------------*/
/*    CONTACT PAGE            */
/*----------------------------------*/

.contact-page {
    width: 100%;
    height: 100vh;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cl-2);
    z-index: 11;
    opacity: 0;
    pointer-events: none;
}

.contact-page.active {

    opacity: 1;
    pointer-events: auto;
}


.cool-af-peeps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    /*    grid-auto-columns: 400px;*/
    /*    grid-auto-rows: 400px;*/
    /*    grid-auto-flow: column dense;*/

    max-width: 1200px;
    margin: auto;
}

.team-bg {
    background-color: var(--cl-2);
}

#id-ants-animate {}



.team-member {
    /*
    opacity: 1;
    transition: opacity 0.5s ease-out;
*/
    position: relative;
}



.member-name {
    color: var(--cl-4);
    text-align: center;
    font-family: 'Permanent Marker';
    font-size: ;
    padding-bottom: 40px;

    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.team-title {
    color: var(--cl-3);
    text-align: center;
    font-family: "Asap";
    font-size: 80px;

    padding-top: 50px;
}

.team-discription {
    color: var(--cl-4);
    max-width: 700px;
    margin: auto;

    padding: 20px;
}

.back-btn {
    color: var(--cl-4);
    padding: 10px 20px;
    cursor: pointer;
    /*    position: sticky;*/
    position: fixed;
    /*    width: fit-content;*/
    /*    float: right;*/
    right: 0px;
    top: 0px;

    font-family: 'Permanent Marker';
    font-size: 30px;
    margin: 30px 30px 0px 0px;
    transition: transform 0.3s cubic-bezier(0, .56, .37, .99);
    z-index: 10;
    border-radius: 20px 0px 0px 20px;
}

.back-btn:hover {
    transform: scale(1.4);
}

#id-contactBird-animate {
    pointer-events: none;
}

.info-bloc {
    display: inline-block;
    text-align: center;
    width: 30%;
}

.contact-page_content {
    color: var(--cl-4);
    text-align: center;
}

.content-page_heading {
    color: var(--cl-3);
    text-transform: uppercase;
    font-family: "asap";
    color: rgba(250, 6, 53, 0.76);
    font-size: 9vw;
    line-height: 0.9em;
}

.contact-page_subHeading {
    color: var(--cl-4);
    font-size: 3vw;
    font-family: 'Permanent Marker', cursive;
    line-height: 1em;
    z-index: 1000;

    /*
    position: absolute;
    text-align: center;
*/

}

.divider {
    width: 100%;

    /*    margin:100px  auto 50px auto;*/

    margin: 50px auto;

    height: 1px;
    background-color: var(--cl-4);

}

.contact-info-bloc {
    margin: auto;
}

.info-bloc_title {
    color: var(--cl-3);
    text-transform: uppercase;
    font-family: "asap";
    font-size: 2.2vw;
}

.info-bloc_info {
    font-size: 1.4vw;
    text-decoration: none;
    color: var(--cl-4);
}

.contactBird {
    box-sizing: content-box;
    position: absolute;
    z-index: 10;
    width: 55vw;
    padding-bottom: 18vw;
    padding-left: 28vw;
}



.contact-page-wrapper {
    position: absolute;
    width: 100%;
    height: 100vh;

}

.team-content-main {
    position: absolute;
    width: 100%;
}

.fancy-test {
    width: 200%;
}




.loading-member {
    transition: opacity 0.3s ease-out;

    background-color: rgba(2, 15, 35, 0.8);

    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cl-4);

    backdrop-filter: saturate(100%) blur(20px);
    -webkit-backdrop-filter: saturate(100%) blur(10px);
}

.footer {
    /*    grid-area: projects-grid;*/
    padding: 40px 60px;
    width: 100%;
    height: 100px;
    max-width: 1200px;
    margin: auto;
    /*    background: red;*/
}

.social-media-links {
    float: right
}

.site-credits {
    float: left;
    font-size: 13px;
    color: var(--cl-1);
    opacity: 0.5;
}

.icon-socials {
    width: 20px;
    height: 20px;
    margin: 0px 10px;

    /*    transition: transform 0.1s ease-in-out;*/
}

.icon-socials:hover {
    transform: rotate(-20deg);

}

@media screen and (max-width: 60em) {
    .cool-af-peeps {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .back-btn {
        padding: 10px 20px;
        margin: 2.5vw 2.5vw 0px 0px;
        /*        font-size: 30px;*/
    }

    .footer {
        padding: 40px 20px 40px 60px;
    }
}

@media screen and (max-width: 40em) {
    .cool-af-peeps {
        grid-template-columns: 1fr 1fr;
    }
    
     .footer {
        padding: 40px 20px;
    }
}
