/*  "Fragment Mono", monospace "Roboto Flex", sans-serif; "Noto Serif JP", serif; */

* {
    scroll-behavior: smooth;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: black;
    margin: 0%;
    color: white;
    min-height: 100vh;
}

/* ⭐️⭐️⭐️⭐️⭐️⭐️⭐️ HOME PAGE ⭐️⭐️⭐️⭐️⭐️⭐️⭐️ */
/*  Navigation */

.nav {
    /* 
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    */
    position: fixed;
    width: 100%;
    z-index: 2;
}

.navcontainer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    font-family: "Fragment Mono", monospace;
    font-size: 0.7rem;
    padding-top: 10px;
    padding-bottom: 25px;
    padding-left: 50px;
    padding-right: 50px;
    align-items: center;

}

.iconnav {
    width: 15px;
}

.instadesktop {
    width: 15px;
}

@media (max-width: 700px){
    .navcontainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    font-family: "Fragment Mono", monospace;
    font-size: 0.7rem;
    padding-top: 22px;
    padding-bottom: 22px;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: center;

}
}

.nav a {
    padding: 0;
    margin: 0;
    text-decoration: none;
    color: white;
}

@media (max-width: 700px) {
    .works {
        display: none;
    }
}

.logogif {
    width: 55%;
}

.icon {
    text-align: center;
}

@media (max-width: 700px){
    .icon {
        text-align: left;
    }
}

@media (max-width: 700px){
    .icon img {
        width: 9rem;
        height: auto;
    }
}

.navright {
    display: flex;
    justify-content: right;
    column-gap: 20px;
}

@media (max-width: 700px) {
    .navright {
        display: none;
    }
}




/**/

.diamond {
    text-align: right;
}

.spinn {
    animation: spin 3s linear infinite;
    height: 20px;
    rotate: 90deg;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);

    }
}

@media (min-width: 700px) {
    .diamond {
        display: none;
    }
    .spinn {
    animation: spin 3s linear infinite;
}
}


/* Space between navigation and content */
.space {
    height: 95px;
}

@media (max-width: 700px){
    .space {
        height: 70px;
    }
}


/*  Pop up navigation */

button {
    all:unset
}



@media (min-width:700px){
    .navi{
        display: none;
    }
}


@media (max-width: 700px){
    .navi {
        position: fixed;
        background-color: rgba(0, 0, 0, 0.507);
        backdrop-filter: blur(9px);
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        transition: right 0.6s cubic-bezier(0.33, 1, 0.68, 1);
        z-index: 99;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 22px;
    }
    
    .navi.show {
        right: 0;
    }

    .burgertext {
        font-family: "Spectral", serif;
        font-size: 1.5rem;
        color: white;

    }

    .burgertext a {
        text-decoration: none;
        color: white;
    }

    .navi ul {
        height: 100%;
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40%;
        gap: 40px;
    }

}

.socialcontainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.iconsvg {
    width: 30px;
}

.close {
    width: 20px;
}





/* Intro text on home page */
.introtext {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 90px;
    padding-left: 20px;
    padding-right: 20px;

}

.eng {
    font-family: "Spectral", serif;
    font-weight: 200;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.jp {
    font-family: "Noto Serif JP", serif;
    font-weight: 200;
    font-size: 0.8rem;
}

@media (max-width: 700px){
    .introtext {
        margin-top: 50px;
        margin-bottom: 80px;
    }

    .eng {
        margin-bottom: 10px;
        font-size: 0.8rem;
        font-weight: 300;
    }

    .jp {
        font-family: "Noto Serif JP", serif;
        font-weight: 200;
        font-size: 0.8rem;
    }

}



/* Grid Below */

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    padding-left: 50px;
    padding-right: 50px;
    margin-bottom: 3rem;
}

.gridlink {
    text-decoration: none;
    color: white;
    
}


@media (max-width: 700px){
    .grid {
        padding-left: 20px;
        padding-right: 20px;
        grid-template-columns: 1fr;
    }
}


.gridcontent {
    font-family: "Fragment Mono", monospace;
    font-size: 0.7rem;
}

