* {
    box-sizing: border-box;
}

html {
    font-size: 18px;
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: #fafafa;
    padding: 0;
    margin: 0;
    cursor: url("imgs/cursor.png"), auto;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

::selection {
    background: rgb(197, 196, 255);
    /* WebKit/Blink Browsers */
}

body {
    margin: 0px 8vw;
    /* height: 100%; */
}

h1 {
    font-family: 'aktiv-grotesk-extended', 'Lexend Giga', sans-serif;
    font-size: 3.5rem;
    line-height: 110%;
    /* letter-spacing: -.1em; */
    margin-top: 40px;
    font-weight: 400;
    grid-column: 1/13;
}

h2 {
    font-size: .8rem;
    margin: 0;
}

h3 {
    width: 100%;
    font-size: 2.2rem;
    font-family: 'aktiv-grotesk-extended','Lexend Giga', sans-serif;
    /* letter-spacing: -.1em; */
    font-weight: 300;
    margin-bottom: 30px;
    grid-column: 1/12;
}



.line {
    width: 200px;
    height: 1px;
    background-color: black;
}

.workline {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
}

.workline p {
    margin: 0 15px 0 0;
    width: auto;
}

.projectnum {
    font-family: "IBM Plex Sans", sans-serif;
    grid-column: 12/13;
    font-size: 1rem;
    letter-spacing: 0;
    text-align: right;
    margin: 0 0 30px 0;
    /* float: right; */
    align-self: end;
}


.purple {
    color: #7657F2;
}

.blue {
    color: #040A9B;
}

.green {
    color: #418604;
}

.pink {
    color: #FB4061;
}

p {
    width: 100%;
    margin-bottom: 35px;
    line-height: 200%;
}

a {
    text-decoration: none;
    color: black;
    transition: all .3s ease-in-out;
}

a:hover {
    color: gray;
    cursor: url("imgs/eyecursor.png") 15 15, auto;
}

/* wavy underline code from https://codepen.io/tostrye/pen/WqKgjz */
.text a {
    padding-bottom: 5px;
    background: url("imgs/wave.svg");
    background-repeat: repeat;
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto auto;
    background-repeat: repeat-x;
    background-size: 15px 10px;
    background-position: 2px 19px;
    animation: move 15s linear infinite;
    -webkit-animation: move 15s linear infinite;
    animation-play-state: paused;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

.text a:hover {
    animation-play-state: running;
}


@-webkit-keyframes move {
    from {
        background-position: 2px 19px;
    }

    to {
        background-position: 500px 19px;
    }
}

@keyframe move {
    from {
        background-position: 2px 19px;
    }

    to {
        background-position: 500px 19px;
    }
}

#wrapper1 {
     display: grid;
    width: auto;
    max-width: 1800px;
    grid-template-columns: repeat(12, 1fr);
    /* grid-template-rows: 100px 300px; */
    margin: 0 auto;
}

#wrapper2 {
    display: grid;
    width: auto;
    max-width: 1800px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: none;
    column-gap: 40px;
    margin: 0 auto;
}

footer {
    grid-column: 1/13;
    margin-bottom: 100px;
    margin-top: 20px;
}

footer p {
    margin-bottom: 100px;
}

.leftfooter {
    float: left;
    width: 33.33333%;
    font-size: 16px;
}

.centerfooter {
    text-align: center;
    float: left;
    width: 33.33333%;
    font-size: 16px;
}

.rightfooter {
    float: right;
    width: 33.33333%;
    text-align: right;
    font-size: 16px;
}

.intro {
    grid-column-start: 1;
    grid-column-end: 12;
}

.nav {
    position: fixed;
    z-index: 1;
    width: 100%;
    max-width: 1800px;
    left: 50%;
    transform: translate(-50%, 0);
}


.rightnav {

}

.navbox1 {
    width: 100px;
    height: 100px;
    background-color: black;
    margin: 0;
    float: left;
}

.navbox2 {
    width: 100px;
    height: 100px;
    background-color: #fafafa;
    margin: 0;
    float: right;
}

.whitetype {
    color: white;
}

.navtype {
    text-align: center;
    padding: auto;
    line-height: 700%;
}

.space {
    height: 120px;
}

.projects {
    grid-column: 1/13;

}

.coverimg {
    margin-bottom: 100px;
    height: 30vw;
    grid-column: 1/13;
    background-size: 100%;
    width: 100%;
    box-shadow: 0px 50px 40px -60px rgba(0, 0, 0, .50);
    transition: all 300ms cubic-bezier(0.725, 0.015, 0.415, 0.990);
}

.coverimg00 {
    background-image: url("imgs/oasis-cover.jpg");
    background-position: center center;
}

.coverimg0 {
    background-image: url("imgs/zembles.svg");
    background-position: center center;
}

.coverimg1 {
    background-image: url("imgs/diversity2.jpg");
    background-position: center center;
}

