/* Global */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overscroll-behavior: none;
    /* overflow-x: hidden; */
}
html {
    scroll-behavior: smooth;
    /* background-image: url(static/acid-bg.jpg);
    background-size: cover;
    background-attachment: fixed; */
}
h1 {
    /* display: inline; */
    font-family: "rift", sans-serif;
    font-style: italic;
    font-size: 2.5rem;
    line-height: 1;
}
h2 {
    /* display: inline; */
    font-family: "rift", sans-serif;
    font-style: italic;
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 1rem;
    overflow: hidden;

}
h3 {
    font-family: "rift", sans-serif;
    font-size: 2rem;
    font-style: italic;
    line-height: 1;
    overflow: hidden;
    margin-bottom: 1rem;
}

p {
    font-family: "nimbus-sans-extended", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}
ul {
    font-family: "rift", sans-serif;
    font-style: italic;
    font-weight: 600;
    list-style: none;
}
a {
    text-decoration: none;
    color: black;
}
.site-button {
    font-family: "nimbus-sans-extended", sans-serif;
    color: white;
    background: #000;
    text-align: center;
    border-radius: 7px;
    padding: 1rem;
}
small {
    font-family: "nimbus-sans-extended", sans-serif;
    font-weight: 600;
    font-style: normal;
    /* margin-bottom: 10rem; */
}



/* .resizeme {
    overflow: hidden;
} */


/* HEADER */


header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    border-bottom: 1px solid black;
    background-color: white;
    overflow: hidden;

}
.h-logo {
    height: 65px;
    margin-left: 1.5rem;
    padding-block: 0.5rem;
}


/* Menu */


.menu {
    display: inline;
    margin-right: 1rem;
    float: right;
}
.menu ul {
    display: flex;
    list-style-type: none;
    font-size: 1.5rem;
}
.menu li {
    width: auto;
    padding: 1rem;
}
.menu a {
    font-family: "rift", sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.5rem;
    gap: 2rem;

}


/* Footer */


footer {
    border-top: solid 1px black;
    background-color: white;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    align-items: center;
}
.footer-logo {
    width: 25%;
}
.footer-info {
    width: 50%;
    justify-items: flex-end;
    text-align: right;
    margin-top: 3.5rem;
}
.social-icons {
    display: flex;
    padding-block: 1rem;
    gap: 1rem;
    height: auto;
}
.social-icons img {
    height: 35px;
}
small {
    display: block;
    font-weight: 400;
    text-align: center;
    padding-bottom: 2em;
}



/* Home */


.home-hero-section {
    position: relative;
    overflow: hidden;
}
.home-hero-vid-logo {
    width: 100%;
    text-align: center;
    /* mix-blend-mode: multiply; */
}
#hero-vid-bg {
    position: absolute;
    height: min-content;
    z-index: -5;
}
.home-hero-text {
    margin: 0rem 1rem;
    color: black;
    mix-blend-mode: color-dodge;
}
.home-hero-section h1 {
    font-size: 4rem;
    /* color: rgb(255, 255, 255); */
    line-height: 0.85;
    overflow: hidden;   
    margin-bottom: 1rem;
}
.home-hero-section p {
    /* color: white; */
    margin-bottom: 2rem;
}
.disciplines {
    font-family: "rift", sans-serif;
    font-style: italic;
    text-align: right;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    padding-right: 0.2rem;
    overflow-y: hidden;

}
.home-section-2 {
    display: flex;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-block: 1rem;
    height: auto;
    background-color: white;
}
.home-section-2 .disciplines {
    font-size: 2rem;
    color: black;
}

.home-section-2 h2 {
    font-size: 2rem;
    width: 70%;
}

.show-tell {
    display: flex;
    flex-wrap: wrap;
    background-color: black;
    color: white;
}
.tell {
    flex: 100%;
    padding: 1rem;
    margin: 1rem 0 1rem 0;
}
.show {
    flex: 1;
    padding: 1rem;
    border: solid black 2px;
    border-radius: 7px;
    aspect-ratio: 1/1;
    background-color: white;
    overflow: hidden;
}
.show p {
    margin-bottom: 2rem;
}
.show img {
    height: 50px;
}
.show:hover {
    border: inset;
}
#show-mark {
    transition: all 0.5s ease;

}
.show:hover #show-mark {
    transform: translateX(300%);

}
#red,#blue,#green,#white {
    transition: all 0.5s ease;
}
.show:hover #red {
    transform: translateX(-70%);
}
.show:hover #blue {
    transform: translateX(-55%);
}
.show:hover #green {
    transform: translateX(-40%);
}
.show:hover #white {
    transform: translateX(-25%);
}

