body {
font-family: system-ui, sans-serif;
margin: 0;
overflow-x:hidden;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

a:hover { 
    transform: scale(1.05); 
}

.hero{
  background: var(--black);
  background-image: url('/assets/images/Emoji\ background.webp');
  width: 100%;
  padding-bottom: 10px;
/* padding-top:150px; */
}

.hero-right-alignment {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero .slanglish-logo{
  width: 250px;
  height: auto;
  overflow: hidden;
  margin: 1.5rem 0 0rem;
  /* border: 3px solid red; */
}

.hero .slanglish-logo img{
  /* height: 100%; */
  width: 100%;
  /* object-fit: cover; */
  object-position: center;
}

.hero .hero-img {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-top: 1.5rem;
  border-radius: 40px;
  /* border: 3px solid blue; */
}

.hero .hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about{
  width: 100%;
  /* border: 3px solid green; */
}

.hero .about h1{
  color: var(--golden-yellow);
  text-transform: capitalize;
  font-size: 56px;
  font-family: var(--font-heading);
  font-weight: 400;
  margin: 0;
  line-height: 1;
}

.hero .about h1 span{
  text-transform: uppercase;
}

.hero .about p{
  color: var(--deep-magenta);
  font-size: 28px;
  font-family: var(--font-body);
  font-weight: 600;
  margin: 0.7rem 0rem;
}


/* MAIN FLEX LAYOUT */
.hero .flex-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  /* width: 85%; */
  width: 100%;
}

/* Left */
.hero .left {
  align-items: center;
    /* flex: 0 0 420px; */
    width: 90%;
    margin: 0rem auto 1rem;
    display: flex;
    flex-direction: column;
    text-align: center;

}

.hero-left .video-title{
color: var(--deep-magenta);
font-family: var(--font-heading);
align-self: center;
}

.hero .hero-banner {
  width: 90%;
    margin: 0 auto;
    height: auto;
    max-width: 100%;
}

/* Right */
.hero .right {
  flex: 1;
}

.hero-section{
  flex-direction: column;
}

/* --------hero video---------- */
.hero-video-wrapper {
  position: relative;
  display: inline-block;
}

.hero-banner {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
}

.hero-video-controls {
  position: absolute;
  top: calc(50% - 27px);
  left: calc(50% - 27px);
  display: flex;
  gap: 10px;
}

.hero-video-controls button {
  padding: 8px 14px;
  border: none;
  background: rgba(0,0,0,0.7);
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.hero-video-controls button:hover {
  background: black;
}

.click-here-img{
  position: absolute;
  width: 200px;
  left: 110%;
  top: -65%;
}

.hero-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.hero-modal-content {
  position: relative;
  width: 80%;
  max-width: 900px;
}

.hero-modal-content video {
  width: 100%;
  border-radius: 10px;
}

.hero-close-btn {
  position: absolute;
  top: -40px;
  right: -40px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.hero-play-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-play-btn:hover {
  background: rgba(0,0,0,0.9);
}

/* -------------------------menu------------------- */
.center-menu{
  position: absolute;
    top: 2.1%;
    left: calc(50% - 256px);
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 1rem 2rem;
    z-index: 5;
    border-radius: 3rem;
    background-color: var(--golden-yellow);
}

.center-menu a{
  text-decoration:none;
  color:var(--black);
  font-weight:600;
  letter-spacing:.5px;
  transition:.3s;
}

.center-menu a:hover{
  /* color:var(--deep-magenta); */
  text-decoration: underline;
}

/* Make your top header sticky/fixed */
header{
  display: flex;
    align-items: center;
    justify-content: flex-start;
  width:100%;
  z-index:999;
}

/* hamburger */
/* .hamburger{
  position:absolute;
  right:30px;
  top:50%;
  transform:translateY(-50%);
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  z-index:10;
}

.hamburger span{
  width:26px;
  height:3px;
  background:white;
  border-radius:5px;
  transition:.3s;
} */

.hamburger{
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 10000;
}

.hamburger span{
  height:3px;
  width:100%;
  background: var(--golden-yellow);
  border-radius:3px;
  transition:.35s;
}

/* Animate to X */
.hamburger.active span:nth-child(1){
  transform:translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform:translateY(-9px) rotate(-45deg);
}

/* MOBILE MENU */
@media(max-width:991px){

  .center-menu{
    position:fixed;
    inset:0;
    margin:0;
    padding:0;
    border-radius: 0px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:40px;

    background:rgba(0,0,0,0.96);
    backdrop-filter: blur(8px);

    transform:translateY(-100%);
    transition:transform .45s ease;

    z-index:9999;
  }

  .center-menu.active{
    transform:translateY(0);
  }

  .center-menu li{
    list-style:none;
  }

  .center-menu a{
    color:white;
    font-size:26px;
    font-weight:600;
    text-decoration:none;
    letter-spacing:.5px;
    transition:.3s;
    color:var(--golden-yellow);
  }

  .center-menu a:hover{
    text-decoration: underline;
  }

  .center-menu {
        top: -2.2%;
    }

    header{
      justify-content: space-between;
    }
}



/* ------hero video ends--------- */

.slogan-strip {
  position: relative;
  height: 60px;
  background: var(--black);
  overflow: hidden;
  margin: 2rem 0rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: white;
  font-size: 34px;
  padding: 20px 0;
}

/* STRIPES */
.stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--golden-yellow) 0px,
    var(--golden-yellow) 60px,
    transparent 60px,
    transparent 120px
  );

  z-index: 0;
}

