:root {
    --button-bg: #a3dada;
    --button-bg-hover: #a3dadada;
    --button-text: #5f6f6f;
    --button-radius: 15px;
    --button-transition: background-color 0.3s ease, color 0.3s ease;
}

button {
    text-decoration: none;
    display: inline-block;
    margin: 5px 0;
    white-space: nowrap;
    text-align: center;
    border-radius: var(--button-radius);
    background-color: var(--button-bg);
    color: var(--button-text);
    cursor: pointer;
    transition: var(--button-transition);
    border: none;
}

.others-img {
    height: 60px;
}

.a-button img {
    width: 25px;
    margin-right: 5px;
}

.others-img-s {
    height: 50px;
    margin: 5px;
}

.others-button,
.ooe-button,
.peooe-button {
    text-decoration: none;
    padding: 8px 12px;
    font-size: 1rem;
    font-weight: 600;
    min-width: 160px;
    width: auto;
    display: inline-block;
    margin: 10px;
    white-space: nowrap;
    text-align: center;
    border-radius: var(--button-radius);
    cursor: pointer;
    transition: var(--button-transition);
    border: none;
}

.others-button {
    background-color: var(--button-bg);
    color: var(--button-text);
}

.phonoa-button {
    background-color: #d63384;
    color: #ffe28c;
}

.staria-button {
    background-color: #323278;
    color: #e6d296;
}

.ooe-button {
    background-color: #5fa3a3;
    color: white;
}

.peooe-button {
    background-color: #a3dada;
    color: var(--button-text);
}

.duf-button {
    background-color: rgb(160, 140, 120);
    color: white;
}

.ncr-button {
    background-color: #0766be;
    color: white;
}

.peooe-button:hover,
.ooe-button:hover,
.others-button:hover {
    opacity: 0.8;
    transform: translateY(1px);
}

.eo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    background: var(--bg);
    border-radius: 15px;
    border: 2px solid #a3dadaa3;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.eo-button:hover {
    opacity: 0.8;
    background-color: #5fa3a3a3;
    color: black;
    transform: translateY(1px);
}

.h-button {
    position: sticky;
    bottom: 15px;
    margin: 10px;
    padding: 4px 6px 4px 6px;
    z-index: 1100;
}

@media (max-width: 720px) {
    .others-div>p {
        display: grid;
        margin: 5px;
        grid-template-columns: repeat(auto-fit, 124px);
        gap: 20px;
        /* justify-content: center; */
        justify-items: start;
        align-items: start;
    }

    .others-div>p>a {
        margin: 0;
    }

    /* body {
        margin: 0;
        max-width: 1200px;
        padding: 10px;
        box-shadow: none;
        border-radius: 0;
        font-size: 1rem;
    } */

    .language-selector {
        flex-direction: column;
        align-items: flex-start;
    }

    html:lang(en) .peooe-button,
    html:lang(en) .ooe-button,
    html:lang(en) .duf-button,
    html:lang(en) .others-button,
    html:lang(en) .staria-button,
    html:lang(en) .phonoa-button {
        font-size: 0.58rem;
    }

    .peooe-button,
    .ooe-button,
    .duf-button,
    .others-button,
    .ncr-button,
    .staria-button,
    .phonoa-button {
        font-size: 0.7rem;
        width: 110px;
        min-width: 0;
        height: fit-content;
    }

    .tbei-button img {
        max-width: 100%;
        height: auto;
        margin: 14px 0 14px 0;
    }
}