* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.outline:focus {
  outline: none;
}

body {
  font-family: 'Quicksand', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  background-size: cover;
  background-position: center center;
  color: rgb(247, 248, 244);
  position: relative;
  transition: background-image 1s ease-in-out;
}

.back-bg {
  background: rgba(0, 0, 0, .3);
  padding: 15px;
  border-radius: 12px;
}
.flex-wrap {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.btn {
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: all 0.3s;
  transform: rotate(0deg);
}
.btn:hover {
  border: 1px solid #fff;
  cursor: pointer;
  transform: rotate(90deg);
}


/* Weather */
.weather {
  position: absolute;
  right: 20px;
  top: 20px;
}
.weather .city {
  font-size: 20px;
  text-align: left;
}
.weather .temperature {
  font-size: 30px;
  margin-right: auto;
}
.weather .weather-icon {
  font-size: 37px;
}
.weather .fas {
  margin-right: 5px;
}
.weather .weed-speed {
  margin-right: 10px;
}


/* Quote */
.quote {
  position: absolute;
  bottom: 0;
  letter-spacing: 0.06px;
  animation-name: fade;
  animation-duration: 1.3s;
  padding-bottom: 10px;
  max-width: 75%;
}
.quote.back-bg {
  border-radius: 16px 16px 0 0;
}
.quote blockquote {
  margin-bottom: 10px;
}
.quote figcaption {
  display: inline-block;
}
.btn-quote {
  transition: all 0.3s;
  transform: rotate(0deg);
  margin-right: 5px;
}
.btn-quote:hover {
  cursor: pointer;
  transform: rotate(90deg);
}

/* Message */
.message {
  position: absolute;
  bottom: 0;
  border-radius: 16px 16px 0 0;
  display: none;
}

/* btn-bg */
.btn-bg {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 25px;
}

/* btn-question */
.btn-question {
  position: absolute;
  top: 20px;
  left: 80px;
  font-size: 25px;
  padding: 12px 15px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: all 0.3s;
}
.btn-question:hover {
  border: 1px solid #fff;
  cursor: pointer;
}

/* Content */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 530px;
  word-wrap: break-word;
}

.time {
  font-size: 128px;
  line-height: 140px;
}
.data {
  font-size: 20px;
  margin-bottom: 20px;
}

.greeting, .name {
  display: inline-block;
}

h1 {
  margin-bottom: 20px;
  font-weight: normal;
  font-size: 25px;
}

h2 {
  margin-bottom: 3px;
  font-weight: normal;
  font-size: 20px;
}
.focus {
  max-width: 100%;
}


@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
 }



@media (max-width: 768px) {
  .message {
    border-radius: 0px;
    width: 100%;
  }
  .quote {
    width: 100%;
    max-width: 100%;
  }
  .quote.back-bg {
    border-radius: 0px;
  }
  .flex-wrap {
    margin-top: 5px;
  }
  .time {
    font-size: 100px;
    line-height: 115px;
  }
  .content {
    width: 400px;
  }
  .weather .temperature {
    font-size: 25px;
  }
  .weather .weather-icon {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .content {
    width: 100%;
    border-radius: 0;
  }
  .time {
    font-size: 75px;
    line-height: 90px;
  }
  .data {
    font-size: 16px;
    margin-bottom: 15px;
  }
  h1 {
    margin-bottom: 15px;
    font-size: 20px;
  }
  h2 {
    margin-bottom: 3px;
    font-size: 16px;
  }
  .weather.back-bg {
    padding: 10px;
  }
  .flex-wrap {
    margin-top: 2px;
  }
}