.coverimg2 {
    background-image: url("imgs/exout.png");
    background-position: center center;
}

.coverimg3 {
    background-image: url("imgs/illustrations.png");
    background-position: center center;
}

.coverimg4 {
    background-image: url("imgs/grubcover.jpg");
    background-position: center center;
}


.coverimg:hover {
    /* transform: scale(.98); */
    background-size: 103%;
    opacity: .9;
    z-index: 0;
    cursor: url('imgs/eyecursor.png'), auto;
}

.fullwidthimg {
    grid-column: 1/13;
    background-size: 100%;
    width: 100%;
}

video {
    grid-column: 1/13;
    width: 100%;
}

.leftimg {
    grid-column: 1/6;
    width: 100%;
    align-self: end;
}

.rightimg {
    grid-column: 6/13;
    width: 100%;
}

.fixheight {
    height: 27vw;
    object-fit: cover;
}

.halfimg1 {
    grid-column: 1/7;
    width: 100%;
    height: 30vw;
    object-fit: cover;
}

.halfimg2 {
    grid-column: 7/13;
    width: 100%;

    height: 30vw;
    object-fit: cover;
}

.gridimg {
    width: 100%;
    height: 30vw;
    object-fit: cover;
}

.breelimg1 {
    grid-column: 1/7;
}
.breelimg2 {
    grid-column: 7/13;
}
.breelimg3 {
    grid-column: 1/6;
}
.breelimg4 {
    grid-column: 6/13;
}
.breelimg5 {
    grid-column: 1/8;
}
.breelimg6 {
    grid-column: 8/13;
}

img {
    margin-bottom: 40px;
}

.appscreens {
    padding-left: 10%;
}

.zemblescover {
    height: 25vw;
    margin-top: 150px;
    background-image: url("imgs/zembles.svg");
    background-position: center center;
}

.inclusioncover {
    height: 25vw;
    margin-top: 150px;
    background-image: url("imgs/diversity2.jpg");
    background-position: center center;
}

.exoutcover {
    height: 25vw;
    margin-top: 150px;
    background-image: url("imgs/exout.png");
    background-position: center center;
}

.illustrationscover {
    height: 25vw;
    margin-top: 150px;
    background-image: url("imgs/illustrations.png");
    background-position: center center;
}

.text {
    margin-top: 25px;
    grid-column: 6/13;
}

.title {
    grid-column: 1/5;
}

.projectinfo {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
}

.projectinfo span {
    color: #797979;
}

.hairline {
    grid-column: 1/13;
    height: 1px;
    background-color: black;
}

#bodymovin {
    position: relative;
    align-self: center;
    width: 100%;
    /* grid-column: 1/13; */
    height: 35vw;
}

.bmcontainer {
    grid-column: 1/13;
    background-color: #fd7565;
    display: flex;
    align-items: center;
    height: 50vw;
}

@media (max-width: 2140px) {
    .nav {
        width: 84%;
        left: auto;
        transform: none;
    }
}

@media (max-width: 1000px) {
    h1 {
        font-size: 2.5rem;
    }

    .space {
        height: 100px;
    }

    #wrapper2 {
        column-gap: 30px;
    }

    .workline {
        margin-bottom: 50px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.9rem;
        margin-top: 10px;
    }

    .space {
        height: 50px;
    }

    .aboutspace {
        height: 100px;
    }

    h3 {
        font-size: 1rem;
        margin: 5px auto 10px auto;
    }

    .projectnum {
        margin: auto;
        font-size: .6rem;
    }

    .coverimg {
        margin-bottom: 50px;
    }

    .leftfooter, .centerfooter, .rightfooter {
        width: 100%;
        text-align: left;
    }

    .nav, .navbox1, .navbox2, .rightnav {
        /* background-color: ; */
        top: 20px;
    }

    .navbox1, .navbox2 {
        height: 44px;
    }

    .navtype {
        line-height: 350%;
        font-size: .7rem;
    }

    p {
        font-size: .8rem;
    }

    #wrapper2 {
        grid-template-columns: repeat(4, 1fr);
        column-gap: 10px;
    }

    .title {
        grid-column: 1/13;
    }

    .text {
        grid-column: 1/13;
        margin-top: 0;
    }

    .halfimg1, .halfimg2, .leftimg, .rightimg, .breelimg1, .breelimg2, .breelimg3, .breelimg4, .breelimg5, .breelimg6 {
        grid-column: 1/13;
        height: auto;
    }

    .homeimg {
        margin-top: 50px;
    }

    img {
        margin-bottom: 15px;
    }

    p {
        margin-bottom: 20px;
    }

    .text a {
        padding-bottom: 10px;
        animation-play-state: running;
    }

    .appscreens {
        padding-left: 0;
    }

    footer {
        padding-bottom: 30px;
    }

}
