@font-face {
  font-family: 'Nunito Sans';
  src: url('fonts/NunitoSans-VariableFont_YTLC\,opsz\,wdth\,wght.ttf');
  font-style: normal;
}
@font-face {
  font-family: 'PoppinsB';
  src: url('fonts/Poppins-Bold.ttf');
  font-style: normal;
}
@font-face {
  font-family: 'PoppinsSB';
  src: url('fonts/Poppins-SemiBold.ttf');
  font-style: normal;
}
@font-face {
  font-family: 'PoppinsM';
  src: url('fonts/Poppins-Medium.ttf');
  font-style: normal;
}



body{
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #F9F0E3;
  overflow-x: hidden;
}

/* Image Protection Styles */
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
  -webkit-touch-callout: none;
}

/* Disable right-click context menu on images */
img::-webkit-context-menu {
  display: none;
}

/* Prevent text selection on the entire page */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Allow text selection for specific elements where needed */
p, h1, h2, h3, h4, h5, h6, span, div.content {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
body #header {
  align-self: stretch;
  z-index: 25;
}
#header{
  background: #8da683;
  z-index: 10;
  position: relative;
}
#header::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 20px;
  pointer-events: none;
  z-index: -1;
}
#navbarRoot{
  position: relative;
  z-index: 2;
  container-type: inline-size;
}
#navbar
{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#navbar a {
  text-decoration: none;
}
#nav-left {
  flex: 0 0 auto;
  padding: .75rem;
  padding-left: 3rem;
}
#logo{
  height: 3rem;
  width: auto;
}



#otherPages{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navItems{
  white-space: nowrap;
  font-family:'PoppinsB', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  color: #fffdfa;
  font-weight: bold;
  font-size: 1.2rem;
  cursor:pointer;
  text-decoration: none;
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1; /* prevent vertical jumpiness */
}
.navItems:hover{
  color: rgb(234, 229, 229);
  transition: color .4s ease;
}



.latestVidRoot{
  align-self: stretch;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: 50vh;
  overflow: hidden;
  background: #000;
  margin-bottom: 6rem;
  margin-left: calc(-50vw + 50%);  
  margin-right: calc(-50vw + 50%);
}
.latestVidRoot .latestVidContainer{
  width: 100%;
  max-width: 100vw;
  height: 50vh;  
  margin: 0;     
  padding: 0;    
  overflow: hidden;
  position: relative;
}
.imgOverlay{
  width: 1600px;
  object-position: center -130px;
  pointer-events: none;
  user-select: none;
}

#innerText{
  position: absolute;
  bottom: 12px;
  left: 2%;
  width: 88%;
  max-width: 1200px;
  cursor: pointer;
  padding-left: 10px;
  color: white;
  text-decoration: none;
}

h5, h2{
  margin: 0;
  font-family:'PoppinsB', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  color: #fffdfa;
  color: inherit;
}
#innerText h2,
#innerText h5 {
  color: #fffdfa;
  position: relative;
  text-shadow: none;
  transition: all 0.2s ease-in-out;
}




.episodesText{
  margin-left: 2rem;
  font-size: 30px;
  font-weight: bold;
  font-family:'Nunito Sans', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight:870;
}




.profileContainer {
  display: flex;
  flex-wrap: wrap; /* allows stacking on small screens */
  justify-content: center;
  padding: 2rem;
  padding-bottom: 10rem;
  gap: 3rem;
  box-sizing: border-box;
}

.profile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lleft,
.rright {
  flex: 1 1 45%;
  min-width: 320px; /* prevent squishing too much */
  box-sizing: border-box;
}
.lleft.verticalBannerContainer{
  padding-right: 0rem;
}

.verticalBannerContainer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 2rem;
  padding-right: 0rem;
}

.banner {
  width: 170px; 
  height: 500px; 
  overflow: hidden;
  transition: transform 0.4s ease;
  pointer-events: none;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
  user-select: none;
}
.banner img:hover {
  transform: scale(1.05);
}
.banner:nth-child(1) {
  transform: translateY(5px); 
}
.banner:nth-child(2) {
  transform: translateY(50px); 
}
.banner:nth-child(3) {
  transform: translateY(-30px);
}

.content {
  display: flex;
  padding-right: 7rem;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.profile img {
  height: 300px;
  width: auto;
  object-fit: cover;
  border-radius: 12px;
}
.profile p {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  font-family:'Nunito Sans', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight:700;
  color:#000;
  margin: 0;
}
.profile h2{
  font-size: 30px;
  font-weight: bold;
  font-family:'PoppinsB', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}



.ctaBookmark {
  background-color: #8da683;
  color: white;
  text-align: center;
  padding: 2.5rem 1rem 4rem;
  margin: -10rem auto;
  width: 90%;
  max-width: 600px;
  border-radius: 1rem 1rem 0 0;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  z-index: 4;
}

/* bookmark point at the bottom */
.ctaBookmark::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 1.5rem solid transparent;
  border-right: 1.5rem solid transparent;
  border-top: 1.5rem solid #8da683;
  border-radius: 1rem;
  z-index: 1;
}

