@import url('https://fonts.cdnfonts.com/css/glacial-indifference-2');
@font-face {
    font-family: TheSeasons;
    src: url('fonts/Fontspring-theseasons-reg.otf');
}

@font-face {
    font-family: TheSeasonsCursive;
    src: url('fonts/Fontspring-cursive-theseasons-it.otf');
}

@font-face {
    font-family: Gallient;
    src: url('fonts/Gallient.ttf');
}

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

html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
    background-color: #F7F7F7;
    display: flex;
}

/* Hide mobile header by default */
.mobile-header {
    display: none;
}

.dropdown-menu {
    display: none;
}

.maincontainer {
    display: flex;
    width: 100vw;
    height: 100vh;
}

iframe {
    border: none;
    height: 100%;
}

#leftSidebar {
    width: 21%;
}

#mainContent {
    width: 67%;
}

#rightSidebar {
    width: 12%;
}

.content {
    flex-grow: 1;
    background: #f7f7f7;
    height: 100vh;
    min-height: 100vh;
    overflow-y: auto;
}

img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto\9; /* ie8 */
}

.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    height: 100vh;
}

.left {
    align-items: flex-end; /* Right-align text */
    text-align: right;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 550px;
    justify-content: space-between; /* Evenly distribute space */
}

.left .homepagelogo {
    margin-bottom: 20px;
    align-self: center;
    position: relative;
    z-index: 10;
}

.left .projectlinks {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end; /* Ensure text is right-aligned */
    flex-grow: 1;
    height: 100%;
    line-height: 26px;
    top: 50%;
    padding-left: 20px;
    position: absolute;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.right {
    align-items: flex-start; /* Align text to the left */
    text-align: left;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    line-height: 30px;
}

.sidebar a {
    color: black;
    text-decoration: none;
    padding: 1px;
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 16px;
}

.contactuslinks {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* Change background color on hover */
.sidebar a:hover {
    color: #5b879a;
}

/* .copyright_claim {
    color: #5b879a;
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 16px;
    position: absolute;
    text-align: center;
    height: 50px;
    float: inline-end;
} */

/* ----------------- ABOUT SECTION ------------------ */

.about_image {
    padding-top: 30px;
    flex-grow: 1;
    background: #f7f7f7;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.about_intro {
    color: #344e54;
    line-height: 30px;
    margin-bottom: 10px;
    margin-top: 10px;
    display: inline-block;
    width: 100%;
    padding-right: 25px;
    padding-left: 25px;
}

.cofounders {
    float: left;
    font-size: 0px;
    font-family: TheSeasonsCursive;
}

.cofounders span {
    font-size: 22px;
}

.names {
    font-size: 0;
    float: right;
    text-align: right;
    font-size: 34px;
    padding-right: 13px;
    font-family: Gallient;
}

.about_intro {
    padding-top: 26px;
    padding-left: 25px;
    padding-right: 25px;
    color: #344e54;
}

.about_info {
    padding-top: 24px;
    padding-left: 25px;
    padding-right: 25px;
    color: #344e54;
    font-size: 17px;
    font-family: 'Glacial Indifference', sans-serif;
}

@media only screen and (max-width: 800px) {
    .cofounders span {
        font-size: 18px; 
    }

    .names  {
        font-size: 25px; 
    }

    .about_intro {
        padding-top: 15px;
    }

    .about_info {
        padding-top: 10px;
    }
}

@media only screen and (max-width: 600px) {
    .cofounders span {
        font-size: 15px; 
    }

    .names  {
        font-size: 22px; 
    }

    .about_info {
        font-size: 14px;
    }
}

@media only screen and (max-width: 610px) {
    .cofounders span {
        font-size: 14px; 
    }

    .names  {
        font-size: 20px; 
    }

}


/* ------------------ PRESS PAGE ------------------ */

.press_body {
    background-color: #f7f7f7;
}

.press_info {
    font-size: 22px;
    font-family: 'Glacial Indifference', sans-serif;
    color: #344e54;
    padding-bottom: 15px;
    padding-top: 15px;
    padding-left: 25px;
    padding-right: 20px;
    width: 100%;
}

.press_title {
    font-weight: bold;
}

.press_link {
    color: #648e98;
}

.press_main {
    display: flex;
    justify-content: end;
    align-items: center;
    font-size: 35px;
    font-family: 'Glacial Indifference', sans-serif;
    color:#344e54;
    padding-left: 25px;
    padding-top: 50px;
    padding-bottom: 25px;
}

.hidden_press {
    color: #F7F7F7;
}

hr {
    width: 100%;
    margin: 0;
    color:#344e54;
    justify-content: center;
    background-color: #F7F7F7;
    border-color: #344e54;
    border-width: 1px;
}

@media only screen and (max-width: 800px) {
    .press_header h1 {
        font-size: 40px;
    }

    .press_info {
        font-size: 16px;
    }
}

/* link colors */

.project_namedate > a:link {
    color: #5b879a;
}

.project_namedate > a:visited {
    color: #5b879a;
}

.project_namedate > a:hover {
    color: #33596a;
}
/* ------------------ MOBILE VIEW ------------------- */

/* Apply styles only for screens smaller than 768px (iPhone-sized) */
@media only screen and (max-width: 1100px) {
    /* Show the mobile header */
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #F7F7F7;
        padding: 15px;
        width: 100%;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        height: 110px;
    }

    /* Button styling */
    .menu-button {
        background-color: #F7F7F7;
        border: none;
        font-size: 34px;
        cursor: pointer;
        padding: 10px;
        color: #5b879a;
    }

    /* Full-screen dropdown menu - Hidden by default */
    .dropdown-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #F7F7F7;
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* Show dropdown menu when active */
    .dropdown-menu.show {
        display: flex;
    }

    .dropdown-menu a {
        font-size: 21px;
        font-family: 'Glacial Indifference', sans-serif;
        text-decoration: none;
        color: black;
        padding: 15px;
        display: block;
        width: 100%;
    }

    .dropdown-menu a:hover {
        background-color: #5b879a;
        color: white;
    }

    /* Hide sidebars in mobile view */
    #leftSidebar, #rightSidebar {
        display: none;
    }

    /* Push main content down */
    #mainContent {
        width: 100%;
        height: calc(100vh - 115px);
        position: absolute;
        top: 115px; 
        left: 0;
    }

    .project_information {
        padding-top: 5px;
        padding-left: 7px;
        padding-right: 7px;
    }
}

