:root {
  --primary-bg: #b7e4c7;

  --secondary-bg: #95d5b2;

  --highlight-bg: #74c69d;

  --text-color: #081c15;

  --text-highlight: #40916c;

  --text-hover: #2d6a4f;

  --text-active: #1b4332;

  --border-color: #081c15;

  --border-hover: #081c15;


  --scrollbar-thumb: rgba(131, 127, 127, 0.8);
  --scrollbar-thumb-inactive: rgba(233, 233, 233, 0.4);
}

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");


::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--scrollbar-thumb);
}

::-webkit-scrollbar-thumb:window-inactive {
  background: var(--scrollbar-thumb-inactive);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

body {
  background: #d8f3dc;
}

h1 {
  color: #081c15;
  padding: 18px 0;
  font-size: 1.75rem;
  text-align: center;
  background: #74c69d;
}

.container {
  display: flex;
  gap: 35px;
  padding: 30px;
}

.weather-input {
  width: 550px;
}

.weather-input input {
  width: 100%;
  height: 46px;
  outline: none;
  padding: 0 15px;
  margin: 10px 0 20px 0;
  font-size: 1.07rem;
  border-radius: 4px;
  border: 1px solid #081c15;
}

.weather-input .separator {
  height: 1px;
  width: 100%;
  margin: 25px 0;
  background: rgba(131, 127, 127, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.weather-input .separator::before {
  content: "or";
  color: rgba(131, 127, 127, 0.8);
  font-size: 1.18rem;
  padding: 0 15px;
  margin-top: -4px;
  background: #d8f3dc;
}

.weather-input button {
  width: 100%;
  padding: 10px 0;
  cursor: pointer;
  outline: none;
  border: none;
  font-size: 1rem;
  color: #081c15;
  border-radius: 4px;
  background: #74c69d;
}

.weather-input .location-btn {
  background: #40916c;
  color: aliceblue;
}

.weather-data {
  width: 100%;
}

.current-weather {
  color: #081c15;
  display: flex;
  border-radius: 5px;
  padding: 20px 70px 20px 20px;
  background: #74c69d;
  justify-content: space-between;
}

.current-weather h2 {
  font-size: 1.7rem;
}

.weather-data h4 {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 500;
}

.current-weather .icon {
  text-align: center;
  text-transform: capitalize;
}

.current-weather .icon img {
  max-width: 120px;
  margin-top: -15px;
}

.current-weather .icon h6 {
  margin-top: -10px;
  text-transform: capitalize;
}

.days-forecast h2 {
  font-size: 1.5rem;
  margin: 20px 0;
}

.weather-cards {
  display: flex;
  gap: 20px;
}

.weather-cards .card {
  list-style: none;
  color: aliceblue;
  padding: 18px 16px;
  border-radius: 5px;
  background: #40916c;
  width: calc(100% / 5);
}

.weather-cards .card img {
  max-width: 70px;
  margin: 5px 0 -12px 0;
}

@media (max-width: 1400px) {
  .weather-data .current-weather {
    padding: 20px;
  }

  .weather-cards {
    flex-wrap: wrap;
  }

  .weather-cards .card {
    width: calc(100% / 4 - 15px);
  }
}

@media (max-width: 1200px) {
  .weather-cards .card {
    width: calc(100% / 3 - 15px);
  }
}

@media (max-width: 950px) {
  .weather-input {
    width: 450px;
  }

  .weather-cards .card {
    width: calc(100% / 2 - 10px);
  }
}

@media (max-width: 750px) {
  .container {
    flex-wrap: wrap;
    padding: 15px;
  }

  .weather-input {
    width: 100%;
  }
}