#contact {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}
#contact p {
    margin-bottom: 1rem;
}

/* Work */


.work-page {
    background-color: #fff;
}
.work-info {
    padding: 1rem;
}
.work-info h1 {
    font-size: 6rem;
}
.job {
    margin: 1rem;
    border: solid 3px rgb(26, 26, 26);
    border-radius: 7px;
}
.job figure {
    /* aspect-ratio: 1/1; */
    padding: 1rem;
}
.job svg {
    margin-top: 1rem;
    float: right;
}
.job ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.job li {
    text-wrap: nowrap;
    margin-right: 10px;
    padding: 5px;
    border: solid black 1px;
    border-radius: 30px;
}
.job img {
    display: block;
    width: 100%;
}
#red,#blue,#green,#white {
    transition: all 0.5s ease;
}
.job:hover{
    border: solid 3px rgb(0, 0, 0);
    border-style: inset;
}
.job:hover #red {
    transform: translateX(-70%);
}
.job:hover #blue {
    transform: translateX(-55%);
}
.job:hover #green {
    transform: translateX(-40%);
}
.job:hover #white {
    transform: translateX(-25%);
}



/* Byoma */


.byoma-page {
    background-color: white;
}
.byoma-hero{
    display: flex;
    flex-direction: column;
    /* height: 100vh; */
    padding: 1rem;
    background-color: #efe99c;
    border-bottom: 3px solid black;
}
.byoma-sticky {
    margin-block: 2rem;
}
.byoma-hero h1 {
    font-size: 6rem;
}
.byoma-hero ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1rem;
    
}
.byoma-hero li {
    text-wrap: nowrap;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 5px;
    border: solid black 1px;
    border-radius: 30px;
    background-color: white;
}
.byoma-hero p {
    margin-bottom: 1rem;
}
.by-button {
    padding: 1rem;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    font-family: "nimbus-sans-extended", sans-serif;
    text-align: center;
    width: fit-content;
    border-radius: 7px;
    margin-block: 2rem;    
}
.by-button:hover {
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border: 2px solid black;
}
.byoma-hero img {
    width: 100%;
}
.byoma-section {
    border: solid rgb(0, 0, 0) 3px;
    border-radius: 7px;
    margin:  1.5rem 0.5rem;
    box-shadow: -3px 3px 8px rgb(0, 0, 0);
}
.b-info {
    background-color: white;
    padding: 1rem;
}
.byvid {
    display: block;
    width: 100%;
    height: min-content;
}


/* Showreel */


.showreel-page {
    display: flex;
    flex-direction: column;
    background-color: white;
}
.showreel-page ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.showreel-page li {
    text-wrap: nowrap;
    margin-right: 10px;
    padding: 5px;
    border: solid rgb(0, 0, 0) 1px;
    border-radius: 30px;
}
.showreel-copy {
    padding: 1rem;
    /* margin-top: 20%; */
    /* margin-bottom: 5%; */
    /* color: white; */
}
.showreel-copy h1 {
    font-size: 5rem;
}

.showreel-vid-container {
    margin: 1rem;
}
.showreel-vid {
    display: block;
    border: solid black 3px;
    border-radius: 7px;
    width: 100%;
}


/* Hoaf */


