* {
  margin: 0px;
  padding: 0px;
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  overflow: hidden;
}
body {
  max-width: 100%;
  min-height: 100vh;
  background: -webkit-linear-gradient(
    to top,
    #182848,
    #4b6cb7
  ); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(
    to top,
    #182848,
    #4b6cb7
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.search {
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search input {
  border: 0;
  outline: 0;
  background: #ebfffc;
  color: #555;
  padding: 10px 25px;
  height: 60px;
  border-radius: 30px;
  margin-right: 16px;
  font-size: 18px;
  flex: 1;
}
.search button {
  border: 0;
  outline: 0;
  background: #ebfffc;
}

/*Search Bar Design start*/
.searchBox {
  display: flex;
  margin: 2rem auto .5rem;
  max-width: 40%;
  align-items: center;
  justify-content: space-between;
  background: #2f3640;
  border-radius: 50px;
  position: relative;
}

.searchButton {
  color: white;
  position: absolute;
  right: 8px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(
    --gradient-2,
    linear-gradient(90deg, #2af598 0%, #009efd 100%)
  );
  border: 0;
  display: inline-block;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
/*hover effect*/
button:hover {
  color: #fff;
  background-color: #1a1a1a;
  box-shadow: rgba(0, 0, 0, 0.5) 0 10px 20px;
  transform: translateY(-3px);
}
/*button pressing effect*/
button:active {
  box-shadow: none;
  transform: translateY(0);
}

.searchInput {
  border: none;
  background: none;
  outline: none;
  color: white;
  font-size: 15px;
  padding: 20px 46px 24px 23px;
  width: 80%;
}
searchInput::placeholder {
  color: #b0adad;
}

/*Search Bar Design End*/

/*weather details card Design Start */
.weather {
  text-align: center;
  justify-content: center;
  width: 90%;
  margin: 0px auto;
}
.weather-icon {
  width: 200px;
  margin-bottom:-.5rem;
}
.weather-description {
  color: whitesmoke;
  font-size: 20px;
}

.weather-details h1 {
  font-size: 5.3rem;
  color: whitesmoke;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.max-min {
  color: white;
  margin-top: -0.5rem;
  font-size: 1rem;
  letter-spacing: 0.1rem;
}
.weather-details h2 {
  font-size: 2.8rem;
  color: whitesmoke;
  font-weight: 400;
}
.col-sub p {
  color: white;
  text-align: center;
  margin: 0.5rem 0rem;
  font-weight: 500;
}
.details {
  width: 90%;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-around;

  width: 100%;
}
.col {
  display: flex;
  flex-direction: row;
}
.col-sub {
  margin-left: 1rem;
}
/*weather details card Design End */

@media all and (max-width: 850px) {
  .searchBox {
    max-width: 80%;
  }
  .searchInput::placeholder {
    font-size: 11px;
  }
  .searchInput {
    padding: 15px 30px 19px 23px;

  }
  
  
  .searchButton {
    width: 38px;
    height: 38px;
  }
  .s-icon {
   
    height: 26px;
    width: 26px;
  }
  .weather-icon {
    width: 150px;
  }
  .weather-description {
    color: whitesmoke;
    margin-top: -5rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
  }
  .weather-details h1 {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 2px;
  }
  .max-min {
    color: white;
    margin-top: -0.5rem;
    font-size: 0.75rem;
    margin-top: 1px;
    letter-spacing: 0px;
  }
  .weather-details h2 {
    font-size: 1.9rem;
    margin-top: 0rem;
  }
  .details {
    justify-content: space-around;
  }
  .col {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .col img {
    width: 3rem;
  }
  .col-sub {
    width: 100%;
    text-align: center;
    margin: 0px;
  }
}


@media all and (max-width: 335px) {

  .searchInput::placeholder {
    font-size: 10px;
  }
  .searchInput {
  padding: 12px 10px 15px 10px;
  }
  .searchButton {
    width: 32px;
    height: 32px;
  }
  .s-icon {
    height: 23px;
    width: 23px;

  }

}













/*ANIMATION EFFECT START*/

.loading{
  width: 100%;
  height:100vh;
  background:#212121;
  position: fixed;
  z-index:2

}


#outline {
  stroke-dasharray: 2.42777px, 242.77666px;
  stroke-dashoffset: 0;
  -webkit-animation: anim 1.6s linear infinite;
  animation: anim 1.6s linear infinite;
}

@-webkit-keyframes anim {
  12.5% {
    stroke-dasharray: 33.98873px, 242.77666px;
    stroke-dashoffset: -26.70543px;
  }

  43.75% {
    stroke-dasharray: 84.97183px, 242.77666px;
    stroke-dashoffset: -84.97183px;
  }

  100% {
    stroke-dasharray: 2.42777px, 242.77666px;
    stroke-dashoffset: -240.34889px;
  }
}

@keyframes anim {
  12.5% {
    stroke-dasharray: 33.98873px, 242.77666px;
    stroke-dashoffset: -26.70543px;
  }

  43.75% {
    stroke-dasharray: 84.97183px, 242.77666px;
    stroke-dashoffset: -84.97183px;
  }

  100% {
    stroke-dasharray: 2.42777px, 242.77666px;
    stroke-dashoffset: -240.34889px;
  }
}


/*ANIMATION EFFECT END*/