.ctaBookmark h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-family:'PoppinsB', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

.ctaSubtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-family:'PoppinsM', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  opacity: 0.9;
}

.ctaButtons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.ctaBtn {
  background-color: white;
  color: #8da683;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  font-family:'PoppinsB', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  white-space: nowrap;
}

.ctaBtn:hover {
  background-color: #f7f7f7;
  transform: scale(1.05);
}



.notebookContainer{
  width: 100%;
  height: 16rem;
  margin-top: 4rem;
  overflow: hidden;
  background-color: white;
  position: relative;
}
.notebookContainer img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  pointer-events: none;
}








@media (max-width: 500px) {
  #navbar {
    flex-direction: column;
    gap: 1rem;
  }
}



@media (max-width: 1120px) {
#otherPages {
  position: static; /* override absolute */
  transform: none;  /* cancel desktop centering */
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  }
}

@media (max-width: 900px) {
.navItems{
  white-space: nowrap;
  color: #fffdfa;
  font-size: 1rem;
  cursor:pointer;
  text-decoration: none;
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1; 
}
}

@media (max-width: 820px) {
  #navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
  }

  #otherPages {
    position: static; 
    transform: none;  
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;

  }

  a.navItems {
    padding: 0.5rem 0;
    width: 100%;
  }

  #nav-left {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin-bottom: -1rem;     
  }
}
@media (max-width: 600px) {
  .ctaBtn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .ctaBookmark {
    width: 95%;
    max-width: none;
    padding: 1.5rem 1rem 2.5rem;
    margin-top: -4rem; 
    border-radius: 0.75rem 0.75rem 0 0;
  }

  .ctaBookmark h2 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }

  .ctaSubtitle {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }

  .ctaButtons {
    flex-direction: column;
    gap: 0.6rem;
  }

  .ctaBtn {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    width: 100%;
    text-align: center;
  }

  .ctaBookmark::after {
    border-left: 1rem solid transparent;
    border-right: 1rem solid transparent;
    border-top: 1.2rem solid #8da683;
  }
}
@media (max-width: 400px) {
  .ctaBookmark {
    width: 95%;            
    max-width: none;       
    padding: 1rem 1rem 2rem; 
    margin-top: -3rem;     
    border-radius: 0.75rem 0.75rem 0 0;
  }

  .ctaBookmark h2 {
    font-size: 1.2rem;     
    margin-bottom: 0.3rem;
  }

  .ctaSubtitle {
    font-size: 0.85rem;    
    margin-bottom: 1rem;
  }

  .ctaButtons {
    flex-direction: column; 
    gap: 0.5rem;
  }

  .ctaBtn {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 650px) {
  .ctaBookmark {
    width: 90% !important;          
    max-width: 320px !important;    
    padding: 1.2rem 1rem 2rem !important; 
    margin-top: -3rem !important;  
    border-radius: 0.75rem 0.75rem 0 0 !important;
    font-size: 0.9rem !important;   
  }

  .ctaBookmark h2 {
    font-size: 1.3rem !important;   
    margin-bottom: 0.3rem !important;
  }

  .ctaSubtitle {
    font-size: 0.85rem !important;  
    margin-bottom: 1rem !important;
  }
  
  .ctaButtons {
    display: flex !important;
    flex-direction: column !important; 
    gap: 0.6rem !important;             
    width: 100% !important;
    padding: 0 1rem;
  }

  .ctaBtn {
    width: 90% !important;           
    padding: 0.6rem 1rem !important;  
    font-size: 1rem !important;       
    border-radius: 8px !important;    
    box-sizing: border-box !important;
    text-align: center !important;
  }
}


@media (max-width: 1400px)
{
  .imgOverlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    transform: none;
  }
  #innerText h2{
    -webkit-text-stroke: 1px black;  /* outline thickness and color */
    text-stroke: 1px black;
  }
}

  
@media (max-width: 600px) {
  .imgOverlay {
    object-position: center top; /* Show top part of image */
    height: 100%;
    min-width: 100%;
}

.profileContainer {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    padding-bottom: 5rem;
  }

  .lleft,
  .rright {
    flex: 1 1 100%;
    min-width: unset; /* allow full shrinking */
    padding: 0;
  }

  .verticalBannerContainer {
    flex-direction: row; /* or column if you want vertical stacking */
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
  }

  .banner {
    width: 80px;
    height: 200px;
    transform: none !important; /* remove stagger effect for small screens */
  }

  .content {
    padding: 0;
    text-align: center;
  }

  .profile img {
    height: auto;
    width: 100%;
    max-width: 320px;
  }

  .profile h2 {
    font-size: 1.5rem;
  }

  .profile p {
    font-size: 1rem;
  }

}
