 *{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: "Space Grotesk", sans-serif;

    
    
}
body{
  background-color: #000;
}

header {
  height: 80px;
  display: flex;
  align-items: center;
 padding: 20px;
  
  
}
/* Logo */
.logo{
  .button {
  margin: 0;
  height: auto;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
}


.button {
  --border-right: 6px;
  --text-stroke-color: rgba(255,255,255,0.6);
  --animation-color: #37FF8B;
  --fs-size: 2em;
  letter-spacing: 3px;
  text-decoration: none;
  font-size: var(--fs-size);
  font-family: "Arial";
  position: relative;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-stroke-color);
}
.hover-text {
  position: absolute;
  box-sizing: border-box;
  content: attr(data-text);
  color: var(--animation-color);
  width: 0%;
  inset: 0;
  border-right: var(--border-right) solid var(--animation-color);
  overflow: hidden;
  transition: 0.5s;
  -webkit-text-stroke: 1px var(--animation-color);
}

.button:hover .hover-text {
  width: 100%;
  filter: drop-shadow(0 0 23px var(--animation-color));
  background:transparent;
}
}
.menus {
  display: flex;
  gap: 20px;
  margin-left: auto;
  
}


.menus a {
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;

  height: 60px;
  width: 100px;

  color: #fff;
  text-decoration: none;
}

.menus a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  background-color: #37FF8B;
  width: 0%;
  transition: width 0.3s ease;
}

.menus a:hover::after {
  width: 100%;
}
/* _________________________________________________________________________________________ */
/* Search section */
.search{
  /* background-color: beige; */
  width: auto;
  height: 174px;
  padding: 20px;
  font-family:  "Space Grotesk", sans-serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px
  ;
  h2{
    text-align: center;
    color: #fff;
  }
.input-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
}

.input {
  border-style: none;
  height: 50px;
  width: 50px;
  padding: 10px;
  outline: none;
  border-radius: 50%;
  transition: 0.5s ease-in-out;
  background-color: #2fca6f;
  
  padding-right: 40px;
  color: #fff;
}

.input::placeholder,
.input {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
}

.input::placeholder {
  color: #8f8f8f;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  cursor: pointer;
  width: 50px;
  height: 50px;
  font-size: 25px;
  outline: none;
  border-style: none;
  border-radius: 50%;
  pointer-events: painted;
  background-color: transparent !important;
  transition: 0.2s linear;
  color: #d6d3d3;
  i{
    background-color: transparent;
  }
  
}


