/* *{
  box-sizing: border-box;
} */

/* General Styles */
body {
    background-color: #FAD89A;
    /* font-family: "Roboto", serif; */
    font-family: "Lexend Deca", serif;
    margin: 0;
    padding: 0;
    text-align: center;
    /* min-height:100vh; */
    overflow-y:scroll;
    /* padding-top: 100px; */
}


/* *{
box-sizing:border-box;
margin: 0;
padding: 0;
/* font-family: "Lexend-Deca", "Roboto", sans-serif; */

/* ------------------------------------------------------------------- */

/* Scroll bar styles starts here */

/* width */
::-webkit-scrollbar {
  width: 15px;
  
}

/* Track */
::-webkit-scrollbar-track {
  background:#f9d89a;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #8E6641;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #6A4624;
}


/* ------------------------------------------------------------------- */

/* Navigation Header Styles Starts here */

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    float: right;
}

li {
  display:inline-flex;
  vertical-align: middle;
  align-items: center;
  position: relative;

}

.Navbar{
  margin: 0px 0px 20px 0px;
  vertical-align: middle;
  height: 70px;
  width: 100%;
  position: relative;
}

.Logo{
  width: 150px;
  float: left;
  margin-left: 40px;
}
.NavItems{
  font-family: "Lexend Deca", serif;
  padding: 30px 0 0 0;
  font-size: 20px;
  margin: 0 60px 0 0px;
  cursor: pointer;
  color: black;
  text-decoration: none;
  position: relative;
}

.NavItems::after{
  content:'';
  height: 4px;
  left: 0;
  bottom:-10px;
  width: 0;
  background:  #8E6641;
  transition: width .2s;
  position: absolute;
  border-radius: 10px;
}
.NavItems:hover:after{
  width: 100%;
}

.submenu {
  position: absolute;
  width: 160px;
  height: 50px;
  background-color: #FFE9C1;
  border-radius: 10px;
  border: solid #8E6641;
  top: 130%; 
  left: 0px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease, z-index 0.3s ease;
  text-align: center;
  visibility: hidden;
  pointer-events: none;
  padding-top: 5px;
}
.submenu a{
  color: black;
  text-decoration: none;
  font-family: "Lexend Deca", serif;
  font-size: 20px;
  margin: 5px;
}
.dropdown:hover > .submenu, .submenu:hover {
  opacity: 1;
  z-index: 99;
  visibility: visible;
  pointer-events: auto; 
}

.dropdown {
  position: relative;
}
.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 30px; 
  background: transparent;
  padding-bottom: 50px;
}
.submenu a::after {
  content: '';
  height: 4px;
  left: 0;
  bottom: -1px;
  width: 0;
  background: #8E6641; 
  transition: width 0.2s;
  position: absolute;
  border-radius: 10px;
}
  
.submenu a:hover::after {
  width: 100%;
}
.topnav .icon{
  display: none;
}
/* Navigation header styles end here */

/* ------------------------------------------------------------------- */

/* Hero section styles starts here */
/* Style the video as a full-page background */
video {
  position: relative;
  top: 0;
  left: 0;
  width: 90%;
  height: 680px;
  object-fit: cover; /* Ensures the video covers the screen without distortion */
  z-index: -1; 
  border-radius: 30px;
}

/* Hero section styles end here */

/* ------------------------------------------------------------------- */

/* Content section styles of the homepage starts here */

.home-works-underline{
  height: 10px;
  left: 0;
  bottom: 20px;
  width: 50%;
  background:  #8E6641;
  position: relative;
  border-radius: 30px;
  display: center;
  align-items: center;
  margin: auto;

}
.home-works{
  font-size: 50px; 
  text-align: center;
}

.comingsoon{
  font-family: "Lexend Deca", serif;
  font-size: 36px;
  font-weight:400;
  display: flex;
  margin-top: 30px;
}
.CSarrow{
  background:#8E6641;
  height: 13px;
  width: 192px;
  margin-top:50px;
  border-bottom-right-radius: 30px;
}
.CSheader{
  margin-left: 50px;
}
.CSevening{
  font-family: "Lexend Deca", serif;
  display: flex;
  margin-top: 30px;
  margin-bottom: auto;
  min-height: 65vh;
}
.list{
  background-color: #FFE9C1;
  font-size: 24px;
  height: 31px;
  width: 42px;
  text-align: center;
  margin-left: 5%;
}
.list-arrow{
  display: none;
}
.text-list{
  margin-left: 130px;
  font-size: 24px;
  text-decoration: none;
  color: black;
  height: 0px;
}
.text-list:hover{
  border-bottom: solid;
  border-width: 4px;
  border-radius: 2px;
  border-color: #6A4624;
  margin-top: 20px;
  margin-bottom: 16px;
}
.poster{
  width: 280px;
  margin-top:auto;
  margin-bottom: auto;
  position: absolute;
  left: 55%;
  border-radius: 15px;
}
.poster:hover{
  border: solid;
  border-width: 10px;
  border-radius: 15px;
  transform: scale(1.1,1.1);
  max-width: 300px;
  border-color:#8E6641;
}


/* Content section styles ends here*/

