@import url("https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@300;400;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  font-family: 'Merriweather Sans', sans-serif;
  overflow-y: hidden;
}

.main-container {
  height: 100vh;
  width: 100vw;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  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;
  background-image: url("https://mocah.org/thumbs/5328599-sky-cloud-cloudscape-sunset-sunrise-outdoors-nature-looking-up-color-colour-good-morning-background-hd-wallpaper-wallpaper-warm-summer-rain-weather-cumulu-orange-free-images.jpg");
}

.main-container-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 82%;
  width: 90%;
}

@media screen and (max-width: 370px) {
  .main-container-items {
    height: 90%;
  }
}

@media screen and (min-height: 812px) {
  .main-container-items {
    height: 70%;
  }
}

.search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  background-color: rgba(29, 29, 29, 0.92);
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.search-field {
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  width: 100%;
  height: 50px;
  padding-left: 20px;
  outline: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
}

.search-field:hover {
  cursor: pointer;
}

.fa-search {
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  color: #fff;
  font-size: 20px;
  padding-right: 5%;
}

@media screen and (max-width: 370px) {
  .fa-search {
    padding-right: 6%;
  }
}

.fa-search:hover {
  cursor: pointer;
}

/*----------  WEATHER SECTION  ----------*/
.weather-data {
  background-color: rgba(29, 29, 29, 0.92);
  height: 100%;
  width: 100%;
  margin-top: 40px;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
  color: white;
}

@media screen and (max-width: 370px) {
  .weather-data {
    margin-top: 30px;
  }
}

.city-location {
  text-align: center;
  padding-top: 40px;
  font-size: 30px;
  font-weight: 300;
}

@media screen and (max-width: 370px) {
  .city-location {
    padding-top: 30px;
  }
}

.current-date {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  margin-top: 20px;
}

/*----------  TEMPERATURE DATA SECTION  ----------*/
.weather-bottom-info {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  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-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0px 28px;
  text-align: center;
}

.temp {
  height: 159px;
  width: 240px;
}

.temp-icons {
  padding-top: 10px;
  width: 100%;
}

@media screen and (min-width: 375px) {
  .temp-icons {
    width: 95%;
  }
}

@media screen and (width: 414px) {
  .temp-icons {
    padding-top: 60px;
  }
}

.temp-value {
  font-size: 70px;
  margin-top: 20px;
}

.temp-feels {
  font-size: 14px;
  font-weight: 300;
}

.temp-icons-top,
.temp-icons-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
}

.temp-icons-bottom {
  padding-top: 20px;
}

.icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.icon-description {
  line-height: 24px;
  text-align: left;
}

.icon-description h4 {
  font-size: 12px;
  font-weight: 300;
}

.icon-description > h3 {
  font-size: 15px;
}

.wi {
  font-size: 30px;
  padding-right: 15px;
}

.temp-toggle-container {
  margin-top: 5px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 40%;
}

@media screen and (max-width: 370px) {
  .temp-toggle-container {
    padding-left: 20px;
    width: 60%;
  }
  .temp-toggle-container .toggle-btn.active > .inner-circle {
    margin-left: 10px;
  }
}

.temp-units {
  padding: 0 10px;
}

.toggle-btn {
  width: 30px;
  height: 18px;
  background-color: #3C9DC7;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
          box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  -webkit-transition: 1s ease-in;
  transition: 1s ease-in;
  -webkit-transition: 12s ease-in;
  -moz-transition: 12s ease-in;
  -ms-transition: 12s ease-in;
  -o-transition: 12s ease-in;
}

.toggle-btn > .inner-circle {
  margin-left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  background-color: #E7E7E7;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transition: all ease-in-out 300ms;
  -webkit-transition: all ease-in-out 300ms;
  -moz-transition: all ease-in-out 300ms;
  -ms-transition: all ease-in-out 300ms;
  -o-transition: all ease-in-out 300ms;
}

.toggle-btn > .inner-circle:hover {
  cursor: pointer;
}

.toggle-btn.active > .inner-circle {
  margin-left: 10px;
}

/*----------  MEDIA QUERIES  ----------*/
@media screen and (min-width: 766px) {
  .main-container-items {
    padding-top: 30px;
  }
  .temp-toggle-container {
    width: 40%;
  }
  .search {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    width: 80%;
  }
  .fa-search {
    padding-right: 6%;
  }
  .weather-data {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-item-align: center;
        align-self: center;
    width: 80%;
    height: 60%;
  }
  .city-location {
    padding-top: 70px;
  }
  .weather-top-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-item-align: center;
        align-self: center;
  }
  .weather-bottom-info {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 100%;
    height: 40%;
    margin-top: 40px;
    padding: 0px 45px;
  }
  .temp-toggle-container {
    width: 50%;
  }
  .temp {
    width: 350px;
    height: 100%;
    margin: 0;
  }
  .temp-icons {
    margin-left: 40px;
  }
  .temp-value {
    font-size: 80px;
  }
}

@media screen and (min-width: 1024px) {
  .search {
    width: 65%;
  }
  .weather-data {
    width: 65%;
    height: 70%;
  }
}

@media screen and (min-width: 1194px) {
  .search {
    width: 55%;
  }
  .weather-data {
    width: 55%;
    height: 70%;
  }
}

@media screen and (min-width: 1280px) {
  .fa-search {
    padding-right: 25px;
  }
  .weather-data {
    width: 50%;
  }
  .search {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    width: 50%;
  }
}

@media screen and (min-width: 1400px) {
  .fa-search {
    padding-right: 25px;
  }
  .weather-data {
    width: 50%;
    height: 70%;
  }
  .search {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    width: 50%;
  }
}

@media screen and (min-width: 1920px) {
  .fa-search {
    padding-right: 25px;
  }
  .weather-data {
    width: 40%;
  }
  .search {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    width: 40%;
  }
  .weather-bottom-info {
    padding: 0px 70px;
  }
}

@media screen and (min-width: 2500px) {
  .fa-search {
    padding-right: 25px;
  }
  .weather-data {
    width: 30%;
    height: 37%;
  }
  .search {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    width: 30%;
  }
}

@media screen and (min-width: 2800px) {
  .weather-data {
    width: 25%;
  }
  .search {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    width: 28%;
  }
}

@media screen and (min-width: 3000px) {
  .weather-data {
    width: 24%;
  }
  .search {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    width: 24%;
  }
}
/*# sourceMappingURL=style.css.map */