.BigTitle {
  position: relative;
  min-height: 50%;
  color: #c8d3df;
  font-family: "Jua", sans-serif;
  box-sizing: content-box;
  text-align: center;
  font-size: 5vh;
  top: -110px;
}

/* Typography */
h1,
h2,
h3 {
  color: #c8d3df;
  font-family: "Jua", sans-serif;
  box-sizing: content-box;
}

/* Apply Onest font to body text and buttons */
body {
  background-color: #19173f;
  /*  background-image: url('images/TileRepeat.png');  Replace with your image path */
  background-repeat: repeat; /* Makes the image tile */
  background-size: auto; /* Keeps the original image size */
  background-blend-mode: soft-light;
  background-position: top left;
  overflow-x: hidden;
}

.play-button {
  color: #c8d3df;
  font-family: "Onest", sans-serif;

  box-sizing: content-box !important;
}

.wrapper {
  position: relative;
}
.paragraph {
  color: #c8d3df;
  font-family: "Onest", sans-serif;
  box-sizing: content-box;
  font-size: 2vh;
  text-align: center;
  width: 50%;
  margin: 0 auto;
  margin-bottom: 10%;
  padding-top: 3%;
}
.paragraphMeetTheTeam {
  color: #c8d3df;
  font-family: "Onest", sans-serif;
  box-sizing: content-box;
  font-size: 2vh;
  text-align: center;
  width: 50%;
  justify-self: center;
  padding-top: 4%;
  margin: 0 auto;

  margin-bottom: 120px;
}
.BigTitle2 {
  position: relative;
  min-height: 50%;
  color: #c8d3df;
  font-family: "Jua", sans-serif;
  box-sizing: content-box;
  text-align: center;
  font-size: 5vh;
  top: 10px;
}

.BigTitle3 {
  position: relative;
  min-height: 50%;
  color: #c8d3df;
  font-family: "Jua", sans-serif;
  box-sizing: content-box;
  text-align: center;
  font-size: 5vh;
}
.overlayLogo {
  position: absolute;
  width: 45%;
  height: auto;
  display: block;
  left: 27.5%;
  transform: translate(-27.5%, -330%);
  transform: translate(0%, -330%);
  box-sizing: content-box !important;
}
.landingBG {
  transform: translate(0%, -12%);
  width: 100%;
  display: block;
  box-sizing: content-box;
}
.PlayNowMobile {
  background-color: #2d7db0; /* Orange color */
  color: #2c1b47; /* Dark text color */
  font-family: "Jua", sans-serif;
  font-size: 1.2rem;
  padding: 10px 10px;
  border: none;
  border-radius: 30px; /* Rounded corners */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 120px; /* Minimum width to prevent text wrapping */
  white-space: nowrap; /* Prevent text wrapping */
  display: none;
  text-align: center;
  transform: translate(-52%, 0%);
}

