@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&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=Quicksand:wght@300..700&family=Righteous&display=swap');

:root {
  /* --content-font: "Josefin Sans"; */
  --content-font: "Poppins", sans-serif;
  /* --title-font: "Fira Sans", sans-serif; */
  /* --title-font: "Raleway", sans-serif; */
  /* --title-font: "Josefin Sans", sans-serif; */
  /* --title-font: "Marcellus", Helvetica, Arial, sans-serif; */
  --title-font: "Bricolage Grotesque", sans-serif;
  /* --title-font: "Playfair Display", sans-serif; */
  --red-color: #910b13;
  --button-color: #910b13;
  --yellow-color: #f9ba2f;
}

* {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body{
  font-size: 14px;
  font-family: var(--content-font);
}

.title-font {
  font-family: var(--title-font);
}

.content-font {
  font-family: var(--content-font);
}

p {
  font-family: var(--content-font);
}

.section-gap {
  padding: 150px 0;
  /* overflow: hidden !important; */
}

@media (orientation: portrait) {
  .section-gap {
    padding: 80px 0;
    /* overflow: hidden !important; */
  }
}

.btn-primary {
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  position: relative;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1); */
  color: var(--yellow-color);
  text-decoration: none;
  transition: 0.3s ease all;
  z-index: 1;
}

.btn-primary:before {
  transition: 0.5s all ease;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  content: "";
  background-color: var(--yellow-color);
  z-index: -1;
}

.btn-primary:hover,
.btn-primary:focus {
  color: white;
}

.btn-primary:hover:before,
.btn-primary:focus:before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}

.btn-primary:active {
  transform: scale(0.9);
}

.btn-secondary {
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  cursor: pointer !important;
  text-align: center;
  position: relative;
  background-color: var(--yellow-color);
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1); */
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease all;
  z-index: 1;
}

.btn-secondary:before {
  transition: 0.5s all ease;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  content: "";
  background-color: #fff;
  z-index: -1;
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: var(--yellow-color);
}

.btn-secondary:hover:before,
.btn-secondary:focus:before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}

.btn-secondary:active {
  transform: scale(0.9);
}

/* styles for popup form */
.popup {
  display: none;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: #0000005c;
  backdrop-filter: blur(5px);
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  border-radius: 0px;
  height: 100%;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.552);
  z-index: 999;
}

.popup-form {
  max-width: 420px;
  min-width: 300px;
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
}

#checkbox {
  display: none;
}

.toggle {
  position: relative;
  width: 40px;
  cursor: pointer;
  margin: auto;
  display: block;
  height: calc(4px * 3 + 11px * 2);
}

.bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: calc(4px / 2);
  background: #f9ba2f;
  color: inherit;
  opacity: 1;
  transition: none 0.35s cubic-bezier(0.5, -0.35, 0.35, 1.5) 0s;
}

/***** Tornado Animation *****/

.bar--top {
  bottom: calc(50% + 11px + 4px / 2);
  transition-property: bottom, transform;
  transition-delay: calc(0s + 0.35s) * 0.6;
}

.bar--middle {
  top: calc(50% - 4px / 2);
  transition-property: opacity, transform;
  transition-delay: calc(0s + 0.35s * 0.3);
}

.bar--bottom {
  top: calc(50% + 11px + 4px / 2);
  transition-property: top, transform;
  transition-delay: 0s;
}

#checkbox:checked + .toggle .bar--top {
  transform: rotate(-135deg);
  transition-delay: 0s;
  bottom: calc(50% - 4px / 2);
}

#checkbox:checked + .toggle .bar--middle {
  opacity: 0;
  transform: rotate(-135deg);
  transition-delay: calc(0s + 0.35s * 0.3);
}

#checkbox:checked + .toggle .bar--bottom {
  top: calc(50% - 4px / 2);
  transform: rotate(-225deg);
  transition-delay: calc(0s + 0.35s * 0.6);
}

.masked-text {
  color: transparent;
  background-image: url("https://images.unsplash.com/photo-1732535725600-f805d8b33c9c?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: 200%;
  background-position: 0 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-background 10s infinite alternate linear;
}

@keyframes animate-background {
  0% {
    background-position: 0 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}

/* Float Y (up-down) */
@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px); /* adjust float height */
  }
}

.float-y {
  animation: float-y 3s ease-in-out infinite;
}

/* Float X (left-right) */
@keyframes float-x {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(15px); /* adjust float distance */
  }
}

.float-x {
  animation: float-x 3s ease-in-out infinite;
}

/* @keyframes slideButton {
  from {
    right: 0;
  }
  to {
    right: 2.5rem; 
  }
} */

.group{
  font-family: var(--content-font);
  font-size: 15px;
}

.why-cosmo li span{
  font-family: var(--content-font);
}

.specs span{
      font-family: var(--title-font);
}