body {
  background: linear-gradient(to right, #56b6cc, rgb(233, 235, 159));
  overflow: hidden;
}

.app-container {
  background-color: white;
  border-radius: 10px;
  max-width: 600px;
  margin: 30px auto;
  padding: 30px;
  box-shadow: 1px 1px 15px rgb(22, 63, 80);
}

.header-image {
  width: 40px;
  height: auto;
  padding-right: 30px;
}

h1 {
  font-family: "Overlock SC", sans-serif;
  font-weight: 400;
}

.user-input {
  background: linear-gradient(to right, #56b6cc, rgb(233, 235, 159));
  opacity: 60%;
  padding-left: 10px;
  border: none;
  border-radius: 5px;
  height: 30px;
  margin-right: 5px;
  width: 60%;
  max-width: 400px;
  font-size: 18px;
  color: #000;
}

.submit {
  height: 30px;
  border: none;
  border-radius: 5px;
  padding: 5px;
  color: #000;
  background: linear-gradient(
    to right,
    rgba(86, 182, 204, 0.5),
    rgb(233, 235, 159, 0.5)
  );
  box-shadow: 2px 2px 5px;
  font-size: 18px;
  transition: all 150ms ease-in-out;
}
.submit:hover {
  box-shadow: none;
  background-color: rgb(201, 219, 224);
  color: #444;
}

.current-weather-container {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(
    to right,
    rgba(86, 182, 204, 0.5),
    rgb(233, 235, 159, 0.5)
  );
}

.top-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.weather-top-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
}

h2 {
  display: block;
  font-family: "Overlock SC", sans-serif;
  font-weight: 600;
  font-size: 32px;
  margin-top: 15px;
  color: #000;
}
@media (max-width: 600px) {
  h2 {
    font-size: 24px;
  }
}
@media (max-width: 400px) {
  h2 {
    font-size: 20px;
  }
}

.temperature-group {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.25rem;
  max-width: 100%;
  text-align: center;
  font-size: 2.1rem;
  font-weight: bold;
  justify-content: center;
  margin-bottom: 20px;
}
#weather-icon {
  width: 64px;
  height: 64px;
}

#temperature,
.degree-fahrenheit {
  font-weight: bold;
  font-size: 2.5rem;
  margin-top: 20px;
}

@media (max-width: 600px) {
  #temperature,
  .degree-fahrenheit {
    font-size: 1.5rem;
  }

  #weather-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 400px) {
  #temperature,
  .degree-fahrenheit {
    font-size: 1rem;
  }

  #weather-icon {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 320px) {
  .temperature-group {
    flex-direction: column;
    font-size: 1rem;
    gap: 0.2rem;
  }
  #weather-icon {
    width: 32px;
    height: 32px;
  }
}

.left-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.2rem;
}

#todays-day {
  font-weight: 700;
  font-size: 24px;
}

.weather-description {
  font-style: italic;
  color: #444;
  display: inline;
  margin-top: 10px;
}

#humidity {
  font-weight: 600;
}
#wind-speed {
  font-weight: 600;
}

.miles-per-hour {
  font-style: italic;

  font-weight: 600;
}
#percent {
  font-size: smaller;
}

.location-image {
  width: 20px;
  height: auto;
}

.weather-bottom-row {
  display: flex;
  gap: 0.5rem;
  font-size: 1rem;
  align-items: center;
}

footer {
  text-align: center;
}

.link {
  color: #e63e06;
}

.good {
  color: #089284 !important;
  font-weight: 600;
}

.bad {
  color: #f66535 !important;
  font-weight: 600;
}

.boat-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 10;
}

.boat {
  position: absolute;
  bottom: 0;
  left: -100px;
  width: 80px;
  animation: sail 20s linear infinite;
}

@keyframes sail {
  0% {
    left: -100px;
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    left: 100vw;
    transform: translateY(0);
  }
}

/*for funsies*/
.divider {
  position: relative;
  height: 3px;
  background: linear-gradient(to right, #f66535, #ffa726, #f66535);
  opacity: 0.8;
  border: none;
  box-shadow: 0 2px 6px rgba(246, 101, 53, 0.4);
  overflow: hidden;
  margin-top: 15px;
}

.divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}
.weather-forecast {
  display: flex;
  margin: 0 auto;
  align-content: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.5rem;
  padding: 0 0.5rem;
  overflow: hidden;
}
.weather-forecast-day {
  flex: 1 1 0;
  min-width: 0;
  padding: 6px;
  text-align: center;
}
.weather-forecast-date {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  color: rgba(39, 33, 66, 0.6);
  padding: 5px;
}
.weather-forecast-icon img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
.weather-forecast-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  margin: 6px 0;
}
.weather-forecast-temperatures {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-top: 5px;
  text-align: center;
  color: #f66535;
}

.stronger {
  font-weight: 900;
}
.weather-forecast-temperature {
  padding: 0 2px;
  font-size: 10px;
  flex: 00 auto;
}

@media (max-width: 600px) {
  .weather-forecast {
    gap: 0.3;
  }

  .weather-forecast-temperature {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .weather-forecast {
    gap: 0.3rem;
  }

  .weather-forecast-temperature {
    font-size: 10px;
    padding: 0 2px;
  }
  .weather-forecast-temperatures {
    gap: 2px;
  }
}

@media (max-width: 320px) {
  .weather-forecast {
    gap: 0.15px;
  }

  .weather-forecast-temperature {
    font-size: 7px;
  }
}
