.header-wrapper {position: fixed;top: 0;left: 0;width: 100%}
.about-wrapper {margin-top: 113px}

.header-text-content {
    margin: 0 auto;
    max-width: 762px;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-text-content h1 {
    font-family: Matura MT Script Capitals;
    font-weight: 400;
    font-size: 56px;
    line-height: 110.00000000000001%;
    text-align: center;
    color: #C50009;
    margin-bottom: 24px;
}
.header-text-content p {
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    color: #3F3A49;
    margin-bottom: 24px;
}
.header-text-content a {
    padding: 11px 24px;
    border-radius: 8px;
    line-height: 100%;
    text-align: center;
    color: #FFFFFF;
    background: #C50009;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
}

.img-content {
    height: 800px;
    background-size: cover;
    background-position: center 30%;
}
.team-content {
    padding: 140px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-content h1 {
    font-family: Matura MT Script Capitals;
    font-weight: 400;
    font-size: 48px;
    line-height: 110.00000000000001%;
    color: #C50009;
    margin-bottom: 24px;
    text-align: center;
}

.team-content p {
    max-width: 804px;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    color: #3F3A49;
    margin-bottom: 40px;
}

.team-content .team-items {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.team-content .team-items .team-item {
    height: auto;
    width: calc(100% / 3 - 16px);
    background: #FFFFFF;
    border-radius: 8px;
}
.team-content .team-items .team-item .team-img-content {
    margin-bottom: 16px;
}
.team-content .team-items .team-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.team-content .team-items .team-item .team-text-content .title{
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    margin-bottom: 6px;
    color: #3F3A49;
}
.team-content .team-items .team-item .team-text-content .position{
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
    color: #6B748D;
}

@media (max-width: 1280px) {
    .about-wrapper {
        margin-top: 96px;
    }
    .team-content {
        padding: 80px 16px;
    }
}
@media (max-width: 1024px) {
    .about-wrapper {
        margin-top: 104px;
    }
    .team-content {
        padding: 80px 16px;
    }
    .team-content .team-items .team-item {
        width: calc(100% / 2 - 16px);
    }
}
@media (max-width: 769px) {
    .header-text-content {
        padding: 80px 16px;
    }
    .header-text-content p {
        font-weight: 400;
        font-size: 16px;
        line-height: 120%;
    }
    .header-text-content a {
        width: 100%;
    }
    .about-wrapper {
        margin-top: 77px;
    }
    .img-content {
        height: 300px;
        background-position: center 40%;
    }
    .team-content {
        padding: 80px 16px;
    }
    .team-content .team-items .team-item {
        width: 100%;
    }
}
