.eventsAndWorkshops {
    display: flex;
    background-color: orange;
    width: 70vw;
    justify-content: center;
    border-radius: 15px;
    margin: auto;
    opacity: 1;
    transform: translateY(100%);
    animation: slideInUp 5s ease-out forwards;
        }

        @keyframes slideInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

.eventsAndWorkshopsMain {
    display: flex;
    padding: 30px;
     flex-wrap: wrap;
}

.eventsAndWorkshops ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style-type: none;
    background-color: purple;
    padding: 0px 20px;
    min-width: 250px;
    margin 0;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: purple;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
}

.button:hover {
    background-color: darkmagenta;
}

.button a {
    color: white;
    text-decoration: none;
}

.eventsAndWorkshops h2 {
    margin-bottom: 0px;
padding-top: 20px;
    font-size: 20px;
    background-color: purple; 
    Color: white; 
    text-align: center;
    position: relative;
    z-index: 1;
}  

.eventsAndWorkshops p {
    color: purple;
}
.eventsAndWorkshops a {
    color: purple;
}

.eventsAndWorkshops ul li {
    width: 100%;
    border-radius: 4px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 300px;
    background-size: 120% 120%; 
     background-repeat: no-repeat;
    background-position: center;
    padding: 20px 20px;
     position: relative;
    overflow: hidden;
     transition: background-size 0.4s ease;
}

.eventsAndWorkshops ul li .preview {
    position: absolute;
    bottom: -100%;             /* ← startet versteckt unterhalb */
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.92);
    padding: 15px 20px;
    box-sizing: border-box;
    transition: bottom 0.4s ease;
    border-radius: 0 0 4px 4px;
}

.eventsAndWorkshops ul li:hover .preview {
    bottom: 0;                 /* ← schiebt sich rein */
}

.eventsAndWorkshops ul li .preview a {
    font-size: 13px;
    font-weight: bold;
    color: purple;
    text-decoration: none;
}

.eventsAndWorkshops ul li .preview a:hover {
    text-decoration: underline;
}

.eventsAndWorkshops ul li:hover {
    background-size: 140% 140%;
}

 
.eventsAndWorkshops1 li:nth-child(1) {
    background-image: url("../images/Tealeavesdriedandfresh.jpg");
}

.eventsAndWorkshops2 li:nth-child(1) {
    background-image: url("../images/TeaTastingSetUp.png");
}

.eventsAndWorkshops3 li:nth-child(1) {
    background-image: url("../images/Teatasting.jpg");
}



/* .arrow {
    display: flex;
    justify-content: center;
    background-color: tomato;
    color: whitesmoke
    
}

.arrowBox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: inherit;
  background-color: black;
}

.arrowBox a {
    display: block;
    width: 100%;
    color: white;
    text-decoration: none;
    text-align: center;
    line-height: 57px;
    font-size: 16px;
}

.arrowShape {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-top: 50px solid black;
}
 */

@media screen and (max-width: 800px) {

    .eventsAndWorkshops {
        flex-direction: column;
        padding: 10px;
    }

    .eventsAndWorkshopsMain {
        flex-wrap: wrap;
        padding: 0;
    }



    .eventsAndWorkshops li:first-child,
    .eventsAndWorkshops li:nth-child(2),
    .eventsAndWorkshops li:nth-child(3)
    {
        background-size: cover;
        height: auto;
    }
}

