@import url(fonts.css);

/* Global Styles */
:root {
    font-family: var(--mono-font);
    --mono-font: "Necto Mono", "Inconsolata", "Courier New", "Courier", monospace;
    --serif-font: "Reckless", "Times New Roman", "Times", serif;
    --sans-serif-font: "Suisse", "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    line-height: 100%;
    background-color: black;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: 1s all;
}

body,
html {
    margin: 0;
    padding: 0;
}

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

figure {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}

#container img,
.another-logo img {
    height: auto;
}

.hide {
    opacity: 0;
    transition: ease-out all 200ms;
}

.show {
    animation-name: box-fade-in;
    animation-duration: 800ms;
    animation-timing-function: ease-out;
}

/* Text styling - global */
b {
    font-family: var(--serif-font);
    font-weight: normal;
}

a.yellow-button {
    text-transform: uppercase;
    background: #D2FB3E;
    color: black;
    border-radius: 100%;
    width: 168px;
    height: 168px;
    display: flex;
    place-content: center;
    place-items: center;
    text-align: center;
    z-index: 999;
    position: relative;
}

a.yellow-button span {
    line-height: 150%;
    width: 70%;
}


.project-text .box-text .box-text-info {
    border: 1px solid white;
    padding: 3rem;
    border-radius: 50px;
    margin-top: 2rem;
    margin-top: 4rem;
    text-transform: uppercase;
    text-align: center;
}

div.video-player {
    width: fit-content;
    position: relative;
}

/* home - welcome box */
#welcome video {
    width: 2300px;
    margin-left: -425px;
    margin-top: -530px;
    z-index: -999;
    position: relative;
    user-select: none;
}

div#home-welcome-box {
    max-width: 238px;
    position: absolute;
    margin-left: 550px;
    margin-top: 410px;
    text-align: center;
    background-color: black;
    box-shadow: 0 0 40px 40px black, inset 0 0px 5px 5px black;
    border: 1px solid black;
    border-radius: 15px;
    padding: 1rem 3rem;
    animation-name: box-fade-in;
    animation-duration: 800ms;
    animation-timing-function: ease-out;
}

@keyframes box-fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

div#home-welcome-box .box-text .box-text-info {
    max-width: 238px;
}

#close-icon {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 10px;
    margin: 0;
}

#close-icon a {
    padding: 1rem;
}

#home-arrow {
    position: absolute;
    top: 50%;
    right: -33%;
}


/* share box */

.share-box {
    text-transform: uppercase;
    width: 478px;
    margin: 0 auto;
    padding: 4rem;
}

.note {
    background: #EDA9FF;
    color: black;
    padding: 1rem 2rem;
}

.note h3 {
    font-weight: normal;
    font-size: 1rem;
}

.note p {
    line-height: 150%;
    border-left: 1px solid black;
    padding-left: 2rem;
    margin-top: 3rem;
}

.share-link {
    margin-top: 15px;
}

/* styling - all projects */
.project-text {
    text-align: center;
    width: 400px;
}

.project-text h1 {
    font-family: var(--sans-serif-font);
    font-size: 80px;
    line-height: 80%;
    font-weight: 200;
    text-transform: uppercase;
    margin: 2rem 0;
    width: 529px;
    transform: translateX(-50%);
    left: 50%;
    position: relative;
}

.project-text h2 {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: normal;
}

.project-text h3 {
    font-size: 14px;
    font-weight: lighter;
    text-transform: uppercase;
    padding-bottom: 30px;
}

.project-text p {
    font-family: var(--sans-serif-font);
    line-height: 1.56;
}

.box-text,
.box-text-info {
    font-family: var(--mono-font);
    font-size: .7rem;
    line-height: 156%;
}

/* color hover for project box only */

.box-text a:hover {
    color: #D2FB3E;
}

.project-box {
    border: 1px solid white;
    border-radius: 55px;
    height: 151px;
    margin-top: 54px;
    padding: 1em;
    padding-right: 5em;
    padding-left: 5em;
    text-align: center;
    display: table;
}

.project-box .box-text {
    display: table-cell;
    vertical-align: middle;
    width: 267px;
}

