/* details {
    margin: 1em 1.2em;
    position: fixed;
    bottom: 0.5em;
    right: 0.5em;
    z-index: 10;
}

summary {
    writing-mode: vertical-lr;
    text-align: center;
    padding: 12px 10px;
    background-color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    outline: none;
    transition: transform 200ms ease-in-out 0s;
    position: relative;
}

summary::before,
summary::after {
    position: absolute;
    left: 0;
    top: 0;
}

summary::before {
    content: "";
}

summary::after {
    content: "iii";
    transform: rotate(-180deg);
    font-size: 2em;
    letter-spacing: -1px;
}

summary:hover {
    transform: scale(1.1);
}

summary::marker {
    font-size: 0;
}

summary::-webkit-details-marker {
    display: none;
}

details[open] .menu {
    animation-name: menuAnim;
}

details[open] summary::before {
    content: "x";
    font-size: 2em;
}

details[open] summary::after {
    content: "";
}

.menu {
    height: auto;
    width: fit-content;
    border-radius: 2em;
    background-color: var(--white);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    animation: closeMenu 300ms ease-in-out forwards;
    position: fixed;
    top: auto;
    right: 1em;
    bottom: 4rem;
    z-index: 11;
}

.menu a {
    padding: 12px 24px;
    margin: 0 16px;
    color: var(--secoColor);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    text-align: center;
    transition: filter 200ms linear 0s;
}

.menu a:nth-of-type(1) {
    padding-top: 24px;
}

.menu a:nth-last-of-type(1) {
    border-bottom: none;
}

.menu a:nth-child(1 + 4n):hover {
    color: red;
}

@keyframes menuAnim {
    0% {
        height: max-content;
    }

    100% {
        height: max-content;
    }
}

@keyframes fadeMe {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 0;
    }
} */

.sewa-type-nav {
    position: sticky;
    top: 4em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 0.5em;
    /* border: 1px solid var(--black); */
    /* border-top: none; */
    margin: 1em auto;
    background: var(--black);
    border-radius: 2em;
    color: var(--white);
    z-index: 3;
    transition: all 0.25s ease-in-out;
}

.sewa-type-nav a {
    position: relative;
    width: max-content;
    padding: 1em;
    transition: all 0.25s ease-in;
    /* background: var(--black); */
    /* color: var(--white); */
    /* border: 1px solid; */
    border-radius: 5em;
}

.sewa-type-nav a:nth-child(1).active {
    background: var(--red);
}

.sewa-type-nav a:nth-child(2).active {
    background: var(--yellow);
}

.sewa-type-nav a:nth-child(3).active {
    background: var(--green);
}

.sewa-type-nav a:nth-child(4).active {
    background: var(--blue);
}

.sewa-type-nav a:nth-child(5).active {
    background: var(--red);
}

.sewa-type-nav a:nth-child(6).active {
    background: var(--yellow);
}

.sewa-type-nav a:nth-child(7).active {
    background: var(--green);
}

.sewa-type-nav a:nth-child(8).active {
    background: var(--blue);
}

.sewa-type-nav a::after {
    content: ' ';
    width: 100%;
    height: 0%;
    border-radius: 5em;
    border: 0px solid var(--beige);
    /* background: var(--red); */
    position: absolute;
    left: 0;
    transition: all 0.1s ease-in;
    bottom: 0;
}

.sewa-type-nav a:hover::after {
    transition: all 0.1s ease-in;
    border: 1px solid var(--beige);
    height: 100%;
    width: 100%;
}

.sewa-type-wrapper {
    /* display: none; */
    overflow: hidden;
}

.sewa-type-nav a.active {
    font-weight: bold;
    /* width: 15em; */
    transition: all 0.25s ease-in;
}

.sewa-type-wrapper h4,
.sewa-type-wrapper h3 {
    position: relative;
    /* font-weight: 900; */
    width: 90%;
    margin: auto;
}

.sewa-type-wrapper h4:after {
    content: ' ';
    width: 100%;
    height: 0.25em;
    /* background: linear-gradient(90deg, #e74141ff, #f1d059ff, #fcf6f6ff, #49bd49ff, #4583f6ff); */
    background: var(--grey);
    position: absolute;
    left: 0;
    bottom: -0.5em;
    border-radius: 2em;
    z-index: -1;
    /* border-bottom: 1px solid var(--red); */
}

.sewa-type-wrapper ul li {
    color: inherit;
    list-style: disc;
    list-style-position: inside;
    margin: 1em 0;
}

@media screen and (max-width: 60em) {
    .sewa-type-nav {
        top: 1em;
    }
    .sewa-type-nav a {
        width: 25%;
        text-align: center;
        margin: 0.5em auto;
    }
    .sewa-types {
        padding-bottom: 10em;
    }
}

@media screen and (max-width: 40em) {
    /* .sewa-type-nav {
        transition: all 0.5s linear;
    } */
    .sewa-type-nav a {
        width: max-content;
    }
}