﻿.workshop-main {
    display: flex;
    flex-direction: row;
    position: relative;
    font-family: "Nexa", Sans-serif;
}

.workshop-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px; /* adjust width */
    height: 100%;
    background: linear-gradient(160deg, rgba(87,158,124,1) 0%, rgba(93,176,120,1) 64%, rgba(50,59,137,1) 100%);
    box-shadow: 0 10px 20px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px;
    border-right: 1px solid #ddd;
    z-index: 1;
    clip-path: inset(0 0 0 0);
}

    .workshop-panel h2 {
        writing-mode: vertical-lr; /* or tb-rl */
        display: flex;
        color: #323b89;
        justify-content: center;
        align-items: center;
        height: 100%;
        font-weight: bold;
        transform: scaleY(-1) scaleX(-1);
    }

.container {
    flex: 1;
    margin-left: 100px; /* match fixed-panel width */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.workshop {
    border-radius: 5px;
    flex: 1 1 auto; /* grow, shrink, basis */
    background: linear-gradient(90deg, rgba(93,175,120,1) 0%, rgba(87,158,124,1) 100%);
    margin: 10px;
    color: white;
    min-width: 200px;
    max-width: 400px;
    box-shadow: 0 10px 20px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    position: relative;
}


    .workshop::after {
        content: '';
        display: block;
        position: absolute;
        background-image: url(../images/back_pbs_building.svg);
        background-position: bottom right;
        background-repeat: no-repeat;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        opacity: 0.20;
    }

    .workshop ol {
        margin-top: -17px;
        list-style-type: lower-roman;
    }

        .workshop ol li::marker {
            color: #323b89;
            font-weight:bold;
        }

    .workshop p {
        margin: 15px 15px;
        font-size: clamp(10px, 4vw, 18px);
    }

        .workshop p strong {
            color: #323b89;
        }

.workshop-title {
    margin-top: 0px;
    padding: 10px 5px;
    text-align: center;
    background-color: #323b89;
    border-radius: 5px 5px 0px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    font-size: clamp(16px, 5vw, 24px);
    color: #FFB400;
    font-weight: bold;
}


.workshop-break {
    margin: 20px 0;
    height: 2px;
    border-radius: 50%;
    margin-left: -15px;
    background: linear-gradient(270deg, rgba(50,59,137,1) 0%, rgba(85,85,162,1) 50%, rgba(87,158,126,1) 100%);
}

@media (max-width: 992px) {
    .workshop {
        flex-grow: 0.5; /* grow half */
        flex-shrink: 0.5; /* shrink half */
    }
}

@media (max-width: 768px) {
    .workshop {
        flex-grow: 1; /* grow fully */
        flex-shrink: 1; /* shrink fully */
    }
}

@media (max-width: 576px) {
    .workshop {
        flex-grow: 0; /* don't grow */
        flex-shrink: 1; /* shrink fully */
    }
}
