/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: 0;
}
/* reset/ */

/* base styles */
body {
  background-color: #06283d;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lato", sans-serif;
}
/* base styles */

/* content */
.container {
  background-color: #fff;
  width: 500px;
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  padding: 28px 32px;
  overflow: hidden;
  border-radius: 18px;
}

.search-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #06283d;
  position: relative;
}
.search-box input {
  color: #06283d;
  width: 80%;
  font-size: 24px;
  font-weight: 400;
  padding-left: 32px;
  text-transform: capitalize;
}

.search-box input::placeholder {
  color: #06283d;
  font-weight: 400;
  font-size: 20px;
  text-transform: capitalize;
}
.search-box button {
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #dff6ff;
  border-radius: 50%;
  font-size: 21px;
  transition: all 0.3s ease-in-out;
}

.search-box button:hover {
  color: #fff;
  background-color: #06283d;
}

.fa-location-dot {
  position: absolute;
  color: #06283d;
  font-size: 28px;
}

.weather {
  margin-top: 30px;
  text-align: center;
  display: none;
}

.weather h1 {
  font-size: 80px;
  font-weight: 700;
}

.weather h2 {
  font-size: 55px;
  font-weight: 500;
  margin-top: 22px;
  margin-bottom: 15px;
}

.details {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.details i {
  font-size: 80px;
}

.details p {
  font-size: 28px;
}

.weather-image {
  font-size: 120px;
}

.error {
  animation: blinkError 1s infinite;
  border: 2px solid transparent;
  color: red;
  border-radius: 22px;
  padding: 10px;
  width: 150px;
  text-align: left;
  margin-top: 20px;
  font-size: 17px;
  display: none;
}

@keyframes blinkError {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: red;
  }
}
/* content/ */
