body {
  font-family: Arial, sans-serif;
  background-color:  #258bf1;
  color: #ffffff;
  margin: 0;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

h1 {
  font-size: 36px;
  font-weight: bold;
  margin: 0 0 20px;
}

.form {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

input[type="text"] {
  width: 70%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  margin-bottom: 20px;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  margin: 0 20px;
  background-color: #0960eb;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

button:hover {
  background-color: #3367d6;
}

.weather-card {
  background-color: rgba(41, 41, 41, 0.8);
  border-radius: 5px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
}

.weather-card p {
  margin: 10px 0;
  width: 100px;
}

.weather-card img {
  width: 70px;
  height: 80px;
  margin-bottom: 10px;
}

@media screen and (min-width: 849px) {
  .form {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: row;
  }

  input[type="text"] {
    width: 50%;
    margin: 0;
  }

  button {
    width: 150px;

  }

  .weather-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .weather-card p {
    margin: 0 0 0 20px;
  }

  .weather-card img {
    margin-right: 20px;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.modal-message {
  color: #214fe7;
  font-size: 24px;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