/* ------------------------------------------------------------------- */

/* Footer section styles starts here */
.footer-gradient{
  background-image: linear-gradient(#FAD89A, #FFE9C1);
  display: flex;
}
.footer-gradient > section{
  margin-top: 3rem;
  width: 100%;
}
footer{
  margin-top: 3rem;
  margin-bottom: 2rem;
  width: 100%;
  font-family: "Lexend Deca", serif;
}
.footer-border-left{
  background-color:#8E6641;
  height: 10px;
  width: 55%;
  float: left;
  border-bottom-right-radius: 30px;
}
.footer-border-right{
  background-color:#8E6641;
  height: 10px;
  width: 55%;
  float:right;
  margin-top: 20px;
  border-top-left-radius: 30px;
}
.footer-content{
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: space-between;
}
.Logo-footer{
  width: 150px;
  float: left;
  margin-left: 40px;
}
.footer-copy{
  display: flex;
  flex-direction: column;
  float: left;
}
.copyright{
  float: left;
  margin-left: 30px;
  margin-top: 10px;
  margin-bottom: 0px;
  padding: 0px;
}
.footer-aboutus{
  text-decoration: none;
  color: black;
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.footer-aboutus > a {
  text-decoration: none;
  color: black;
}
.footer-aboutus > a:hover{
  border-bottom: solid;
  border-width: 4px;
  border-radius: 2px;
  border-color: #6A4624;
  margin-top: 20px;
  margin-bottom: 16px;
}

.footer-middle{
  display: flex;
  align-content: center;
  flex-direction: column;
}

.footer-middle-p > p{
  margin: 0px;
}
.social-media{
  font-size: 20px;
  margin-right: 30px;
}
.social{
  width: 40px;
  /* margin-right: 20px; */
}

/* Footer section styles ends here */

/* ------------------------------------------------------------------- */

/* Homepage responsibility styles starts here */
/* navbar responsiveness */
@media screen and (max-width: 600px) {
  /* holding off on navbar responsiveness s */
  /* .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
    color:#6A4624;
  }
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
 .topnav.responsive.NavItems{
  display: inline;
 }
  .NavItems{
    display: none;
  }
  .fa.fa-bars{
    font-size: 25px;
    margin-right: 10px;
    margin-top: 10px;
  }
  .Navbar{
    margin: 0px;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  } */
  /* .Logo{
    width: 100px;
    margin-left: 10px;
  } */
  .footer-content{
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
    padding-top: 20px;
  }
  .social-media > p{
    margin: 5px;
  }
  .social-media{
    margin: 0px;
    order: 2;
  }
  .footer-copy{
    display: flex;
    flex-direction: column;
    /* float: left; */
    align-items: center;
    order: 3;
    margin-top: 10px;
  }
  .copyright{
    margin: 0px;
  }
  .Logo-footer{
    margin: 0px;
    
  }
  .footer-middle{
    order: 1;
    margin-bottom: 10px;
  }
  .footer-aboutus{
    margin-top: 20px;
    margin-bottom: 20px;
    /* padding-top: 20px; */
  }
  video{
    width: 200px;
  }
}


/* work section responsiveness */
@media screen and (max-width: 768px) {
  video {
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    object-fit: cover;
    z-index: -1; 
  }
  html,body{
    overflow-x: hidden;
  }
  ::-webkit-scrollbar{
    display: none;
  }
  .CSarrow{ 
    display: none;
  }
  .CSheader{
    margin: 0px;
    width: 300px;
    border: solid;
    border-width: 3px;
    border-radius: 10px;
  }
  .home-works{
    justify-self: center;
  }
  .comingsoon{
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
  }
  .list-arrow{
    background:#8E6641;
    height: 8px;
    width: 42px;
    margin-top:10px;
    border-bottom-right-radius: 30px;
    display: block;
  }

  .CSevening{
    min-height: 75vh;
  }
  .text-list{
    margin:0px;
    gap: 2%;
  }
  .poster{
    position: relative;
    left: 0%;
  }
  .mobile-poster{
    display: flex;
    width: 500px;
    gap: 10%;
    flex-direction: column;

  }
  .poster:hover{
    display: none;
  }
  
}


/* ------------------------------------------------------------------- */

/* About Us Styles */

header {
  text-align: center;
  margin-bottom: 20px;
  padding-top: 20px;
}

h1{
  font-family: "Roboto", serif;
}

.text > h2{
  margin:0;
}

.name > h2{
font-weight: 500;

}

/* Carousel Container */
.main {
  /* min-width: 100%; For mobile, adjust to change arrow position */
  width: 85%;
  margin: auto; 
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Centers content */
  /* overflow: hidden; /* Prevents unwanted scrolling */
  
} 



/* Carousel */
.carousel-container {
  width: 100%;
  max-width: 1000px;
  position: relative;
  display: flex;
  /* align-items: center;
  justify-content: center;
   */
  overflow: hidden;
}


.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%; /* 4 slides, each taking 100% width */
}

/* Individual Cards */
.card {
  min-width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 20px;
  height:auto;
  background: #FFE9C1;
  border-radius: 30px;
  /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
  display: flex;
  flex-direction: row; /* Stack elements horizontally */
  align-items: center; /* Center content */
  position:relative;
  gap: 20px;
  z-index: 1;
}

/* Card Text */
.text{
  display:flex;
  flex-direction: column;
  gap: 10px;
  padding:10px;
  max-width: 60%;
}

/* Responsive Image */
.pic {
  width: 100%;
    max-width: 410px; /* Adjust image size */
    height: auto;
    border-radius: 30px;
    margin-bottom: 10px; /* Space between image and text */
}

/* Ensure blurb fits well */
.blurb {
  /* max-width: 80%; Prevents text from stretching too wide */
  font-size: 20px; /* Adjust text size */
  line-height: 1.4; /* Improves readability */
  word-wrap: break-word;
  overflow-wrap: break-word; /* Ensures text doesn't overflow */
  font-weight: 300;
}

/* Navigation Buttons */
.button {
  position:absolute;
  top: 50%;
  font-size: 5rem; /* Adjust to your preference */
  color: #8e6641;  /* Button color */
  cursor: pointer;
  transform: translateY(-50%);
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 10px 15px;
 
}


/* Previous (Left Facing) Button */
.prev{
  left: 4%; /* Position left for previous button */
 }

/* Next (Right Facing) Button */
.next{
  right: 4%;
}

.button:hover {
  color:#6A4624;
}

/* Section Indicators */
.indicator-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;

}

