/* BASE STYLES FOR MODAL OVERLAY */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 20, 30, 0.7);
    z-index: 99999;
    opacity: 1;
    border: none;
}

.modal-overlay.show {
    display: flex;
}


/* MODAL CONTENT */

.modal-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}


/* VIDEO STYLES */

video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 100000;
    border: none;
}

/* =========================
   HERO CONTAINER
   ========================= */

.hero-temp {
    position: relative;
    width: 100%;
    z-index: 0;
    overflow: hidden;
	margin-top: 70px;
}


/* =========================
   DESKTOP HERO IMAGE
   ========================= */

.hero-desktop {
    display: block;
    width: 100%;
    height: auto;
    z-index: 0;
}


/* =========================
   MOBILE HERO IMAGE
   ========================= */

.hero-mobile {
    display: none;
    width: 100%;
    height: auto;
    z-index: 0;
}


/* =========================
   HERO SLIDE-UP AND FADE-IN
   DURATION: 1 SECOND
   NO INITIAL DELAY
   ========================= */

.hero-temp .hero-desktop,
.hero-temp .hero-mobile {
    opacity: 0;
    animation: heroSlideFadeIn 1s ease-out 0s forwards;
}


/* =========================
   ANIMATION KEYFRAMES
   ========================= */

@keyframes heroSlideFadeIn {

    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   RESPONSIVE HERO DISPLAY
   ========================= */

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

    .hero-desktop {
        display: none;
    }

    .hero-mobile {
        display: block;
    }
}


	
	/* =========================
   JANE RUBIN TYPOGRAPHY
   TOP-LEFT OF BLACK HERO AREA
   ========================= */

.janerubin {
    position: absolute;
    top: 220px;
    left: calc(34.9% + 12px);
    z-index: 10;

    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    font-family: 'Oswald', sans-serif;
    font-weight: 100;
    letter-spacing: 7px;
    font-size: calc(17px + 1.4vw);
    line-height: calc(29px + 1.4vw);
    color: #fff;
    text-align: left;
    text-transform: uppercase;
}


/* =========================
   TYPEWRITER LINES
   ========================= */

.janerubin-line {
    display: block;
    width: max-content;
    white-space: nowrap;
    clip-path: inset(0 100% 0 0);
}


/* FIRST LINE — JANE RUBIN */
/* START: 0.5 SECONDS */

.janerubin-line-1 {
    animation: janeTypewriter 0.6s steps(10, end) 0.5s forwards;
}


/* SECOND LINE — ART MUSIC DANCE */
/* START: 1.1 SECONDS */

.janerubin-line-2 {
    margin-left: -5.4px;
    animation: janeTypewriter 0.8s steps(15, end) 1.1s forwards;
}


/* =========================
   TYPEWRITER KEYFRAMES
   ========================= */

@keyframes janeTypewriter {

    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}


/* =========================
   RESPONSIVE HERO DISPLAY
   ========================= */

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

    .hero-desktop {
        display: none;
    }

    .hero-mobile {
        display: block;
    }

    .janerubin {
        display: none;
    }
}





/* NOT AI STYLES */

.not-ai-agency {
    position: absolute;
    display: block;
    width: 79.9%;
    font-size: calc(10px + .1vw);
    line-height: calc(15px + .3vw);
    font-family: Oswald;
    letter-spacing: 1.2px;
    font-weight: 400;
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
    padding: 17px;
    bottom: 29px;
    border: 1px solid #ccc;
    z-index: 100002;
}

@media screen and (min-width: 1920px) {
    .not-ai-agency {
        bottom: 19px;
    }
}

@media screen and (max-width: 1024px) {
    .not-ai-agency {
        display: none;
    }
}


/* CLOSE BUTTON STYLES */

.close-button {
    position: absolute;
    right: 20px;
    background: rgba(204, 204, 204, 1);
    border-radius: 9px;
    border: 1px solid #222;
    color: #222;
    padding: 17px 26px 17px 31px;
    font-size: 19px;
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    cursor: pointer;
    z-index: 100001;
    max-width: 200px;
    text-align: center;
}


/* LARGE SCREENS: CLOSE BUTTON 50PX FROM BOTTOM */

@media screen and (min-width: 1025px) {

    .close-button {
        top: auto;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: 50px;
        margin-top: 0;
    }
}


/* TABLETS AND SMALLER SCREENS */

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

    video {
        width: 120%;
        height: auto;
    }

    .close-button {
        top: auto;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: calc(79px - 3vw);
        color: #004499;
        font-size: 17px;
        letter-spacing: 2.5px;
        background-color: rgba(204, 204, 204, 1);
        padding: 15px 29px 17px 34px;
    }
}


/* TABLET CLOSE BUTTON COLOR */

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

    .close-button {
        color: #fff;
    }
}


/* MOBILE VIDEO AND CLOSE BUTTON */

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

    .video-large {
        display: none;
    }

    .video-mobile {
        display: block;
        width: 92%;
        height: auto;
    }

    .close-button {
        bottom: 15%;
        font-size: 14px;
        letter-spacing: 3px;
        padding: 9px 17px;
        color: #fff;
    }
}


/* SMALL MOBILE SCREENS */

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

    .close-button {
        bottom: 17%;
        font-size: 14px;
        letter-spacing: 3px;
        padding: 9px 17px;
        color: #fff;
    }
}


/* VERY SMALL MOBILE SCREENS */

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

    .close-button {
        bottom: 3%;
        font-size: 10px;
        letter-spacing: 3px;
        padding: 9px 17px;
        color: #fff;
    }
}


/* DESKTOP VIDEO DISPLAY */

@media screen and (min-width: 481px) {

    .video-large {
        display: block;
    }

    .video-mobile {
        display: none;
    }
}

</style>