/* Hover and Active States */
.PlayNowMobile:hover {
  /* Slightly enlarge on hover */
  transform: translate(-60%, 0%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.PlayNowMobile:active {
  /* Slightly shrink on click */
  transform: translate(-60%, 0%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Reduce shadow */
}
.PlayNowNav {
  background-color: #2d7db0; /* Orange color */
  color: #2c1b47; /* Dark text color */
  font-family: "Jua", sans-serif;
  font-size: 1.5rem;
  padding: 10px 30px;
  border: none;
  border-radius: 30px; /* Rounded corners */
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 180px; /* Minimum width to prevent text wrapping */
  white-space: nowrap; /* Prevent text wrapping */
  display: inline-block;
  text-align: center;
}

/* Hover and Active States */
.PlayNowNav:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.PlayNowNav:active {
  transform: scale(0.98); /* Slightly shrink on click */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Reduce shadow */
}

/* Responsive Font Size
/* Logo Styling */
.logo-img {
  position: fixed; /* Fixed position to keep it sticky */
  width: 150px; /* Adjust width for a balanced size */
  height: auto;
  top: 20px; /* Adjusted top position */
  left: 20px; /* Adjusted left position */
  z-index: 10; /* Ensure it stays above other elements */
}

.navg .nav-link:hover {
  color: #ffffff; /* Change color to white on hover */
}
.nav-container {
  display: flex;
  flex: 1; /* Allows the nav-container to take up available space */
  justify-content: center; /* Center the links */
}

/* Navigation Container */
.navg {
  display: flex;
  gap: 20px; /* Space between navigation items */
}

/* Link Styling */
.navg .nav-link {
  font-size: 1.5rem;
  height: 44px;
  font-family: "Jua", sans-serif;
  color: #c8d3df;

  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.PlayNowNav {
  color: #2c1b47;
  font-family: "Jua", sans-serif;
  font-size: 1.3rem;
  padding: 4px 15px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  min-width: 160px;
  height: 50px;
  white-space: nowrap;
  display: inline-block;
  text-align: center;
  /* Add some spacing between the nav links and button */
}

/* Video Container for YouTube */
.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 110px;
  padding-right: 110px;
  padding-bottom: 80px;
}

.video-container iframe {
  max-width: 100%;
  width: 80%;
  aspect-ratio: 16 / 9;
  border: none;
}

/* Team Section */
.team .flex {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(10px, 22fr));
  gap: 10px;
  padding: 20px;
  padding-right: 20%;
  padding-left: 20%; /* Offset content for fixed sidebar */
}
/* Team Section2 */
.team .flex2 {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(10px, 22fr));
  gap: 10px;
  padding: 20px;
  padding-right: 30%;
  padding-left: 30%; /* Offset content for fixed sidebar */

  /* Offset content for fixed sidebar */
}

.team .flex3 {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(10px, 22fr));
  gap: 10px;
  padding: 20px;
  padding-right: 35%;
  padding-left: 35%; /* Offset content for fixed sidebar */

  /* Offset content for fixed sidebar */
}

.team .developer-image {
  max-width: 128px;
  padding: 10px 0;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 2);
}

.team h2,
.team p {
  text-align: center;

  font-size: 1.6rem;
}
.small-letters {
  background-color: #0e072d00;
  text-align: center;
  justify-self: center;
  font-family: "Jua", sans-serif;
  width: auto;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 1.6rem;
  border-radius: 5px;
  padding-top: 2px;
  height: 30px;
  margin-top: 40px;
}

.purple-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 8;
  display: flex;
  justify-content: space-between; /* Space between nav links and button */
  align-items: center;
  padding: 0 20px; /* Padding on the sides */
}
.ChonkyLogo img {
  width: 150px; /* Default size for larger screens */
  height: auto;
}

/* Smaller resolution adjustments */
@media screen and (max-width: 768px) {
  .ChonkyLogo img {
    width: 100px; /* Resize logo for screens under 768px */
  }
}

@media screen and (max-width: 480px) {
  .ChonkyLogo img {
    width: 110px; /* Further resize for very small screens (e.g., mobile) */
  }
}
@media screen and (max-width: 1220px) {
  .team .flex {
    padding-left: 200px;
    grid-template-columns: repeat(2, 1fr); /* Two columns on medium screens */
  }
  .PlayNowMobile {
    display: none;
  }
  .BigTitle {
    top: 0px;
  }
}

@media screen and (max-width: 768px) {
  .team .flex {
    grid-template-columns: 1fr; /* Single column on mobile */
    padding-left: 100px; /* Adjust for smaller screen */
  }

  .logo-img {
    width: 100px; /* Smaller logo on mobile */
    top: 10px;
    left: 10px;
  }

  h1 {
    font-size: 4rem;
    padding-bottom: 20px;
    text-align: center;
  }

  .video-container iframe {
    width: 100%;
    padding: 0;
  }

  .column {
    width: 100%;
    padding: 0 20px;
  }
  .navg .nav-link,
  .PlayNowNav {
    display: none;
  }
  .navg .nav-link,
  .PlayNowNav {
    /* Hide navigation and play button on mobile */
    display: none;
  }

  .hamburger-icon {
    display: block; /* Show the hamburger icon on mobile */
  }

  .video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .video-container iframe {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    box-sizing: content-box;
  }
  .landingBG {
    width: 100%;
    height: 100%;
    display: block;
    box-sizing: content-box !important;
  }
  .overlayLogo {
    position: absolute;
    width: 70%;
    height: auto;
    display: block;
    left: 15%;
    transform: translate(-15%, -240%);
    transform: translate(0%, -240%);
  }
  .PlayNowMobile {
    display: inline-block;
    position-area: right;
    width: 30px;
  }
  .purple-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 8;
    display: flex;
    justify-content: space-between; /* Space between nav links and button */
    align-items: center;
    padding: 45px 20px; /* Padding on the sides */
  }

  .paragraph {
    color: #c8d3df;
    font-family: "Onest", sans-serif;
    box-sizing: content-box;
    font-size: 2vh;
    text-align: center;
    width: 80%;
    justify-self: center;
    margin-bottom: 10%;
  }
}

