body {
  margin: 0;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.background-img {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin: 50px;
}

header {
  max-width: 300px;
  flex-shrink: 0;
}

h1 {
  background: rgba(243, 234, 234, 0.662);
  color: rgba(5, 5, 5, 0.82);
  font-weight: 500;
  font-size: 50px;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0px 10px 20px rgba(119, 2, 2, 0.592);
  font-style: oblique;
  padding: 20px;
  box-sizing: border-box;
}

main {
  flex: 1;
  min-width: 320px;
}

.form-container {
  background-color: rgba(243, 234, 234, 0.798);
  padding: 60px 40px;
  margin: 30px 250px 0 0;
  border-radius: 10px;
  box-shadow: 0px 10px 20px rgba(119, 2, 2, 0.592);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.travel-input,
.submit-button {
  font-size: 16px;
  border-radius: 15px;
  border: 1px solid rgba(119, 2, 2, 0.592);
  width: 100%;
  box-sizing: border-box;
}

.travel-input {
  padding-top: 20px;
  color: rgba(61, 1, 1, 0.8);
  height: 55px;
}

.submit-button {
  background: rgb(246, 240, 227);
  color: #333;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 15px;
}

.submit-button:hover {
  background: #ec9807;
}

.itinerary {
  padding: 10px;
}

footer {
  writing-mode: vertical-lr;
  transform: rotate(180);
  background: rgba(243, 234, 234, 0.662);
  color: rgba(1, 50, 8, 0.893);
  border-radius: 5px;
  text-align: center;
  font-size: 13px;
  margin: 30px auto;
  padding: 10px;
  font-weight: bold;
  max-width: 600px;
}

a {
  display: inline-block;
  margin-top: 10px;
  color: rgb(6, 140, 28);
  font-weight: bolder;
  text-decoration: none;
}