.project {
    /* position: absolute; */
    z-index: -2;
}

.project .shadow {
    position: absolute;
}

/* intro project */
section#intro {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    margin-left: 1736px;
    margin-top: 35px;
}

section#intro .media {
    margin-top: -650px;
    margin-left: 280px;
    z-index: 999;
    position: relative;
}

section#intro .media>img {
    margin-top: -36px;
    margin-left: 163px;
    width: 510px;
    height: auto;
    z-index: 2;
    position: relative;
    user-select: none;
    pointer-events: none;
}

#intro .media div.video-player {
    margin-left: 190px;
    margin-top: -90px;
    z-index: -1;
}

section#intro .media video {
    width: 600px;
    z-index: -1;
    position: relative;
}

#intro .video-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-shadow: inset 0px 0px 111px 120px black;
}

#intro .fullscreen .video-shadow {
    box-shadow: inset 0px 0px 15px 15px black;
    z-index: 999 !important;
}

/* pr001 - honey */
section#pr001 {
    top: 0;
    left: 0;
    margin-top: 1050px;
    margin-left: 840px;
    position: absolute;
}

section#pr001 .media {
    margin-top: -549px;
    margin-left: 100px;
    position: absolute;
}

section#pr001 .project-box {
    position: relative;
    z-index: 999;
}

.letter-img {
    width: 350px;
    margin-left: 730px;
    margin-top: 150px;
}

.gif {
    width: 620px;
    position: absolute;
    margin-top: -887px;
    margin-left: 190px;
}

.poster-img {
    width: 412px;
    margin-top: 61px;
    margin-left: 409px;
}

.s-top {
    position: absolute;
    margin-top: 590px;
    right: 0;
    top: 0;
    margin-right: -180px;
}

.s-bottom {
    position: absolute;
    margin-top: -95px;
    margin-left: 365px;
}

#pr001 .yellow-button {
    margin-top: -350px;
    margin-left: 690px;
}

/* shoot001 */

section#shoot001 {
    margin-top: 1294px;
    position: absolute;
    top: 0;
    left: 0;
    margin-left: -250px;
}

section#shoot001 .project-box {
    transform: translate(-70px);
}

section#shoot001 .media .shadow:nth-child(1) {
    width: 593px;
    height: 727px;
    margin-left: -432px;
    margin-top: -315px;
    z-index: -1;
}

section#shoot001 .media .shadow:nth-child(1) img {
    width: 593px;
    height: auto;
    z-index: -4;
    border-radius: 19%;
}

section#shoot001 .media .shadow:nth-child(2) {
    width: 201px;
    height: 359px;
    border-radius: 50%;
    margin-top: 130px;
    margin-left: 220px;
    box-shadow: inset 0px 0px 24px 7px #000000;
}

section#shoot001 .media .shadow:nth-child(2) img {
    border-radius: 50%;
    z-index: -4;
}

section#shoot001 .media .shadow:nth-child(3) {
    box-shadow: inset 0px 4px 24px 7px #000000;
    width: 151px;
    height: 151px;
    border-radius: 100%;
    margin-top: 176px;
    margin-left: -70px;
}

section#shoot001 .media .shadow:nth-child(3) img {
    width: 151px;
    height: 151px;
    border-radius: 100%;
    z-index: -2;
}

section#shoot001 .media .shadow:nth-child(4) {
    width: 151px;
    height: 151px;
    border-radius: 100%;
    margin-top: -110px;
    margin-left: -500px;
    box-shadow: inset 0px 4px 24px 7px #000;
}

section#shoot001 .media .shadow:nth-child(4) img {
    width: 151px;
    height: 151px;
    border-radius: 100%;
    z-index: -1;
}

section#shoot001 p {
    width: 400px;
}


/* pr002 - templates*/
section#pr002 {
    margin-top: 310px;
    margin-left: -720px;
    position: absolute;
    left: 0;
    top: 0;
}

section#pr002 .media {
    position: relative;
    margin-top: -90px;
    margin-left: 100px;
    z-index: -9;
}