/* Mobile Sidebar Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 100%;
  background-color: #0e072d;
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.5);
  z-index: 99;
  overflow: hidden;
  transition: transform 0.3s ease;
  transform: translateX(100%);
  font-family: "Jua", sans-serif !important;
}

/* Open State for Mobile Menu */
.mobile-menu.open {
  display: block;
  transform: translateX(0);
  font-family: "Jua", sans-serif;
}

/* Mobile Links */
.mobile-link {
  display: block;
  padding: 20px;
  color: #fbfaff;
  font-family: "Jua", sans-serif !important;
  text-decoration: none;
  font-size: 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.hamburger-icon {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.hamburger-image,
.close-image {
  width: 50px; /* Adjust the size as needed */
  height: 50px;
  cursor: pointer;
}
/* Close Button */
.close-btn {
  font-size: 1rem;

  color: #fbfaff;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .navg .nav-link,
  .PlayNowNav {
    display: none;
  }

  .hamburger-icon {
    display: block;
  }
}

.mobile-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0e072d;
  opacity: 0; /* Start fully transparent */
  transition: opacity 0.3s ease;
  z-index: -1; /* Place behind the text content */
  padding-top: 40px;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

/* footer stuff */
.contact-us {
  font-family: "Jua", sans-serif;
  color: #c8d3df;
  font-size: 2.5vh;
  margin-bottom: 10px;
}
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-icons {
  display: flex;
  gap: 20px;
}

.contact-icons img {
  width: 40px;
  height: auto;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.contact-icons a:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.powered-by-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.powered-by {
  font-family: "Jua", sans-serif;
  color: #c8d3df;
  font-size: 2.5vh;
  margin-bottom: 10px;
  transform: translate(5%, 0%);
}

.powered-by-logo {
  width: 100px;
  height: auto;
  transform: translate(0%, 20%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.powered-by-section a:hover .powered-by-logo {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0px 0;
  }

  .contact-info,
  .powered-by-section {
    align-items: center;
    margin-bottom: 15px;
  }

  .contact-us,
  .powered-by {
    font-size: 2vh;
    margin-bottom: 10px;
    padding-left: 0px;
    transform: translate(0%, 0%);
  }

  .contact-icons,
  .powered-by-logo {
    justify-content: center;
  }

  .powered-by-logo {
    width: 80px; /* Adjust as needed for smaller display */
  }

  .powered-by-section {
    flex-direction: column;
  }

  /* Additional spacing adjustments for icons */
  .contact-icons {
    gap: 20px; /* Smaller gap between icons for compact view */
  }
  .contact-us {
    margin-bottom: 30px;
    display: block;

    font-size: 0vh;
  }
}

p {
  color: #c8d3df;
  font-family: "Onest", sans-serif;
  font-size: 2.5vh !important;
  box-sizing: content-box !important;
}

@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
@-webkit-keyframes carousel-animate {
  0% {
    visibility: hidden;
    opacity: 0;
    transform: translateX(200%) scale(0.7);
  }
  3%,
  14.2857142857% {
    visibility: visible;
    opacity: 0.8;
    transform: translateX(100%) scale(0.9);
  }
  17.2857142857%,
  28.5714285714% {
    visibility: visible;
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  31.5714285714%,
  42.8571428571% {
    visibility: visible;
    opacity: 0.8;
    transform: translateX(-100%) scale(0.9);
  }
  45.8571428571% {
    visibility: visible;
    opacity: 0;
    transform: translateX(-200%) scale(0.9);
  }
  100% {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-200%) scale(0.7);
  }
}
@keyframes carousel-animate {
  0% {
    visibility: hidden;
    opacity: 0;
    transform: translateX(200%) scale(0.7);
  }
  3%,
  14.2857142857% {
    visibility: visible;
    opacity: 0.8;
    transform: translateX(100%) scale(0.9);
  }
  17.2857142857%,
  28.5714285714% {
    visibility: visible;
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  31.5714285714%,
  42.8571428571% {
    visibility: visible;
    opacity: 0.8;
    transform: translateX(-100%) scale(0.9);
  }
  45.8571428571% {
    visibility: visible;
    opacity: 0;
    transform: translateX(-200%) scale(0.9);
  }
  100% {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-200%) scale(0.7);
  }
}
:root {
  --light: 0.3;
  --light: 0.6;
  --max-width-post: 420px;
  --primary: hsl(
    calc(64 + 220 * var(--light)),
    calc(77% - 7% * var(--light)),
    calc(79% - 56% * var(--light))
  );
  --bg: hsl(
    calc(284 - 220 * var(--light)),
    calc(70% + 7% * var(--light)),
    calc(23% + 56% * var(--light))
  );
  --text-primary: hsl(
    calc(60 * var(--light)),
    calc(19% * var(--light)),
    calc(97% - 89% * var(--light))
  );
  --font-size-sm: clamp(0.7rem, 0.91vw + 0.47rem, 1.2rem);
  --font-size-base: clamp(0.88rem, 1.14vw + 0.59rem, 1.5rem);
  --font-size-md: clamp(1.09rem, 1.42vw + 0.74rem, 1.88rem);
  --font-size-lg: clamp(1.37rem, 1.78vw + 0.92rem, 2.34rem);
  --font-size-xl: clamp(1.71rem, 2.22vw + 1.15rem, 2.93rem);
  --font-size-xxl: clamp(2.14rem, 2.77vw + 1.44rem, 3.66rem);
  --font-size-xxxl: clamp(2.67rem, 3.47vw + 1.8rem, 4.58rem);
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

.container {
  --container-padding-horizontal: 32px;
  position: relative;
  padding-inline: var(--container-padding-horizontal);
  display: grid;
  place-items: center;
  height: 100%;
  padding-top: 20px;
}

.carousel {
  pointer-events: none;
  position: absolute;
  -webkit-padding-before: 67px;
  padding-block-start: 67px;
  -webkit-padding-after: max(24px, calc(29px + var(--font-size-md)));
  padding-block-end: max(24px, calc(29px + var(--font-size-md)));
  perspective: 100px;
  width: 100%;
}
@media (max-width: 568px) {
  .carousel {
    -webkit-padding-after: 52px;
    padding-block-end: 52px;
  }
}
.carousel__wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  height: 61.2vh;
  max-width: 100%; /* Ensures it scales within the viewport */
  overflow-x: hidden; /* Prevents horizontal scroll */
}
.carousel .item {
  position: absolute;
  max-width: 418px;
  height: 100%;
  margin-inline: var(--container-padding-horizontal);
  opacity: 0;
  will-change: transform, opacity;
  -webkit-animation: carousel-animate 27s cubic-bezier(0.37, 0, 0.63, 1)
    infinite;
  animation: carousel-animate 27s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
@media (max-width: 568px) {
  .carousel .item {
    margin-inline: calc(var(--container-padding-horizontal) + 1px);
  }
}
.carousel .item:nth-child(1) {
  -webkit-animation-delay: calc(3.8571428571s * -1);
  animation-delay: calc(3.8571428571s * -1);
}
.carousel .item:nth-child(2) {
  -webkit-animation-delay: calc(3.8571428571s * 0);
  animation-delay: calc(3.8571428571s * 0);
}
.carousel .item:nth-child(3) {
  -webkit-animation-delay: calc(3.8571428571s * 1);
  animation-delay: calc(3.8571428571s * 1);
}
.carousel .item:nth-child(4) {
  -webkit-animation-delay: calc(3.8571428571s * 2);
  animation-delay: calc(3.8571428571s * 2);
}
.carousel .item:nth-child(5) {
  -webkit-animation-delay: calc(3.8571428571s * 3);
  animation-delay: calc(3.8571428571s * 3);
}
.carousel .item:nth-child(6) {
  -webkit-animation-delay: calc(3.8571428571s * 4);
  animation-delay: calc(3.8571428571s * 4);
}
.carousel .item:last-child {
  -webkit-animation-delay: calc(-3.8571428571s * 2);
  animation-delay: calc(-3.8571428571s * 2);
}
.carousel img {
  max-width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
}

.instagram {
  --pading-horizontal: 16px;
  --border: 1px solid var(--primary);
  max-width: var(--max-width-post);
  width: 100%;

  border-radius: 20px;
}
.instagram__header {
  padding-block: 12px;
  border-bottom: var(--border);
}
.instagram__header figure {
  padding-block: 0;
  padding-inline: var(--pading-horizontal);
  margin: 0;
  display: flex;
  align-items: center;
}
.instagram__header figure img {
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
  border: var(--border);
  -webkit-margin-end: 8px;
  margin-inline-end: 8px;
}
.instagram__media {
  display: flex;
}
.instagram__media .img {
  max-width: 100%;
  height: 61.2vh;
}
.instagram__buttons {
  padding-block: 12px;
  padding-inline: var(--pading-horizontal);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.instagram__buttons .left {
  display: flex;
  align-items: center;
}
.instagram__buttons .left svg:nth-of-type(2) {
  margin-inline: 12px;
}
.instagram__icon {
  cursor: pointer;
  width: 1em;
  height: 1em;
  font-size: var(--font-size-md);
  min-width: 24px;
  min-height: 24px;
}
.instagram__icon:hover {
  opacity: 0.7;
}
.instagram__icon path {
  stroke: var(--primary);
  stroke-linejoin: round;
}
.instagram__icon--comment path {
  stroke-width: 2;
}
.instagram__icon--message {
  -webkit-margin-before: 3px;
  margin-block-start: 3px;
}
.instagram__icon--message path {
  stroke-width: 2;
}
.instagram__icon--saved path {
  stroke-width: 2;
}
body {
  position: relative; /* Set relative positioning */
  min-height: 100vh; /* Full viewport height */
  margin: 0;
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: -1; /* Send it behind other elements */
}

/* Footer image styling */
.footer-image {
  max-width: 1920px;
  width: 100%;
  height: auto;
  opacity: 0.8;
  pointer-events: none;
}

@media screen and (max-width: 1010px) {
  .team .flex2 {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(auto-fit, minmax(10px, 22fr));
    gap: 10px;
    padding: 20px;
    padding-right: 20%;
    padding-left: 20%; /* Offset content for fixed sidebar */

    /* Offset content for fixed sidebar */
  }

  .team .flex3 {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(auto-fit, minmax(10px, 22fr));
    gap: 10px;
    padding: 20px;
    padding-right: 25%;
    padding-left: 25%; /* Offset content for fixed sidebar */

    /* Offset content for fixed sidebar */
  }
}

@media screen and (max-width: 768px) {
  .container,
  .carousel__wrapper {
    padding-inline: 0; /* Removes extra padding on smaller screens */
  }

  .video-container,
  .gallery,
  .team .flex {
    padding: 0 10px; /* Reduces padding to fit within the viewport */
  }

  .carousel .item {
    margin-inline: 0; /* Ensure items don’t exceed the viewport */
  }

  .team .flex2 {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(auto-fit, minmax(10px, 22fr));
    gap: 120px;
    padding: 20px;
    padding-right: 20%;
    padding-left: 20%; /* Offset content for fixed sidebar */
  }

  .team .flex3 {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(auto-fit, minmax(10px, 22fr));
    gap: 12px;
    padding: 20px;
    padding-right: 20%;
    padding-left: 20%; /* Offset content for fixed sidebar */
  }
}
