
.hero-image {
    position: relative; /* чтобы overlay и текст были внутри */
    width: 100%;
    overflow: hidden; /* Обрезает выходящие за границы части */
    margin-top: 0; /* Можно добавить отступ, если нужно */
}
#he {
    color: rgb(0, 0, 0);
    font-size: 50px;
    text-shadow: 2px 2px 4px rgb(255, 255, 255)
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block; /* Убирает лишние отступы */
}
.hero-image::before {
    content: "";
    position: absolute;
    inset: 0; /* равные отступы сверху/снизу/слева/справа */
    background: linear-gradient(to top, rgba(255, 255, 255, 0.6), rgba(0,0,0,0));
    z-index: 1; /* градиент над картинкой */
}
.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0);
    font-family: Arial, Helvetica, sans-serif;
    background: rgba(137, 181, 248, 0.644); /* полупрозрачный фон */
    padding: 10px 20px; 
    border-radius: 8px; 
    display: inline-block;
}
p {
    color: rgb(87, 84, 75);
    font-size: 24px;
    border: 2px;
    width: 80%;
    font-family: Arial, Helvetica, sans-serif;
}
h1 {
    font-size: 50px;
}
img#mo {
    display: flex;
    justify-content: flex-end;
}
#lo {
    float: right;
}
img#num11 {
    width: 433px;
    height: 243px;
}
div#lol {
    display: flex;
    flex-direction: row;
    margin-left: 300px;
}
div#num1 {
    display: flex;
    flex-direction: row;
}
div#tri {
    width: 1100px;
    padding-top: 30px;
    padding-bottom: 30px;
}
.card-text {
    font-size: small;
}
img#fin {
    width: 973px;
    height: 380px;
}
img#chto {
    width: 1000px;
    height: 3px;
}
img#num12 {
    width: 525px;
    height: 500px;
}
div#fo {
    display: flex;
    flex-direction: row;
}
h3 {
    padding-right: 10px;
}
div#foo {
    display: flex;
    justify-content: space-around;
}
footer {
    background-color: rgb(225, 225, 255);
}
div#read {
    display: flex;
    flex-direction: row;
}
button#button {
    margin-left: 980px;
}
button#kn {
    position: fixed;
	right: 45px;
	bottom: 45px;
    z-index: 3;
}
footer {
    margin-top: 150px;
}