.indicator, .indicator-back, .indicator-story {
  width: 12px;
  height: 12px;
  margin: 5px;
  display: inline-block;
  cursor: pointer;
  background-color: #FFE9C1;
  border-radius: 50%;
  transition: background-color 0.3s ease-in-out;
}

.indicator.active, .indicator-back.active, .indicator-story.active {
  background-color: #FFFFFF;
}

.divider-one, .divider-two{
 border: 5px solid #8E6641;
 border-radius: 20px;
}

.divider-one{
  width: 77%;
  margin: 60px auto ;
}
.divider-two{
margin-bottom: 20px;
border: 3px solid #8E6641;
}

.about-heading{
  margin-top:60px;
  gap: 10px;
}


.maincontainer{
  perspective: 1000px;
  width:100%;
  height: auto;
  display: flex;
  border-radius: 21px;
  margin: 50px 0px 0px 0px;
  /* background: green; */
  border-radius: 21px;    
  flex-direction: row;
  align-items: space-between;
  flex-wrap: wrap;
  justify-content: space-evenly;
  column-gap: 66px;
  column-gap: clamp(20px, 5vw, 66px); /* Responsive gap */
  padding: 20px; /* Prevents content from hitting edges */
}

.menu{
  display: flex;
  justify-content: space-between;
}
.thecard{
  position: relative;
  min-width:200px;
  min-height: 220px;
  height:auto;
  transform-style: preserve-3d;
  transition: transform 0.5s ease-in-out;
  background: #FFE9C1;
  border-radius: 30px;
  will-change: transform;
}