.gridcontent:hover {
    background-color: black;
}

.projectname {
    margin-top: 10px;
}

/* hide project tiele in desktop
@media (min-width: 700px) {
    .projectname {
        display: none;
    }
}
*/




@media (max-width: 700px){
    .grid {
        font-size: 0.8rem;
    }
}

.imgcontainer {
    width: 100%;
    aspect-ratio: 3/2;
    position: relative;
}

/* Removed this because aspect ratio handles sizing automatically 

@media (max-width: 700px){
    .imgcontainer {
        height: 210px;
    }
}
    */

/* The title that appears when hovered */
.hovertitle {
    position: absolute;
    bottom: 15px;
    left: 16px;
    opacity: 0;
    font-size: 1.3rem;
    z-index: 20;
    display: none;
}

@media (max-width: 700px){
    .hovertitle {
        display: none;
        pointer-events: none;
    }
}

.imgcontainer:hover .hovertitle {
    opacity: 1;
}


.imgcontainer img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.imgcontainer:hover img {
    opacity: 20%;
    transition: 0.2s ease;
}

@media (max-width: 700px){
    .imgcontainer:hover img {
    opacity: 100%;
}
}


.imgcontainer video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imgcontainer video:hover {
    opacity: 20%;
    transition: 0.2s ease;
}

@media (max-width: 700px){
    .imgcontainer video:hover {
    opacity: 100%;
}
}





.hide {
    display: none;
    z-index: 2;
}

.gridcontent + .hide {
    display: block;
    color: red;
}


/*Reel Section*/
.reel {
    padding-left: 50px;
    padding-right: 50px;
}

@media (max-width: 700px){
    .reel {
        padding-left: 20px;
        padding-right: 20px;
    }
}


.reelhead {
    display: grid;
    grid-template-columns: 1fr 0.3fr 1fr;
    text-align: center;
    margin-top: 100px;
    align-items: center;
    margin-bottom: 1rem;
}

@media (max-width: 700px){
    .reelhead {
        margin-top: 2rem;
        grid-template-columns: 1fr 0.1fr 1fr;
    }
}


.reelline {
    height: 1px;
    background-color: white;
}

.reeltitle {
    font-family: "Spectral", serif;
    font-size: 2rem;
    font-weight: 300;
}

@media (max-width: 700px){
    .reeltitle {
        font-size: 1.2rem;
        padding-left: 10px;
        padding-right: 10px;
    }
}

















/* ⭐️⭐️⭐️⭐️⭐️⭐️⭐️ Project PAGE ⭐️⭐️⭐️⭐️⭐️⭐️⭐️ */

