@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family:'Roboto', 'Helvetica', sans-serif;
}

header, footer {
    background: #a9ba9d;
    padding: 1rem;
    color: white;
}

header a,footer a {
    text-decoration: none;
    color: white;
}

footer {
    text-align: center;
}

footer a:hover{
    text-decoration: underline;
}

.hero {
    height: 350px;
    width: 100%;
    background-color: #687169;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero form {
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
}

.hero h2 {
    font-size: 2.5rem;
    color: #a9ba9d;
    text-align: center;
    padding: 1rem 0;
  }

.hero form input,
form select {
  font-size: 1rem;
  width: 500px;
  max-width: 500px;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
    font-size: 20px;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    background: #a9ba9d;
    color: white;
    cursor: pointer;
    margin-top: 20px;
}

form button:hover {
    transform: scale(1.01);
  }

.image {
    width: 100%;
    margin: 2rem 0;
    flex-grow: 1;
}

img {
    display: block;
    margin: auto;
  }

.image h2 {
    text-align: center;
}

@media (max-width: 500px) {
    .hero form input, form select {
        max-width: 320px;
    }
    .hero h2 {
        font-size: 1.5rem;
    }
}