/* =====================Project-Page-Styles =========================*/
.project-container img {
        display: block;
        margin: 30px;
}
h2 {
    font-size: 2em;
    margin-bottom: 2rem;
    margin-top: 5rem;
}
h3,h4{
    text-align: center;
    padding-top: 20px;
    padding-bottom: 3px;
}
h4{
    font-size: 1.2em;
}
small{
    text-align:center;
    max-width: 500px;
}

.project-container {
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
}
.overview-image {
    width: 50%;
    max-width: 100%;
    border-radius: 10px;
    margin-right: 1rem; /* Space between image and text content */
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit:contain;
}
.overview-content {
    text-align: center;
}
.project-overview h2 {
    font-size: 2em;
    color: #c20064;
    margin: 1rem;
}
.project-date {
    font-style: italic;
    text-align: left;
    font-size: 1em;
    color: #fca1ce;
}
.project-description {
    text-align: left;
    font-size: 0.9em;
    margin: 0.5rem 0;
}
/* Project Overview Section Styles */
.project-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    background-color: #ffe5f8;
    padding: 1rem;    
    border: 3px solid #FF69B4;
    border-radius: 10px;
}


.results-preview .carousel{
    width: 90%;
}
/* Media query for larger screens to align image and text side-by-side */
@media (min-width: 768px) {

    .overview-image {
        width: 45%; /* Adjust width for side-by-side layout */
        max-width: 100%;
        margin-right: 1rem; /* Space between image and text content */
    }
}


.project-tags {
    background-color: #fff;
    color: #ffb6ed;
    margin: 0.5rem;
    display: inline-block;
    padding: 0.3rem 0.5rem;
    font-family: Arial, sans-serif;
    font-size: 0.8em;
    border: 1px solid #ffb6ed;
    border-radius: 15px;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin: 1rem 0;
}
.project-content{
  text-align: center;
}
.project-content h3 {
    color: #c20064;
    padding-top: 55px;
    padding-bottom: 10px;
    margin: 0 auto; /* Horizontally center the container */
    margin-bottom: 1rem;
    text-align: center;
    width: 80%;
    max-width: 700px;
}

.project-content h4{
  text-align: center;
  margin: auto;
  padding-bottom: 3%;
}

.project-content a{
  color: #c20064;
}

.project-content p {
    margin: 0 auto; /* Horizontally center the container */
    width: 80%;
    max-width: 700px;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1em;
}

.project-content-left p {
    margin: 0 auto; /* Horizontally center the container */
    width: 80%;
    max-width: 700px;
    text-align: left;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1em;
    text-indent: 50px;

}

.project-content ul {
    text-align: center;
    font-size: 1em;
}
.project-content li {
  margin: 0 auto; /* Horizontally center the container */
    width: 70%;
    margin-bottom: 1rem;
    font-size: 1em;
    text-align: left;
}
.project-image {
    align-content: center;
    margin-top:2rem;
    margin-bottom:2rem; /* Horizontally center the container */
    margin-inline:auto; /* Horizontally center the container */
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Carousel Container */
.carousel,iframe {
    border-radius: 10px;
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin: auto;
}

/* Inner Container for Carousel Items */
.carousel-inner {
    border-radius: 10px;
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out; /* Smooth transition */
}

/* Individual Carousel Item */
.carousel-item {
    border-radius: 10px;
    flex: 0 0 100%; /* Each item takes full width of the container */
    height: 100%;
}

/* Images */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure the image is fully visible */
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
    z-index: 1;
}

.prev {
    left: 10px;
    border-radius: 8px;

}

.next {
    right: 10px;
    border-radius: 8px;
}

/* Indicator Dots */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-indicators div {
    width: 10px;
    height: 10px;
    background-color: rgba(79, 25, 25, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicators .active {
    background-color: white;
}
/* Fullscreen Button */
.fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    font-size: 18px;
}

/* Responsive Adjustment */
@media (max-width: 768px) {
    .carousel {
        height: 40vh; /* Adjust for smaller screens */
    }
}

/* Caption */
.carousel p {
    text-align: center;
    font-style: italic;
    color: white;
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

  .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }




  
.gallery > .gallery-column {
    padding: 0 8px;
  }
  
  .gallery:after {
    content: "";
    display: table;
    clear: both;
  }
  
  .gallery-column {
    float: left;
    width: 25%;
  }
  
  /* The Modal (background) */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    top: 0;
    width: 80vw;
    height: 80vh;
    overflow: auto;
    background-color: #ffffffaa;
    margin: auto;
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: #fefefeaa;
    margin: auto;
    padding: 0;
    object-fit: contain;
    border: 2px solid #FF69B4;
    border-radius: 8px;
  }
  
  /* The Close Button */
  .close {
    color: #FF69B4;
    position: absolute;
    top: 110px;
    right: 5vw;
    font-size: 35px;
    font-weight: bold;
    z-index: 1
  }
  
  .close:hover,
  .close:focus {
    color: #c20064;
    text-decoration: none;
    cursor: pointer;
  }
  
  .mySlides {
    display: none;
    object-fit: contain;

  }
  
  .cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 8px;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  img {
    margin-bottom: -4px;
  }
  
  .caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
  }
  
  .demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }
  
  img.hover-shadow {
    transition: 0.3s;
  }
  
  .hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  
.gallery img {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin: 5px;
  }
  
  .gallery img:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  /* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation */
  .modal-content, #caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }



  @media screen and (max-width: 600px) {
    main,
    aside {
      width: 100%;
    }
    /* nav > ul > li {
      position: relative;
      width: 100%;
    }
  
    nav > ul > li > a {
      display: block;
    }
    nav > ul > li > a > div {
      width: 1.5rem;
      height: 0.15rem;
      background: #333;
      padding: 0px;
      border-radius: 0;
      margin-bottom: 0.25rem;
      transition: linear 0.3s all;
    }
    nav > ul > li:hover > a > div:nth-child(1) {
      background: cyan;
      transform: translateY(0.4rem) rotate(45deg);
    }
  
    nav > ul > li:hover > a > div:nth-child(2) {
      opacity: 0;
    }
    nav > ul > li:hover > a > div:nth-child(3) {
      background: magenta;
      transform: translateY(-0.4rem) rotate(-45deg);
    }
    nav ul ul {
      display: none;
    }
  
    nav ul li:hover ul {
      display: block;
      position: absolute;
      top: 1rem;
      left: 0;
      width: 100%;
    } */
  }
  