/* TEXT */
.slogan-text {
  z-index: 1;
  color: white;
  font-size: 42px;
  font-weight: 700;
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 12s linear infinite;
  /* letter-spacing: 0.1em; */
}

.slogan-wrapper {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

/* Right → Left Animation */
@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ----------------------------------------Dictionary--------------------------- */

.dictionary{
background: var(--white);
  background-image: url('/assets/images/Emoji\ background.webp');
  /* border: 3px solid red; */
  width: 100%;
  box-sizing: border-box;
  padding-top: 5%;
    margin-top: -6%;
    margin-bottom: -4%;
    padding-bottom: 4%;
}

.dictionary .right-alignment{
display: flex;
flex-direction: column;
align-items: end;
/* border: 3px solid yellow; */
}

.dict-heading{
  /* width: 85%; */
  width: 100%;
  /* border: 3px solid green; */
}

.dict-heading h1:first-child{
text-align: center;
font-size: var(--heading-font-size);
margin: 0;
line-height: 0.9;
color: var(--golden-yellow);
text-transform: uppercase;
font-family: var(--font-heading);
font-weight: 400;
/* border: 3px solid red; */
}

.dict-heading h1:last-child{
  margin-left: 50%;
  margin-top: 0;
  margin-bottom: 0;
  font-size: var(--heading-font-size);
  font-weight: 100;
  font-family: 'Cookie', cursive;
  color: var(--deep-magenta);
  line-height: 0.8;
}

.dictionary .line {
  /* width: 85%; */
  width: 100%;
  height: 2px;
  background: #111;
  margin: 40px 0 60px;
}

.dict-icon{
width: 30px;
height: auto;
}

.dict-right-icons{
  display: flex;
  justify-content: flex-end;
}

.dictionary .dict-right-icons .dict-icon{
margin-right: 4rem;
}

/* MAIN FLEX LAYOUT */
.dictionary .flex-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  /* width: 85%; */
  width: 100%;
}

