body {
    height: 100%;
    width: 100%;
    /* overflow: hidden; */
    background-color: #4a5568;
}

* {
    direction: rtl;
    color: white;
    font-family: cairo;
    /* margin: 0; */
    /* padding: 5px; */
    /* box-sizing: border-box; */
}

.ft-shaded {
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.8);
}

.leafContainer {
    margin: 15px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px;
    max-width: 100%;
    box-sizing: border-box;
    /* height: 600px; */
    /* Show vertical scrollbar if needed */
    overflow-y: auto;
    /* Hide horizontal overflow */
    overflow-x: hidden;
}

.leaf-text {
    background: transparent;
    display: inline-block;
    transition: transform 0.3s;
    z-index: 50;
    position: relative;
}

.leaf {
    display: inline-block;
    font-family: cairo;
    font-size: 18px;
    text-align: center;
    width: fit-content;
    position: relative;
    cursor: pointer;
    min-width: 150px;
    height: 70px;
    padding: 10px;
    border: 1.5px solid rgb(255, 255, 255);
    border-bottom-left-radius: 50px;
    border-top-right-radius: 50px;
    background: linear-gradient( 135deg, #557f6c 0%, rgb(100, 165, 134) 100%);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s;
    z-index: 0;
    scale: 0.9;
}

.leaf::before {
    content: "";
    position: absolute;
    top: 56%;
    left: 22%;
    width: 60%;
    height: 2px;
    background-color: #36463f;
    z-index: 0;
}

.leaf::after {
    content: "";
    position: absolute;
    left: 4px;
    bottom: 28px;
    width: 30px;
    height: 30px;
    border-bottom-left-radius: 100%;
    border: 2px solid #36463f;
    border-top: none;
    border-right: none;
    border-left: none;
    pointer-events: none;
    z-index: 0;
}

.arc-right {
    position: absolute;
    right: 4px;
    bottom: 5px;
    width: 25px;
    height: 25px;
    border-top-right-radius: 100%;
    border: 2px solid #36463f;
    border-bottom: none;
    border-right: none;
    border-left: none;
    pointer-events: none;
    z-index: 0;
    background: transparent;
}

.leaf:hover {
    /* transform: scaleX(-1); */
    transform: scale(1.2);
    transition: transform 0.3s;
    background: linear-gradient(135deg, #b26c20 0%, #f6a145 100%);
}

.leaf:hover .leaf-text {
    /* transform: scaleX(-1); */
    display: inline-block;
    transition: transform 0.3s;
}

.leaf a {
    color: inherit;
    text-decoration: none;
}