/*GENERAL STYLE RULES*/
html {
    background-color: #222;
    scroll-behavior: smooth;
    display: flex;
    justify-content: center;
}


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

a:visited {
    text-decoration:none;
    color: white; 
}

body {
    display: flex; 
    flex-direction: column;
    color: white; 
    font-family: "Josefin Slab", serif; 
    align-items: center;
    max-width: 1200px;
}

hr {
    width: 95%;
    margin-top: -10px;
}

/*NAV BAR*/
.desktop-nav ul {
    display: flex;
    justify-content: space-around;
    padding-left: 0;
    list-style: none; 
}

nav {
    width: 95%;
    margin-bottom: 10px;
}

.top-btn {
    display: flex;
    top: -80px;
    text-align: center;
    margin-right: 70%;
    justify-content: center;
    align-items: end;
    width: 25%;
    height: 8%;
    max-width: 120px;
    background-color: #252525e1;
    box-shadow: 0px 0px 5px black;
    border-radius: 10px;
    position: fixed;
    transition: top 400ms ease;
    z-index: 1000;
}

.top-btn.visible {
    top: -28px !important; /* Adjust as needed */
}

/*DESKTOP HEADER*/

.desktop-header {
    display: none;
    width: 95%;
    margin-bottom: 4%;
    justify-content: space-between;
}

.header-img {
    width: 50%;
    display: flex;
    margin-right: 2%;
    border-radius: 10px;
}

