
/* ______________  */
/*     Navbar      */
/* ______________  */


.navbar {
  background-color: #000000; /* Set the background color of the navbar */
  position: absolute; /* Make the navbar stick to the top of the viewport when scrolling */
  top: 0; /* Position it at the top */
  height: 60px; /* Set maximum height of the navbar */
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 15px 15px;
  width: 400px;
  justify-content: space-evenly;
  z-index: 1000;
  display: flex;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .navbar {
    border-radius: 0 0 15px 0; 
    left: 40vw;
    width: 80vw;
  }
}

.navbar ul {
  list-style-type: none; /* Remove default list styling (bullets) */
  display: flex;
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
  width: 100%;
  justify-content: space-evenly;
}

.navbar li {
  align-items: center;
  justify-content: center;
  height: 100%; /* Set height of each list item */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  margin: 0; /* Remove default margin */
  font-size: 20px;
  flex: 1; /* ensure each item takes equal space, including active highlight */
}

.navbar .wide-box {
    width: 100px; /* Set a specific width for the wider box */
}

.navbar li a {
  display: flex; /* Use flexbox to arrange content within the link */
  align-items: center; /* Vertically center items */
  justify-content: center; /* Horizontally center items */
  color: white; /* Set the text color */
  text-decoration: none; /* Remove underline from links */
  height: 100%; /* Full height of the parent list item */
  width: 100%; /* Full width of the parent list item */
}


.navbar li:first-child a {
  border-radius: 0 0 0 15px;
}

.navbar li:last-child a {
  border-radius: 0 0 15px 0;
}

@media screen and (max-width: 768px) {
  .navbar li:first-child a {
    border-radius: 0 0 0 0;
  }
  .navbar li:last-child a {
    border-radius: 0 0 15px 0;
  }
}


/* Make the middle navbar items wider */
.navbar li:nth-child(2) {  /* Adjust the 2nd item (middle) */
   /* Adjust the 3rd item (middle) */
  flex: 1.25;
}

@media screen and (max-width: 768px) {
  .navbar li:nth-child(2) {
    flex: 1.5; /* Override for small screens */
  }
  .navbar li:nth-child(3) {
    flex: 1;
  }
}

.navbar li a:hover {
  background-color: #111; /* Change background color when hovering over the link */
}




/* ______________  */
/*  Dropdown Menu  */
/* ______________  */


/* Style for active dropdown button */
.dropbtn.active {
  border: 2px solid #007bff; /* Change background color for active dropdown button */
}

/* Style for active links within the dropdown menu */
.dropdown-content a.active {
  border: 2px solid #007bff; /* Highlight active dropdown item */
}

/* Add a grey right border to all list items for separation */
/* nav > ul > li { */
 /* border-right: 1px solid #bbb; */ /* Add right border to list items */
/* } 

/* Adds a border to the last list child to avoid double borders */
/* nav > ul > li:last-child { */
  /* border-left: 1px solid  #bbb; */ /* Add left border to the last item */
  /* border-right: none; */ /* Remove right border from the last item */
/* } */

.dropdown-content {
  display: none; /* Hide dropdown content by default */
  position: absolute; /* Position it absolutely to the parent */
  background-color: #000000; /* Set background color for the dropdown */
  min-width: 160px; /* Set minimum width for dropdown */
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
  z-index: 1; /* Ensure dropdown appears above other content */
  top: 100%; /* Position it below the parent element */
  margin: 0; /* Remove any margin to eliminate gaps */
  padding: 0; /* Remove padding if necessary */
  white-space: nowrap; /* ensure dropdown content does not wrap and stays on one line */
 /* font-size: 20px; */ 
}

/* First dropdown content */
.dropdown-content.first {
  left: 28.75%;
  transform: translateX(-27%); /* Center it at 25% */
}

/* Second dropdown content */
.dropdown-content.second {
  left: 82%;
  transform: translateX(-82%); /* Center it at 50% */
}