/* Left */
.dictionary .left {
  align-items: center;
    /* flex: 0 0 420px; */
    width: 50%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.dictionary .book {
  width: 70%;
    margin: 0 auto;
    height: auto;
    max-width: 100%;
}

.dictionary .btn, .btn, .quiz-btn  {
    display: inline-block;
    margin-top: 5px;
    width: fit-content;
    padding: 14px 36px;
    background: #f2c200;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 40px;
    box-shadow: 0 6px 0 #f5165d;
    cursor: pointer;
}

.play-quiz-btn, .form-link{
    display: inline-block;
    margin-top: 5px;
    width: fit-content;
    padding: 14px 36px;
    background: var(--white);
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 40px;
    box-shadow: 0 6px 0 #f5165d;
    cursor: pointer;
    height: max-content;
}

/* Right */
.dictionary .right {
  flex: 1;
}

.dictionary .right p {
  font-size: var(--text-medium-font);
  line-height: 1.7;
  color: #222;
  font-weight: 500;
  margin: 0;
}

.dictionary .quiz {
  display: flex;
  justify-content: center;
  flex: 0 0 320px;
  height: 250px;
  padding: 24px;
  font-size: 18px;
  font-weight: 700;
  background-image: url("../assets/images/dialogue-box.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.dictionary .quiz p{
  width: 80%;
  margin: 0 auto;
  font-size: 28px;
    font-weight: 700;
}

.dictionary .free-download{
  margin-left: 1rem;
}

.vertically-centered{
display: flex;
flex-direction: column;
justify-content: center;
height: stretch;

}

/* Bottom Flex Row */
 .quiz-section-container {
background: #f2c200;
    margin-top: 3rem;
    padding-top: 0rem;
    padding-bottom: 10rem;
    margin-bottom: -10rem;
 }

 .quiz-section {
  width: 100vw;
    margin: 0px auto 10px;
  display: flex;
  justify-content: space-between;
}

.quiz-section .highlight {
    display: flex;
    justify-content: center;
    height: max-content;
    position: relative;
    width: 100%;
}

.quiz-section .highlight .cont-one{
  width: 50%;
}

.quiz-section .highlight .cont-two{
display: flex;
justify-content: center;
align-items: center;
width: 20%;
}

.quiz-section .highlight span {
  text-decoration: underline;
}

.quiz-section .highlight img{
  width: 127px;
    height: auto;
  position: absolute;
    left: -0%;
}

.quiz-section .highlight > p, .quiz-section .highlight .cont-one  p {
background: #f2c200;
  padding: 10px;
  font-size: 28px;
  font-weight: 700;
}

#word-form-open{
  color: inherit;
}

/* -------------------------------------Crossword-------------------------------- */
.crossword{
  background: var(--black);
  padding-bottom: 3%;
  z-index: 111;
    position: relative;
}

.crossword-heading h1:first-child{
  text-align: center;
font-size: var(--heading-font-size);
margin: 0;
line-height: 1;
color: var(--golden-yellow);
text-transform: uppercase;
font-family: var(--font-heading);
font-weight: 400;
}

.crossword-heading h1:last-child{
  text-align: center;
font-size: 48px;
margin: 0;
line-height: normal;
color: var(--deep-magenta);
text-transform: uppercase;
font-family: var(--font-body);
font-weight: 700;
letter-spacing: 0.3em;
display: flex;
justify-content: center;
margin-top: 1rem;
}

/* MAIN FLEX LAYOUT */
.crossword .flex-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin: 3rem auto;
}

/* Left */
.crossword .left {
  width: 50%;
  text-align: center;
}

.crossword .book {
  width: 80%;
  height: auto;
  max-width: 100%;
}

.crossword .btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 36px;
  background: #f2c200;
  color: #000;
  text-decoration: none;
  font-weight: 400;
  border-radius: 40px;
  box-shadow: 0 6px 0 #f5165d;
  font-weight: 700;
}

/* Right */
.crossword .right {
  flex: 1;
}

.crossword .right p {
  font-size: var(--text-font-size);
  line-height: 1.7;
  color: var(--golden-yellow);
  font-weight: 500;
  margin: 0;
}

.crossword .right p span{
  color: var(--deep-magenta);
}

.boxed-word {
  display: flex;
  gap: 8px;
}

.boxed-word span {
  border: 2px solid #f5165d;
  width: 50px;
  height: 50px;
  letter-spacing: normal;
  display: grid;
  place-items: center;

  font-size: 28px;
  font-weight: bold;
  line-height: 1;
}

