

.worklist {
    display: flex;
    width: 75vw; /* Set the width to one-third of the viewport */
    white-space: nowrap;
    margin-top: 5%;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: end;
    align-items: start;
    position: relative; /* Allow absolute positioning for the image */
    max-width: 50%; /* Make the image container responsive */
    overflow: hidden; /* Prevent overflow */
    height: 75vh;
}

.image-container img {
    width: 25vw;
    height: auto; /* Keep aspect ratio */
    opacity: 0; /* Initially hidden */
    transition: opacity 0.2s ease, transform 0.2s ease;
    position: absolute;
    top: 0;
    right: 0; /* Align image to the right */
}

.image-container img.show {
    opacity: 1;
}

.list {
    flex: 1;
    padding-top: 5%;
}

.list ul {
    list-style-type: none;
    padding: 0;
}

.list li {
    margin: 10px 0;
    cursor: pointer;
    font-size: 4vw; /* Make font responsive */
    font-weight: 400;
    opacity: 0.5; /* 50% opacity */
    transition: 0.1s;
    padding-left: 5%;
    color: #F1F1F1;
    position: relative; /* To align sup correctly */
}

.list li:hover {
    opacity: 1;
    transform: translate(1%, -5%);
    transition: 0.1s;
}

.list li sup {
    font-size: 1.5vw; /* Adjust for smaller screens */
    position: absolute;
    transform: rotate(-5deg);
    transform-origin: left bottom;
    white-space: nowrap;
}

.implex {
    width: 100%; /* Make it take up full width of its container */
    max-width: 20rem; /* Limit the maximum width */
    height: auto; /* Maintain aspect ratio */
}

.implexcont {
    left: 0;
    margin-top: -20rem;
    width: 75vw;
    display: flex;
    justify-content: end;
}

.worklist_phone {
    display: none;
}

/* MEDIA QUERIES FOR RESPONSIVENESS */
@media (max-width: 1200px) {
.worklist {
    display: none;
}

.implexcont {
    display: none;
}

.worklist_phone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    margin-bottom: 15%;
    font-size: 7vw; /* Adjusted for better mobile scaling */
}

.accordion-header {
    padding: 15px;
    cursor: pointer;
    margin: 0;
    text-align: center;
    color: #F1F1F1;
    opacity: 50%;
    transition: 0.1s;
}

.accordion-header.active {
    opacity: 1;
    transition: 0.1s;
}

.accordion sup {
    font-size: 4vw; /* Adjust for smaller screens */
    position: absolute;
    transform: rotate(-5deg);
    transform-origin: left bottom;
    white-space: nowrap;
}

.accordion-content {
    display: none; /* Hidden by default */
    overflow: hidden; /* Ensure content doesn't overflow */
    transition: max-height 0.2s ease-out, padding 0.2s ease-out; /* Animation */
    max-height: 0; /* Start with max-height 0 for animation */
    left: 0;
    padding: 0;
    align-items: center;
}

.accordion-content img {
    margin: 0;
    width: 90vw;
    left: 0;
    border-radius: 15px;
    border: 1px solid #F1F1F1;
}


.imgcont {
    display: flex;
    width: 100vw;
    justify-content: center;
}

}