.hoaf-page {
    padding: 1rem;
    background-color: #000;
    color: white;
}
.hoaf-cassette {
    width: 100%;
}
.hoaf-info {
    display: flex;
    flex-direction: column;
}
.hoaf-page h1 {
    font-size: 6rem;
    line-height: 0.9;
    overflow: hidden;
    margin-bottom: 2rem;
}
.hoaf-info ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 1rem;
    gap: 0.5rem;
}
.hoaf-info li {
    text-wrap: nowrap;
    /* margin-right: 10px; */
    padding: 5px;
    border: solid rgb(255, 255, 255) 1px;
    border-radius: 30px;
}
.hoaf-page p {
    margin-bottom: 1rem;
}
.hoaf-button {
    padding: 1rem;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    font-family: "nimbus-sans-extended", sans-serif;
    text-align: center;
    width: fit-content;
    border-radius: 7px;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.hoaf-button:hover {
    color: white;
    background-color: black;
}


/* Circular */


.circular-page {
    background-color: white;
    padding: 1rem;
}
.circular-page h1 {
    font-size: 6rem;
}
.circular-page p {
    margin-bottom: 1rem;
}
.circular-page ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.circular-page li {
    text-wrap: nowrap;
    margin-right: 10px;
    padding: 5px;
    border: solid black 1px;
    border-radius: 30px;
}
.circular-page img {
    width: 100%;
}
/* .circular-vid-container {
    margin: 1rem;
} */


/* Play  */


.play-page {
    display: block;
}
.play-hero {
    padding: 1rem;
}
.play-hero video {
    width: 100%;
}
.play-hero h1 {
    font-size: 6rem;
}
.play-hero ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1rem;
    
}
.play-hero li {
    text-wrap: nowrap;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 5px;
    border: solid black 1px;
    border-radius: 30px;
}
.d3-info {
    padding: 2rem 1rem 1rem;
}
.play-video-container {
    padding: 1rem;
}
.play-video-container-2-column {
    padding: 1rem;
}
.play-videos {
    display: block;
    margin-bottom: 1rem;
    width: 100%;
    border-radius: 7px;
}
.prod-renders {
    padding: 1rem;
}
.prod-renders img {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 7px;
}
.mot-info {
    padding: 2rem 1rem 1rem;
}
.photo-info {
    padding: 2rem 1rem 1rem;
}
.photo-info p {
    margin-bottom: 2rem;
}
.play-photo {
    padding: 1rem;
}
.play-photo img{
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 7px;
}



/* About Page  */


.about-hero {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}
.about-hero-vid {
    width: 100%;
    mix-blend-mode: exclusion;
}
.about-hero h1 {
    padding-left: 1rem;
    font-size: 6rem;
}
.about-hero p {
    padding: 0rem 1rem;
    margin-bottom: 1rem;
}
.about-hero-image {
    padding: 1rem;
}
.about-ed-ex {
    display: flex;
    flex-wrap: wrap;
    background-color: black;
    overflow-x: hidden;
}
.about-ed-ex div {
    aspect-ratio: 1/1;
    width: 50%;
}
.about-ed-ex small {
    padding-bottom: 1rem;
}
.about-ed-ex p {
    font-size: 14px;
}
.about-ed-ex video {
    width: 100%;
}
.about-ed-ex-cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: solid black 2px;
    border-radius: 7px;
    background-color: white;
    padding: 1rem;
    
    
}
.about-ed-ex small {
    text-align: left;
    font-weight: 600;
}
.about-tools {
    display: flex;
    flex-wrap: wrap;
    background-color: black;
}
.about-tools img {
    width: 33.333%;
    background-color: white;
    padding: 1rem;
    border: black solid 2px;
    border-radius: 7px;
}
.about-languages {
    display: flex;
    flex-wrap: wrap;
    background-color: black;
}
.about-languages img {
    width: 33.333%;
    background-color: white;
    padding: 1rem;
    border: black solid 2px;
    border-radius: 7px;

}


/* Contact Page */


.contact-hero {
    background-color: rgb(0, 0, 0);
    color: white;
}
.contact-hero-vid {
    width: 100%;
    mix-blend-mode: hard-light;
}
.contact-text {
    padding: 1rem;
    padding-bottom: 2em;
}
.contact-text h1 {
    font-size: 6rem;
}


/*CONTACT FORM*/