/* -----------------quiz-section-cont2----------------- */

.quiz-section-cont2 {
    padding-bottom: 2rem;
    padding-top: 8rem;
    margin-top: -8%;
    margin-bottom: -0%;
}

.quiz-section-cont2 .quiz-section .highlight .cont-one, .quiz-section-cont2 .quiz-section .highlight .cont-two{
width: 40%;
}

/* ---------------------------Slanglish 101----------------------- */

.slanglish101{
  margin-top: 2rem;
}

.slanglish101-heading{
  width: max-content;
  margin: 0 auto;
  /* border: 3px solid red; */
}

.slanglish101-heading h1:first-child{
  text-align: end;
  font-size: 64px;
  font-family: var(--font-heading);
  font-weight: 400;
margin: 0;
line-height: 1;
color: var(--black);
text-transform: uppercase;

}

.slanglish101-heading h1:last-child{
  text-align: end;
font-size: 64px;
margin: 0;
line-height: 1;
color: var(--deep-magenta);
text-transform: uppercase;
font-family: var(--font-heading);
font-weight: 400;
/* border: 3px solid red; */
}

/* MAIN FLEX LAYOUT */
.slanglish101 .flex-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  /* width: 85%; */
  margin: 3rem auto;
  /* border: 3px solid green; */
}

/* Left */
.slanglish101 .left {
  /* flex: 0 0 420px; */
  width: 50%;
  text-align: center;
}

.slanglish101 .book {
  width: 60%;
  height: auto;
  max-width: 100%;
}

/* Right */
.slanglish101 .right {
  flex: 1;
}

.slanglish101 .right p {
  font-size: var(--text-font-size);
  line-height: normal;
  color: var(--black);
  font-weight: 400;
  margin: 0;
  /* margin-bottom: 10px; */
}

.slanglish101 .right p span{
  color: var(--deep-magenta);
}

.slanglish101 .btns{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
  margin: 0 auto;
  /* border: 3px solid green; */
}

.slanglish101 .btns img{
  width: 100px;
  height: auto;
}

.slanglish101 .btns .btn {
  display: inline-block;
  margin-top: 24px;
  /* width: 100%; */
  padding: 14px 36px;
  background: #f2c200;
  color: #000;
  text-decoration: none;
  font-weight: 400;
  border-radius: 40px;
  box-shadow: 0 6px 0 #f5165d;
  font-weight: 700;
  cursor: pointer;
}


/* -------------------------------------Team Slanglish-------------------------------- */
.team{
  background: var(--black);
  /* border: 3px dotted burlywood; */
}

.team-heading {
  text-align: center;
}

.team-heading h1 {
  position: relative;
  font-size: 64px; 
  margin: 0;
  color: var(--golden-yellow); 
  font-family: inherit;
  font-weight: 700;
  line-height: 1;
  isolation: isolate;
  font-family: var(--font-heading);
}

/* Pink shadow */
.team-heading h1::after {
  content: attr(data-text);
  position: absolute;
  top: 3px;
    left: 3px;
    color: var(--deep-magenta);
    z-index: -1;
    width: 100%;
}

/* Wrapper */
/* .team-wrapper {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap; 
  padding: 40px 20px;
  background: #000;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 200px; 
}

.team-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
} */

/* Wrapper */
/* Wrapper */
.team .team-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  background: #000;
}

/* Flip box */
.team .flip-box {
  width: 200px;
  height: 260px;
  perspective: 1000px;
}

/* Force line break */
.team .flex-break {
  flex-basis: 100%;
  height: 0;
}

/* Flip mechanics (unchanged) */
.team .flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.team .flip-box:hover .flip-box-inner {
  transform: rotateX(180deg);
}

/* Faces */
.team .flip-box-front,
.team .flip-box-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
}

.team .flip-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team .flip-box-back {
  transform: rotateX(180deg);
}


