@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  src: url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,700;1,6..12,400;1,6..12,700&display=swap') format('woff2');
}

body {
  font-family: 'Nunito Sans', sans-serif;
}

html, body {
  height: 100vh;
}

body {
  background-image: url("../img/topographic.jpg");
  background-size: cover;
  margin: 0; 
  padding: 0; 
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(197, 181, 146, 0.5); 
  z-index: -1;
}

h2 {
  font-weight: 700;
  font-style: italic;
  font-size: 4rem;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1076px;
  margin: auto;
  padding: 0 32px;
}

.intro-img {
  text-align: center;
  margin-bottom: 3rem;
  background-image: url("../img/thebox.jpg");
  background-size: cover;
  /* background-color: rgba(241, 193, 130, 0.58); */
  padding: 2rem 3rem 3rem;
  box-shadow: 0 10px 10px -6px rgba(0, 0, 0, 0.2);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  max-width: 600px;
}

@media (max-width: 767px) {
  .intro-img {
    max-width: 320px;
    box-sizing: border-box;
    margin-bottom: 0;
    padding: 2rem 1rem 3rem;
  }
}

.intro-img div {
  opacity: 0;
}

.intro-text {
  text-align: center;
  margin-bottom: 3rem;
  background-color: rgba(241, 193, 130, 0.58);
  padding: 2rem 3rem 1rem;
  box-shadow: 0 10px 10px -6px rgba(0, 0, 0, 0.2);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  max-width: 600px;
}

@media (max-width: 767px) {
  .intro-text {
    max-width: 320px;
    box-sizing: border-box;
    padding: 2rem 1rem 1rem;
  }
}

h2 {
  margin-bottom: 1rem;
  color: rgb(60, 51, 51);
}

.intro-text > div {
  max-width: 70%;
  margin: auto auto 1rem auto;
  font-size: 1.4rem;
  color: rgb(86, 84, 84);
}

@media (max-width: 767px) {
  .intro-text > div {
    max-width: 100%;
    font-weight: 400;
  }
}

.image-holder img {
  max-width: 200px;
}

form {
  max-width: 600px;
  width: 100%;
  background-color: rgba(241, 193, 130, 0.58);
  padding: 3rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

@media (max-width: 767px) {
  form {
    display: flex;
    flex-direction: column;
    max-width: 320px;
    box-sizing: border-box;
    margin-bottom: 1rem;
    padding: 2rem;
  }
}

.animate-form {
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
  animation-delay: 0.6s;
}

.animate-form input,
.animate-form textarea {
  opacity: 0;
  animation: fade-in-fields 1.3s ease-in-out forwards;
  animation-delay: .9s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-fields {
  to {
    opacity: 1;
  }
}

label {
  display: block;
  margin-bottom: .5rem;
  font-size: 1rem;
  font-weight: 700;
  color: rgb(50, 45, 45);
}

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

@media (max-width: 767px) {
  .grouped-fields {
    flex-direction: column;
  }
}

.field-holder {
  width: 45%;
}

@media (max-width: 767px) {
  .field-holder {
    width: 100%;
    margin-bottom: 1rem;
  }
}

input {
  width: 100%;
  height: 20px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  padding: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  background-color: #f7f5ed;
}

@media (max-width: 767px) {
  input {
    width: 95%;
  }
}

.red-border {
  outline: 3px solid rgb(175, 27, 27) !important;
}

.red-border:focus {
  outline: 3px solid rgb(175, 27, 27) !important;
}

input:focus {
  background-color: white;
  outline: 3px solid rgb(232, 169, 60) !important;
}

input:focus-visible {
  outline: 3px solid rgb(232, 169, 60) !important;
}

#email_status {
  color: rgb(175, 27, 27) !important;
}

@media (min-width: 768px) {
  #email_status {
    margin-top: 1rem !important;
  }
}

.selectric {
  width: 100% !important;
  height: 20px !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 8px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  background-color: #f7f5ed !important;
}

@media (max-width: 767px) {
  .selectric {
    width: 95% !important;
  }
}

.selectric:focus {
  background-color: white;
  outline: 3px solid rgb(232, 169, 60) !important;
}

.selectric:focus-visible {
  outline: 3px solid rgb(232, 169, 60) !important;
}

.selectric .label {
  line-height: 22px !important;
  margin: 0 !important;
  font-size: 15px !important;
}

.selectric-items li.highlighted {
  background-color: rgba(235, 174, 94, 0.58) !important;
}

.selectric-items li {
  font-size: 15px !important;
}

textarea {
  width: 100%;
  border: none;
  border-radius: 4px;
  padding: 8px;
  font-size: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  background-color: #f7f5ed;
}

@media (max-width: 767px) {
  textarea {
    width: 95%;
  }
}

textarea:focus {
  background-color: white;
  outline: 3px solid rgb(232, 169, 60) !important;
}

textarea:focus-visible {
  outline: 3px solid rgb(232, 169, 60) !important;
}

.btn-holder {
  display: flex;
  justify-content: center;
}

input[type=submit] {
  height: 40px;
  width: 40%;
  margin-top: 3rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background-color: #4c4b4b;
  color: #f7f5ed;
  font-size: 1rem;
  font-weight: 700;
}

label[for=date_received] {
  margin-top: 1rem;
}

@media (max-width: 767px) {
  label[for=date_received] {
    margin-top: 0;
  }
}

#first_time_purchase {
  width: initial !important;
}

input[type=submit]:hover {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  cursor: pointer;
}

label[for=gift_significance] {
  margin-top: 1rem;
}

@media (max-width: 767px) {
  label[for=gift_significance] {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  label[for=receiver_email] {
    margin-top: -.9rem;
  }
}

@media (max-width: 767px) {
  label[for=receiver_city] {
    margin-top: -2.1rem;
  }
}

@media (max-width: 767px) {
  label[for=receiver_state] {
    margin-top: -1rem;
  }
}

.disclaimer {
  text-align: center;
}

/* Past receiver section styles */
.receivers-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 700px;
  margin-bottom: 3rem;
  row-gap: 1rem;
}

@media (max-width: 767px) {
  .receivers-container {
    max-width: 320px;
    flex-direction: column;
    row-gap: 0;
  }
}

.gift-significance .full-text {
  display: none;
}

.gift-significance .show {
  display: block;
}

.gift-significance .hide {
  display: none;
}

.toggle-link {
  margin-top: 1rem;
  color: black;
  text-decoration-color: orange;
  text-decoration-thickness: 3px;
}

.toggle-link:hover {
  color: orange;
}

.receiver-block {
  background-color: #f7f5eda8;
  padding: 0 1rem 1rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  width: 200px;
  box-sizing: border-box;
}

.receiver-block div {
  margin-bottom: .2rem;
}

.star {
  width: 20px;
}

@media (max-width: 767px) {
  .receiver-block {
    width: 320px;
    margin-right: .5rem;
  }
}

.receiver-block h3 {
  margin-bottom: .5rem;
}

i {
  font-size: 30px;
  align-self: center;
}

@media (max-width: 767px) {
  .fa-arrow-right {
    display: none !important;
  }
}

.fa-arrow-down {
  display: none !important;
}

@media (max-width: 767px) {
  .fa-arrow-down {
    display: block !important;
  }
}