/*Project Section*/
.project1grid {
    display: grid;
    grid-template-columns: 1fr;
    padding-left: 50px;
    padding-right: 50px;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

@media (max-width: 700px){
    .project1grid {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.norestriction {
    width: 100%;
    height: auto;
}

.norestriction img {
    width: 100%;
    min-width: 0;
}


.twoimages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.twoimages video {
   max-width: 100%;
   min-width: 0;
}

.twoimages img {
width: 100%;
   min-width: 0;
}

@media (max-width: 700px){
    .twoimages {
        grid-template-columns: 1fr;
    }
}

.singlevid {
    display: grid;
    grid-template-columns: 1fr;
    
}

.singlevid video {
    width: 100%;
    min-width: 0;
}

.projectimgcontainer {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
}

@media (max-width: 700px){
    .projectimgcontainer {
        width: 100%;
        aspect-ratio: 16/9;
    }
}

.projectimgcontainer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projectimgcontainer video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vimeo {
    width: 100%;
    height: auto;
}



.descriptiongrid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    margin-bottom: 6rem;
    gap: 0;
}

@media (max-width: 700px){
    .descriptiongrid {
        grid-template-columns: 1fr;
        margin-bottom: 1rem;

    }
}

.category {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.363);
    margin-top: 0.5rem;
    font-size: 1rem;
}

@media (max-width: 700px){
    .category{
        font-size: 1rem;

    }
}

.paragraph {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 300;
    line-height: 1.8;
    font-size: 0.9rem;
    margin: 0%;
    padding: 0%;
    
}

@media (max-width: 700px){
    .paragraph {
        margin-top: 1rem;
        line-height: 1.6;
    }
}



.descriptiongrid h2 {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 500;
    padding: 0%;
    margin: 0;
    font-size: 1.4rem;
}

@media (max-width: 700px){
    .descriptiongrid h2 {
        font-size: 1.2rem;
    }
}
/*
@media (max-width: 700px){
    .aboutgrid h2 {
        font-size: 1rem;
    }
}
    */

.line {
    height: 0.8px;
    width: auto;
    background-color: white;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 700px){
    .line {
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
}




/*Process Section*/

.process {
    padding-left: 50px;
    padding-right: 50px;
}

@media (max-width: 700px){
    .process {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.processhead {
    font-family: "Spectral", serif;
    font-size: 1.5rem;
    font-weight: 500;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

@media (max-width: 700px){
    .processhead {
        font-size: 1.2rem;

    }
}


.processline {
    height: 1px;
    width: auto;
    background-color: white;
    margin-top: 2rem;
    
}

.processgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 3rem;
    gap: 1rem;
}

@media (max-width: 700px){
    .processgrid {
        grid-template-columns: 1fr;
    }
}


.processimgcontainer {
    width: 100%;
    aspect-ratio: 3/2;
    min-width: 0;
}

@media (max-width: 700px){
    .processimgcontainer{
    width: 100%;
    aspect-ratio: 3/2;
    height: auto;
    }
}

.processimgcontainer img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.processimgcontainer video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}











/* ⭐️⭐️⭐️⭐️⭐️⭐️⭐️ ABOUT PAGE ⭐️⭐️⭐️⭐️⭐️⭐️⭐️ */
.aboutgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-left: 14rem;
    padding-right: 14rem;
    margin-top: 50px;
    margin-bottom: 5rem;
    gap: 2rem;
    justify-items: center;
}

@media (max-width: 1200px){
    .aboutgrid {
        padding-left: 7rem;
        padding-right: 7rem;
    }
    

}

@media (max-width: 700px){
    .aboutgrid {
        grid-template-columns: 1fr;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 0;
        gap: 0;
    }

    .abouttextcontainer {
        padding-top: 1.2rem;
    }
}

.aboutimg {
    width: 70%;
}

@media (max-width: 700px){
    .aboutimg {
        width: 100%;
        padding: 2rem;
    }
}

.aboutimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aboutline {
    background-color: white;
    height: 1px;
    margin-bottom: 20px;
}

.abouttext {
    padding-bottom: 2rem;
}

.abouttext a {
    color: white;
}


.abouttext ul {
    list-style-type: none;
    padding-left: 0;
}

.abouttext li {
    padding-bottom: 0.8rem;
    font-family: "Roboto Flex", sans-serif;
    font-size: 0.9rem;
    font-weight: 100;
}

.abouttext h3 {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 200;
    font-size: 1rem;
    padding-bottom: 10px;
    margin: 0;
}

.abouteng {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 100;
    font-size: 0.9rem;
    line-height: 1.5rem;
}

.aboutjp {
    font-family: "Noto Serif JP", serif;;
    font-weight: 200;
    font-size: 0.9rem;
    line-height: 1.7rem;
    margin-top: 5px;
}


.subcategory {
    margin-top: 8px;
    color: rgb(130, 130, 130);
}


.footer {
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 2rem;
    font-family: "Fragment Mono", monospace;
    font-size: 0.7rem;
}


@media (max-width: 700px){
    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}


.footerline {
    height: 1px;
    background-color: white;
    margin-bottom: 1rem;
    margin-top: 5rem;
}

.footerline2 {
    width: 100%
}







/* ⭐️⭐️⭐️⭐️⭐️⭐️⭐️ FADE IN ANIMATION ⭐️⭐️⭐️⭐️⭐️⭐️⭐️ */
.fadein {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
        transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    filter: blur(1px);
}

.fadein.show{
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}