.thefront, .theback{
  position:absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.theback{
  transform: rotateY(180deg);
}

/* Inner border for the back card on hover */
.theback::after {
  content: ""; /* Required for pseudo-elements */
  position: absolute; /* Position absolute to overlay */
  top: 0px; /* Adjust for inner border spacing */
  left: 0px; /* Adjust for inner border spacing */
  right: 0px; /* Adjust for inner border spacing */
  bottom: 0px; /* Adjust for inner border spacing */
  border: 5px solid transparent; /* Initial border color */
  border-radius: 14px; /* Match the card's border radius */
  transition: border-color 0.3s ease; /* Smooth transition for border color */
  opacity: 0; /* Initially hide the border */
}
  .thecard:hover{
  transform: rotateY(180deg);
  cursor: pointer;
  }

  /* Show inner border on hover of the whole card */
.thecard:hover .theback::after {
  border: 5px solid #8E6641; /* Change to desired border color on hover */
   opacity: 1; 
  border-radius: 14px;
} 

.solo{
  width: 100%; /* Adjust image size */
  height: auto;
  padding-top: 30%;

}

.solo-container{
  border: 6px solid transparent; /* Initial border */
  transition: border-color 0.3s, box-shadow 0.3s;
  border-radius: 21px;
  box-shadow: 0 4px 16px rgba(234, 255, 0, 0);
  display: flex;
  flex-direction: column;
}

.solo-container.selected {
  /* border: 6px solid #8E6641; Change to desired border color on hover */
  cursor: pointer;
  border-radius: 21px;
  /* box-shadow: 0 4px 16px rgba(255, 137, 34, 0.4); Optional shadow for effect */
}

.solo-container.selected:hover{
  border: 6px solid transparent;
  box-shadow: 0 4px 16px rgba(234, 255, 0, 0); /* Optional shadow for effect */

}
.fade-out {
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Add transition for smooth fade */
  border-color: transparent; /* Change to transparent when fading out */
  box-shadow: none; /* Remove shadow if needed */
}

/* When the card is selected, keep it flipped */
.thecard.flipped {
  transform: rotateY(180deg); /* Flip to back */

}


.profile{
  width:100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;

}

.finn{
  object-fit: scale-down;
}

.id-all{
  width: 250px;
  height: 300px;
  margin-bottom: 20px;
}


.name{
  padding: 10px;
 
}

/* DROPDOWN CONTENT */
.speech-bubble {
  background: #FFE9C1;
  border: 5px solid #8e6641;
  width: 85%;
  height: auto;
  position:relative;
  border-radius: 30px;
  padding: 20px;
  top:62%;
  text-align: center;
  margin-top: 20px;
  display: none; /* Initially hidden */
  z-index: 100; /* Keep it above other elements */
}

/* .speech-bubble {

  padding: 10px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  
} */

.speech-bubble::before {
  content: "";
  position: absolute;
  bottom: 100%;
  /* left: 10%; */
  transform: translateX(-50%);
  border-width: 28px;
  border-style: solid;
  border-color: transparent transparent #8e6641 transparent;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
   border-radius: 10px; 
}

/* .speech-bubble::after {  */
.speech-bubble::after{
  content: "";
  position: absolute;
  bottom: 100%;
  /* left: 10%; */
  transform: translateX(-50%);
  border-width: 20px;
  border-style: solid;
  border-color: transparent transparent #FFE9C1 transparent;
  
} 


.one::before , .one::after{
  left: 10%;
  
}

.two::before , .two::after{
  left: 37%;
  
}

.three::before , .three::after{
  left: 63%;
  
}

.four::before , .four::after{
  left: 90%;
  
}
.id-head{
  display: flex;
  align-items: flex-end;
  justify-items: flex-start;
  position: relative;
  padding: 10px 15px;
  gap:28%;
  font-size: 25px;
 
}

.id-title{
  font-size: 40px;
  font-weight:400;
  margin: 0;
}

.issue{
  font-weight: 400;
  margin:0;
}

.id-head > .fa-x{
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  color: #8e6641;
  font-size: 50px;
}

.id-head > .fa-x:hover {
  color: #6A4624;
}


/* .main-group,.main-divider,.group-one,.group-two,.group-three, .roles-container{
  display:flex;
  flex-direction: row;
} */



.main-group, .main-divider{
  gap:5%;
  display: grid;
}

.main-group{
  /* display:grid; */
  grid-template-columns: auto auto auto;
  row-gap:1%;
  column-gap: 1%;
}


.id-name{
  grid-column: 2 ;
}

.funfacts{
  grid-column: 2 / span 2;
}

.quote{
  grid-column: 2 / span 2;
  font-weight: 300;
}

/* .group-three, .main-divider,.group-one{
  flex-direction: column;
  gap:36px;
} */

.natu-divider, .riha-divider, .aiyi-divider {
  gap:50px;
}

.finn-divider{
  gap:18px;
}
.natu-group-three, .riha-group-three, .aiyi-group-three, .finn-group-three{
  gap:24px;
}


.nametag > h6 , .nametag > h4, .id-name> h6, .id-name > h3, .roles-container > h6, .roles-container > h5, .roles > h6, .funfacts >h6{
  margin: 0;
  padding: 0;
}

/* ID CONTENTS */
.roles-container > h5, .roles-container > h6, .id-name>h3{
  background-color: #FAD89A;
  border-radius: 12px;
}

.roles-container > h5, .roles-container > h6 {
  padding: 0px 15px;
  font-size:25px;
  font-weight: 300;
  margin: 3px 3px;
}
.funfacts-container{
  width: 100%;
  height: 166px;
}

.finn-funfacts{
  height:200px; 
}
.id-name>h3{
  font-size:37px;
  padding: 0px 30px;
  font-weight: 400;
  white-space:nowrap;
}
.icons-container{
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  margin-top: 5px;
  background-color: #FAD89A;
  border-radius: 12px;
  width:100%;
  height:100%;
}

.roles-container{
  align-items: center;
  /* margin-top: 10px; */
}

.riha-roles, .aiyi-roles, .finn-roles, .natu-roles{
  gap:8px;
  flex-wrap: wrap;
}
/* .group-two{
  gap:30px;
  display: grid;
} */

.natu-group{
gap:87px;
}
/* PROFILE SECTION */

.group-one{
  position:relative;
  gap:24px;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 3;
}

/* AKA */
.nametag >h6 {
  text-align: center;
  /* margin-left: 10px;   Make Note */
  font-weight: 300;
  font-size: 15px;
}

/* NICKNAME */
.nametag > h4{
  text-align: center;
  font-size: 30px;
  font-weight: 300;
  padding: 0px 90px;
 
}

.nametag{
  background-color: #FAD89A;
  position:absolute;
  border-radius: 0px 0px 14px 14px;
  bottom:0px;
}

.natu-nametag{
  padding: 3px;
}

.riha-nametag {
  padding: 8px;
}

.aiyi-nametag{
  padding:9px;
}

.id-photo{
  position:relative;
}


/* ID LABELS */
.id-name > h6, .roles >h6 , .funfacts > h6{
  font-size: 20px;
  text-align: left;
  font-weight: 300;
}

/* SOCIAL LINKS */


/* Social icons container */
.socials {
  display: flex; /* Arrange icons in a row */
  gap: 10px; /* Space between icons */
  justify-content: center;
}

/* Individual icon container */
.social-icon {
  width: 50px; /* Set a fixed size for the icon container */
  height: 50px; /* Set a fixed size for the icon container */
  overflow: hidden; /* Crop the image within the border-radius */
  border-radius: 30%; /* Make it round */
  transition: transform 0.3s ease; /* Smooth transition on hover */
  cursor: pointer;
}

/* Image styling */
.links {
  width: 100%; /* Make the image fill the container */
  height: 100%; /* Make the image fill the container */
  object-fit: cover; /* Maintain aspect ratio and cover the container */
  transition: transform 0.3s ease; /* Smooth transition on hover */
}

/* Hover effect for the icon container */
.social-icon:hover {
  transform: scale(1.1); /* Scale up on hover */
}

/* Optional: Add a shadow on hover */
.social-icon:hover .links {
  box-shadow: 0 0 10px rgba(0, 0, 0, 1); /* Adds a shadow on hover */
}





/* FUN FACTS */
.tooltip {
  /* width: 50px; /* Adjust icon size */
  /* height: 50px; */ 
  width: clamp(40px, 5vw, 50px); /* Responsive size between 40px - 50px */
  height: clamp(40px, 5vw, 50px);
  cursor: pointer;
  position: relative;
  background-color: #FFFFFF;
  border-radius: 12px;
  border: 2px solid transparent;
  display: flex; 
  align-items: center;
  justify-content: center;
}


.tooltip-container {
  position: relative;
  display: inline-block;
  /* margin-top: 20px; */
  bottom: 27%;
}

.tooltiptext {
  visibility: hidden;
  /* width: 200px; Adjust text box width */
  width: clamp(150px, 40vw, 150px); /* Responsive width */
  min-height:40px;
  /* font-size: 14px;   */
  font-size: clamp(12px, 1.5vw, 14px); /* Scales with screen */
  background-color: #FFE9C1;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 8px;
  border-radius: 5px;
  position: absolute;
  top: 110%; /* Positions tooltip below */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  overflow:hidden;
  word-wrap: break-word;
  white-space: normal; /* Prevents text from wrapping */
  display: flex;
  justify-content: center;
  align-items: center;
}

  /* Arrow pointing UP */
  .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%; /* Places arrow above tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent brown transparent; /* Creates upward triangle */
}

