@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: #fff !important;
}


.container {
  background: #171717;
  color: #fff;
  padding: 38px;
  width: 40%;
  margin: 64px auto;
  border-radius: 10px;
}


.weather__submit{
  background-color: transparent !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer;
}

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

input {
  border: none;
  background: #1e1e1e;
  outline: none;
  color: #fff;
  padding: 8px 40px;
  border-radius: 5px;
}

input::placeholder {
  color: #fff;
}

.weather__search {
  position: relative;
}

.weather__search i {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 15px;
  color: #fff;
}

.weather__body {
  text-align: center;
  margin-top: 48px;
}

.weather__datetime {
  margin-bottom: 32px;
  font-size: 14px;
}

.weather__forecast {
  background: #1e1e1e;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 30px;
}

.weather__icon img {
  width: 100px;
}

.weather__temperature {
  font-size: 28px;
}

.weather__minmax {
  display: flex;
  justify-content: center;
}

.weather__minmax p {
  font-size: 14px;
  margin: 8px;
}

.weather__info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 16px;
  margin-top: 48px;
}

.weather__card {
  display: flex;
  align-items: center;
  background: #1e1e1e;
  padding: 16px;
  border-radius: 10px;
}

.weather__card i {
  font-size: 24px;
  margin-right: 16px;
}

.weather__card p {
  font-size: 14px;
}

@media (max-width: 936px) {
  .container {
    width: 90%;
  }

  .weather__header {
    flex-direction: column;
  }

  .weather__units {
    margin-top: 16px;
  }
}

@media (max-width: 400px) {
  .weather__info {
    grid-template-columns: none;
  }
}
