html, body {
    margin: 0;
    padding: 0;
    font-family: 'Adamina', serif;
}

body {
    background-color: #f8f0e3;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px;
    overflow-y: auto;
    font-family: 'Adamina', serif;
}

.container-index {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

h3 {
    color: #58815e;
    margin-bottom: 30px;
    font-size: 2.0em;
    font-family: 'Adamina', serif;
    font-weight: bold;
}

.mb-3 {
    margin-bottom: 25px !important;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1em;
}

.form-control:focus {
    border-color: #58815e;
    box-shadow: 0 0 0 0.2rem rgba(88, 129, 94, 0.25);
}

.btn-outline-primary {
    border-color: #a3b18a;
    color: #a3b18a;
    border-radius: 8px;
    font-family: 'Adamina', serif;
    margin: 0 5px;
}

.btn-outline-primary:hover, .btn-outline-primary.active {
    background-color: #a3b18a;
    color: white;
}

.form-label {
    color: #343a40;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    text-align: left;
}

.btn-custom {
    background-color: #58815e;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Adamina', serif;
}

.btn-custom:hover {
    background-color: #3a5a40;
}

.authors-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e9c46a;
    color: #343a40;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.authors-button:hover {
    background-color: #f4a261;
}
.lang-btn-ravshon {
    border: 1px solid #f87744;
    background-color: #ffa07a;
    font-family: 'Adamina', serif;
    color: white;
    border-radius: 10px;
    margin: 0 5px;
    padding: 8px 15px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    text-decoration: none;
    width: 80px;
}

.lang-btn-ravshon:hover {
    background-color: #FF7F50;
    cursor: pointer;
}

.lang-btn-ravshon.active {
    background-color: #FF6347;
    color: white;
}

@media (max-width: 768px) {
    .gender-option img {
        width: 90px;
        height: 90px;
    }
    body {
        height: auto;
        overflow-y: auto;
        overflow-x: hidden; /* Убираем горизонтальный скролл */
        margin: 0px;
    }

    .container-index {
        max-width: 100%;
        margin-top: 25px;
        margin-bottom: 25px;
    }
}