body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  background-color: #ce2029;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 1rem;
  text-align: center;
  width: 100%;
  border-radius: 8px;
}

header h1 {
  color: rgb(255, 255, 255);
  font-size: 2.5rem;
  margin: 0;
  text-shadow: 2px 2px 4px #000000;
}

main {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: 1rem auto;
}

section {
  background: #ffffff;
  border: 1px solid #000000;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.main_form {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

select {
  margin-bottom: 1rem;
  border-radius: 5px;
}

.buttons {
  display: flex;
  justify-content: space-between;
}

button {
  padding: 0.5rem 1rem;
  border: none;
  background-color: #ffcb05;
  color: #000000;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s; /* transition for smooth hover effect */
}

button:hover {
  background-color: #daa520;
}

#map {
  height: 700px;
  margin-top: 20px;
  border-radius: 10px;
}

#md-flag {
  height: 50px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
}

.footer {
  padding: 1rem;
  text-align: center;
  align-items: start;
  bottom: 0;
  color: rgb(255, 255, 255);
  font-size: 0.9rem;
}

.footer a {
  color: rgb(221, 49, 49);
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  color: #fd8686;
}

/* Makes it so the page scales for mobile or small screens */
@media only screen and (max-width: 736px) {
  .buttons {
    flex-direction: column;
  }

  .buttons button {
    margin-top: 10px;
  }

  #map {
    height: 700px;
  }
}
