*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

.container{
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
}

body{
    font-family: 'RB';
}

nav{
    background: #E5E5E5;
}

.header-top{
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box-left{
    display: flex;
    flex-direction: column;
    align-items: center;
}

header nav ul{
    display: flex;
}

header nav ul a{
    font-size: 18px;
    line-height: 21px;
    color: #3A3838;
    margin: 15px;
    transition: 300ms;
}

header nav ul a:hover{
    color: #EF4423;
}

.header-content{
    display: flex;
    align-items: center;
}

.header-content img{
    width: 100%;
}

.item{
    max-width: 25%;
    width: 100%;
    background: #B71C1C;
}

.img{
    width: 100%;
    display: block;
}

.item h2{
    font-size: 19px;
    line-height: 22px;
    color: #FFFFFF;
    margin: 15px 15px 0 15px;
    margin-bottom: 0;
}

.item p{
    font-size: 16px;
    font-family: 'RR';
    line-height: 19px;
    color: #EBEBEB;
    margin: 10px 15px;
}

.item2{
    background: #6A1B9A;
}

.item3{
    background: #303F9F;
}

.item4{
    background: #00695C;
}

.main-top{
    display: flex;
}

.main-bottom{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}


.main-bottom h1{
    font-size: 22px;
    line-height: 26px;
    color: #3A3838;
    margin-bottom: 40px;
}

.main__bottom-box{
    display: flex;
    background: #EDEDED;
}

.main-right h2{
    font-size: 22px;
    line-height: 26px;
    color: #3A3838;
}

.main-right p{
    font-size: 18px;
    line-height: 21px;
    color: #686868;
    font-family: 'RR';
    max-width: 540px;
    width: 100%;
}

.main-left img{
    width: 100%;
}

.main-right{
    padding: 30px;
}




.main-bottom{
    margin-bottom: 50px;
}

footer{
    background: #3A3838;
}

.footer-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px;
}

.footer-left p{
    font-size: 18px;
    line-height: 21px;
    color: #FFFFFF;
    margin-top: 5px;
}

.footer-right ul{
    display: flex;
}

.footer-right ul a{
    font-size: 18px;
    line-height: 21px;
    color: #FFFFFF;
    padding: 15px;
    transition: 300ms;
    display: block;
}

.footer-right ul a:hover{
    color: #EF4423;
}

/* Media start */

@media(max-width:1200px){
    .header-top{
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }
    .header__list{
        flex-wrap: wrap !important;
        justify-content: center !important;
        row-gap: 10px !important;
    }
    .item{
        max-width: 50%;
        width: 100%;
    }
    .main-top{
        flex-wrap: wrap;
    }
    .footer-box{
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }
    .footer-right ul{
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px;
    }
}

@media(max-width:500px){
    .main-top{
        row-gap: 10px;
    }
    .item{
        max-width: none;
    }
    .main__bottom-box{
        flex-direction: column;
        align-items: center;
    }
}
/* Media end */