* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

.about-page {
    width: 100%;
}

.block {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.first,
.second {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    width: 100%;
    margin-top: 50px;
}

.temporary {
    flex: 1;
    width: 540px;
    height: 300px;
    overflow: hidden;
}

.temporary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.first__texts,
.second__texts,
.temporary {
    flex: 1;
    min-width: 0;
}

.first__title {
    font-size: 24px;
    margin-bottom: 8px;
}

.first__secondtitle {
    color: #c87065;
    font-size: 17px;
    margin-bottom: 16px;
}

.first__text {
    font-size: 17px;
    margin-bottom: 15px;
    text-align: justify;
}

.largebox {
    width: 100%;
    height: 342px;
    background-image: url("/static/images/cover.jpg");
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.largebox__title {
    color: #fff;
    font-size: 46px;
    text-align: center;
}

@media (max-width: 1024px) {
    .first,
    .second {
        gap: 30px;
    }

    .first__texts,
    .second__texts,
    .temporary {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .first,
    .second {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .first__texts,
    .second__texts,
    .temporary {
        width: 100%;
    }

    .largebox {
        height: 250px;
    }

    .largebox__title {
        font-size: 32px;
    }
}