/* .show-modal {
  font-size: 2rem;
  font-weight: 600;
  padding: 1.75rem 3.5rem;
  margin: 5rem 2rem;
  border: none;
  background-color: #fff;
  color: #444;
  border-radius: 10rem;
  cursor: pointer;
} */

.close-modal {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  border: none;
  background: none;
}

/* -------------------------- */
/* CLASSES TO MAKE MODAL WORK */
.hidden {
  display: none;
}

.modal-sections {
  position: fixed; /* Change from absolute to fixed */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Center the modal using transform */
  width: 90%; /* Modal width */
  max-width: 600px; /* Optional: Set a maximum width */
  height: auto; /* Allow height to adjust based on content */
  max-height: 90%; /* Optional: Limit height to avoid overflowing */
  overflow-y: auto; /* Allow scrolling within the modal if content is too large */
  background-color: black;
  padding: 1rem;
  border-radius: 5px;
  border-color: green;
  border-style: solid;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
  z-index: 1001; /* Ensure it's above other elements */
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
.modal-img {
  display: flex;
  justify-content: center;
  padding-top: 2em;
}

.h1-tshirt {
  margin-top: 0;
}

.modal-header {
  color: white;
  display: flex;
  justify-content: center;
}

.p-modal {
  color: var(--secondary-a);
  font-size: 2.5em;
  padding-bottom: 1em;
}

#email-modal {
  position: fixed; /* Change from absolute to fixed */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Center the modal using transform */
  width: 80%; /* Modal width */
  max-width: 600px; /* Optional: Set a maximum width */
  height: auto; /* Allow height to adjust based on content */
  max-height: 90%; /* Optional: Limit height to avoid overflowing */
  overflow-y: auto; /* Allow scrolling within the modal if content is too large */
  background-color: rgb(0, 0, 0);
  padding: 1rem;
  border-radius: 12px;
  border-color: green;
  border-style: solid;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
  z-index: 1001; /* Ensure it's above other elements */
}

.email-modal-header {
  text-align: center;
}

.email-modal-header h3 {
  color: var(--secondary-a);
}

#email-modal > p {
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.email-button-modal {
  color: rgb(255, 255, 255);
  font-size: 1.5em;
  border-radius: 5px;
  border-color: green;
  border-style: solid;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
}

.email-modal-img {
  display: flex; /* Enable flexbox */
  justify-content: center; /* Center horizontally */
  align-items: center;
  padding-top: 2em;
}

.email-button-modal > p {
  padding-bottom: 2em;
}

.email-button-modal > img {
  text-align: center;
}

.stripe-button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2em;
}