section#pr002 .media .shadow:nth-child(2) {
    margin-top: -337px;
    margin-left: -331px;
    width: 151px;
    height: 151px;
    border-radius: 100%;
    box-shadow: inset 0px 0px 24px 7px #000;
}

section#pr002 .media .shadow:nth-child(2) img {
    z-index: -3;
    border-radius: 100%;
}

section#pr002 .media .shadow:nth-child(1) {
    border-radius: 16%;
    height: 435px;
    width: 593px;
    margin-top: -240px;
    margin-left: -610px;
    /* box-shadow: inset 0px 4px 24px 7px #000000; */
}

section#pr002 .media .shadow:nth-child(1) img {
    z-index: -4;
    border-radius: 19%;
}


section#pr002 .media .shadow:nth-child(3) {
    margin-top: 114px;
    margin-left: -640px;
    width: 199px;
    height: 147px;
    box-shadow: inset 0px 0px 24px 7px #000000;
    border-radius: 45%;
}

section#pr002 .media .shadow:nth-child(3) img {
    z-index: -3;
    border-radius: 47%;
}

section#pr002 .media a.yellow-button {
    transform: translate(-110px, 100px);
    width: 168px;
    height: 168px;
}

section#pr002 .media a.yellow-button span {
    width: 77px;
}

/* pr003 - CGI */
section#pr003 {
    margin-top: -1190px;
    margin-left: -411px;
    position: absolute;
    left: 0;
    top: 0;
}

section#pr003 .media .shadow {
    position: absolute;
}

#pr003 .video-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-shadow: inset 0px 0px 40px 35px black;
}

#pr003 .moon-shadow {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 690px;
    margin-top: 460px;
    z-index: 5;
    width: 200px;
    height: 400px;
}

.cave-gif {
    margin-top: 50px;
    z-index: -5;
    right: 0;
    width: 372px;
    margin-right: -270px;
    position: absolute;
    top: 0;
}

.ellipse-003 {
    margin-top: 300px;
    z-index: 999;
    left: 0;
    width: 372px;
    margin-left: -390px;
    position: absolute;
    top: 0;
}

.cave-gif img {
    border-radius: 110px;
}

.cave-gif div {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 0 2px 2px black, inset 0px 0px 15px 10px black;
    position: absolute;
    z-index: 999;
    border-radius: 110px;
}

.moon-shadow img {
    border-radius: 100%;
    height: 100% !important;
    object-fit: cover;
}

.moon-shadow div {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 0 2px 2px black, inset 0px 0px 15px 10px black;
    position: absolute;
    z-index: 999;
    border-radius: 100%;
}

/* pr003 - video positioning */

#pr003 .video-player {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: -1149px;
    margin-top: 332px;
    z-index: -5;
}

section#pr003 .media>img:first-of-type {
    transform: translate(890px, -850px);
    border-radius: 23%;
    z-index: -3;
}

section#pr003 .media img:nth-of-type(2) {
    transform: translate(22px, -1023px);
    position: relative;
    border-radius: 25%;
    z-index: -4;
    width: 300px;
}

section#pr003 .media .shadow:first-of-type img {
    border-radius: 50%;
    z-index: -1;
}

section#pr003 .media .shadow:nth-of-type(2) {
    position: absolute;
    margin-top: -1452px;
    margin-left: -327px;
    border-radius: 50%;
    box-shadow: inset 0px 0px 24px 7px #000000;
}

section#pr003 .media .shadow:nth-of-type(2) img {
    border-radius: 100%;
    z-index: -1;
}



/* pr003 - unique layout, needs refactoring */
#pr003 .project-text {
    width: 307px;
}

#pr003 .project-box {
    width: 207px;
}

#pr003 .project-text:first-of-type {
    width: 400px;
}

section#pr003>div:nth-child(1)>p:nth-child(3) {
    width: 400px;
    text-align: center;
    margin-top: 37px;
}

section#pr003 div.project-text:nth-child(2) {
    margin-left: -220px;
    margin-top: 75px;
    width: 307px;
}

section#pr003 div.project-box:nth-child(3) {
    margin-left: -243px;
    height: 151px;
}

section#pr003 div.project-text:nth-child(4) {
    margin-left: 223px;
    margin-top: -552px;
    width: 307px;
}