/* adding padding to bottom of screen if on a phone (since there is a bar across the bottom) */
@media only screen and (max-width: 770px) {
    #mainContent {
        padding-bottom: 110px;
    }

    #mainContent > .contact_body{
        padding-bottom: 10px;
    }
}

/* --------------- SERVICE LAYOUT --------------------*/

.services_body {
    font-family: 'Glacial Indifference', sans-serif;
    color: #344e54;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* everything aligns to the right */
  }
  
  .services_png {
    display: none;
  }

  /* ----------------- Service Type (Top Nav) ------------------- */
  
  .service_type {
    display: flex;
    justify-content: space-between;
    width: 75%;
    margin-right: 30px;
    margin-top: 30px;
    margin-bottom: 150px;
    font-size: 18px;
    font-weight: 600;
  }
  
  .service_typemobile { display: none; }
  
  /* ----------------- Service Container ------------------- */
  
  #service_container {
    width: 75%;
    margin-right: 30px;
    padding-top: 50px;
    /* positions (as % across the 75%-wide container) */
    --p1: 0%;   /* Development */
    --p2: 40%;  /* Production */
    --p3: 80%;  /* Post Production  */
  }

  .development {
    text-align: left;
  }

  .production {
    text-align: center;
  }

  .postproduction {
    text-align: right;
  }
  
  /* Titles ABOVE the line, centered on each dot */
  .service_process {
    position: relative;
    min-height: 28px;
    font-family: TheSeasons, serif;
    font-size: 18px;
    margin-bottom: 14px;
  }

  .service_process > div {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 2;
  }
  .service_process > div:nth-child(1) { left: var(--p1); text-align: left; }
  .service_process > div:nth-child(2) { left: var(--p2); }
  .service_process > div:nth-child(3) { left: var(--p3); text-align: right;}
  
  /* Line + three dots */
  .service_divider {
    position: relative;
    height: 40px;
    margin: 4px 0;
    background:
      radial-gradient(circle, #344e54 0 8px, transparent 8px) var(--p1) 50% / 16px 16px no-repeat,
      radial-gradient(circle, #344e54 0 8px, transparent 8px) var(--p2) 50% / 16px 16px no-repeat,
      radial-gradient(circle, #344e54 0 8px, transparent 8px) var(--p3) 50% / 16px 16px no-repeat,
      linear-gradient(#344e54, #344e54);
    background-size:
      16px 16px,
      16px 16px,
      16px 16px,
      100% 2px;            /* the line */
    background-position:
      var(--p1) 50%,
      var(--p2) 50%,
      var(--p3) 50%,
      0 50%;
    background-repeat: no-repeat;
    z-index: 1;
  }

  .service_divider img { 
    display: none; 
}
  
  /* Details BELOW the line, centered on each dot */
  .service_details {
    position: relative;
    min-height: 110px;     
    margin-top: 12px;
    font-size: 16px;
  }
  .service_details > div {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    max-width: 260px;
    z-index: 2;
    line-height: 27px;
  }
  .service_details > div:nth-child(1) { left: var(--p1); }
  .service_details > div:nth-child(2) { left: var(--p2); }
  .service_details > div:nth-child(3) { left: var(--p3); }
  
  /* ----------------- Service Info (Bottom) ------------------- */
  
  .service_info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  
  .ourservices {
    font-family: TheSeasons, serif;
    font-size: 40px;
    margin: 0;
  }
  
  .moreservice {
    max-width: 340px;
    font-size: 15px;
    text-align: right;
  }
  .moreservice p { margin: 0; }
  
  /* ----------------- Hide Mobile Versions ------------------- */
  
  #service_containermobile,
  .service_info_mobile { display: none; }
  
  /* ---------------- MOBILE LAYOUT ---------------- */
  @media only screen and (max-width: 1100px) {
    .service_type,
    #service_container,
    .service_info {
      display: none;
    }

    .services_png {
        display: flex;
        overflow: auto;
        position: relative;
        align-self: center;
    }

    .services_png > img {
        vertical-align: bottom;
    }
  }
  /*
  @media only screen and (max-width: 1100px) {
    .service_type,
    #service_container,
    .service_info {
      display: none;
    }
  
    .service_typemobile {
      display: flex;
      justify-content: space-evenly;
      width: 100%;
      margin-top: 20px;
      font-size: 15px;
      font-weight: 600;
    }
  
    #service_containermobile {
      display: block;
      width: 75%;
      margin-left: 0;
      margin-right: 150px;
      margin-top: 30px;
      position: relative;
    }
  
    .timeline-vertical {
      --circle-size: 16px;
      --circle-border: 4px;
      --rail: 2px;
      --mid-col: calc(var(--circle-size) + 4 * var(--circle-border));
  
      display: grid;
      grid-template-columns: 1fr var(--mid-col) 1.6fr;
      grid-auto-rows: 1fr;      
      column-gap: 10px;
      align-items: center;
      position: relative;
      min-height: calc(100vh - 220px);
      padding: 16px 0;
    }
  
    .timeline-vertical::before {
        content: "";
        position: absolute;
        top: 18%; /* adjust starting position 
        bottom: -100%;
        left: 4%;      /* adjust line position             
        transform: translateX(-50%); 
        grid-column: 2;             
        width: var(--rail);
        background: #344e54;
        z-index: 1;
    }
  
    .step-vertical {
      display: contents; 
    }
  
    .step-vertical .process { /* development, production, post p
      grid-column: 1;
      justify-self: end;
      text-align: right;
      padding-right: 15px;
      font-family: TheSeasons, serif;
      font-size: 14px;
      align-self: center;
      margin-left: 35px;
    }
  
    .step-vertical .circle {
      grid-column: 2;
      justify-self: center;
      align-self: center;
      width: var(--circle-size);
      height: var(--circle-size);
      background: #344e54;
      border: var(--circle-border) solid #344e54;
      border-radius: 50%;
      z-index: 2; /* above the line 
    }
  
    .step-vertical .details {
      grid-column: 3;
      justify-self: start;
      text-align: left;
      font-size: 14px;
      align-self: center;
      max-width: 100%;
      margin-left: 15px;
    }
  
    .service_info_mobile {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      position: absolute;
      bottom: 10px;
      right: 20px;
      text-align: right;
    }
  
    .service_info_mobile .moreservice {
      font-size: 14px;
      margin-bottom: 10px;
      max-width: 250px;
    }
  
    .service_info_mobile .ourservices {
      font-family: TheSeasons, serif;
      font-size: 40px;
      margin: 0;
    }
  }
  
  @media only screen and (max-width: 800px) {
    .timeline-vertical {
        column-gap: 5px;
    }

    .timeline-vertical::before {
        left: 4.5%; /* adjust line postiion 
    }

    .service_typemobile {
        font-size: 10px;
    }

    .step-vertical .process {
        font-size: 10px;
        padding-right: 1px;
        padding-left: 15px;
    }

    .step-vertical .circle {
        width: 2px;
        height: 2px;
    }

    .step-vertical .details {
        font-size: 10px;
        margin-left: 1px;
    }

    .service_info_mobile .moreservice {
        font-size: 9px;
    }

    .service_info_mobile .ourservices {
        font-size: 22px;
        margin: 0;
      }
  }

  @media only screen and (max-width: 768px) {
    .timeline-vertical::before {
        left: 4.5%; /* adjust line postiion 
    }
  }
  
  @media only screen and (max-width: 700px) {
    .timeline-vertical::before {
        left: 4.5%;
    }
  }

  @media only screen and (max-width: 650px) {
    .timeline-vertical::before {
        left: 5%;
    }
  }

  @media only screen and (max-width: 625px) {
    .timeline-vertical::before {
        left: 5.5%;
    }
  }

  @media only screen and (max-width: 610px) {
    .timeline-vertical::before {
        left: 6%;
    }
  }

  @media only screen and (max-width: 604px) {
    .timeline-vertical::before {
        left: 5.7%;
    }
  }

  @media only screen and (max-width: 580px) {
    .timeline-vertical::before {
        left: 6%;
    }
}

@media only screen and (max-width: 540px) {
    .timeline-vertical::before {
        left: 6.5%;
    } 
}

@media only screen and (max-width: 500px) {
    .timeline-vertical::before {
        left: 7%;
    }
  }
*/

/* --------------- CONTACT US LAYOUT -----------------*/
.contact_body {
    background-color: #F7F7F7;
}

.contact_container {
    font-family: 'Glacial Indifference', sans-serif;
    color: #344e54;
    width: 100%;
    top: 50%;
    margin: 0;
    position: absolute;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.contact_us_intro {
    margin-bottom: 40px;
    text-align: center;
}

.contact_header {
    font-size: 50px;
    margin-bottom: 15px;
}

.contact_motivation {
    font-size: 20px;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

.contact_information {
    display: flex;
    font-size: 16px;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 48%;
    align-items: center;
}

.contact_specific {
    margin-left: 30px;
    margin-top: 0px;
    text-align: left;
}

.contact_specific > a:link {
    color: #33596a;
}

@media only screen and (max-width: 800px) {
    .contact_header {
        font-size: 35px;
    }

    .contact_motivation {
        font-size: 16px;
    }

    .contact_information {
        font-size: 13px;
    }

    .contact_specific {
        margin-left: 15px;
    }
    
}

/* --------------- GENERAL PROJECT LAYOUT -----------------*/
.project_information {
    color: #5b879a;
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 20px;
    margin-top: 20px;
    display: inline-block;
    width: 100%;
}

.project_namedate {
    float: left;
}

.project_servicecast {
    float: right;
    text-align: right;
}

.cast_dropdown_wrapper {
    position: relative;
    display: inline-block;
}

.cast_list {
    border: none;
    color: #5b879a;
    font-family: 'Glacial Indifference', sans-serif;
    background-color: inherit;
    font-size: 18px;
    cursor: pointer;
    display: inline-block;
}

.cast_list:hover {
    color:#33596a;
}

.dropdown_paragraph {
    display: none;
    position: absolute;
    right: 80%;
    width: 100vw; 
    background-color: #f9f9f9;
    color: #000;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.cast_dropdown_wrapper:hover .dropdown_paragraph {
    display: block;
}

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

    .dropdown_paragraph {
        right: -6%;
        width: 50vw;
    }
}

.row {
    display: flex;
}

.verticalgroup {
    flex: 50%;
    padding: 2px;
}

/* ROMONTIO */

.photo_images_container {
    height: 100dvh;
}

.project_images {
    flex-grow: 1;
    background: #f7f7f7;
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    padding-bottom: 130px;
}

/* FUJIFILM */

.fujifilm_container {
    height: 100vh;
}

.fujifilm_images {
    flex-grow: 1;
    background: #f7f7f7;
    height: 100dvh;
    max-height: 100dvh;
    width: 100%;
    overflow-y: auto;
}

/* TO DROWN A FLAME */

.todrownaflame_container {
    height: 100vh;
}

.todrownaflame_images {
    flex-grow: 1;
    background: #f7f7f7;
    height: 100vh;
    min-height: 100vh;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-bottom: 130px;
}

@media only screen and (max-width: 770px) {
    .fujifilm_images {
        padding-bottom: 110px;
    }
    
    .project_images {
        padding-bottom: 110px;
    }

    .todrownaflame_images {
        padding-bottom: 110px;
    }
}