* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
  
body {
  font-family: "Nunito", serif, sans-serif;
  background-color: #EFEDE7;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
  
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 84vw;
  transition: all 0.1s ease-out;
  flex: 1; 
}

.logo-container {
  transition: transform 1000ms ease-in-out, flex 1000ms ease-in-out;
  position: absolute;
  transform: scale(3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0;
  transform-origin: initial;
}

.logo-container.shrink {
  transform: scale(1) translateY(-1rem);
  position: relative;
  justify-content: flex-end;
  flex: 0;
}

.content {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  flex: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
  transition: opacity 1500ms ease-in-out, max-height 1500ms ease-in-out, flex 1500ms ease-out;
}

.content.show {
  opacity: 1;
  visibility: visible;
  max-height: 500px;
  flex: 1;
}

/* Typography */
h1 {
  font-family: "Baskervville", serif, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.1rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
  letter-spacing: 0.1rem;
  max-width: 320px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 320px;
}

.guests-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#guests-container label {
  margin-bottom: 1rem;
  display: block;
}

input, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e2e2;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  background-color: white;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%3E%3Cpath%20fill='none'%20stroke='%23666'%20stroke-width='1.5'%20d='M1,3%205,7%209,3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px;
  padding-right: 2.5rem;
}

input:focus, select:focus {
  outline: none;
  border-color: #1b4d4d;
}

.radio-group {
  display: flex;
  gap: 1rem;
}

.radio-group input {
  display: none;
}

.radio-btn {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  border: 1px solid #e2e2e2;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  background-color: white;
  cursor: pointer;
  transition: all 200ms ease;
}

.radio-group input:checked + .radio-btn {
  background-color: #1b4d4d;
  color: white;
  border-color: #1b4d4d;
}

button {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #1b4d4d;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 200ms ease;
}

button:hover {
  background-color: #153d3d;
}

.was-validated input:invalid,
.was-validated select:invalid {
  border-color: red;
}
