@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap");
:root {
  --color-primary: #0e6cc4;
  --color-secondary: #77daff;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-primary);
  overflow-x: hidden;
  overflow-y: hidden;
}

.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100vh;
}

.container .card {
  font-family: 'Josefin Sans', sans-serif;
  height: auto;
  width: 350px;
  padding: 20px;
  margin: 10px;
  border-radius: 35px;
  color: white;
  background: #00000080;
}

.container .card .search input {
  font-family: inherit;
  font-size: 17px;
  width: 80%;
  height: 35px;
  padding-left: 15px;
  outline: none;
  border: none;
  border-radius: 20px;
  color: white;
  background-color: #252525cb;
}

.container .card .search input::-webkit-input-placeholder {
  color: var(--color-secondary);
  opacity: .6;
}

.container .card .search input:-ms-input-placeholder {
  color: var(--color-secondary);
  opacity: .6;
}

.container .card .search input::-ms-input-placeholder {
  color: var(--color-secondary);
  opacity: .6;
}

.container .card .search input::placeholder {
  color: var(--color-secondary);
  opacity: .6;
}

.container .card .search button {
  width: 40px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background-color: #252525cb;
  cursor: pointer;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

.container .card .search button i {
  color: var(--color-secondary);
}

.container .card .search button:hover {
  background-color: #3d3d3dcb;
}

.container .card .weather {
  text-align: center;
}

.container .card .weather .description {
  text-transform: capitalize;
  font-weight: 550;
}

.container .card .weather div {
  margin-bottom: 10px;
}

.container .card .weather h1 {
  margin-bottom: 0;
}

.container .card .weather.loading {
  visibility: hidden;
  max-height: 50px;
  position: relative;
}

.container .card .weather.loading::after {
  visibility: visible;
  content: "Loading...";
  position: absolute;
  top: 0;
  left: 0;
}

.box {
  position: fixed;
  top: 0;
  -webkit-transform: rotate(80deg);
          transform: rotate(80deg);
  left: 0;
}

.box .wave {
  position: fixed;
  top: 0;
  left: 0;
  opacity: .4;
  position: absolute;
  top: 3%;
  left: 10%;
  background: #00aaff;
  width: 1500px;
  height: 1300px;
  margin-left: -150px;
  margin-top: -250px;
  -webkit-transform-origin: 50% 48%;
          transform-origin: 50% 48%;
  border-radius: 43%;
  -webkit-animation: drift 7000ms infinite linear;
          animation: drift 7000ms infinite linear;
}

.box .wave.two {
  -webkit-animation: drift 3000ms infinite linear;
          animation: drift 3000ms infinite linear;
  opacity: .1;
  background: black;
  position: fixed;
}

.box .wave.three {
  -webkit-animation: drift 7500ms infinite linear;
          animation: drift 7500ms infinite linear;
  position: fixed;
  background-color: var(--color-secondary);
}

.box:after {
  content: '';
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

@-webkit-keyframes drift {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  from {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes drift {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  from {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@media (max-width: 1200px) {
  .box {
    display: none;
  }
  body {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 200 200'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='100' y1='33' x2='100' y2='-3'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='100' y1='135' x2='100' y2='97'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='%23005cb1' fill-opacity='0.9'%3E%3Crect x='100' width='100' height='100'/%3E%3Crect y='100' width='100' height='100'/%3E%3C/g%3E%3Cg fill-opacity='0.9'%3E%3Cpolygon fill='url(%23a)' points='100 30 0 0 200 0'/%3E%3Cpolygon fill='url(%23b)' points='100 100 0 130 0 100 200 100 200 130'/%3E%3C/g%3E%3C/svg%3E");
  }
  .container .card {
    background: #121212;
  }
}
/*# sourceMappingURL=styles.css.map */