.form-background {
    background-image: none;  
}
.contact-form {
    font-family: "nimbus-sans-extended", sans-serif;
    /* margin-block: 3rem; */
    padding-inline: 1rem;
    background-color: white;
    padding-block: 2rem;
    border-radius: 14px;
    margin-inline: auto;
}
.contact-form p {
    margin-bottom: 2rem;
}
.contact-form-label {
    margin-bottom: 100px;
}
.contact-inputs {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    width: 100%;
    height: 2rem;
    font-family: "nimbus-sans-extended", sans-serif;
    border: 2px solid black;
    border-radius: 7px;
    padding-left: 0.5rem;
}
.contact-form textarea {
    height: 6rem;
    padding-top: 0.3rem;
}
.contact-inputs:focus {
    border: 3px solid red;
}
form button {
    padding: 1rem;
    color: white;
    background-color: black;
    border: none;
    border-radius: 7px;
    width: 30%;
}



/* Ticker */


.ticker {
    display: flex;
    font-family: "rift", sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 2rem;
    padding-block: 1rem;
    overflow: hidden;
    user-select: none;
    background-color: black;
    color: white;
    
    --gap:20px;
    gap: var(--gap);

}
.ticker ul {
    list-style: none;
    flex-shrink: 0;
    min-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap);

    animation: scroll 20s linear infinite; 
}
.ticker-icon {
    width: 25px;
    padding-right: 3;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}
.ticker:hover ul {
    animation-play-state: paused;
}
@keyframes scroll {
    to {
        transform: translateX(calc(-100% - 20px));
    }
}


.rev-ticker {
    display: flex;
    font-family: "rift", sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 2rem;
    padding-block: 1rem;
    overflow: hidden;
    user-select: none;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    border-top: solid 1px black;
    border-bottom: solid 1px black;
    
    --gap:20px;
    gap: var(--gap);

}
.rev-ticker ul {
    list-style: none;
    flex-shrink: 0;
    min-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap);

    animation: scroll 20s linear infinite; 
}
.rev-ticker-icon {
    width: 25px;
    padding-right: 3;
}
.rev-ticker:hover ul {
    animation-play-state: paused;
}
@keyframes scroll {
    to {
        transform: translateX(calc(-100% - 20px));
    }
}