.tooltip-container:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip:hover{
  border: 2px solid #6A4624;
}

.mobile{
  display:none;
}

/* FOOTER SECTION */
/* .footer-gradient{
  background-image: linear-gradient(#FAD89A, #FFE9C1);
  display: flex;
}
section{
  margin-top: 3rem;
  width: 100%;
}
footer{
  margin-top: 3rem;
  position:relative;
  margin-bottom: 4rem;
  width: 100%;
  z-index: 1;
  transition: margin-top 0.3s ease-in-out;
}
.footer-border-left{
  background-color:#8E6641;
  height: 10px;
  width: 50%;
  float: left;
  border-bottom-right-radius: 30px;
}
.footer-border-right{
  background-color:#8E6641;
  height: 10px;
  width: 50%;
  float:right;
  margin-top: 20px;
  border-top-left-radius: 30px;
}
.footer-content{
  margin-bottom: 2rem;

}

footer img{
  width:100px;
}
.footer-copy{
  display: flex;
  flex-direction: column;
  float: left;

}
.copyright{
  float: left;
  margin-left: 30px;

  margin-top: 10px;
  margin-bottom: 0px;
  padding: 0px;
}
.footer-aboutus{
  text-decoration: none;
  color: black;
  font-size: 20px;
  margin: auto;
} */


.fa-caret-down{
  display:none !important;
}

/* EVENING'S END CONTENT STARTS HERE ---------------------------------------------------------------------------*/

.end-title{
  border: 5px solid #8E6641;
  background-color: #FFE9C1;
  border-radius: 10px;
  margin:8px;
  padding:15px;
  font-size: 30px;
}

.textcard{
  background-color:#FFE9C1;
  display: flex;
  flex-direction: column;
  text-align: center;
  row-gap: 0;
  border-radius: 15px;
  flex:1;
  padding-left: 25px;
  padding-right: 25px;
  align-items: center;
  /* padding-bottom: 20px; */
}
.textcard h3{
  font-size: 24px;
}

.textcard p {
  font-size: 20px;
  font-weight: 300;
  margin-top: 0px;
}

.character-intro, .background-intro, .story-intro{
  background-color: transparent; 
  display: flex;
  flex-direction: column;
  width: 100%;   
  min-width: 100%; 
  box-sizing: border-box;
  text-align: left;
  padding: 20px;
  height: auto;
  align-items: center;
  position: relative;
  gap: 20px;
  z-index: 1;
  flex: 0 0 100%;
  padding-bottom: 0px;
  justify-content: center;
}

.character-container, .background-container, .story-container{
  width: 100%;
  max-width: 850px;
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  align-content: center;
  justify-content: center;
  margin: 0 auto;
  /* max-width: 1200px; */
  /* min-height: 500px; */
}