section#pr003 div.project-box:nth-child(5) {
    margin-left: 226px;
    margin-top: 110px;
    height: 172px;
}

/* pr004 */
section#pr004 {
    margin-left: 1410px;
    margin-top: -910px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Panning the page */
body {
    overflow: hidden;
}

body.about-page {
    overflow: auto;
}

.pan-default {
    cursor: grab;
}

.pan-move {
    cursor: grabbing;
}

.grid-display {
    display: grid;
}

#scrolling {
    position: relative;
}

#container {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
}

#container img {
    pointer-events: none;
}

/* Header Nav */
header {
    position: fixed;
    width: 100%;
    z-index: 5;
}

nav {
    padding: 2rem;
    user-select: none;
}

/* new nav start */

nav.new-nav {
    padding: 0;
}

nav.new-nav ul {
    gap: 0;
}

nav.new-nav>ul {
    height: 70px;
}

nav.new-nav .nav-links {
    border-bottom: 1px solid white;
}

nav.new-nav #study-in-progress {
    padding-left: 1.5rem;
}

.nav-links ul {
    padding-top: 15px;
    margin-bottom: -3px;
}

.nav-links li {
    border-left: 1px solid white;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 1rem;
}

.nav-links #subset-of {
    border-left: 0;
    padding-left: 0;
}

.nav-links li:nth-child(2) {
    border-right: 1px solid white;
}

.nav-links li:nth-child(3) {
    border-left: none;
}

@media (max-width: 950px) {
    .new-nav {
        border-bottom: 1px solid white;
    }

    .new-nav #study-in-progress {
        padding: 1.5rem;
    }

    .nav-links ul {
        display: none;
    }
}

/* new nav end */


/* mobile footer start */
footer.mobile-show {
    display: none;
    position: fixed;
    bottom: 0;
    background-color: black;
}

footer.mobile-show ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

footer.mobile-show li.another-logo {
    padding: 1rem 2rem;
}

footer.mobile-show li.mobile-links {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

footer.mobile-show li.mobile-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

footer.mobile-show li.mobile-links ul li {
    padding: 2rem;
    text-align: center;
    text-transform: uppercase;
}

footer.mobile-show li.mobile-links ul li:first-of-type {
    border-right: 1px solid white;
}

@media (max-width: 950px) {
    footer.mobile-show {
        display: initial;
        position: fixed !important;
    }

    .about-page footer.mobile-show li.mobile-links {
        display: inherit !important;
    }

    .about-page main {
        margin-bottom: 35%;
    }

}

/* mobile footer end */

nav * {
    display: flex;
}

nav ul {
    gap: 4rem;
    list-style-type: none;
    padding: 0;
    margin: 0;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
}

nav li:first-of-type {
    flex-grow: 1;
}

li#subset-of {
    justify-content: center;
    align-items: center;
    gap: .6rem;
}

li#subset-of img {
    max-height: 1.4rem;
    width: auto;
    max-width: initial;
}

nav li#study-in-progress {
    gap: 1rem;
    align-items: center;
}

/* White dot */
li#study-in-progress:before {
    content: '';
    background-color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 100%;
    flex-shrink: 0;
    animation-name: blinking-dot;
    animation-duration: 650ms;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
}

@keyframes blinking-dot {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* about page */
.about-page main a {
    border-bottom: white;
    border-bottom-width: 3px;
    border-bottom-style: solid;
}

.about-page header {
    position: inherit;
}

.about-page main {
    display: grid;
    padding: 6%;
}

.about-page h1 {
    max-width: 916px;
    font-size: 70px;
    line-height: 107%;
    font-weight: 100;
    font-family: var(--sans-serif-font);
    letter-spacing: -0.035em;
}

.about-page h1 a {
    font-family: var(--serif-font);
}

.about-regular {
    max-width: 500px;
    line-height: 156.5%;
    text-transform: uppercase;
    justify-self: end;
}

/* display logo element from new footer */
.about-page footer {
    display: inherit;
    width: 100%;
    position: inherit;
}

.about-page footer.mobile-show li.mobile-links {
    display: none;
}

.about-page footer li.another-logo {
    border-top: 1px solid white;
}

.another-logo {
    display: flex;
    justify-content: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* about - definiton box */

#about-definition-box {
    max-width: 190px;
    position: absolute;
    background-color: black;
    box-shadow: 0 0 40px 40px black, inset 0 0px 5px 5px black;
    border: 1px solid black;
    border-radius: 15px;
    padding: 25px;
    top: 0;
    left: 0;
    margin-left: 170px;
    margin-top: 330px;
}

.box-text,
.box-text-info {
    text-transform: uppercase;
    letter-spacing: 0;
}

.box-text-info {
    display: flex;
    margin-top: 2.5em;
}

.box-text-info img {
    height: 24px;
    width: 24px;
    padding-right: 2em;
}

.about-page #close-icon {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 10px;
    margin: 0;
    margin-left: 206px;
}

