@charset "UTF-8";
body {
  background-image: url("../img/mountains.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  font-family: Arial;
  font-size: 120%;
}

ul {
  list-style: none;
  margin-top: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: rgb(56, 36, 103);
  font-size: x-large;
  padding: 5px 0;
}

#cityInput {
  padding: 12px;
  border: 1px solid rgb(31, 130, 173);
  border-radius: 10px;
  background-color: rgba(225, 225, 225, 0);
  font-size: larger;
}

#btn-search {
  margin-top: 17px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid rgb(218, 77, 13);
  border-radius: 10px;
  font-size: large;
  text-decoration: underline;
  color: rgb(56, 36, 103);
}

#btn-search:hover {
  cursor: pointer;
}

#weatherForm {
  display: flex;
  flex-direction: column;
  width: 75%; /* Breite des Formulars */
  max-width: 400px; /* Maximale Breite des Formulars */
  margin: 0 70px; /* Zentrierung des Formulars */
  padding: 20px;
}

#cityInput {
  text-align: center;
}

#request-option {
  margin-top: 60px;
  display: flex;
  flex-direction: row;
}

.container {
  margin: 50px 0;
  padding: 20px;
  width: 1050px;
  background-color: rgba(225, 225, 225, 0.6);
  border: 1px solid rgba(225, 225, 225, 0.6);
  border-radius: 50px;
}

.noMarginDown {
  margin-bottom: 0;
}

.generalTableSettings {
  width: 100%;
  border-collapse: collapse; /* Entfernt doppelte Linien zwischen Zellen */
  margin: 20px 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  text-align: left;
}

/* Stile für Tabellenzellen */
#currentWeatherTable td {
  padding: 12px 15px; /* Abstand innerhalb der Zellen */
  border: 2px solid rgb(230, 230, 230);
}

/* Feste Breite für die linke Spalte */
#currentWeatherTable td:first-child {
  width: 185px; /* Feste Breite für die erste Spalte */
}

/* Kopfzeilenstil, falls vorhanden */
#currentWeatherTable th {
  padding: 12px 15px;
  border: 2px solid rgb(230, 230, 230);
  background-color: rgb(225, 225, 225);
  font-weight: bold;
}

/* Hover-Effekt für Zeilen */
#currentWeatherTable tr:hover {
  background-color: rgba(255, 255, 255, 0.78);
}

.weather-report {
  margin-left: 0;
  max-width: 380px;
  line-height: 1.4;
}

/* Stile für Tabellenzellen */
#weatherForecast td, #weatherForecast th {
  padding: 12px 15px; /* Abstand innerhalb der Zellen */
  border: 1px solid #ddd; /* Graue Trennlinien */
}

/* Kopfzeilenstil */
#weatherForecast th {
  font-weight: bold;
  text-align: center; /* Zentriert den Text in den Kopfzellen */
}

/* Hover-Effekt für Zeilen */
#weatherForecast tr:hover {
  background-color: rgba(255, 255, 255, 0.78);
}

/* Feste Breite für die linke Spalte */
#weatherForecast td:first-child {
  width: 120px; /* Feste Breite für die erste Spalte */
}

/* Zentrierung der zweiten bis fünften Spalte */
#weatherForecast td:nth-child(n+2) {
  text-align: center;
}

.weather-icon {
  height: 45px;
  width: 45px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  object-fit: contain;
}
.weather-icon:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
}

.weather-cell {
  text-align: center;
  vertical-align: middle;
  padding: 8px;
}
.weather-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.weather-icon {
  width: 32px;
  height: 32px;
}

@media (max-width: 630px) {
  body {
    font-size: 100%;
  }
  .container {
    width: 90%;
    padding: 10px;
    border-radius: 20px;
  }
  #weatherForm {
    width: 90%;
    max-width: none;
    margin: 0 auto;
    padding: 10px;
  }
  #request-option {
    flex-direction: column;
    align-items: center;
  }
  #cityInput {
    width: 100%;
    font-size: medium;
  }
  #btn-search {
    width: 100%;
    font-size: medium;
  }
  .generalTableSettings {
    font-size: 14px;
  }
  #currentWeatherTable td:first-child,
  #weatherForecast td:first-child {
    width: auto;
  }
  .weather-report {
    max-width: 100%;
    padding: 0 5px;
  }
  .table-wrapper {
    width: 100%;
    overflow-x: auto;
  }
}

/*# sourceMappingURL=styles.css.map */