.header-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.header-text {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.header-text hr {
    width: 100%;
}

.header-text h1 {
    font-size: 10vw;
    margin-bottom: -4%;
    margin-top: 7%;
}

.header-text h2 {
    font-size: 5vw;
    margin-bottom: 12%;
}

.header-text .nick-info {
    margin-top: 12%;
}

.header-text .info-row {
    font-size: 3vw;
    margin-bottom: 5vw;
}

@media only screen and (min-width: 1205px) {
    .desktop-header {
        max-height: 860px;
        max-width: 1200px;   
    }

    .header-text h1 {
        font-size: 91pt;
    }

    .header-text h2 { 
        font-size: 45.5pt; 
    }

    .header-text .info-row {
        font-size: 27pt;
        margin-bottom: 10.8%;
    }

    .nick-info img {
        height: 32px !important;
    }
}


/*MOBILE HEADER */
.header img {
    width: 80%; 
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgb(28, 28, 28);
}

.header {
    text-align: center;
    width: 100%;
}

.header h1 {
    font-size: 60px;
    margin-bottom: -10px;
}
.header h2 {
    font-size: 30px;
}


/*CONTACT INFO AND HYPERLINKS*/
.info-row {
   display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: center;
    height: 35px;


}

.nick-info img {
    height: 2.6vw;
}

/*ABOUT SECTION*/
.about {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 8%;
    font-size: 16pt;
}

.about-sub {
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 95%;

}
.about-sub img {
    width: 80%;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgb(28, 28, 28);
    margin-top: 12px;
}

.writer-image-mobile {
    display: flex;
}

.writer-image-desktop {
    display: none;
    margin-left: 2%;
    margin-right: 0% !important;
}


.header-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-icon img {
    display:flex;
    position: absolute;
    mix-blend-mode: lighten;
    opacity: 20%;
    width: 28%;
}

.writer-text {
    margin-top: 40px;
}

.voice-actor-icon {
    scale: 0.35
    ;

}

/* DEMO REEL SECTION */
.demo-reel {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 8%;
    font-size: 16pt;
}

/* $$$$$$$$$$$$ WHEN OTHER REELS ARE READY, CHANGE THE display from "none" to "flex" IN DEMO-REEL-SELECTION to turn on reel toggle $$$$$$$$$$$$ */

.demo-reel-selection {
    display: flex; 
    width: 95%;
}

.demo-reel-selection ul {
    display:flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    width: 95%;
    padding-left: 0;
    font-weight: 700;
}

.demo-reel-selection li {
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 300ms, text-shadow 300ms;
}

/* DEMO REEL ACTIVATOR CLASSES */
.demo-text-active {
    opacity: 1 !important;
    text-shadow: 0px 0px 20px white;
}

.demo-vid-active {
    opacity: 1 !important;
    pointer-events: all !important;
    user-select: all !important;
    z-index: 100 !important;
}

/*DEMO REEL CONTAINER*/
.reel-container {
    width: 95%;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

iframe {
    width: 100%;
    aspect-ratio: 16 / 9;

}

.film-reel {
    display: flex;
    position: relative;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms;
    z-index: 0; 
}

.commercial-reel {
    display: flex;
    position: absolute;
    width: 91%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms;
    z-index: 0; 
    
}

.voiceover-reel {
    display: flex;
    position: absolute;
    width: 91%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms;
    z-index: 0; 
}

.sizer {
    display: none;
    height: 520px;
    position: relative;
    top: 0;
}

.sizer-active {
    display: flex !important;
}

.voiceover-reel {
    display: flex;
    position: absolute;
    width: 91%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms;
    z-index: 0; 
    align-items: start;
    align-self: baseline;
    flex-direction: column;
}

.mp3-container {
width: 100%;
display: flex;
justify-content: center;
text-align: center;
margin-top: 2%;
flex-direction: column;
}

.mp3-icon {
    background-color: #222;
    display: flex;
    padding: 10px;
    align-items: center;
    height: 50px;
    margin-bottom: 2%;
}

.mp3-icon img {
    mix-blend-mode: lighten;
    height: 100%;
}

.mp3-icon p {
    font-size: 20pt;
    width: 150px;
    text-align: center;
    justify-content: center;
}


.mp3-container audio{
flex: 1;
border-radius: 30px;
background-color: #222;
box-shadow: 2px 2px 5px rgb(21, 21, 21);
}

audio::-webkit-media-controls-panel {
    background-color: #2b2b2b;
    color: white;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-volume-slider,
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-timeline {
    filter: invert(1);
}

.mp3-file {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-left: 1%;
}

/* RESUME ACTIVATOR CLASSES */
.resumes {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 8%;
    font-size: 16pt;
}

.resumes-selection {
    display: flex;
    width: 95%;
}

.resumes-selection ul {
    display:flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    width: 95%;
    padding-left: 0;
    font-weight: 700;
}

.resumes-selection li {
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 300ms, text-shadow 300ms;
}


.resumes-text-active {
    opacity: 1 !important;
    text-shadow: 0px 0px 20px white;
}

.resumes-pdf-active {
    opacity: 1 !important;
    pointer-events: all !important;
    user-select: all !important;
    z-index: 100 !important;
}

/*RESUME CONTAINER*/ 
.resumes-container {
    display: flex;
    flex-direction: column;
    width: 95%;
    max-width: 900px;
    height: auto;
    position: relative;
    align-items: center;
}

.resumes-container img {
    width: 100%;
    height: auto;
}

.actor-pdf {
    display: flex;
    position: relative;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms;
    z-index: 0; 
}

.playwright-pdf {
    display: flex;
    position: absolute;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms;
    z-index: 0; 
}

/*PROJECT SELECTION**/
.projects {
    display: flex;
    width: 100%;
    max-width: 1200px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 8%;
    font-size: 16pt;
}

.project-column {
    display: flex;
    flex-direction: column;
    width: 95%;
    overflow: hidden;
}

.project-row {
    display:flex;
    flex-direction: row;
    justify-content: space-around;
}

.project-poster {
    display: flex;
    width: 43vw;
    max-width: 550px;
    aspect-ratio: 10 / 9;
    margin-bottom: 2%; 
    margin-top: 2%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 5px rgb(28, 28, 28);
    transition: scale 300ms;
}

.project-poster img {
    width: 100%;
    height: 100%;
}

.project-poster:hover {
    scale: 1.025;
}

.view-more {
    display: flex;
    width: 45vw;
    max-width: 550px;
    height: 12vw;
    max-height: 150px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgb(28, 28, 28);
    background-color: rgb(77, 77, 77);
    transition: scale 300ms;
    justify-content: center;
    align-items: center;
    justify-content: center;
    margin-top: 2%;
    margin-bottom: 12%;
}

.view-more:hover {
    scale: 1.025;
}

.view-more p {
    color: #ffffff;
    font-weight: 700;
    font-size: 18pt;
}

@media only screen and (min-width:750px) {
    .mobile-header {
        display: none !important;
    }

    .mobile-info {
        display: none !important;
    }
    
    .desktop-header {
        display: flex !important;
    }
    
    .view-more p {
        font-size: 30pt;
    }

    .about {
        font-size: 3vw;
    }

    .about-sub {
        flex-direction: row;
        margin-bottom: 5%;
        margin-top: 5%;
    }

    .about-sub img {
        width: 50%;
        margin-right: 2%;
    }

    .writer-image-mobile {
        display: none;
    }

    .writer-image-desktop {
        display: flex;
    }
    
    .header-icon {
        margin-bottom: -30px;
    }

    .header-icon img {
        width: 120px;
        margin-left: 2%;
    }

    .demo-reel {
        font-size: 24pt;
    }

    .resumes {
        font-size: 24pt;
    }

    .projects {
        font-size: 24pt;
    }

    .info-row {
        justify-content: left;
        font-size: 16pt;
    }

    .project-title h1 {
        font-size: 32pt;
    }

    .project-description h2 {
        font-size: 28pt;
    }

    .project-description p {
        font-size: 20pt;
    }
}

@media only screen and (min-width:1000px) {
    .view-more p {
        font-size: 24pt;
    }

    .about {
        font-size: 30pt;
    }

    .about-sub h2 {
        font-size: 40pt;
    }

    .header-icon image {
        width: 160px;
    } 

    .demo-reel {
        font-size: 30pt;
    }

    .resumes {
        font-size: 30pt;
    }

    .projects {
        font-size: 30pt;
    }

    .project-carousel{
        max-height: 620px;
    }

    .project-title h1 {
        font-size: 44pt;
    }

    .project-description h2 {
        font-size: 36pt;
    }

    .project-gallery {
        max-width: 1000px;
    }
}


/* PROJECT PAGE */
.project-title {
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-bottom: 10px;
}

.project-carousel {
    display: flex;
    position: relative;
    overflow: hidden;
    width: 95%;
    height: 60vw;
    margin-top: 10px;
    border-radius: 10px 10px 0px 0px;
}

.image-container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative; /* Needed for absolute-positioned children */
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* <- THIS is the key */
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

/* The visible image gets full opacity and is on top */
.image-container img.active {
    opacity: 1;
    z-index: 1;
}

.carousel-nav {
    display: flex;
    position: relative;
    width: 95%;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    margin-top: 0%;
}

.prev-btn,
.next-btn {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    cursor: pointer;
    background-color: rgba(170, 170, 170, 0.128);
    transition: background-color 300ms;
}

.prev-btn {
    border-radius: 0px 0px 0px 10px;
}

.next-btn {
    border-radius: 0px 0px 10px 0px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(170, 170, 170, 0.3);
}

.project-description {
    text-align: center;
}

.project-banner {
    display: flex;
    width: 95%;
    margin-top: 30px;
    
}

.project-banner img {
     width: 100%;
     border-radius: 10px;
}

.project-description {
    display: flex;
    width: 95%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    font-size: 14pt;
    text-align: center;
}


.project-description p {
    margin-top: -8px;
    margin-bottom: 40px;
}

.home-btn p {
    color: rgb(172, 172, 172);
    text-decoration: underline;
}

.togal-btn p {
    color: rgb(172, 172, 172);
    text-decoration: underline;
    margin-top: -2%;
}

.project-link {
    display: flex;
    width: 185px;
    height: 80px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgb(28, 28, 28);
    background-color: rgb(77, 77, 77);
    transition: scale 300ms;
    justify-content: center;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.project-link h2 {
    margin: 0;
    text-align: center;
}

.highlight-blue {
    color: rgb(0, 200, 255); 
  }



/*_________________________________________________*/
/*PROJECT GALLERY STUFF*/

#project-page-header img {
    display: flex;
    width: 60px;
    mix-blend-mode: lighten;
    user-select: none;
    z-index: 100;
    overflow: hidden;
    opacity: 30%;
    transition: scale 500ms ease, opacity 500ms ease;
}



.photo-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin-top: -1%;
    margin-bottom: 2%;
}

.drama-masks {
    transform: translateY(-3px);
    width: 100px !important;
    filter: brightness(120%);
}

.wrt-btn,
.act-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.wrt-btn p,
.act-btn p {
    color: rgb(228, 228, 228);
    font-family: "Josefin Slab", serif;
}

.wrt-btn p {
    margin-top: 2px;
    transform: translateX(-5px);
}

.act-btn p {
    margin-top: 2px;
}

.writing-page,
.writing-menu {
    display: flex;
    flex-direction: column;
}

.acting-menu,
.acting-page {
    display: none;
    flex-direction: column;
}

.wrt-btn-txt,
.act-btn-txt {
    opacity: 0;
    transition: opacity 500ms ease;
}

.act-btn:hover > .act-btn-txt {
    opacity: 1 !important;
}

.wrt-btn:hover > .wrt-btn-txt {
    opacity: 1 !important;
}

#project-page-header img:hover {
    cursor: pointer;
    scale: 1.1;
    opacity: 100%;
}

.drama-masks:hover >  {
    opacity: 1 !important;
}

.page-active {
    opacity: 100% !important;
}

#project-page-header h1 {
    transition: scale 500ms ease, text-shadow 500ms ease;
    user-select: none;
}

