/* Base Styles */
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  min-height: 100vh;
}

body {
  background-image: url(../assets/main_background.png);
  background-repeat: no-repeat;
  background-position: right top;
  background-attachment: fixed;
  background-size: cover;
}

/*custom elements*/
page-title, titles {
  display: block;
  align-items: center; /* Center content horizontally */
}

/*h1*/
page-title {
  color: white;
  text-align: center;
  font-family: "Impact", sans-serif;
  font-size: 64px;
}

/*h3*/
titles {
  color: white;
  text-align: center;
  font-family: "Arial Black", sans-serif;
  font-size: 24px;
  text-transform: uppercase;
}

h4 {
  color: white;
  text-align: center;
  font-family: "Arial Black", sans-serif;
  font-size: 12px;
}

/*h6*/
tandcfooter {
  color: white;
  text-align: center;
  font-family: "Arial", sans-serif;
  font-size: 10px;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333333; /* Background color */
  border-radius: 20px; /* Rounded corners for an oval effect */
  padding: 5px 20px; /* Adds padding around the text */
  display: inline-block; /* Ensure the background wraps only around the text */
  white-space: nowrap; /* Prevent wrapping inside the footer */
  max-width: 90%; /* Prevent the footer from stretching too wide */
  box-sizing: border-box; /* Include padding in the width calculation */
}

/* Text and link styles for T&C and designer name */
.footer-tc-text, .designer {
  color: red; /* Text color for both */
  padding: 0; /* Remove padding */
  display: inline; /* Display text inline to remove extra space */
  text-align: center; /* Center the text inside the inline-block */
  margin: 0; /* Ensure no margin between elements */
  background-color: transparent; /* Remove the background color */
}

.designer {
  text-decoration: none;
}

/* Ensure no extra space between inline-block elements */
footer {
  font-size: 0; /* Eliminate gaps between inline-block elements */
}

footer .footer-text, footer .footer-tc-text, footer .designer {
  font-size: 10px; /* Reset font size for elements to desired size */
}

/* Style the T&C link */
footer a.footer-tc-text {
  text-decoration: none; /* Remove underline */
  color: inherit; /* Ensure the link color is inherited */
}

/* Hover effect on T&C text */
.footer-tc-text:hover {
  color: #24252b; /* Color change on hover */
}

/* Links style */
.t7c-links {
  color: red; /* Set the link text color to red */
  text-decoration: none; /* Remove underline */
}

.t7c-links:visited {
  color: red; /* Set visited links to red as well */
}

.t7c-links:hover {
  text-decoration: underline; /* Add underline on hover */
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the items in the flex container */
  align-items: center;
  gap: 15px; /* Space between images */
  width: 100%; /* Ensure the row takes full width */
  max-width: 100%; /* Ensure the row is capped to 100% of the parent */
  margin: 0 auto; /* Center the row within its parent */
}

.image-row img {
  width: 25%; /* Increase width for larger screens */
  max-width: 250px; /* Allow images to grow larger */
  height: auto;
  border-radius: 50%; /* Fully rounded corners */
  margin: 0; /* Remove any default margin */
}

/* Responsive Design for Tablets */
@media screen and (max-width: 1024px) {
  .image-row img {
    width: 30%;  /* Medium size for tablets */
    max-width: 150px;
    border-radius: 50%; /* Ensure fully rounded corners */
  }
}

/* Responsive Design for Mobile */
@media screen and (max-width: 500px) {
  .image-row img {
    width: 50%;  /* Increase size for mobile */
    max-width: 120px; /* Adjust max size for mobile */
    border-radius: 50%; /* Fully rounded corners */
  }
  
  page-title {
    font-size: 48px;
  }
  
  titles {
    font-size: 16px;
  }
  
  tandcfooter {
    font-size: 10px;
  }
}

/* Clearfix */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* Updated Clearfix - Now Sticky */
/*.clearfix {
  content: "";
  clear: both;
  display: table;
  position: sticky; /* Makes navbar stick to the top */
 /* top: 0; /* Stays at the very top */
  /*background: white; /* Ensures it's visible */
  /*z-index: 1000; /* Keeps it above other elements */
  /*padding: 10px 0; /* Adds some spacing */
  /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow effect */
/*}*/

.nav-list {
  list-style-type: none;
  margin: 0;
  padding: 0 20px;
  overflow: hidden;
  text-align: right;
}

.nav-list li {
  display: inline-block;
}

.nav-link, .page-button {
  display: block;
  color: red;
  text-align: center;
  padding: 0.625rem 1.25rem; /* Proportional padding */
  text-decoration: none;
  border-radius: 0.3125rem; /* Rounded corners */
  box-shadow: 0.3125rem 0.3125rem 0.625rem red; /* Responsive shadow */
  background-color: white;
  font-weight: bold;
  margin: 0.3125rem; /* Responsive margin */
}

.page-button {
  background-color: #5d5d5d;
  color: #ffffff;
}

.nav-link:hover {
  background-color: red;
  color: white;
  box-shadow: 0.3125rem 0.3125rem 0.9375rem white; /* Adjusted shadow for hover */
}

@media screen and (max-width: 1024px) {
  .nav-link, .page-button {
    font-size: 0.875rem; /* Slightly smaller for tablets */
    padding: 0.5rem 1rem; 
  }
}

@media screen and (max-width: 500px) {
  .nav-link, .page-button {
    font-size: 0.75rem; /* Smaller for phones */
    padding: 0.375rem 0.75rem; 
  }
}

.link-container {
  display: inline-block; /* Allow the link and cost to be inline */
  text-align: left; /* Align text to the left within the container */
  width: 300px; /* Set a fixed width for alignment */
  margin: 0 auto; /* Center the container */
  text-align: center;
}