@media (min-width: 550px) {
    html {
        background-image: url(static/acid-bg.jpg);
        background-size: cover;
        background-attachment: fixed;
    }
    body {
        box-shadow: 0px 0px 20px rgb(0, 0, 0) ;
    }
    .home-hero-section {
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.605);
        /* mix-blend-mode: exclusion; */
        /* backdrop-filter: blur(1px);  */
    }
    .home-hero-vid-logo {
        width: 50%;
        aspect-ratio: 1/1;
        mix-blend-mode: hard-light;
        
    }
    .home-hero-text {
        margin-top: 1rem;
        padding: 1rem;
        color: rgb(255, 255, 255);
        /* border-radius: 7px; */
        mix-blend-mode: difference;
    }
    .home-section-2 {
        margin: 0;
    }
    .show-tell {
        display: flex;
    }
    .tell {
        flex: 1;
    }
    .show {
        aspect-ratio: 2/1;
    }
    #contact {
        width: 50%;
        background-color: white;
        border: 2px solid black;
        border-radius: 7px;
    }
    #contact-empty {
        width: 50%;
        background-color: rgb(255, 0, 0);
        border: 2px solid rgb(255, 255, 255);
        border-radius: 7px;
        mix-blend-mode: difference;
    }


    .work-page {
        display: grid;
        grid-template-columns: 1fr 2fr;
    }
    .work-info {
        grid-column: 1;
        position: sticky;
        top: 3rem;
    }
    .job {
        grid-column: 2;
    }
    .job ul {
        display: none;
    }
    .job a {
        display: flex;
        /* aspect-ratio: 2/1; */
        flex-direction: column;
        align-items: center;
    }
    .job svg {
        display: none;
    }
    .job figure {
        width: 100%;
    }
    .job img {
        /* aspect-ratio: 1/1; */
        width: 100%;
    }


    /* Byoma */

    .byoma-page {
        display: grid;
        grid-template-columns: 1fr 2fr;
        /* align-items: start; */

    }
    .byoma-hero {
        grid-column: 1;
        grid-row-start: 1;
        grid-row-end: 7;
        align-items: start;
        border: 2px solid black;
        border-radius: 7px;
    }
    .byoma-hero-vid {
        width: 100%;
    }
    .byoma-sticky {
        position: sticky;
        top: 6rem;
        margin-block: 2rem;
    }
    .byoma-section {
        grid-column: 2;
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-block: 0.5rem;
        margin-inline: 1rem;
    }
    .byvid {
        width: 50%;
    }


    /* Showreel */


    .showreel-copy p {
        max-width: 45%;
    }


    /* HOAF */


    .hoaf-page {
        display: flex;
        flex-direction: column;
        padding: 3rem;
        /* align-items: center; */
    }
    .hoaf-cassette {
        align-self: center;
        width: 50%;
    }
    .hoaf-info {
        align-self: flex-start;
        width: 100%;
    }
    .hoaf-info h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .circular-page p {
        width: 50%;
    }
    .circular-vid-container {
        margin-top: 2rem;
    }



    /* Play */


    .play-page {
        display: grid;
        grid-template-columns: 1fr 2fr;
        background-color: white;
    }
    .play-hero {
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-rows: 1fr;
        align-items: center;
        height: auto;
        background-color: white;
    }
    .play-hero video {
        display: grid;
        grid-column: 2 / span 1;
        width: 70%;
        justify-self: center;
    }
    .play-hero div {
        grid-column: 1;
        grid-row: 1;
    }
    .play-section {
        display: grid;
        grid-template-columns: 1fr 2fr;
    }
    .play-videos {
        margin-bottom: 0;
    }
    .play-video-container {
        grid-column: 2;
        display: grid;
        gap: 1rem;
    }
    .play-video-container-2-column {
        grid-column: 2;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;

    }
    #animation-3d {
        grid-column: 1 / span 2;
    }

    .play-sticky {
        position: sticky;
        top: 4rem;
        align-self: first baseline;

    }
    #prod-3d {
        grid-column: 1 / span 2;
    }
    #motion-g {
        grid-column: 1 / span 2;
    }
    #photog {
        grid-column: 1 / span 2;

    }
    

    /* About */


    .about-hero {
        display: flex;
        align-items: center;
        height: 70dvh;
    }
    .about-hero div {
        margin-right: 1rem;
    }
    .about-hero video {
        width: 50%;
    }
    .about-ed-ex {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .about-ed-ex div {
        margin: 0;
        padding: 1rem;
        width: 16.6666%;
    }
    .about-ed-ex video {
        aspect-ratio: 1/1;
    }
    .about-tools {
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
    }
    .about-tools img {
        width: 16.6666%;
    }
    .about-languages {
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
    }
    .about-languages img {
        width: 16.6666%;

    }


    .contact-page {
        background-color: rgb(254, 254, 254);
    }
    .contact-hero {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .contact-hero-vid {
        width: 50%;
    }
    .contact-text {
        margin-right: 3rem;
    }
    
    .form-background {
        background-image: url(static/contact/white-100.jpg);
        background-size: cover;
        padding-block: 4rem;
    }
    .contact-form {
        /* margin: 2rem auto; */
        width: 50%;
        border: solid 3px black;
    }
    .contact-form p {
    margin-bottom: 1rem;
    }
}




@media (min-width: 768px) {

    .work-page {
        display: grid;
        grid-template-columns: 1fr 2fr;
    }
    .work-info {
        grid-column: 1;
        position: sticky;
        top: 4rem;
    }
    .job {
        grid-column: 2;
        margin: 1rem 1rem 0 1rem;
    }
    .job:last-child {
        margin-bottom: 1rem;
    }
    .job a {
        display: flex;
        flex-direction: row;
        aspect-ratio: 2/1;
        align-items: center;
    }
    .job svg {
        display: block;
    }
    .job figure {
        width: 100%;
    }
    .job img {
        /* aspect-ratio: 1/1; */
        width: 50%;
    }

    .play-video-container-2-column {
        grid-template-columns: 1fr 1fr;

    }

}


@media (min-width: 1024px) {
    body {
        width: 1024px;
        margin: auto;
    }
    header {
        width: 1024px;
        margin: auto;
    }
    .home-contact-section {
        display: flex;
    }

    .job ul {
        display: flex;
    }

    .hoaf-page {
        flex-direction: row;
        padding: 3rem;
        align-items: center;
    }
    .hoaf-cassette {
        width: 50%;
    }
    .hoaf-info {
        width: 50%;
    }
    .hoaf-info h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

}