#project-page-header h1:hover {
    cursor: pointer;
    scale: 1.02;
    text-shadow: 0px 0px 8px white;
}

/*FOOTER*/
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-items img {
    height: 35px;
    mix-blend-mode: lighten;
}

.footer-items {
    width: 95%; 
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 10px;
}

.project-picture {
       display: flex;
       width: 95%;
       margin-top: 2%;
       align-items: center;
       justify-content: center;
}

.project-picture img {
        width: 100%;
        border-radius: 10px;
        max-width: 600px !important;
}

.project-review {
     display: flex;
    width: 95%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    font-size: 14pt;
    text-align: center;
    }
    
    
    .project-review {
        margin-top: -8px;
        margin-bottom: -30px;
    }

/* PROJECT GALLERY STUFF */
    .project-gallery {
        display: flex;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 16pt;
        margin-bottom: 3%;
    }

    .gnav-icons {
        display: flex;
        width: 95%;
        justify-content: center;
        margin-bottom: 30px;
    }

    .gnav-icons img {
        height: 50px;
        margin: 0% 5% 0% 5%;
        mix-blend-mode: lighten;
        opacity: 0.4;
        cursor: pointer;
    }

    .gnav-active {
        opacity: 1 !important;
    }

    .acting-projects,
    .writing-projects,
    .vo-projects {
        display: flex;
        flex-direction: column;
        width: 95%;
    }

    .gallery-row {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
    }
    
    .gallery-row a {
        display: flex;
        width: 47.5%;
        margin-bottom: 5%;
        border-radius: 10px;
    }

    .gallery-row a img {
        width: 100%;
        display: block;
        border-radius: 10px;
    }

    .gallery-column {
        display: flex;
        width: 47.5%;
        flex-direction: column;
    }

    .gallery-column a {
        display: flex;
        width: 100%;
        margin-bottom: 10%;
        border-radius: 10px;
    }

    .gallery-cloumn a img {
        width: 100%;
        display: block;
        border-radius: 10px;
    }

    .gallery-row-fullwidth {
        display: none;
        flex-direction: row;
        justify-content: center;
      }
      
      /*WHEN YOU HAVE A CURRENT PRODUCTION CHANGE DISPLAY FROM "NONE" TO "FLEX" */

      .gallery-row-fullwidth img {
          width: 100%;
          border-radius: 10px;
          margin-bottom: 5%;
          display: flex;
      }

      .writing-projects {
        display: none;
      }

      .vo-projects {
        display: none;
      }


    .project-gallery img:hover {
        scale: 1.025;
    }

    .project-gallery img {
        transition: scale 300ms, opacity 300ms;
    }

    .gnav-icons img:hover {
        scale: 1.1 !important;
    }



    

/*NEW STUFF (TROUBLESHOOTING YOUTUBE VIDEO INPUT*/
.preview-vid-container {
    width: 95%;
    height: auto; /* Needed if child is absolute */
    margin: auto;
    overflow: hidden;
    margin-bottom: 4%;
    max-width: 1150px;
    position: relative;
  }
  
  .preview-vid {
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  .preview-vid-container iframe {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  