.mgc-container {
    margin: 20px auto;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.mgc-container {
    text-align: center;
    font-family: 'EB Garamond', 'Georgia', serif;
    min-height: 350px;
}
/* Кнопка */
.mgc-btn-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 235px;
    height: 65px;
    margin: 10px auto 0;
    background-color: #f1e7d4;
    background-image: url('/wp-content/themes/gadanie-online/assets/images/knopka.webp');
    background-size: cover;
    background-position: center;
    color: #4a3828;
    font-size: 17px;
    font-weight: 400;
    font-family: 'EB Garamond', 'Georgia', serif;
    border: none;
    border-radius: 0;
    padding: 0 0 4px 0;
    outline: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.mgc-btn-2:hover {
    transform: translateY(-2px);
}

.mgc-btn-2:active,
.mgc-btn-2.mgc-btn-2--active {
    background-image: url('/wp-content/themes/gadanie-online/assets/images/knopka-1.webp');
    transform: translateY(2px);
}
.mgc-answer {
    display: none;
    opacity: 1;
    transition: opacity 1s linear;
}
#mgc-reload {
    display: none;
}
.mgc-h__hide {
    opacity: 0;
}
.mgc-answer {    
    padding: 20px 0;
    font-size: 1em;
}
.mgc-answer__title {    
    font-size: larger;
    font-weight: 600;
}

.mgc-wrap {
    margin: auto;
    width: 100%;
}
/* Картинка с табличками — до 400 px в ширину (на телефоне — по ширине экрана) */
.mgc-egypt__main {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
}
.mgc-triangle {
    display: inline-block;
    opacity: 0.8;
    cursor: pointer;
    stroke: #646464;
    transition: opacity 1s linear, fill 0.2s ease;
}
.mgc-triangle__up {
    fill: #9d7633;
}
.mgc-triangle__down {
    fill: #ea9933;
}

.mgc-triangle__group {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    transition: opacity 1s linear, transform 1s ease;
}
.mgc-triangle__rotate {
    transform: scale(-1, 1);
}
.mgc-triangle__rotate>.mgc-triangle {
    transition: fill 0.5s 0.3s linear, opacity 0.5s 0.3s linear;
    fill: #f8dfb3;
    opacity: 1;
}
.mgc-egypt__main ellipse {
    fill: burlywood;
    opacity: 0;
    cursor: pointer;
    stroke: #646464;
}
.mgc-egypt__main .mgc-triangle__rotate > ellipse {
    transition: opacity 0.5s 0.3s linear;
    opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
    .mgc-triangle__group:not(.mgc-triangle__rotate):hover > .mgc-triangle__up {
        fill: #b48a45;
    }
    .mgc-triangle__group:not(.mgc-triangle__rotate):hover > .mgc-triangle__down {
        fill: #f2ad57;
    }
}
.mgc-triangle__group:focus {
    outline: none;
}
.mgc-triangle__group:focus-visible > .mgc-triangle {
    stroke: #fff;
    stroke-width: 3;
}
.mgc-answer__num {
    font-weight: 600;
    transition: opacity 0.5s 1s linear;
}

@media only screen and (max-width:600px) {
    .mgc-answer__title {
        line-height: 1.2;
    }
}