/* General Styles */
body, html {
  height: 100%; /* Ensure the body and HTML element take up full height */
}

body {
  margin: 20px;
  padding: 0;
  font-family: "Calibri";
  background-color: #121212; /* Dark gray background */
  color: #f8f1f1; /* Light gray text */
  text-align: center;
}

a {
  text-decoration: none;
  color: #b69393; /* Gray link color */
}
.navbar {
  overflow: hidden;
  background-color: #212020;
  font-family: "Calibri";
  border-top: 1px solid #b69393; /* Top border */
  border-bottom: 1px solid #b69393; /* Bottom border */
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 16px !important;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}


/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
  
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: Calibri; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #b69393;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #b69393;
  cursor: pointer;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}


.sub-dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 140px; /* Adjust min-width for smaller screens */
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  top: 0;
  left: 70%; 
  /* transform: translateY(0); */
  z-index: 1;
}

/* Show the sub-dropdown menu on hover */
.dropdown-content:hover .sub-dropdown-content {
  display: block;
}

#header {
text-align: center;
background-color: #000; /* Black header background */
font-family: "Calibri";
font-weight: 20;
padding: 20px;
}

#header h1 {
font-size: 70px;
font-family: "Brush Script MT", "Brush Script Std", cursive;
color: #b69393; /* White header text */
font-weight: 20;
margin: 0;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Add a subtle shadow */
margin: 0;
}


/* ******************************************************** */
/* index */ 
/* ******************************************************** */


body {
  overflow-y: hidden;
}
.slideshow-container {
  position: relative;
  max-width: 100%; /* Set a maximum width to ensure it doesn't exceed the screen */
  height: auto;
}

#content-index {
  padding: 20px;
  max-width: 100%; /* Ensure the content doesn't exceed the screen width */
  height: auto;
  height: 100vh;
}

.mySlides img {
  /* width: auto; 
  max-height: 100%;  */
  margin-left: 50%; /* Center the image */
  transform: translateX(-50%); /* Center the image */
  box-shadow: 0 0 50px rgb(244, 243, 243);
  border: 4px solid #7a7676;
  border-bottom-width: 8px;
  max-width: 100%;
  height: auto; 
}


/* ******************************************************** */
/* Body of art */
/* ******************************************************** */


.gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  

}

.main-image img {
  max-width: 70%;
  max-height: 70%;
  box-shadow: 0 0 50px rgb(244, 243, 243);
  border: 4px solid #7a7676;
  border-bottom-width: 8px;
  
}

.thumbnails img {
  width: 60px;
  height: 60px;
  margin: 5px;
  cursor: pointer;
  object-fit: cover; 
}

.navigation {
  display: flex;
  align-items: center;
  color: white;
}

.navigation span {
  font-size: 24px;
  margin: 0 10px;
  cursor: pointer;
}

.image-container {
  width: 500px; 
  height: 400px; 
  overflow: hidden;
}

.image-container img {
  width: 100%; 
  height: 100%;
  object-fit: cover; 
}



/* *************************************************** */
/* About me page */
/* *************************************************** */

.container {
  position: relative;
  text-align: center;
  margin-top: 20px;
  height: 100vh;
}

.image {
  display: block;
  margin: 0 auto;
  max-width: 100%; /* Set the maximum width to 100% to fit the container */
  height: auto; /* Maintain aspect ratio */
}



/* *************************************************** */
/* Contact Page */
/* *************************************************** */

.contact-me {
  background-color: #333; 
  color: #b69393;
  text-align: center;
  font-size: 100px;
  padding-top: 30;
}

.contact-info {
  background-color: #f2f2f2; 
  text-align: center;
}

.artist-contact {
  display: flex;
  justify-content: center;
}

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

.background-layer {
  background-color: #635d5d; 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7; /* Adjust the opacity as needed */
  z-index: -1; /* Place the background layer below other content */
}

#content-contact {
  position: relative; /* Ensure the contact content is positioned relative to the body */
  height: 100vh;
}



@media (max-width: 768px) {
  .navbar a {
    font-size: 12px;
  }

  .main-image img {
    max-width: 100%;
    height: auto;
  }

  .thumbnails img {
    width: 40px;
    height: 40px;
    margin: 5px;
  }

  /* Add any other styles for tablets here */
}



@media (max-width: 768px) {
  .navbar a {
    padding: 14px 5px; /* Adjust padding for smaller screens */
  }

  .dropdown .dropbtn {
    padding: 14px 5px; /* Adjust padding for smaller screens */
  }

  .dropdown-content, .sub-dropdown-content {
    min-width: 100%; /* Adjust min-width for smaller screens */
  }
  .dropdown-content:hover .sub-dropdown-content {
    top: 100%; /* Position below the parent dropdown */
    left: 0;
}
.sub-dropdown-content {
  left: 0; /* Position to the left for smaller screens */
}

.image {
  height: auto;
  max-width: 100%; /* On larger screens, limit the width to 50% */
}
}


/* Styles for mobile devices */
@media (max-width: 480px) {
  body {
    margin: 10px;
    font-size: 12px;
  }

  .navbar a {
    font-size: 12px;
  }

  
  .main-image img {
    max-width: 100%;
    height: auto;
  }

  .thumbnails img {
    width: 30px;
    height: 30px;
    margin: 5px;
  }

  .content {
    padding: 10px;
  }

  .image-container img {
    width: 100%;
  }

  .text-container {
    padding-right: 20px;
  }

  .contact-me {
    font-size: 50px;
  }

  .sub-dropdown-content {
    left: 0; /* Position to the left for smaller screens */
  }

  /* Add any other styles for mobile devices here */
}

@media (max-width: 767px) {
  .mySlides img {
    height: auto; /* Adjust the height for mobile devices */
  }
}


@media (max-width: 767px) {
  .text-container,
  .image-container {
    width: 100%;
    float: none;
    padding: 10px; /* Adjust the padding as needed */
  }

  .text-container h1 {
    font-size: 24px;
  }

  .text-container p {
    font-size: 16px;
  }

  .image-container img {
    width: 100%;
    height: auto;
  }
}