.char-carousel, .back-carousel, .story-carousel{
  /* gap:166px; removed because character-intro isn't centered*/
  display: flex;
  flex-direction: row;
  transition: transform 0.5s ease-in-out;
  width: max-content; 
  width:100%;
}

.prev-char, .next-char {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 99;
  font-size: 4rem;
  /* padding: 10px; */
}

.prev-char {
  left: -40px;
}

.next-char {
  right: -40px;
}

/* .prev-char{
left:17%;
top:220%;
}


.next-char{
right:17%;
top:220%;
} */

.prev-back, .next-back {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  cursor: pointer;
  z-index: 99;
  font-size: 4rem;
}

.prev-back {
  left: -40px;
}

.next-back {
  right: -40px;
}

/* .prev-back{
left:17%;
top:320%;
}

.next-back{
right:17%;
top:320%;
} */

.prev-story, .next-story {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  cursor: pointer;
  z-index: 99;
  font-size: 4rem;
}

.prev-story {
  left: -40px;
}

.next-story {
  right: -40px;
}


/* .prev-story{
  left:17%;
  top:400%;
}

.next-story{
 right:17%;
  top:400%;
} */

.modal{
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: 0.25s ease-out;
  z-index: 100; /* Higher than arrows so it covers them */
}
.modal.open{
opacity: 1;
pointer-events: all;
}
.modal p {
  color: white;
  font-size: 2rem;
  position:absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -5%);
}
.full-img{
  position: absolute;
  height: 90%;
  top:50%;
  left: 50%;
  transform: translate( 50%, 50%) scale(0.5);
  transition: all 0.25s ease-out;
  /* margin-top: 5rem; */
}

.full-img.open{
  transform: translate(-50%, -50%) scale(1);
}

.divider{
  background-color: #8E6641;
  height: 10px;
  width: 55%;
  border-radius: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.divider-between{
  background-color: #8E6641;
  height: 10px;
  width: 30%;
  border-radius: 30px;
  margin-top: 40px;
  margin-bottom: 45px;
}

/* -------------------------------------------------- */
/* Evening's End Hero Section */
.EE-Title{
  font-weight: 600;
  /* letter-spacing: 5px; */
  /* font-size: 50px; */
}
.EE-Video{
  width: 900px;
  height: 500px;
  margin-top:20px;
  border-radius: 30px;
  object-fit: cover;
}
.character-img{
  width: 650px;
  cursor: pointer;
  border-radius: 15px;
  box-sizing: border-box;
}
.character-img:hover{
  outline: solid 10px #8E6641;
  border-radius: 15px;
  width: 650px;
}
.evening-img{
  width: 650px;
  height: 450px;
  cursor: pointer;
  border-radius: 15px;
  box-sizing: border-box;
}
.evening-img:hover{
  outline: solid 10px #8E6641;
  border-radius: 15px;
  width: 650px;
  height: 450px;
}
.tall-img{
  width: 650px;
  height: 450px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 15px;
  box-sizing: border-box;
}
.tall-img:hover{
  outline: solid 10px #8E6641;
  border-radius: 15px;
  width: 650px;
  height: 450px;
}

.synopsis{
  background-color: #FFE9C1;
  width: 80rem;
  align-items: center;
  margin-top: 2rem;
  border: solid #8E6641;
  border-width: 5px;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
}
.synopsis-title{
  font-size: 34px;
  font-weight: 600;
}
.synopsis-text{
  font-size: 24px;
  font-weight: 300;
  width: 76rem;
  text-align: left;
  margin-bottom: 4rem;
  margin-top: 0px;
}
.evening-content{
  display: flex;
  align-items: center;
  flex-direction: column;
}


/* EVENING'S END CONTENT ENDS HERE ----------------------------------------------------------------------------------------- */

/* Adjust for Smaller Screens */
@media (max-width:1425px){
  .prev{
    left: -7%; /* Position left for previous button */
   }
  
  /* Next (Right Facing) Button */
  .next{
    right: -7%;
  }

  .tooltiptext{
    width: 320%;
  }
}

@media (max-width: 1215px) {
 
  
  .thecard{
    min-width: 155px;
  }
  .speech-bubble {
    width: 90%; /* Make it more compact on tablets */
    font-size: 16px; /* Adjust font size */
    padding: 15px; /* Reduce padding */
  }
  .group-two{
      flex-direction: column;
    }

  .natu-group{
    gap:14px;
  }

  .tooltip {
    width: 40px;
    height: 40px;
  }

  .tooltiptext {
    width: 300%; /* Make it take more space */
    max-width: 250px;
    font-size: 13px;
    padding: 6px;
    top: 130%; /* Move it slightly down */
  }
    .id-head{
      gap:9%;
    }
  }

  .blurb{
    font-size: 17px;
  }

  .mobile-roles{
    display: none;
  }

/* TABLET */
@media  (max-width:960px){

 .prev{
    left: 0%; /* Position left for previous button */
   }
  
  /* Next (Right Facing) Button */
  .next{
    right: 0%;
  }

  .carousel-container {
    width:85%;
  }

  .card{
    flex-direction: column;
    justify-content: center;
  }

  .pic{
    width:50%;
    margin:5%;
  }
  .text{
    max-width: 78%;
  }


  .thecard{
    min-width: 115px;
    min-height: 170px;

  }

  .id-head{
    align-items: center;
    flex-direction: column;

  }

  .blurb{
    font-size: 16px;
  }
  .id-all{
    width:200px;
    height:250px;
  }

  .id-head > .fa-x {
    font-size:40px;
  }

  .nametag > h4 {
    padding: 0px 65px;
  }

  .main-group{
    grid-template-columns: auto auto;
  }
  .roles, .id-name{
    grid-column: 2 / span 2;
  }

  .funfacts{
    grid-row:3;
    grid-column: 1 / span 3;
  }

  .quote{
    grid-column: 1 / span 3;
    grid-row: 4;
  }
  .roles-container > h5, .roles-container > h6 {
    margin: 5px 3px;
  }

  .group-one{
    grid-row:1 / span 2;
  }

}
@media  (max-width:745px)
{

  .thecard{
    min-width: 100px;
  }

 
  .id-all{
    width:170px;
    height:200px;
  }

  .nametag > h4 {
    padding: 0px 50px;
  }
  .funfacts-container {
    height:186px;
  }

  .tooltiptext {
    width:220%;
  }


  .carousel{
    display: flex;
    transition: transform 0.3s ease;
  }

 .carousel-container {
    -webkit-overflow-scrolling: touch; 
    /* padding: 0 20px; */
    box-sizing: border-box;
  }
  .card {
    min-width: 100%;
    flex: 0 0 83%;
    margin: 0 0px;
    position: relative;
    border-radius: 20px;
    overflow: hidden; 
    row-gap: 0%;
    padding: 0px;
  }
  .pic{
    max-width: 50%;
  }
  .image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container */
    border-radius: 20px; /* Round the corners of the image */
  }
    

  /* Hide arrows on mobile */
  /* .button.prev,
  .button.next {
    display: none;
  } */
 
  


}

  /* MOBILE LAYOUT */