/* -------------------------------------Meet The Team-------------------------------- */
.meet-the-team{
  background: var(--gray);
  /* border: 3px dotted burlywood; */
  position: relative;
}

.meet-the-team .team-heading {
  text-align: center;
}

.meet-the-team .team-heading h1 {
  position: relative;
  font-size: 64px; /* or your variable */
  margin: 0;
  color: var(--deep-magenta); 
  font-family: inherit;
  font-weight: 700;
  line-height: 1;
  isolation: isolate;
  font-family: var(--font-heading);
}

/* Pink shadow */
.meet-the-team .team-heading h1::after {
  content: attr(data-text);
  position: absolute;
  top: 3px;
    left: 3px;
    color: var(--golden-yellow);
    z-index: -1;
    width: 100%;
}

/* Wrapper */
.meet-the-team .team-wrapper {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap; /* 🔑 enables responsiveness */
  padding: 40px 20px;
  background: #000;
}

.meet-the-team .team-logo{
height: max-content;
width: 70%;
margin: 4rem auto;
/* border: 1px solid black; */
}

.meet-the-team .team-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.meet-the-team .buddha-logo{
  position: absolute;
  bottom: 0px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.meet-the-team .buddha-logo p{
  font-size: var(--text-font-size);
  font-weight: 500;
  font-family: var(--font-heading);
  margin: 0.5rem 0;
}

.meet-the-team .buddha-logo img{
  width: 100px;
  height: auto;
}

/* --------------------------Contact Us----------------- */
.contact-us{
  background: var(--golden-yellow);
  padding: 2rem 0;
}

.contact-us p{
  font-size: 28px;
  font-family: var(--font-body);
  font-weight: 800;
  line-height: normal;
  color: var(--black);
  max-width: max-content;
}

.torn-edges{
  width: 100%;
  overflow: hidden;
}

.torn-edges img{
    width: 100%;
}

/* -------------------Contact Us Popup------------------- */

.footer-popup {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.footer-popup-content {
  background: #fff;
  padding: 20px;
  max-width: 600px;
  margin: 15% auto;
  border-radius: 8px;
  position: relative;
  text-align: center;
}

.footer-close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 22px;
  cursor: pointer;
}

.footer-popup-link {
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}

/* -------------Slanglish hero text-------------- */
#timeline {
    scroll-margin-top: 70px;
    /* adjust 20–50px as needed */
}


#timeline {
    position: relative;
    z-index: 1;

}

#timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    z-index: -1;
}

/* anime-text-container {
    position: relative;
    width: 100vw;
    height: 100svh;
    padding: 2em;
    overflow: hidden;
} */

.copy-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2rem;
     margin: 0.2rem 0rem;
}

.anime-text {
    width: 100%;
}

.anime-text p {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.3;
}

.anime-text .word {
    display: inline-block;
    position: relative;
    margin-right: 0.2rem;
    margin-bottom: 0.2rem;
    padding: 0.1rem 0.2rem;
    border-radius: 2rem;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.anime-text .word.keyword-wrapper {
    margin: 0 0.4rem 0.2rem 0.2rem;
}

.anime-text .word span {
    position: relative;
    transition: opacity 0.3s ease;
}

.anime-text .word span.keyword {
    display: inline-block;
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    padding: 0.1rem 0;
    color: #141414;
}

.anime-text .word span.keyword::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 1rem);
    height: calc(100% + 0.4rem);
    /* background-color: #fff; */
    border-radius: 2rem;
    z-index: -1;
}

.anime-text .word,
.anime-text .word span {
    opacity: 0;
}

.anime-text .keyword-group {
    display: inline;
    border-radius: 5px;
    padding: 0rem 0.4rem;
    color: #141414;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    /* width: fit-content; */
}

.logoCont {
    width: 109px;
    height: 56px;
}


.hidden {
  display: none;
}

.bookLoader {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem; /* rounded-lg */
  z-index: 50;
}

