body{
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

.header {
    background-image: url(C:/Users/Abzalkhan/Desktop/school/image/bg14.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 20px;
}

.header-logo img {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin-left: 200px;
}

.nav {
    display: flex;
    margin-top: 20px;
    margin-left: auto; /* Move .nav to the right */
}

.header-line{
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}


.header-button{
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 25px;
    
    margin-right: 25px;

    transition: color 0.3s linear;

    display: block;
    margin-bottom: 10px;
}

.header-logo{
    position: relative;
    right: 200px;
}

.nav-item:hover{
    color: red;
}

.header-button:hover{
    color: red; 
}

.block{
    color: #fff;
    position: relative;
    top: 100px;
    margin-left: 10px;
    font-size: 22px;
    text-align: justify;
    width: 100%;
    max-width: 530px;
    height: auto;
}
.block1{
    position: relative;
    margin-left: 1350px;
    margin-top: -300px;
    color: #fff;
    font-size: 25px;
}
.block1 img {
    width: 100%;
    max-width: 530px;
    height: auto;
}

/* Стили для блоков (секций) */
.section {
    padding: 20px;
    border: 1px solid #ccc;
    margin-top: 20px;
    text-align: left;
}

.section img {
    width: 100%;
    max-width: 400px;
    height: 250px;
}

/* Стили для заголовков блоков */
.section h2 {
    font-size: 24px;
    color: #333;
}
.text-left{
    text-align: left;
}

.header2{

    background-color: rgb(87, 87, 214);
    height: 149.5vh;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact{
    background-color: rgb(87, 87, 214);
    background-repeat: no-repeat;
    background-size: cover;
    color: black;
}
.custom-heading {
    position: relative;
}

.custom-heading::after {
    content: "";
    display: block;
    width: 100%; /* Ширина линии равна ширине заголовка */
    height: 1px; /* Толщина линии */
    background-color: #000; /* Цвет линии */
    position: absolute;
    bottom: -10px; /* Расстояние между линией и текстом заголовка */
    left: 0; /* Выравнивание линии по левому краю заголовка */
}

.section-mergen{
    display: flex;
}
.section-item img{
    height: 250;
    width: 450px;
}
.content{
    margin-top: 60px;
    margin-left: 30px;
    color: #fff;
    font-size: 20px;
}

.section-olimp{
    display: flex;
}

.section-sport{
    display: flex;
}

.section-media{
    display: flex;
}