@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;
}

/* 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{
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #F5F5F5;
  overflow-x: hidden;
}
body #header {
  align-self: stretch;
  z-index: 25;
}
#header{
  background: #E3F0FF;
  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;
  margin-bottom: -3px;
}
#navbar
{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* centers content horizontally */
    padding: 0.5rem 2rem;
}

#navbar a {
    text-decoration: none;
}
#LogoNav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .2rem;
}
#logo{
    height: 3.5rem;
    width: auto;
}

#leftArrowButton {
    background-color: white;
    padding: .6em;
    padding-bottom: .5em;
    padding-right: .7rem;
    border-radius: 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}
#leftArrowImg{
    height: 2rem;
}

#userDiv{
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

#userLogo{
    height: 3.2rem;
    border-radius: 300px;
    box-shadow: 0px 4px 4px rgba(255, 255, 255, 0.25);
}


#sidebar{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navItems{
    visibility: hidden;
    white-space: nowrap;
    font-family:'PoppinsB', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    color: black;
    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{
  position: relative;
  max-width: 100vw;
}
.latestVidRoot {
  position: relative;
  width: 100%;
  height: 95vh; 
  overflow: hidden; /* hides cropped parts */
}

.latestVidRoot video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center -50px; 
  display: block;
}
#innerText{
  position: absolute;
  bottom: 62px;
  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;
}






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


@media (max-width: 1120px) {
#sidebar {
  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;
  }

  #sidebar {
    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%;
  }

  #LogoNav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin-bottom: -1rem;     
  }
}