.loader {
  border-width: 4px;
  border-style: solid;
  border-color: #d1d5db; /* gray-300 */
  border-top-color: #f2c200; /* blue-500 */
  border-radius: 9999px; /* rounded-full */
  width: 2.5rem;  /* w-10 */
  height: 2.5rem; /* h-10 */
  animation: spin 1s linear infinite;
}


/* animate-spin */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loaderText {
  margin-top: 0.75rem; /* mt-3 */
  color: #4b5563;      /* text-gray-600 */
  font-size: 0.875rem; /* text-sm */
}



@media screen and (max-width: 768px) {

    #timeline {
        scroll-margin-top: 80px !important;
    }

section#timeline {
        padding: 20px;
        overflow: hidden;
    }

/* .anime-text {
        width: 100%;
    } */

    .anime-text p {
        font-size: 16px;
        font-weight: 800;
    }

}

@media (max-width: 1024px) and (min-width: 768px) {
section#timeline {
        padding: 30px;
        overflow: hidden;
    }

    /* .anime-text {
        width: 90%;
    } */

    .anime-text p {
        font-size: 1.25rem;
    }

    .anime-text .word {
        margin-right: 0.1rem;
        margin-bottom: 0.15rem;
        padding: 0.1rem 0.2rem;
    }

    .anime-text .word.keyword-wrapper {
        margin: 0 0.2rem 0.1rem 0.1rem;
    }
}

@media (max-width: 1200px) {
  .hero .slanglish-logo{
  width: 200px;
}

  .dictionary .quiz-section{
width: 85%;
  }

  .dictionary .highlight img{
    left: -9%;
  }
  
  .meet-the-team .team-logo{
width: 70%;
  }

  .slanglish101 .btns{
    width: 100%;
  }
}

@media (max-width: 1050px) {
  .dictionary .highlight img{
    /* left: -25%; */
  }
}

/* Tablet */
@media (max-width: 1024px) {
.hero .about h1, .dict-heading h1:first-child, .dict-heading h1:last-child, .crossword-heading h1:first-child, .crossword-heading h1:last-child, .slanglish101-heading h1:first-child, .slanglish101-heading h1:last-child, .team-heading h1, .meet-the-team .team-heading h1 {
  font-size: var(--heading-medium-font);
}

.hero .about p{
font-size: var(--text-font-size);
}

  .slanglish101 .btns .btn{
    padding: 14px;
  }

  .team-card {
    width: 220px;
  }
  .slogan-text{
     font-size: 26px;
     text-align: center;
  }

  .dict-heading, .slanglish101-heading{
    margin-top: 2rem;
  }

  .crossword-heading > h1:nth-child(1), .team-heading{
    padding-top: 2rem;
  }

  .meet-the-team .buddha-logo img{
    width: 75px;
  }

      .quiz-section .highlight {
        flex-direction: column;
        align-items: center;
    }

    .quiz-section .highlight .cont-one, .quiz-section-cont2 .quiz-section .highlight .cont-one, .quiz-section-cont2 .quiz-section .highlight .cont-two {
    width: 100%;
    text-align: center;
}

.quiz-section .highlight img{
  display: none;
}

.quiz-section-cont2{
  padding-top: 4rem;
}
}

