button {
    width: 195px;
    height: 48px;
    font-size: 16px;
    background: #1A1A1A;
    color: #1A1A1A;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    border: none;
}

button:hover {
    color: #ffffff;
}

button::after {
    content: "";
    background: #4dc3bb;
    position: absolute;
    z-index: -1;
    display: block;
    transition: all 0.3s ease;
    border-radius: inherit; /* Наследуем радиус кнопки */
    transform: scale(1, 1);
    -webkit-transform: scale(1, 1); /* Для Safari */
}

button.red::after {
    content: "";
    background: #efb309;
    position: absolute;
    z-index: -1;
    display: block;
    transition: all 0.3s ease;
    border-radius: inherit; /* Наследуем радиус кнопки */
    transform: scale(1, 1);
    -webkit-transform: scale(1, 1); /* Для Safari */
}

button[class^="grow"]:hover::after {
    transition: all 0.3s ease-out;
}


button.grow_ellipse::after {
    border-radius: 50%;
    left: -1%;
    right: -1%;
    top: -150%;
    bottom: -150%;
    line-height: 8.34em;
    transform: scale(1, 1);
    transition: all 0.3s ease;
}

button.grow_ellipse:hover::after {
    transform: scale(0, 0);
}


.grow_ellipse {
    font-weight: 500;
    color: white;
    background-color: #16a39c;
}

/* Большая кнопка */
button.large {
    width: 248px; /* Большая ширина */
    height: 64px; /* Большая высота */
    font-size: 20px; /* Более крупный шрифт */
}

.btn-primary {
    background-color: #00c3ff;
    border-color: #00c3ff;
    padding: 10px 20px;
    font-size: 18px;
}

.direction-button-container {
    display: inline-block;
    margin: 10px;
}

.direction-button {
    background-color: #63d4c6; /* Цвет фона */
    color: #000; /* Цвет текста */
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 12px; /* Закругленные углы */
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    margin-top: 10px;
    position: relative;
    height: 100%;
    transition: background-color 0.3s ease;
}

.direction-button:hover {
    background-color: transparent; /* Изменение цвета при наведении */
    color: white;
    border: white solid 1px;

    .info-icon {
        color: white;
        border: white solid 1px;
    }
}


.info-icon {
    border: #1A1A1A solid 1px;
    color: #1A1A1A; /* Цвет вопросительного знака */
    border-radius: 50%;
    padding: 5px 7px;
    margin-left: 15px;
    font-size: 16px;
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 12px;
}

.direction-button:focus {
    outline: none;
}

.btn-direction {
    background-color: #9290f3;
    border: none;
    transition: background-color 0.2s ease;
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 10px;
    color: white;
}

.btn-direction:hover {
    background-color: transparent;
    color: white;
    border: white solid 1px;
}

.btn {
    font-size: 18px;
    border-radius: 12px;
}