.navbar .dropdown-content a {
  color: white; /* Set text color for dropdown links */
  padding: 12px 16px; /* Add padding for clickable area */
  text-decoration: none; /* Remove underline from links */
  display: block; /* Make links block elements for full-width click area */
  text-align: center; /* Center text within dropdown links */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.dropdown-content a:hover {
  background-color: #111; /* Highlight dropdown item on hover */
}

.dropdown:hover .dropdown-content {
  display: block; /* Show dropdown content when hovering over the dropdown */
}

.dropdown-icon {
  width: 25px; /* Set width of the dropdown icon */
  height: 25px; /* Maintain aspect ratio of the icon */
  margin-left: 2px; /* Space between text and icon */
  vertical-align: middle; /* Align icon vertically with text */
}




/*img {
  max-width: 100%; /* Ensure images do not exceed their container's width */
/*  max-height: 100%; /* Ensure images do not exceed their container's height */
/*  height: auto; /* Maintain aspect ratio */
/*  width: auto; /* Maintain aspect ratio */
/*}*/


/* ______________  */
/* Text Customization */
/* ______________  */
.large-header {
  font-size: 40px;
}

.catalog-item-header {
  font-size: 30px;
}

.large-header2 {
  font-size: 50px;
}

.large-text {
  font-size: 20px;
}

.large-text2 {
  font-size: 25px;
}

.font-20 {
  font-size: 20px;
}

.font-24 {
  font-size: 24px;
}

.underline {
  text-decoration: underline;
}

.underline-white {
  text-decoration: underline;
  text-decoration-color: white;
  text-underline-offset: 15px;
  text-decoration-thickness: 3px;
}

/* Background and text color for body */
body {
  background-color: #1A1D1D; /* Set background color for the entire page */
  margin: 0;
  padding: 50px; 
}

p {
  color: white; /* Set text color for paragraphs */
}

/* space between <p> and <img> , only applies to <img> with the class directly following a <p> */
p + img.img-space {
  margin-top: 100px;
}



h1,
h2 {
  color: white; /* Set text color for headings */
}

/* General container to center and align content */
.content-container {
  width: 100%; /* Use full width */
  max-width: 500px; /* Limit content width on larger screens */
  margin: 0 auto; /* Center the container horizontally */
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}

/* Editable box or specific section like Authentication */
.editable-box {
  width: 100%; /* Allow full width of parent */
  padding: 20px;
  margin: 10px 0; /* Add spacing above and below */
  color: white; /* Improve contrast */
  font-size: 18px; /* Standard readable text */
  font-weight: normal; /* Adjust font weight */
  box-sizing: border-box;
}

/* Heading Styles */
.editable-box h1 {
  margin: 0 0 10px; /* Add space below the heading */
  line-height: 1.2; /* Improve spacing for readability */
}

/* Paragraph styles */
.editable-box p {
  line-height: 1.5; /* Improve spacing between lines */
  margin: 0; /* Remove default margin */
  text-align: center; /* Align text for better reading flow */
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
  .content-container {
    padding: 5px; /* Reduce padding for small screens */
  }
  .editable-box {
    padding: 10px; /* Reduce padding */
  }

}


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

.center-text2 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.center-text2 p {
  text-align: center;
}

/* ______________  */
/* Link Customization */
/* ______________  */

/* Style for the active state of the current page link */
.active {
  border: 2px solid #007bff; /* Highlight the active link with a blue background */
  box-sizing: border-box;
}

/* Link style */
a {
  color: #FFB6C1; /* Set color for links */
  text-decoration: none; /* Remove underline from links */
  transition: color 0.5s ease; /* smoother transition for color change */
}
a:hover {
  color: #E0B0FF;
}

/* ______________  */
/* List Customization */
/* ______________  */

ul {
  list-style-type: none;
  padding-left: 0;
  border: none;
  margin-left: 0;
}

ul ul{
  margin-left: 20px;
}

li {
  border: none;
}

.no-numbers {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.no-numbers li {
  text-align: center;
}

.no-padding {
  margin-bottom: 0;
}

.home-list a p {
  display: inline;
}

/* ______________  */
/* login/logout button Customization */
/* ______________  */

.login-button-container {
  display: flex;
  flex-direction: column;
  top: 0;
  right: 0;
  position: absolute;
}

@media screen and (max-width: 768px) {
  .login-button-container .login-button-nonauth {
    border-radius: 0 0 0 15px;
    font-size: 20px
  }
}

.login-button-container a {
  display: block;
  background-color: black;
  color: white;
  font-size: 25px;
  padding: 5px 10px;
}

.login-button-container a:hover {
  color: white;
  background-color: #111;
}

.logout-button-container {
  border-radius: 0 0 0 15px;
  text-align: center;
}

.login-button {
  text-align: center;
}

.login-button-nonauth {
  text-align: center;
  border-radius: 0 0 0 20px;
}

/* ______________  */
/* "about" homepage grid items */
/* ______________  */

.grid-container {
  display: inline-grid;
  grid-template-columns: repeat(auto-fit, minmax(0, auto));
  justify-content: center;
  gap: 20px;
  padding: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.grid-item {
  border: 2px solid black;
  border-radius: 8px;
  padding: 10px 20px;
  text-align: center;
  color: white;
  white-space: nowrap;
  width: fit-content;
  font-size: 18px;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


@media screen and (max-height: 800px) {
  .grid-container {
    position: relative; 
  }
}
/* was 768px
grid-template-columns: 1fr; 
*/
@media screen and (max-width: 1868px) {
  .grid-container {
    display: flex;
    margin-top: 200px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
  }
}
/* was 768px*/
@media screen and (max-width: 1868px) {
  .grid-item {
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
}

/* Hover effect: Grow and add shadow */
.grid-item:hover {
  transform: scale(1.05); /* Slightly grow */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow */
  font-size: 1.2em;
  padding-right: 20px;
  padding-left: 20px;
}


/* Hover effect: Grow and add shadow */
.grid-item.show-arrow:hover {
  transform: scale(1.05); /* Slightly grow */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow */
  font-size: 1.2em;
  padding-right: 60px;
}

/* Arrow inside grid item (appears on hover) */
.grid-item.show-arrow::after {
  content: ""; /* Right arrow */
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("/static/images/arrow-pink.png");
  background-size: cover;
  background-position: center;
  width: 24px;
  height: 24px;
  opacity: 0; /* Hidden by default */
}

/* Show the arrow on hover */
.grid-item.show-arrow:hover::after {
  opacity: 1; /* Arrow fades in */
}

/* ______________  */
/* "services" grid items */
/* ______________  */

.grid-container-list {
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(0, auto));
  justify-content: center;
  gap: 20px;
  padding: 10px;
  align-items: center;
  justify-items: center;
}

.grid-item-list {
  border: 2px solid #121414;
  border-radius: 8px;
  padding: 10px 20px;
  text-align: center;
  white-space: nowrap;
  width: fit-content;
  text-decoration: none;
  overflow: hidden;
  background-color: #121414;
}


/* Media query for mobile */
@media screen and (max-width: 768px) {
  .grid-item-list {
    width: 100%; /* Make grid items full width on small screens */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
    white-space: normal;
  }
  .grid-container-list {
    margin-top: 100px;
    line-height: 1.2;
  }
  .grid-container-list p {
    margin-top: 100px;
    margin: 0;
    padding: 0;
  }
}

  