/* Responsive */
@media (max-width: 900px) {
   .hero .flex-wrapper, .dictionary .flex-wrapper, .crossword .flex-wrapper, .slanglish101 .flex-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .hero .left{
      width: 100%;
  }
  
  .dictionary .line{
      margin:25px 0;
  }

  .dictionary .quiz-section, .crossword .quiz-section {
    flex-direction: column;
  }

  .dictionary .dict-right-icons .dict-icon{
margin: 0rem 1rem;
}

.quiz-section-container .highlight img{
  display: none;
}

.dictionary .quiz{
  padding: 36px 20px;
}

.dictionary .quiz p {
    width: 60%;
  }

  .dictionary .left{
    margin-top: 1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .slanglish101 .btns .btn{
font-size: 12px;
  }

  .slanglish101 .btns img{
    width: 80px;
  }

  .team-wrapper {
    justify-content: center;
  }

  .team-card {
    width: 100%;
    max-width: 320px;
  }

  .dictionary .book{
    width: 100%;
  }

  .slanglish101 .book{
    width: 80%;
  }

  .crossword .book{
    width: 100%;
  }

  .dictionary .highlight p{
    font-size: 20px;
  }
  .slogan-text{
      font-size: 24px;
      text-align: center;
  }

  .quiz-section{
    margin: 15px auto;
  }

.quiz-section-container .container{
  padding: 0px;
}

.quiz-section .highlight .cont-one, .quiz-section .highlight .cont-two, .quiz-section-cont2 .quiz-section .highlight .cont-one, .quiz-section-cont2 .quiz-section .highlight .cont-two{
  width: 100%;
}

.quiz-section-cont2{
  padding-top: 2rem;
}

.boxed-word div {
  font-size: 24px;
}

.meet-the-team .team-logo {
    width: 90%;
}

.hero .hero-banner {
  width: 100%;
}

.team .flex-break {
    display: none;
  }

  .team .flip-box {
        width: 33%;
        height: 300px;
    }

    .footer-popup-content{
      margin: 15% 1rem;
    }
}

@media (max-width: 550px) {
  .hero .about h1, .dict-heading h1:first-child, .dict-heading h1:last-child, .crossword-heading h1:first-child, .crossword-heading h1:last-child, .slanglish101-heading h1:first-child, .slanglish101-heading h1:last-child, .team-heading h1, .meet-the-team .team-heading h1{
  font-size: var(--heading-small-font);
}

    .hero .about p, .dictionary .right p, .crossword .right p, .slanglish101 .right p, .meet-the-team .buddha-logo p {
  font-size: var(--text-small-font);
}

.dict-heading, .dictionary .line, .dictionary .flex-wrapper, .dictionary .quiz-section{
  width: 100%;
}

.hero .slanglish-logo{
  width: 120px;
}

.click-here-img {
    width: 120px;
    left: 110%;
    top: -65%;
}

.slanglish101 .btns{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .slanglish101 .btns .btn{
    margin-top: 0px;
  }

  .slanglish101 .btns img{
    width: 50px;
  }

  .meet-the-team .buddha-logo{
bottom: 0px;
right: 15px;
  }

   .meet-the-team .buddha-logo p{
    /* font-size: ; */
    margin: 0.3rem 0 0;
   }

  .meet-the-team .buddha-logo img{
    width: 70px;
  }

  .dictionary .quiz p{
    width: 70%;
    margin-top: 2rem;
    font-size: 24px;
  }
  .slogan-text{
       /* font-size: 20px; */
      padding: 0 10px;
      padding-left: 100%;
  }
}

@media (max-width: 480px) {
  .team .flip-box {
    width: 100%;
    max-width: 260px;
    height: 350px;
  }

    .quiz-section .highlight > p, .quiz-section .highlight .cont-one p {
    font-size: 28px;
    }

}

@media (max-width: 425px) {
  .dictionary .left, .crossword .left, .slanglish101 .left {
    width: 100%;
  }

  .dictionary .flex-wrapper, .crossword .flex-wrapper, .slanglish101 .flex-wrapper {
    gap: 30px;
  }

  .crossword-heading h1:last-child{
    letter-spacing: 0.2em;
  }

  .meet-the-team .team-logo{
    width: 100%;
    margin: 1rem auto;
  }

  .dictionary .quiz{
    padding: 0;
  }

  .dictionary .quiz p{
    margin-top: 4rem;
    font-size: 20px;
  }

  .meet-the-team .buddha-logo img{
    width: 50px;
  }

  .contact-us p{
    font-size: 20px;
  }
}

@media (max-width: 400px) {
  .crossword .left {
  width: 280px;
}
}

@media (max-width: 340px) {
    .slogan-strip{
        height: 90px;
    }
}


/* --------------------------min width---------------------------- */
@media (min-width: 991px){
  .hamburger{
    display: none;
  }
}