*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: normal;
}

.open{
	display: flex !important;
}


html{
    scroll-behavior: smooth;
}

body{
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   line-height: normal;
   font-family: "Roboto", sans-serif;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li, a, span, div {
    line-height: normal;
}


h1, h2, h3, h4, h5, h6{
   margin: 0;
   padding: 0;
}

p{
   margin: 0;
   padding: 0;
}

.container{
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.menu_text{
    padding-top: 26px;
    height: 67px;
    background-color: #2F383E;
}

.menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu_info{
    background-color: #1B232B;
    padding-top: 9px;
    padding-bottom: 9px;
}

.menu_info_content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.logo{
    width: 77px;
    height: 77px;
}

.time, .m_c{
    align-items: center;
    display: flex;
    margin-bottom: 10px;
}

.work_time p, .menu_contacts p{
    font-size: 12px;
    font-weight: 400;
}

.time p, .m_c p{
    font-size: 27px;
    font-weight: 400;
    margin-left: 11px;
}

.social_media a{
    margin-right: 16px;

}

.social_media a:last-child {
    margin-right: 0;
}


.menu_items{
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    font-size: 14px;
    font-weight: 400;
    width: 100%;

    margin-left: auto;
    margin-right: auto;
}

.menu_items a{
    color: white;
    text-decoration: none;
}




/*burger*/

.burger{
	display: none;
	position: relative;
	z-index: 50;
	align-items: center;
	justify-content: flex-end;
	width: 30px;
	height: 18px;
}

.burger.active span{
	transform: scale(0);
}


.burger span{
	height: 2px;
	width: 80%;
	transform: scale(1);
	background-color: #0C2232;;
}

.burger::before, .burger::after{
	content: "";
	position: absolute;
	height: 2px;
	width: 100%;
	background-color: #0C2232;
	transition: all 0.3s ease 0s;
}

.burger::before{
	top: 0;
}

.burger.active::before{
	top: 50%;
	transform: rotate(-45deg) translate(0, -50%);
    background: white;
}

.burger::after{
	bottom: 0;
}

.burger.active::after{
	bottom: 50%;
	transform: rotate(45deg) translate(0, 50%);
    background: white;
}

@keyframes burgerAnimation{
	from {opacity: 0;}
	to {opacity: 1;}
}


.first_screen{
    background-image: url(../img/bg1.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 687px;
}

.first_screen_content{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 90px;
    color: white;
}

.first_screen_content h1{
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 38px;

}

.first_screen_content h2{
    font-size: 40px;
    font-weight: 700;
}


.about h2{
    margin-top: 30px;
    margin-bottom: 100px;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
}
.about h2 span{
    color: #DD1326;
}

.about p{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 70px;
    max-width: 1150px;
}

.about a{
    text-decoration: none;
    color: white;
    padding: 19px 59px;
    background-color: #DD1326;
    border-radius: 3px;
}

hr{
    height: 1px;
    width: 270px;
    background-color: #DD1326;
    border: 0;
    margin-right: auto;
    margin-left: auto;

}

.main_work{
    margin-top: 100px;
}

.main_work h2{
    margin-top: 30px;
    margin-bottom: 100px;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
}
.main_work h2 span{
    color: #DD1326;
}

.main_work_items{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.mw_item{
    max-width: 645px;
    padding: 18px 32px;
    background-color: #2F383E;
    color: white;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
}

.consultation{
    margin-top: 65px;
    height: 154px;
    background-color: #F2F2F2;
}

.consultation_content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 50px;
}

.consultation_content h4{
    color: #6A6A6A;
    font-weight: 700;
    font-size: 30px;
}

.consultation_content a{
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 14px;
    background-color: #DD1326;
    padding: 20px 70px;
}

.benefits{
    margin-top: 90px;
    text-align: center;
}

.benefits h2{
    margin-top: 34px;
    margin-bottom: 60px;
    font-weight: 700;
    font-size: 40px;
}

.benefits h2 span{
    color: #DD1326;
}

.benefits_content{
    margin-left: auto;
    margin-right: auto;
    max-width: 1146px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.benefits_item{
    text-align: left;
    max-width: 494px;
    margin-bottom: 35px;
    
}

.benefits_item img{
    margin: 0;
    padding: 0;
}

.benefits_item h3{
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
}

.benefits_item p{
    font-size: 16px;
    font-weight: 400;
}

.team{
    margin-top: 55px;
    text-align: center;
}

.team h2{
    margin-top: 34px;
    margin-bottom: 60px;
    font-weight: 700;
    font-size: 40px;
}

.team h2 span{
    color: #DD1326;
}

.team_items{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.team_item{
    position: relative; /* Устанавливаем относительное позиционирование для родителя */
    display: inline-block; /* Делаем блоки в строку, если нужно */
    width: 100%; /* Устанавливаем ширину контейнера (можно подстроить под ваш дизайн) */
    max-width: 420px; /* Ограничиваем ширину изображения */
    text-align: center;
    margin-bottom: 118px;
}

.team_item img{
    width: 420px;
}


.team_item_text{
    position: absolute; /* Позволяет располагаться поверх изображения */
    bottom: -90px; /* Располагаем текст у нижнего края */
    left: 50%; /* Центрируем текстовый блок по горизонтали */
    transform: translateX(-50%); /* Сдвигаем текстовый блок, чтобы он был точно по центру */
    width: 400px;
    height: 181px;
    background-color: #DD1326;
}

.team_item_text h4{
    padding-top: 20px;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 900;
    color: white;
}

.team_item_text p{
    font-size: 14px;
    font-weight: 400;
    color: white;
}





.menu_info_footer{
    background-color: #1B232B;
    padding-top: 9px;
    padding-bottom: 9px;
}

.menu_info_content_footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.logo_footer{
    width: 77px;
    height: 77px;
}

.time_footer, .m_c_footer{
    align-items: center;
    display: flex;
    margin-bottom: 10px;
}

.work_time_footer p, .menu_contacts_footer p{
    font-size: 12px;
    font-weight: 400;
}

.time_footer p, .m_c_footer p{
    font-size: 27px;
    font-weight: 400;
    margin-left: 11px;
}

.social_media_footer a{
    margin-right: 16px;

}

.social_media_footer a:last-child {
    margin-right: 0;
}
