body {
  display: flex;
  justify-content: center;
  height: 80vh;
  margin: 40px;
  font-family: 'Open Sans', sans-serif;
  background: rgba(48, 1, 1, 0.589);
  background-image: url('https://source.unsplash.com/1600x900/?weather');
  font-size: 120%;
}

.datetime{
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  margin: 70px 0px 0px 380px;
  width: 280px;
  padding: 15px 10px;
  border: 3px solid #2E94E3;
  border-radius: 5px;
  transition: 0.5s;
}

.date{
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 3px;
}

.time{
  font-size: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#period{
  background: none;
  font-size: 21px;
}

.time span:not(:last-child){
  position: relative;
  margin: 0 6px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 3px;
}

.time span:last-child{
  background: #2E94E3;
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 10px;
  padding: 0 5px;
  border-radius: 3px;
}

.card {
  background: #010133d0;
  color: white;
  padding: 2em;
  border-radius: 30px;
  width: 100%;
  max-width: 670px;
  margin: 1em;
}

.btn{
  width: 90px;
  height: 30px;
  margin: 7px 0px 0px 40px;
  background-color:#7c7c7c2b;
  color: white;
  padding: 10px 10px 8px 25px;
  border: none;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;

}
.search {
  display: flex;
  width: 100%;
  height: 60px;
}

button {
  margin: 0.5em;
  border-radius: 50%;
  border: none;
  height: 44px;
  width: 44px;
  outline: none;
  background: #7c7c7c2b;
  color: white;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

input.search-bar {
  border: none;
  outline: none;
  padding: 0.4em 1em;
  border-radius: 24px;
  background: #7c7c7c2b;
  color: white;
  font-family: inherit;
  font-size: 105%;
  width: calc(100% - 100px);
}

button:hover {
  background: #7c7c7c6b;
}

h1.temp {
  margin: 0;
  margin-bottom: 0.4em;
}

.flex {
  display: flex;
  align-items: center;
}

.description {
  text-transform: capitalize;
  margin-left: 8px;
}

.weather.loading {
  visibility: hidden;
  max-height: 20px;
  position: relative;
}

.weather.loading:after {
  visibility: visible;
  content: "Loading...";
  color: white;
  position: absolute;
  top: 0;
  left: 20px;
}