html {
  background-color: #242424;
  height: 100%;
}

body {
  font-family: sans-serif;
  margin: 0 auto;
  min-height: 100vh;
  max-width: 1000px;
  background-color: #2b2b2b;
  color: #dddddd;
}

.topnav {
  font-style: normal;
  overflow: hidden;
  background-color: #000000;
  top: 0;
  position: sticky;
  position: -webkit-sticky;
  line-height: 60px;
  background-image: url("bg.jpg");
  background-size: cover;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.topnav #myLinks {
  display: none;
}

.topnav #myLinks a {
  font-weight: 400;
}

.topnav a, span {
  font-weight: 600;
  color: #ffffff;
  padding: 0 16px;
  text-decoration: none;
  font-size: 30px;
  display: block;
  line-height: inherit;
}

.topnav a.icon {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 30px;
  line-height: inherit;
}

.topnav a:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

.active {
  padding-top: 15px;
  padding-bottom: 15px;
  color: white;
  font-size: 30px;
  line-height: 1;
  font-family: "fairwater-script", sans-serif;
  cursor: pointer;
}

h1 {
  color: #ffffff;
  margin-top: 20px;
  font-family: sans-serif;
  text-align: center;
  line-height: 1;
  font-weight: 600;
}

h3 {
  color: #dedede;
  font-size: 24px;
  margin-top: 20px;
  font-family: sans-serif;
  text-align: center;
  line-height: 1;
  font-weight: 600;
}

h5 {
  font-size: 18px;
  margin: 12px;
}

p {
  color: #dedede;
  font-size: 20px;
  padding-right: 15px;
  margin-bottom: 20px;
  font-weight: 400;
  text-align: center;
}

h4 {
  color: #dedede;
  font-size: 18px;
  margin-top: 20px;
  font-family: sans-serif;
  text-align: center;
}

ul {
  text-align: left;
  font-size: 20px;
}

.welcome-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-text {
  text-align: center;
}

.welcome-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid #212121;
}

/* Styles for screens larger than 768px */
@media screen and (min-width: 768px) {
  .welcome-section {
    flex-direction: row;
    justify-content: space-around;
  }

  .welcome-text,
  .welcome-image {
    width: 45%;
  }
}

.design-gallery {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.design-gallery img {
  width: 30%;
  border-radius: 5px;
}

/* CSS code for the modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal img {
  max-width: 90%;
  max-height: 80%;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  font-size: 50px;
  cursor: pointer;
}

.modal-button {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-button.next {
  right: 10px;
}

.modal-button.prev {
  left: 10px;
}


/* CSS code for the contact section */
.contact-list {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-list i {
  margin-right: 10px;
  font-size: 24px;
}

.contact-list .contact-text {
  text-align: center;
}

.contact-list .contact-text p {
  margin: 0;
}

a {
  color: #e2a8ff;
  text-decoration: none;
}

.main a:hover {
  text-decoration: underline;
}

.main {
  padding: 16px;
}

footer {
  text-align: center;
  background-color: #1c1c1c;
  padding: 8px;
  margin-bottom: 0px;
  background-image: url("bg.jpg");
  background-size: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

footer p {
  font-size: 15px;
}

.design-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; /* Adjust this to "start", "center", "space-between", etc. as needed */
  padding: 16px;
  text-align: center;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: start; /* or space-between depending on your layout preference */
}

.design-card {
  display: flex;
  flex-direction: column; /* To stack image and description vertically */
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 5px;
  overflow: hidden;
  flex: 1 0 100%; /* initial sizing for flex */
  margin: 1%; /* provide a gutter */
  margin-bottom: 20px;
}

.design-card img {
  width: 100%; /* Set image to full width */
  object-fit: cover;
}

.design-description {
  padding: 16px;
}

.design-description h4 {
  color: #ffffff;
  font-size: 20px;
  margin-top: 0;
}

.design-description p {
  color: #f7f7f7;
  font-size: 20px;
  margin-bottom: 0;
}

@media screen and (min-width: 600px) {
  .design-card {
    flex: 1 0 45%;
  }
}


.center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.details-button {
  font-family: sans-serif;
  font-size: 20px;
  color: #dddddd;
  background-color: #2b2b2b;
  border: 3px solid #765ac4;
  padding: 10px 20px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-weight: 400;
  transition-duration: 0.4s;
  border-radius: 10px;
}

.details-button:hover {
  background-color: #765ac4;
  color: #ffffff;
}

/* PRODUCT PURCHASING STYLES */

.products-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; /* Adjust this to "start", "center", "space-between", etc. as needed */
  padding: 16px;
  text-align: center;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid #dd99ff;
  padding: 16px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.4);
}

.product img {
  max-width: 100%;
  border-radius: 5px;
  border: 2px solid #212121;
}

.product h2 {
  color: #ffffff;
  font-size: 24px;
  margin-top: 10px;
}

.product p {
  color: #cccccc;
  font-size: 18px;
  margin-top: 10px;
  text-align: center;
}

.product .purchase-button {
  font-family: sans-serif;
  font-size: 20px;
  color: #dddddd;
  background-color: #2b2b2b;
  border: 2px solid #dd99ff;
  padding: 10px 20px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-weight: 400;
  transition-duration: 0.4s;
  margin-top: 10px;
}

.product .purchase-button:hover {
  background-color: #dd99ff;
  color: #2b2b2b;
}
