* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "montserrat", sans-serif;
  background-size: cover;
  background-position: top center;
  background: url("https://source.unsplash.com/1920x1080/?wallpaper");
}
body::-webkit-scrollbar {
  display: none;
}
.app-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.6)
  );
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1em;
}

header .search-box {
  width: 100%;
  max-width: 280px;
  padding: 10px 15px;
  border: none;
  outline: none;
  margin-left: 0.5em;
  margin-right: 0.5em;
  background-color: rgba(255, 255, 255, 0.575);
  border-radius: 16px 0px 16px 0px;
  border-bottom: 3px solid #5600df;

  color: #ffffff;
  font-size: 20px;
  font-weight: 300;
  transition: 0.2s ease-out;
}
header .search-box:focus {
  background-color: rgba(255, 255, 255, 0.959);
  color: #000000a6;
}
footer {
  margin: 1em;
  color: rgb(0, 0, 0);
  background-color: #faebd77c;
  backdrop-filter: blur(15px);
  width: 15em;
  height: 1em;
  display: flex;
  justify-content: center;
  text-align: center;
}
#time {
  font-size: 1.2vw;
}
main {
  display: flex;
  width: 25em;
  height: 30em;
  margin-top: 1em;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  line-height: 3em;
  background-color: #00000027;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.location .city {
  color: #ffffff;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 5px;
}

img {
  width: 5vh;
  background-color: #ffffffa0;
  border-radius: 1vh;
}

.location .date {
  color: #fff;
  font-size: 16px;
}

.current .temp {
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  height: 5vh;
  margin: 30px 0px;
  text-shadow: 2px 7px #00000099;
}

.current .temp span {
  font-weight: 500;
}

.current .weather {
  color: #fff;
  font-size: 22px;
  font-style: italic;
  margin-bottom: 15px;
  text-shadow: 0px 5px rgba(0, 0, 0, 0.4);
}

.current .hi-low {
  color: #fff;
  font-size: 24px;
  text-shadow: 0px 5px #00000066;
}
/* Responsive Styles */
@media only screen and (max-width: 1200px) {
  body {
    background-size: contain;
    background-size: cover;
  }

  header .search-box {
    max-width: 80%;
  }

  main {
    width: 60%;
    height: auto;
  }
  #time {
    font-size: 2vw;
  }
}/* Responsive Styles */
@media only screen and (max-width: 800px) {
  body {
    background-size: contain;
    background-size: cover;
  }

  header .search-box {
    max-width: 80%;
  }

  main {
    width: 60%;
    height: auto;
  }
  #time {
    font-size: 3vw;
  }
}@media only screen and (max-width: 600px) {
  body {
    background-size: contain;
    background-size: cover;
  }

  header .search-box {
    max-width: 80%;
  }

  main {
    width: 60%;
    height: auto;
  }
  #time {
    font-size: 3vw;
  }
}
@media only screen and (max-width: 400px) {
  body {
    background-size: contain;
    background-size: cover;
  }

  header .search-box {
    max-width: 80%;
  }

  main {
    width: 80%;
    height: auto;
  }
  #time {
    font-size: 5vw;
  }
}
@media only screen and (max-width: 500px) {
  body {
    background-size: contain;
    background-size: cover;
  }

  header .search-box {
    max-width: 80%;
  }

  #time {
    font-size: 5vw;
  }
  main {
    width: 80%;
    height: auto;
  }
}