.icon:focus ~ .input,
.input:focus {
  box-shadow: none;
  width: 250px;
  border-radius: 0px;
  background-color: transparent;
  
  border-bottom: 3px solid #37FF8B;
  transition: all 500ms cubic-bezier(0, 0.11, 0.35, 2);
 
 
}
.input-wrapper:focus-within .icon {
  transform: translateX(110px);
   i{
    background-color: transparent;
  }
}
}
/* ____________________________________________________________________________________________________ */
/* Hero Section */
/* left card */
.herosection{
  height: 420px;
  width: 100%;
  padding: 20px;
  /* background-color: wheat; */
  font-family: "Space Grotesk", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;

.cardm {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 70%;
  transform: translate(-50%, -50%);
}

.card {
  position: absolute;
  width: 250px;
  height: 130px;
  border-radius: 25px;
  background: #1e1e1e;
  color: #ffffff;
  z-index: 2;
  transition: 0.4s ease-in-out;
}

.weather {
  position: relative;
  margin: 1em;
}

.main {
  font-size: 2em;
  position: relative;
  top: -3em;
  left: 4.3em;
}

.mainsub {
  position: relative;
  top: -10.2em;
  left: 14em;
  font-size: 0.6em;
}

.card2 {
  position: absolute;
  display: flex;
  flex-direction: row;
  width: 240px;
  height: 130px;
  border-radius: 35px;
  background: #2d2d2d;
  z-index: -1;
  transition: 0.4s ease-in-out;
}

.card:hover {
  background-color: #3a3a3a;
  cursor: pointer;
}

.card:hover + .card2 {
  height: 300px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.card:hover + .card2 .lower {
  top: 20.2em;
}

.upper {
  display: flex;
  flex-direction: row;
  position: relative;
  color: #ffffff;
  left: 1.8em;
  top: 0.5em;
  gap: 4em;
}

.humiditytext {
  position: relative;
  left: 3.6em;
  top: 2.7em;
  font-size: 0.6em;
}

.airtext {
  position: relative;
  left: 3.8em;
  top: 2.7em;
  font-size: 0.6em;
}

.lower {
  display: flex;
  flex-direction: row;
  position: absolute;
  text-align: center;
  color: #ffffff;
  left: 3em;
  top: 1em;
  margin-top: 0.7em;
  font-size: 0.7em;
  transition: 0.4s ease-in-out;
}

.aqi {
  margin-right: 3.25em;
}

.realfeel {
  margin-right: 1.8em;
}

.card3 {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 240px;
  height: 30px;
  top: 4.7em;
  left: -2.4em;
  font-size: 1.24em;
  border-bottom-left-radius: 35px;
  border-bottom-right-radius: 35px;
  background: #2ecc71;
  color: #1e1e1e;
  transition: 0.4s ease-in-out;
}
.uvindex{
  width: 354px;
  height: 200px;
  background: #1e1e1e;
  border-radius: 30px;
  position: absolute;
  top:55%;
  left: 65%;
  display: flex;
  align-items: start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 15px;
  color: white;
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);   /* transparent glass */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(55, 255, 139, 0.3);
}

.solarcycle{
  width: 354px;
  height: 200px;
  border-radius: 30px;
  background: #1e1e1e;
  position:absolute;
  top:55%;
  right: 65%;
  color: white;
  display: flex;
  align-items: start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 15px;
  color: white;
  padding: 15px;
  .timming{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  background: rgba(255, 255, 255, 0.07);   
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(55, 255, 139, 0.3);

}


.chart{
    background: rgba(255, 255, 255, 0.1);
    justify-content: flex-start;
    border-radius: 100px;
    align-items: center;
    position: relative;
    padding: 0 -5px;
    display: flex;
    height: 20px;
    width: 200px;
}
    .chart span {
        
        margin-left: 5px;
        color: #fff;
        font-weight: bolder;
    }

.bar {
    
   
    box-shadow: 0 10px 40px -10px #fff;
    transition: width 0.5s ease;
    border-radius: 100px;
    background: #fff;
    height: 100%;
    width: 0%;
} }

/* Snowflakes animation____________________________ */



  .pixel-snow-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    contain: layout style paint;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .pixel-snow-container canvas {
    display: block;
    width: 100%;
    height: 100%;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
  }
  
.info{
  margin-bottom: 100px;
  height: 200px;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  .content{
    color: #fff;
    z-index: 99;
    text-align: center;
  }

}
.card-1, .card-2, .card-3, .card-4 {
  position: relative;
  width: 290px;
  height: 150px;
  border-radius: 14px;
  z-index: 1111;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff; */
   transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;

  transform-style: preserve-3d;
}
.card-1:hover,
.card-2:hover,
.card-3:hover,
.card-4:hover {

  transform:
    perspective(1000px)
    rotateX(6deg)
    rotateY(-6deg)
    translateY(-5px);

  box-shadow:
    0 15px 35px rgba(0,0,0,0.45),
    0 0 20px rgba(55,255,139,0.12);
}

.bg {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 280px;
  height: 140px;
  z-index: 2;

  background: rgba(15, 15, 15, 0.75);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  border-radius: 10px;

  border: 1px solid rgba(55, 255, 139, 0.25);

  overflow: hidden;
  box-shadow:
  inset 0 0 12px rgba(55,255,139,0.08),
  0 0 12px rgba(55,255,139,0.12);
}

.blob {
  position: absolute;

  z-index: 1;

  top: 50%;
  left: 50%;

  width: 220px;
  height: 220px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(55,255,139,0.45) 0%,
    rgba(55,255,139,0.12) 30%,
    transparent 70%
  );

  filter: blur(10px);

  animation: blob-bounce 6s infinite linear;
}

@keyframes blob-bounce {
  0% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }

  25% {
    transform: translate(-100%, -100%) translate3d(100%, 0, 0);
  }

  50% {
    transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
  }

  75% {
    transform: translate(-100%, -100%) translate3d(0, 100%, 0);
  }

  100% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
}
.footer-card svg {
  height: 25px;
}

.footer-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e7e7e7;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  height: 50px;
  width: 200px;
  margin-left: 250px;
}

.footer-card::before, .footer-card::after {
  position: absolute;
  display: flex;
  align-items: center;
  width: 50%;
  height: 100%;
  transition: 0.25s linear;
  z-index: 1;
}

.footer-card::before {
  content: "";
  left: 0;
  justify-content: flex-end;
  background-color: #37FF8B;
}

.footer-card::after {
  content: "";
  right: 0;
  justify-content: flex-start;
  background-color: #37FF8B;
}

.footer-card:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.footer-card:hover span {
  opacity: 0;
  z-index: -3;
}

.footer-card:hover::before {
  opacity: 0.5;
  transform: translateY(-100%);
}

.footer-card:hover::after {
  opacity: 0.5;
  transform: translateY(100%);
}

.footer-card span {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: whitesmoke;
  font-family: 'Fira Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  opacity: 1;
  transition: opacity 0.25s;
  z-index: 2;
}

.footer-card .social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  height: 100%;
  color: whitesmoke;
  font-size: 24px;
  text-decoration: none;
  transition: 0.25s;
}

.footer-card .social-link svg {
  text-shadow: 1px 1px rgba(31, 74, 121, 0.7);
  transform: scale(1);
}

.footer-card .social-link:hover {
  background-color: rgba(249, 244, 255, 0.774);
  animation: bounce_613 0.4s linear;
}

@keyframes bounce_613 {
  40% {
    transform: scale(1.4);
  }

  60% {
    transform: scale(0.8);
  }

  80% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}
.footer{
  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  z-index: 10;
  color: #fff;
  padding: 20px;
}
html {
  scroll-behavior: smooth;
}