/* MOBILE */
@media (max-width:660px){
 

  .desktop{
    display:none;
  }

  .mobile{
    display:block;
  }
  .speech-bubble::before,
  .speech-bubble::after {
    display: none;
  }
  /* .main{
   display: flex; 
   flex-direction: column;
  } */

  .firstnatu { order: 1; } 
  #contentNatu {  order: 2; }
  .secondriha { order: 3; } 
  #contentRiha {  order: 4; }
  .thirdaiyi { order: 5; }
  #contentAiyi {  order: 6; }
  .fourthfinn { order: 7;}
  #contentFinn {  order:8 ; }

  

.solo-container{
  flex-wrap: wrap;
  width: 100%;
  background-color:#FFE9C1;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  margin:10px;

}

.id-head > .fa-x{
left:90%;
font-size:30px;
}

.fa-caret-down{
  display:block !important;
  color:#8E6641;
  font-size:50px;
  transition: transform 0.3s ease-in-out;
}



.fa-caret-down:hover{
  color:#6A4624;
}

.maincontainer{
  margin:10px;
}

/* .id-head, .id-name{
  display: none;
} */

.name{
  display:block !important;
}

.thecard{
  min-width:90px;
  min-height:90px;
}

.thecard.flipped{
  transform: none;
}

  .speech-bubble {
    margin-top: 3px;
    border-radius: 47px 47px 47px 47px;
}

.theback{
  display: none;
}

.tooltiptext {
  visibility: visible;
  opacity: 1;
  left: 591%;
  top: -8%;
  width: 842%;
  max-width: 500px;
  align-content: center;
}

.tooltip-container{
  margin:2%;
}

.icons-container{
  flex-direction: column;
  align-items: flex-start;
}

.funfacts-container{
  height:auto;
}

.mobile-roles{
  display:block;
  flex-direction: column;
}

/* .group-test{
  display: flex;
  flex-direction: column;
  align-items: center;
} */

.social-icon{
  width: 40px;
  height: 40px;
}

/* .group-three{
  flex-direction: column;
}

.group-one{
  flex-direction: column;
 
} */



.main-group {
  flex-wrap: wrap; /* Ensures wrapping */
}

.group-one,
.group-two {
  flex: 1 1 50%; /* Still side by side */
}

.group-three {
  flex: 1 1 100%; /* Moves it below */
  order: 3; /* Ensures it is positioned last */
}

.id-title{
  font-size:30px;
 } 
.indicator-container{
  margin-top: 30px;
}
.button.prev,
.button.next{
  margin-top: 258px;
  display: block;
  font-size: 60px;
}
.button.prev{
  margin-left: 20%;
}
.button.next{
  margin-right: 20%;
}

.text > h2{
  margin: 0;
  font-size: 23px;
  /* text-align: center; */
}

.blurb {
  font-size: 13px;
}
}

