/* everything*/

body{
    background-color: #262323;
    color: #bfd6cb;
    padding: 2%;
}

a, a:hover, a:visited, a:active {
  color: #bfbfff;
  text-decoration: none;
 }

asci{
    font-size: 1px;
}

#active-button a {
    font-style: normal;
    font-weight: bold;
    color: hotpink;
    text-decoration: none; /* Optional: Remove underline */
}

#active-button a:hover {
    color: white;
    font-weight: bold;
    font-style: normal;
}

ul {
  list-style-type: none;
  font-size: 24px;
}

ul li {
  float: left;
}

ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: hotpink;
}
    .navbar {
        position: fixed;
        z-index: 1000;
    }

    .navbar a {
        font-style: oblique;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .navbar a:hover {
        color: #262323;
    }

    @media only screen and (max-width: 600px) {
        .navbar a {
            font-size: 18px; 
        }
    }

.m.menu-content {
  display: none;
  position: absolute;
  bottom: 60px;       /* above button */
  right: 0;
  background: #262323;
  border: 1px solid #bfd6cb;
  min-width: 140px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.menu-content a {
  display: block;
  padding: 10px;
  color: #bfd6cb;
  text-decoration: none;
}

.menu-content a:hover {
  background-color: hotpink;
  color: #262323;
}

/* expandable text */

.expandable-title { 
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-size: large;
}

.expandable-title:hover {
    background-color: #1a55fd10;
}

.arrow {
    transition: transform 0.3s ease;
}

.expandable-title.expanded .arrow {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.5s ease;
    padding: 0 10px;
    background-color: #3e3e3e;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3); 
    opacity: 0;
    display: block; /* Always block, visibility controlled via height/opacity */
}

.expandable-content.expanded {
    max-height: 1000px; /* Set to a larger value, or use 500px for smaller content */
    padding: 10px;
    opacity: 1;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .expandable-content.expanded {
        max-height: 800px; /* Adjust max-height for mobile */
    }
}

#exp-text {
    font-size: 14px;
    color: #bfd6cb;
}
/******* gallery *********/

/* containers and boxes */

.overview-container, .gallery-container {
    gap: 20px;
    padding: 20px;
    padding-top: 40px;
}

.overview-border {
    border: none;
    padding: 20px;
    color: #bfd6cb;
}

#overview-text {
    font-weight: 700;
    color: #bfd6cb;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.work-box {
    display: flex;
    flex-direction: column;
    width: 30%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.work-text{
    color: #bfd6cb;
}

.work-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: solid 1px;
    color: #bfd6cb;
}

.work-statement {
    margin-bottom: 10px;
    color: #bfd6cb;
}

.work-main-img img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    cursor: pointer;
}

.work-main-img img:hover {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

@media (max-width: 1080px) {
    .work-box {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .work-box {
        width: 100%;
    }
}

/* IMAGES MODAL */

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 5% auto;
    width: 80%;
}

.modal-content img {
    margin: 10px;
    max-width: 40%;
    max-height: 40%;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

.modal-content img:hover {
    transform: scale(1.1);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.modal .close:hover {
    color: #ff0000;
}

/* Ensure modal images align well with your current gallery */
.work-main-img img {
    cursor: pointer; /* Make it clear that images are clickable */
}


.organise{

}
