@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --primary-color: rgb(155, 4, 4);
}
* {
  appearance: none;
  text-decoration: none;
  list-style: none;
  color: black;
  text-align: center;
  font-family: "Poppins", serif;
}
a {
  color: white;
  padding: 1rem;
  background-color: var(--primary-color);
  border-radius: 20px;
  transition: all 300ms ease-in;
}
@keyframes jellyScale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

.jelly-scale {
  display: inline-block; /* Ensures the element respects sizing */
  animation: jellyScale 1.5s ease-in-out infinite;
}
#logo {
  height: 5rem;
  border-radius: 36px;
}
a:hover {
  background-color: white;
  outline: 1px solid var(--primary-color);
  color: var(--primary-color);
}
a.active {
  background-color: white;
  outline: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.hlink {
  appearance: none;
  background-color: transparent;
}
.hlink:hover {
  appearance: none;
  background-color: transparent;
  border: none;
  outline: none;
}
body {
  background: white;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
}
header {
  display: flex;
  gap: 1rem;
  height: 10vh;
  justify-content: space-between;
  align-items: center;
  margin: 1rem;
}
.hmigtext {
  display: flex;
  align-items: center;
  div {
    h3 {
      margin: 0;
      padding: 0;
      text-align: left;
    }
  }
}
menu {
  display: flex;
  gap: 1rem;
}
section {
  margin-top: 1rem;
  margin-bottom: 1rem;
  flex: 1;
  display: flex;
  justify-content: space-evenly;
  gap: 1rem;
  text-align: center;
  min-height: 100%;
  /* min-height: 100vh; */
}
#hero-vid {
  aspect-ratio: 16/9;
  width: 80%;
}
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  place-content: center;
}
.card {
  box-shadow: 6px 3px 13px 7px #d5daf0;
  padding: 1rem;
  border-radius: 20px;
  img {
    width: 15rem;
    height: 15rem;
    border-radius: 20px;
  }
}
.member-card {
  max-width: 15rem;
}
#contact-us {
  height: 90vh;
}
#map {
  width: 50%;
  height: 70vh;
}
#details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  height: 50vh;
}
footer {
  background-color: var(--primary-color);
  padding: 0.25rem 0;
  width: 100%;
  h5 {
    color: white !important;
  }
}
#menuicon {
  display: none;
  cursor: pointer;
  color: var(--primary-color);
}
.off-screen-menu {
  background-color: var(--primary-color);
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  z-index: 10;
  right: -100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: 0.5s ease-in;
  #mob-close-btn {
    display: none;
    position: fixed;
    cursor: pointer;
    top: 1rem;
    right: 1rem;
    #mob-close-icon {
      font-size: xx-large;
      color: white !important;
    }
  }
  menu {
    flex-direction: column;
    gap: 4rem;
    padding: 0;
  }
  li {
    color: var(--primary-color) !important;
    a {
      display: flex;
      justify-content: center;
      color: var(--primary-color);
      background-color: white;
      min-width: 10rem;
    }
    a.active {
      background-color: var(--primary-color);
      outline: 2px solid white;
      color: white;
    }
  }
}
.off-screen-menu.active {
  right: 0;
  #mob-close-btn {
    display: block;
  }
}
#whatsapp-chat {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  img {
    width: 10vw;
    max-width: 5rem;
    animation: jellyScale infinite 1.2s linear;
  }
}
.quiz-launch {
  display: flex;
  justify-content: center;
  align-items: center;
}
h6 {
  margin: 0;
  color: white;
}
@media screen and (max-width: 900px) {
  #desktop-menu {
    display: none;
  }
  #details {
    height: unset;
  }
  @keyframes jellyScale {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }
  #logo {
    height: 3rem;
  }
  h3 {
    font-size: 12px;
  }
  #menuicon {
    display: block;
    color: var(--primary-color);
    font-size: xx-large;
  }
  #contact-us {
    flex-direction: column;
    #map {
      height: 50vh;
      width: 100%;
    }
  }
}