@media (max-width:585px){
  id-name>h3 {
    font-size: 28px;
  }

  .id-title{
    font-size:24px;
   } 

 .issue{
  font-size:18px;
 }

 .id-all {
  width: 110px;
  height: 125px;
}
.id-name>h3 {
  font-size: 24px;
}

.roles-container > h5, .roles-container > h6 {
  font-size:20px;
  }
  
  .id-name > h6, .roles >h6, .funfacts > h6 {
    font-size: 17px;
  }

    .tooltiptext{
      margin: 0px;
      padding: 0px;
      font-size: 12px;
      left: 492%;
      width: 600%;
      min-height: 43px;
      top: 5%;
  }
  }


/* MOBILE Large */
@media (max-width:475px){
  
  .id-title{
    font-size:25px;
   } 

 .issue{
  font-size:20px;
 }

 .id-all {
  width: 110px;
  height: 125px;
}

.id-name>h3 {
  font-size: 24px;
}

.pic{
  max-width: 50%;
}
/* .main-group{
  column-gap: 3%;
} */

.button.prev,
.button.next{
  margin-top: 266px;
}
.roles-container > h5, .roles-container > h6 {
font-size:19px;
}

.id-name > h6, .roles >h6, .funfacts > h6 {
  font-size: 17px;
}
.tooltiptext{
margin:4px;
padding:2px;
font-size:10px;
left:400%;
width:500%;
}
.quote{
  font-size:14px;
}
}

@media (max-width:450px){
  .tooltiptext{
    padding: 1px;
    font-size: 12px;
    left: 410%;
    width: 519%;
    min-height: 40px;
    top: 5%;
  }

  
}

@media(max-width:390px){
  .id-name>h3 {
    font-size: 19px;
}

.tooltiptext{
  left: 373%;
  width: 432%;
}

.id-title {
  font-size: 22px;
}

.issue {
  font-size: 17px;
}
.roles-container > h5, .roles-container > h6 {
  font-size: 16px;
}

}

/* Middle Mobile */
@media (max-width: 375px){
  
  
  .indicator-container{
    margin-top: 30px;
  }
  .button.next {
    margin-right: 20%;
}
  .button.prev,
  .button.next{
    margin-top: 555px;
    display: block;
    font-size: 60px;
  }
  .button.prev{
    margin-left: 18%;
  }
  .button.next{
    margin-right: 18%;
  }

  .id-title{
    font-size:22px;
   } 

 .issue{
  font-size:17px;
 }

 .id-all {
  width: 90px;
  height: 90px;
}

.social-icon {
  width: 30px;
  height: 30px;
}
.id-name>h3 {
  font-size: 19px;
}

.main-group{
  column-gap: 3%;
}

.roles-container > h5, .roles-container > h6 {
font-size:15px;
}

.id-name > h6, .roles >h6, .funfacts > h6 {
  font-size: 15px;
}
.tooltiptext{
margin:0px;
padding:0px;
font-size:9px;
left:450%;
width:600%;
min-height: 30px;
top: 5%;

}

.tooltip {
  width: 30px;
  height: 30px;
}
.quote{
  font-size:14px;
}

.text > h2 {
  margin: 0;
  font-size: 20px;
}

.blurb {
font-size: 10px;
}

.pic{
  max-width: 50%;
}
.button.prev,
.button.next{
  margin-top: 211px;
}
}


/* Extra SMALL MOBILE */
@media (max-width:320px){

  .indicator-container{
    margin-top: 30px;
  }
  .button.prev,
  .button.next{
    margin-top: 217px;
    display: block;
    font-size: 60px;
  }
  .button.prev{
    margin-left: 15%;
  }
  .button.next{
    margin-right: 15%;
  }

  .id-title {
    font-size: 15px;}

 .issue {
    font-size: 14px;
  }

 

  .id-name > h6, .roles >h6, .funfacts > h6 {
      font-size: 12px;
  }

  .id-name>h3 {
    font-size: 12px;
}

.tooltiptext{
  padding: 0px 5px 0px 5px;
  font-size: 9px;
  left: 405%;
  width: 480%;
}

.quote {
  font-size: 11px;
}

.text > h2{
  font-size: 12px;
}


}


/* Responsive adjustments for arrows on the evening ends page */
@media (min-width: 1024px) {
    .prev-char, .next-char {
        display: block !important;
    }
    .prev-back, .next-back {
    display: block !important;
    }
    .prev-story, .next-story {
    display: block !important;
    }
}

@media (min-width: 960px) {
    .prev-char, .next-char {
        display: block; /* Ensures they remain visible */
    }
    .prev-back, .next-back {
    display: block; /* Ensures they remain visible */
    }
    .prev-story, .next-story {
    display: block; /* Ensures they remain visible */
    }
}

@media (max-width: 768px) {
    .prev-char {
        left: -30px;
    }

    .next-char {
        right: -30px;
    }
    .prev-back {
    left: -30px;
    }

    .next-back {
        right: -30px;
    }
    .prev-story {
    left: -30px;
    }

    .next-story {
        right: -30px;
    }
}

@media (min-width: 960px) {
    .prev-char {
        left: 10px; /* Make sure it's visible */
    }

    .next-char {
        right: 10px;
    }

    .prev-back {
    left: 10px; /* Make sure it's visible */
    }

    .next-back {
        right: 10px;
    }
    .prev-story {
    left: 10px; /* Make sure it's visible */
    }

    .next-story {
        right: 10px;
    }
}