.youth-work-container {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid white;   /* base border */
    border-radius: 10px;
    width: 80%; /*TODO - Check global width*/
    margin: auto;
    flex-direction: row;
    background: rgba(0, 0, 0, 0.1);
    justify-content: space-evenly;
    position: relative;
}

.youth-work-title {
    position: relative;
    font-size: clamp(3em, 10vw, 10em); /* Minimum 2em, grows with viewport width, max 10em */
    font-weight: bold;
    color: white;
    margin-bottom: 0;

}

/* Subtitle */
.youth-work-second-title {
    position: relative;
    font-size: clamp(2em, 4vw, 4em); /* Minimum 2em, grows with viewport width, max 10em */
    font-weight: bold;
    color: #fff;
    background: none; /* no background */
    z-index: 3;
    margin-top: 0;
    margin-bottom: 5px;
}

.youth-work-left {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    width: 35%;
    text-align: justify;
    color: white;
    height: 100%;
    padding: 20px;
}


.youth-work-left-title {
    font-size: 2rem;
}

.youth-work-left-images {
    display: flex;
    width: 100%;
    gap: 20px;
}

.youth-work-right {
    width: 50%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-image{
    width: 40px;
    height: 40px;
    user-select: none;
}

/* Image sizing */
.image-slide img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.image-pagination {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.no-works {
    font-size: 1.8rem;
    color: #fff;
    padding: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .our-work-title {
        font-size: 2.5rem;
    }
    .youth-work-container {
        flex-direction: column;
        align-items: center;
    }

    .youth-work-right{
        width: 80%;
    }

    .youth-work-left {
        width: 80%;
    }
}

@media screen and (max-width: 425px) {
    .work-card {
        width: 300px;
        height: 300px;
    }

    .work-card-title {
        font-size: 1.2rem;
        padding: 15px 10px 10px;
    }

    .work-card-back h2 {
        font-size: 1.5rem;
        padding-bottom: 8px;
    }

    .work-card-back p {
        font-size: 0.9rem;
        padding: 8px;
    }

    .work-gallery {
        gap: 20px;
        padding: 15px;
    }
}

@media screen and (max-width: 400px) {
    .our-work-title {
        font-size: 2rem;
    }
}