#close-icon a {
    text-decoration: none;
    border-bottom: none;
    font-family: var(--mono-font);
}

#mobile-show {
    display: none;
}

/* mobile sizing */

/* tablets */

@media (max-width:950px) {
    #container {
        position: fixed
    }

    #desktop-only {
        display: none;
    }

    #mobile-show {
        display: grid;
    }

    body:not(.about-page) section:not(#welcome) {
        display: none;
    }

    section#welcome {
        position: fixed;
        display: grid;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        place-items: center;
    }

    #welcome .video-contain {
        width: 100%;
        height: 100%;
    }

    #welcome video {
        width: 1500px;
        margin-left: -425px;
        margin-top: -235px;
    }

    div#home-welcome-box {
        margin: 0 !important;
        margin-top: -10em !important;
    }

    * {
        cursor: auto;
    }

    /* share boxes */
    aside,
    .project-area {
        display: none;
    }

}

/* phone screens */

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

    nav {
        border-bottom: 1px solid white;
    }

    #home-arrow {
        display: none;
    }

    .example {
        width: 45vh;
    }

    #subset-of {
        display: none;
    }

    .about-page main {
        margin-bottom: 60%;
    }

    .about-page h1 {
        font-size: 2.214rem;
        padding: 0;
    }

    .about-page main a {
        border-bottom: white;
        border-bottom-width: 1.5px;
        border-bottom-style: solid;
    }

    .about-page #close-icon {
        right: 0.1rem;
    }

    #about-definition-box {
        padding: 1rem;
        margin-left: 4rem;
        margin-top: 14rem;
    }

}

/* mobile sizing end */

/* js link modifications */
a:hover {
    cursor: pointer;
}

/* dropdown menu */
.dropdown {
    float: left;
    overflow: hidden;
}

.dropbtn {
    background-color: transparent;
    color: #ffff;
    border: none;
    text-transform: uppercase;
    font-family: var(--mono-font);
    font-size: 14px;
}

.dropdown-content {
    padding-top: 33px;
    margin-left: -29px;
    display: none;
    position: absolute;
    background-color: inherit;
    width: 134px;
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: #ffff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    border: 1px solid white;
    border-top: none;
}

.dropdown-content a:hover {
    background-color: white;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Video Player */
.media video {
    cursor: default;
}

.video-player button {
    background: inherit;
    color: white;
    border: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    cursor: pointer;
}

/* share note */
aside {
    position: absolute;
}

.share1 {
    margin-top: 740px;
    margin-left: 500px;
}

.share2 {
    margin-left: 2305px;
    margin-top: -3px;
    z-index: -1;
}

.share2 a {
    z-index: 999;
}

.share3 {
    margin-left: 2050px;
    margin-top: -760px;
    top: 0;
    left: 0;
}

.share4 {
    margin-top: 139px;
    left: -1589px;
}


.invisible-drag {
    position: absolute;
    left: -2180px;
    top: -1760px;
    width: 5660px;
    height: 4900px;
    z-index: -999;
}

/* drag.js fixes */
.draggable {
    /* It will be positioned absolutely */
    position: absolute;

    /* Doesn't allow to select the content inside */
    user-select: none;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
}

.draggable * {
    user-select: none;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
}

.media img {
    pointer-events: none;
}
