.listWorkshops {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    
    width: 90vw;
    height: fit-content;
    padding: 5vw;
    /* margin-left: 2vw; */
    /* margin-right: 5vw; */

    overflow: hidden;
}
.visible {
    visibility: visible !important;
}
.listedWorkshop {
    display: flex;
    justify-content: center;
    
    width: 100%;
    height: 60vh;

    min-height: 250px;
    height: calc(max(fit-content, 400px));
    max-height: calc(max(fit-content, 400px));
    max-height: fit-content;

    padding-bottom: max(4vh, 20px);
    /* margin-bottom: 2%; */

    border-left: 2px;
    border-right: 2px;
    border-style:dashed;
    border-color: black;
}

.listedWorkshop button {
    border-radius: 5px;
}

.listedWorkshop img {
    border-radius: 19px;
}

.listedWorkshop:first-child {
    border-top: 2px;
}

.listedWorkshop:last-child {
    border-bottom: 2px;
    padding-bottom: 0vw;
}

.workshopPerks {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 56%;
    height: auto;
    margin: 0px;
    padding: 0px;
    margin: 2%;
    margin-bottom: 0px;
    overflow: hidden;
}

.workshopPerks ul {
    display: flex;
    flex-grow: 1;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0px;
    margin: 0px;
    top: 0px;

    height: 80%;
    max-height: 80%;
    overflow-y: scroll;
    text-wrap: balance;
}

/* .workshopPerks ul:last-child {
    padding-bottom: 5%;
} */

.workshopPerks h1 {
    flex: 100%;
    font-size: 2.8vw;
    font-weight: bold;
    font-family: Appl_font_bold;
    padding: 15px;
    padding-bottom: 10px;
    margin: 0px;
    max-height: fit-content;
    text-decoration: underline;
    text-decoration-color: black;
    text-decoration-thickness: 2px;
}

.workshopPerks ul li {
    justify-content: flex-start;
    font-family: Appl_font;
    text-wrap: balance;
    text-align: justify;
    letter-spacing: 0.3px;
    font-size: max(1.6vw, 16px);
    width: 85%;
}

.indentedPerk {
    list-style: square;
    margin-left: 6vw;
    margin-bottom: 1.5vh;
}

.standardPerk {
    list-style-type: disc;
    margin-left: 4vw;
    margin-bottom: 3vh;
}

.informativeTextPerks {
    position: absolute;
    bottom: 10px;
    right: 0px;
    padding: 4px;
    margin: 0px;
    text-align: right;

    background-color: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;

    border-radius: 4px;
    visibility: hidden;
    overflow: hidden;
    transition: .2s ease;
}


.workshopBookME {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 36%;
    max-width: 36%;
    height: max(fit-content, 100%);
    margin: 0px;
    padding: 0px;
    margin: 2%;
    margin-left: 0px;
    margin-bottom: 0px;
}

.workshopBookME img {
    width: auto;
    height: 40%;
    object-fit: contain;
    margin-top: 5%;
}

.workshopBookME p {
    text-align: center;
    margin-left: 5%;
    margin-right: 5%;
    color: black;
    min-height:20px;
    border: none;
    margin-bottom: 5%;
    transition: .2s ease;
    font-family: Appl_font;
    font-size: 16px;
    flex: 100%;
}

.workshopBookME button {
    min-height:30px;
    margin-bottom: 5%;
    padding: 2% 9%;
    
    color: white;
    background-color: black;
    border: none;

    transition: .2s ease;
    font-family: Appl_font;
    text-align: center;
    font-size: 12px;
    flex: 100%;
    max-width: 50%;
    min-width: fit-content;
}

.workshopBookME button:hover {
    background-color: rgb(33, 33, 33);
    cursor: pointer; 
}

.workshopBookME h1 {
    width: 100%;
    font-size: 3.5vh;
    font-size: max(20px, min(3.5vh, 150px)) !important; /* Browsers that do not support the "clamp ()" function will take this value. */
    font-size: clamp(20px, 3.5vh, 150px) !important;
    font-family: Appl_font_medium;

    margin: 5%;
    text-align: center;
    text-decoration-style: wavy;
    text-decoration: underline;
    text-decoration-color: black;
    text-decoration-thickness: 2px;
    flex: 100%;
}
@media screen and (max-width: 820px) {
    /* listedWorkshop's resizing */
    .listedWorkshop {
        flex-wrap: wrap;
        height: fit-content;
    }
    /* listedWorkshop's resizing end */
    /* workshop's both parts resizing */
    .workshopBookME, .workshopPerks {
        display: flex;
        flex: 100%;
        width: 100%;
        max-width: 100%;
        min-height: 270px;
    }
    /* workshop's both parts resizing end */
    /* workshop's bookMe resizing */
    .workshopBookME {
        max-height: 55vh;
    }
    .workshopBookME h1 {
        width: 100%;
    }
    /* workshop's bookMe resizing end */
    /* workshop's perks resizing */
    .workshopPerks h1 {
        font-size: 18px;
        width: 100%;
    }
    .workshopPerks ul li {
        font-size: 16px;
        padding-left: 30px;
        width: unset;
    }
    .workshopPerks {
        max-height: 35vh;
    }
    /* workshop's perks resizing end */
    .indentedPerk {
        padding-left: 10px;
    }
}
@media screen  and (max-height:770px) {
    .workshopBookME {
        min-height: 400px;
    }
    .workshopPerks ul li {
        max-width: 80%;
    }
}

@media screen and (max-width: 350px) {
    .workshopPerks h1 {
        font-size: 16px;
        width: 100%;
    }
    .workshopPerks ul li {
        font-size: 16px;
        margin-left: 20px;
        max-width: 75%;
    }
    .indentedPerk {
        transform: translateX(10px);
    }
}
