* {
  margin: 0;
  padding: 0;
}

.thin-shadow, header, .weather-card {
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
}

.root-container {
  height: 100vh;
  width: 100vw;
  position: relative;
}

header {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 3fr 1fr;
      grid-template-columns: 1fr 3fr 1fr;
  height: 60px;
  background-color: #1B1464;
}

.date {
  -ms-grid-column: 2;
      grid-column-start: 2;
  text-align: center;
  line-height: 60px;
  color: white;
}

.date__day-and-month {
  opacity: 0.8;
}

.main-container__bg {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(#f3b6c9), to(#6A4EA7)) no-repeat 50% 50%/100% 100%;
  background: linear-gradient(#f3b6c9 0%, #6A4EA7 100%) no-repeat 50% 50%/100% 100%;
  z-index: -2;
}

.main-container__search {
  position: absolute;
  z-index: 3;
  top: 100px;
  left: 20px;
}

.main-container__search__form {
  position: relative;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transition: all 400ms;
  transition: all 400ms;
  width: 50px;
  height: 50px;
  background: -webkit-gradient(linear, left top, left bottom, from(#FABB3E), to(#C27133)) no-repeat 50% 50%/100% 100%;
  background: linear-gradient(#FABB3E 0%, #C27133 100%) no-repeat 50% 50%/100% 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 25px;
  border: 4px solid #FABB3E;
  padding: 5px;
  -webkit-box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.24);
          box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.24);
}

.main-container__search__form__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 42.5px;
  line-height: 30px;
  outline: 0;
  border: 0;
  display: none;
  font-size: 1em;
  border-radius: 20px;
  padding: 0 20px;
}

.main-container__search__form .fa {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  width: 42.5px;
  height: 42.5px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50%;
  color: #07051a;
  text-align: center;
  font-size: 1.2em;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

.main-container__search__form:hover {
  width: 200px;
  cursor: pointer;
}

.main-container__search__form:hover .main-container__search__form:hover__input {
  display: block;
}

.main-container__search__form:hover .fa {
  background: -webkit-gradient(linear, left top, left bottom, from(#FABB3E), to(#C27133)) no-repeat 50% 50%/100% 100%;
  background: linear-gradient(#FABB3E 0%, #C27133 100%) no-repeat 50% 50%/100% 100%;
  -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
}

.main-container__box {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

form:hover input {
  display: block;
}

.weather-card {
  height: 450px;
  width: 60%;
  background-color: white;
  border-radius: 18px;
  margin-top: 50px;
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 1fr 1.5fr;
      grid-template-rows: 1fr 1.5fr;
}

.weather-card__top {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 0.7fr 1.5fr 1fr;
      grid-template-rows: 0.7fr 1.5fr 1fr;
  -ms-grid-columns: 1fr 1fr 0.8fr;
      grid-template-columns: 1fr 1fr 0.8fr;
  color: white;
  height: 100%;
  width: 100%;
  border-radius: 18px 18px 0 0;
  background: -webkit-gradient(linear, left top, left bottom, from(#711B86), to(#00057A));
  background: linear-gradient(to bottom, #711B86, #00057A);
}

.weather-card__location {
  padding-top: 4px;
  -ms-grid-column: 3;
      grid-column-start: 3;
  -ms-grid-row: 2;
      grid-row-start: 2;
  position: relative;
}

.weather-card__location__text {
  font-size: 24px;
}

.weather-card__location__stick {
  position: absolute;
  top: 43px;
  left: 20px;
  display: inline-block;
  height: 2px;
  width: 40px;
  background-color: white;
}

.weather-card__temperature {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-grid-row: 2;
      grid-row-start: 2;
  -ms-grid-column: 1;
      grid-column-start: 1;
  font-size: 48px;
}

.weather-card__box {
  font-size: 12px;
  -ms-grid-row: 3;
      grid-row-start: 3;
  height: 100%;
  width: 100%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
  -ms-grid-rows: 1fr;
      grid-template-rows: 1fr;
}

.weather-card__box__humidity {
  text-align: center;
  -ms-grid-column: 1;
      grid-column-start: 1;
  -ms-grid-row: 1;
      grid-row-start: 1;
  opacity: 0.8;
}

.weather-card__box__humidity span {
  display: block;
}

.weather-card__box__wind {
  text-align: center;
  -ms-grid-column: 2;
      grid-column-start: 2;
  -ms-grid-row: 1;
      grid-row-start: 1;
  opacity: 0.8;
}

.weather-card__box__wind span {
  display: block;
}

.weather-card__bottom__forecast {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
      grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.weather-card__bottom__forecast:nth-child(1) {
  height: 100%;
  width: 100%;
  text-align: center;
}

.weather-card__bottom__forecast:nth-child(1):nth-child(1) span {
  font-weight: bold;
}

.weather-card__bottom__forecast:nth-child(2) {
  height: 100%;
  width: 100%;
  text-align: center;
}

.weather-card__bottom__forecast:nth-child(2):nth-child(1) span {
  font-weight: bold;
}

.weather-card__bottom__forecast:nth-child(3) {
  height: 100%;
  width: 100%;
  text-align: center;
}

.weather-card__bottom__forecast:nth-child(3):nth-child(1) span {
  font-weight: bold;
}

.weather-card__bottom__forecast:nth-child(4) {
  height: 100%;
  width: 100%;
  text-align: center;
}

.weather-card__bottom__forecast:nth-child(4):nth-child(1) span {
  font-weight: bold;
}

.weather-card__bottom__forecast:nth-child(5) {
  height: 100%;
  width: 100%;
  text-align: center;
}

.weather-card__bottom__forecast:nth-child(5):nth-child(1) span {
  font-weight: bold;
}

.center-position {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

@media (max-width: 425px) {
  .clear {
    background-image: url(./images/sunny.png);
    background-size: contain;
    height: 40px;
    width: 40px;
  }
  .rain {
    background-image: url(./images/rainy.png);
    background-size: contain;
    height: 40px;
    width: 40px;
  }
  .clouds {
    background-image: url(./images/cloudy.png);
    background-size: contain;
    height: 40px;
    width: 40px;
  }
  .snow {
    background-image: url(./images/snow.png);
    background-size: contain;
    height: 40px;
    width: 40px;
  }
  .thunderstorm {
    background-image: url(./images/thunder.png);
    background-size: contain;
    height: 40px;
    width: 40px;
  }
  .weather-card {
    width: 90%;
  }
}

@media (min-width: 426px) {
  .clear {
    background-image: url(./images/sunny.png);
    background-size: contain;
    height: 80px;
    width: 80px;
  }
  .rain {
    background-image: url(./images/rainy.png);
    background-size: contain;
    height: 80px;
    width: 80px;
  }
  .clouds {
    background-image: url(./images/cloudy.png);
    background-size: contain;
    height: 80px;
    width: 80px;
  }
  .snow {
    background-image: url(./images/snow.png);
    background-size: contain;
    height: 80px;
    width: 80px;
  }
  .thunderstorm {
    background-image: url(./images/thunder.png);
    background-size: contain;
    height: 80px;
    width: 80px;
  }
}
/*# sourceMappingURL=style.css.map */