body {
  font-family: 'Aranta', sans-serif;
  background-color: #1D1F2F; /* Changed from #F4DECB to match the image's background */
  letter-spacing: 6px;
  color: #FFFFFF; /* Changed from #DAA520 to match the image's text color */
  margin: 0;
  padding: 0;
}

header {
  background-color: #2E2F4F; /* Changed to approximate the image's header background */
  padding: 40px 20px;
  text-align: center;
  border-bottom: 3px solid #DAA520;
}

h1 {
  font-size: 2.5em;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

main {
  padding: 40px 20px;
}

section#gift-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

article {
  background-color: #2E2F4F; /* Changed to approximate the image's card background */
  border: 2px solid #DAA520;
  border-radius: 15px;
  padding: 20px;
  width: 250px;
  text-align: center;
  box-shadow: 7px 7px 17px rgba(0, 0, 0, 0.1);
  transition: transform .3s ease, box-shadow .3s ease;
}

article img {
  border-radius: 15px;
}

article:hover {
  transform: translateY(-7px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

button {
  background-color: #DAA520;
  border: none;
  border-radius: 7px;
  color: #FFFFFF; /* Changed to white to match the button text in the image */
  cursor: pointer;
  padding: 10px 25px;
  font-family: Arial, sans-serif;
  margin-top: 15px;
  transition: background-color .3s ease, transform .2s ease;
}

button:hover {
  background-color: #B8860B;
  transform: scale(1.05);
}


.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation-name: modalFade;
  animation-duration: 0.5s;
}

@keyframes modalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  position: relative;
  padding: 30px;
  width: 80%;
  max-width: 500px;
  background-color: #1D1F2F; /* Blue-purple color */
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #DAA520;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  animation-name: modalSlide;
  animation-duration: 0.5s;
  scrollbar-width: thin;
  scrollbar-color: #6390d4 #FFF8DC;
}


.sort-button {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  /* You can add more styling properties here as needed */
}



.modal-content::-webkit-scrollbar {
  width: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: #383c5c;
  border-radius: 5px;
}

.modal-content::-webkit-scrollbar-track {
  background-color: #1D1F2F;
}

.modal-content {
  scrollbar-width: thin;
  scrollbar-color: #e4cf85 #FFF8DC;
}

.styled-qr-code {
  width: 200px;
  height: 200px;
  border: 2px solid #DAA520;
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

@keyframes modalSlide {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content img {
  border-radius: 10px;
  margin-bottom: 20px;
}

.modal-content input[type="text"] {
  border: 1px solid #DAA520;
  background-color: #1D1F2F; /* Blue-purple color */
  color: #FFFFFF; /* White text for better readability */
  padding: 10px;
  width: auto;
  max-width: 60%;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.no-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.modal-content input[type="text"]:focus {
  caret-color: transparent;
}

.modal-content input[type="text"]:hover {
  background-color: #DAA520;
  color: #1D1F2F; /* Blue-purple color */
}

.modal-content input[type="text"].input-copied {
  border-color: #D4AF37 !important;
  background-color: #FFF9E6;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #DAA520;
  font-size: 70px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #B8860B;
}

.modal-content img {
  max-height: 35vh;
}

.modal-content input[type="text"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  cursor: pointer;
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer {
  background-color: #1D1F2F; /* Blue-purple color */
  color: #FFFFFF; /* White text for better readability */
  padding: 20px;
  text-align: center;
  border-top: 1px solid #DAA520;
  font-family: Arial, sans-serif;
}

.price-section {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

footer p {
  color: #888;
}

img {
  max-width: 100%;
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .qr-code-section {
    display: flex;
    justify-content: space-between;
  }

  .qr-code {
    width: 48%;
  }
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  height: 100%;
}

.pix-code-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.pix-code {
  border: 1px solid #DAA520;
  background-color: #1D1F2F; /* Blue-purple color */
  color: #FFFFFF; /* White text for better readability */
  padding: 10px;
  width: auto;
  max-width: 60%;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.copy-icon {
  position: absolute;
  right: 10px;
  cursor: pointer;
}

.pix-code:hover {
  background-color: #DAA520;
  color: #1D1F2F; /* Blue-purple color */
}

.pix-code:hover .copy-icon {
  color: #1D1F2F; /* Blue-purple color */
}

article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #1D1F2F; /* Blue-purple color */
  border: 2px solid #DAA520;
  border-radius: 15px;
  margin: 10px;
  text-align: center;
}

.gift-info {
  text-align: center;
  flex-grow: 1;
}

.price-section {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

button {
  margin-top: 15px;
  align-self: center;
}


/* Add this CSS to style the price section */
.price-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-gbp {
  font-weight: bold; /* Make GBP price bold */
  color: #cbcdd8; /* Blue-purple color */
}

em {
  color: #e4b53f; /* Golden color for emphasized price */
  font-size: 1.6em; /* Increase font size for emphasis */
}


/* Additional styles for the pix-info section in the footer */
#pix-info {
  background-color: #1e1e3d;  /* Light grayish background for contrast */
  padding: 15px;
  border-radius: 5px;

  margin: 20px 0;  /* Spacing from other elements in the footer */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* A subtle shadow for depth */
}

#pix-info p {
  font-weight: bold;  /* Making the text bold for emphasis */
  margin-bottom: 10px;  /* Space between the paragraph and the list */
}

#pix-info ul {
  list-style-type: none;  /* Removing bullet points */
  padding-left: 0;  /* Aligning the list to the left */
}

#pix-info li {
  margin-bottom: 5px;  /* Spacing between list items */
  font-size: 1.1em;  /* Increasing font size for readability */
}

#pix-info {
  display: flex;          /* Convert the container to a flex container */
  flex-direction: column; /* Stack the children vertically */
  justify-content: center; /* Center children vertically */
  align-items: center;    /* Center children horizontally */
}
