html, body {
    height: 100%;
    overflow-y: visible;
}

.wp-section {
    background: url("../../assets/green-painted-background.jpg") no-repeat center center;
    background-size: cover;
    height: auto;
    padding: 40px 80px 60px;
}

.wp-section h1 {
    font-family: "TS Block Bold", serif;
    font-size: 42px;
    padding-top: 80px;
    color: white;
    text-shadow: 0 0 3px white;
}

.wp-section h3 {
    font-family: "Rubik", serif;
    font-size: 20px;
    color: white;
    text-shadow: 0 0 2px white;
}

.box-container {
    display: flex;
    justify-content: center;
    gap: 15vw;
    padding-top: 60px;
}

.description-box {
    text-align: center;
}

.description-box img {
    width: 250px;
    height: auto;
}

.description-box h4 {
    font-family: "Alegreya Sans SC", serif;
    font-size: 24px;
    text-align: center;
    color: white;
    text-shadow: 0 0 2px white;
}

.description-box p {
    font-family: "Rubik", serif;
    font-size: 16px;
    text-align: center;
    color: white;
    text-shadow: 0 0 1px white;
}

.past-workshops-section {
    position: relative;
    background: url("../../assets/jade-green-painted.jpg") no-repeat center center;
    background-size: cover;
    height: auto;
    padding: 40px 80px;
}

.past-workshops-section h1 {
    font-family: "TS Block Bold", serif;
    font-size: 42px;
    padding: 40px 0 60px;
    color: white;
    text-shadow: 0 0 3px white;
    text-align: center;
}

.workshop {
    display: flex;
    padding-bottom: 60px;
    align-items: center;
}

.workshop-image {
    position: relative;
    width: 45vw;
    height: 20vw;
    flex-shrink: 0;
}

.workshop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid white;
    border-radius: 10px;
    box-shadow: 0 0 25px 3px rgba(255, 255, 255, 0.25);
}

#workshop-1 img {
    object-position: top;
}

#workshop-2 img {
    object-position: top;
}

#workshop-3 img {
    object-position: center;
}

#workshop-4 img {
    object-position: center;
}

.view-slides-button {
    position: absolute;
    bottom: 10px;
    right: 15px;
    border: 3px solid white;
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    font-family: "Rubik", serif;
    font-size: 14px;
}

@media (hover: hover) {
    .view-slides-button {
        transition: 0.5s;
    }

    .view-slides-button:hover {
        cursor: pointer;
        transform: scale(1.05);
    }
}

.workshop-info {
    color: white;
    padding-right: 40px;
    margin-top: -30px;
    font-family: "Rubik", serif;
}

.workshop-info h4 {
    font-family: "Alegreya Sans SC", serif;
    font-weight: bold;
    font-size: 24px;
    text-shadow: 0 0 2px white;
}

.workshop-info p {
    font-size: 16px;
    text-shadow: 0 0 1px white;
    line-height: 1.6;
}

.workshops-container-sm {
    display: none;
}

.timeline-line {
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-45%);
    bottom: 0;
    width: 3px;
    height: 80%;
    background-color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-circle {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #3f683f;
    transition: top 0.5s ease-in-out;
}

/* Small screens */
@media (max-width: 768px) {
    .workshops-container {
        display: none;
    }

    .workshops-container-sm {
        display: block;
    }

    .wp-section {
        padding: 40px;
    }

    .wp-section h1 {
        font-size: 6.5vw;
        text-shadow: 0 0 2px white;
        text-align: center;
    }

    .wp-section h3 {
        font-size: 4vw;
        text-shadow: 0 0 1px white;
        text-align: center;
    }

    .box-container {
        flex-direction: column;
    }

    .description-box img {
        width: 150px;
        height: auto;
    }

    .description-box h4 {
        font-size: 5vw;
        text-shadow: 0 0 2px white;
    }

    .description-box p {
        font-size: 4vw;
        text-shadow: 0 0 1px white;
    }

    .past-workshops-section {
        padding: 20px 50px 40px;
    }

    .past-workshops-section h1 {
        font-size: 6.5vw;
        text-shadow: 0 0 2px white;
        text-align: center;
    }

    .workshops-container-sm {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

    .workshop-sm {
        border: 3px solid white;
        border-radius: 10px;
        color: white;
        font-family: "Rubik", serif;
        padding: 20px 25px;
        box-shadow: 0 0 25px 3px rgba(255, 255, 255, 0.25);
    }

    .workshop-sm h4 {
        font-size: 5vw;
        text-shadow: 0 0 1px white;
    }

    .workshop-sm p {
        font-size: 3.5vw;
        text-shadow: 0 0 1px white;
        padding-bottom: 10px;
        line-height: 1.4;
    }

    .view-slides-button {
        font-size: 3vw;
        position: relative;
        bottom: 0;
        right: 0;
    }

    #workshop-1-sm {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../../assets/workshop/toxic-positivity.jpeg") no-repeat center center;
        background-size: cover;
    }

    #workshop-2-sm {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../../assets/workshop/friendship.jpeg") no-repeat center center;
        background-size: cover;
    }

    #workshop-3-sm {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../../assets/workshop/language.jpeg") no-repeat center center;
        background-size: cover;
    }

    #workshop-4-sm {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../../assets/workshop/masculinity.jpeg") no-repeat center center;
        background-size: cover;
    }
}

@media (orientation: portrait) {
    .timeline-line {
        left: 3.5%;
        height: 86%;
        transform: translateY(-44%);
    }
}