#actions {
    padding: 96px 24px;
    display: flex;
    gap: 12px 24px;
    flex-wrap: wrap-reverse;
}

.translate {
    background-color: rgb(94 234 212 / 0.1);
    width: fit-content;
    height: 52px;
    color: #ddd;
    border: rgb(94 234 212 / 0.1) solid 2px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.translate > i:first-child {
    font-size: 24px;
    border-radius: 10px 0 0 10px;
    padding: 12px;
    background-color: rgb(94 234 212 / 0.1);
}

.translate > span {
    padding: 12px 18px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
}

.translate-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    left: 0;
    text-align: right;
    border-radius: 12px;
    /* display: none; */
}

/* .translate-menu.active {
    display: inline-block;
} */

.translate-menu > a {
    display: inline-block;
    padding-right: 12px;
    position: absolute;
    left: 0;
    transition: bottom 1s, right 1s, opacity 1s, 0.2s;
    -webkit-transition: bottom 1s, right 1s, opacity 1s, 0.2s;
    -moz-transition: bottom 1s, right 1s, opacity 1s, 0.2s;
    text-decoration: none;
    color: inherit;
}

.translate-menu > a {
    /* right: 12px; */
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: -1;
    cursor: initial;
}

.translate-menu.active > a {
    right: 0;
    bottom: calc(var(--index) * 26px);
    opacity: 1;
    z-index: 1;
    cursor: pointer;
}

@media only screen and (max-width: 1200px) {
    .translate-menu > a {
        top: 54px;
    }
    .translate-menu.active > a {
        bottom: 0;
        top: calc(54px + var(--index) * 26px);
    }
}

.translate-menu.active > a:hover {
    border-radius: 12px;
    background-color: rgb(94 234 212 / 0.1);
}
