@import 'fonts.css';


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'MR';
}

.container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.header__row {
    justify-content: space-between;
    align-items: center;
}

.header__nav-link {
    color: #4e4e4e;
    margin-left: 34px;
}

.header__nav-link:hover {
    color: #dd4400;
    transition: 300ms;
}

.logo {
    align-items: center;
    color: #dd4400;
}

.logo img {
    margin-right: 22px;
}

header > img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

header nav {
    padding: 7px 0;
    box-shadow: 0 0 7px 3px rgba(58, 31, 12, 0.35);
    position: relative;
}

main{
    margin-top: 50px;
    margin-bottom: 100px;
}

.main__item {
    max-width: 255px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 15px 0 #eadcd6;
    padding: 50px 21px 26px 34px;
}

.main__item h2 {
    font-size: 18px;
    color: #dd4400;
    font-family: 'MB';
    max-width: 165px;
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

.main__img::before {
    content: '';
    display: block;
    max-width: 180px;
    width: 100%;
    height: 1px;
    background: linear-gradient(to left, transparent, #dd4400, transparent);
    margin-bottom: 30px;
}

.main__img {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main__img img {
    margin-bottom: 24px;
}
.btn {
    max-width: 200px;
    width: 100%;
    background: #dd4400;
    color: white;
    display: flex;
    justify-content: center;
    padding: 12px 0;
    line-height: 13px;
}
.btn:hover {
    background: #5f230a;
    transition: 300ms;
}

.main__row {
    justify-content: space-between;
}

.left {
    max-width: 730px;
    width: 100%;
}
.right {
    max-width: 255px;
    width: 100%;
}
.main__business{
    margin-top: 100px;
    justify-content: space-between;
}

.main__title {
    color: #5e5e5e;
    font-size: 30px;
    font-family: 'MB';
    line-height: 25px;
    margin-bottom: 52px;
}

.left p {
    color: #5e5e5e;
    font-size: 18px;
    line-height: 27px;
}

.left p:nth-of-type(2) {
    margin: 36px 0;
}


.left p:last-of-type {
    margin-bottom: 50px;
}


.main__right-item {
    justify-content: space-between;
    margin-bottom: 15px;
}

.main__right-item a {
    max-width: 160px;
    width: 100%;
    color: #dd4400;
    font-size: 14px;
    text-decoration: underline;
}
.main__right-item a:hover {
    text-decoration: none;
}



footer {
    background: #dd4400;
    padding: 66px 0;
    color: white;
}
footer a {
    color: white;
}

.footer__row {
    justify-content: space-between;
}

.footer__row h2 {
    font-size: 30px;
    margin-bottom: 25px;
    font-weight: 400;
}


.footer__left a {
    font-size: 45px;
    line-height: 32px;
    margin-bottom: 15px;
    display: inline-block;
}

.footer__left p {
    font-size: 18px;
}

.footer__right p {
    font-size: 20px;
    line-height: 15px;
    margin-bottom: 26px;
}
.footer__right a {
    font-size: 20px;
    line-height: 19px;
}

.footer__right{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}


/* Media start */

@media(max-width:1080px) {
    .main__item {
        max-width:40%;
        margin-bottom: 30px;
    }
    .main__row {
        justify-content: space-evenly;
    }
}

@media (max-width:1040px) {
    .left {
        max-width: 100%;
    }
    .right {
        max-width: 100%;
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .main__block {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main__right-item{
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }
}

@media(max-width:860px) {
    .footer__row{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer__right{
        align-items: center;
        order: -1;
        margin-bottom: 20px;
    }
    .footer__left a {
        font-size: 30px;
        line-height: 26px;
    }
    .footer__left h2,
    .footer__right h2 {
        margin-bottom: 15px;
    }
}

@media (max-width: 800px) {
    .header__row{
        flex-direction: column;
    }
    .logo {
        flex-direction: column;
    }
    .logo img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    header ul {
        width: 100%;
        justify-content: center;
        margin: 20px 0;
    }
    .header__nav-link{
        margin: 10px 20px;
        display: block;
    }
    header > img {
        height: 300px;
    }
}

@media(max-width:576px) {
    .main__item {
        max-width: 75%;
    }
    .main__title {
        font-size: 22px;
        text-align: center;
    }
    .left .btn {
        margin: 0 auto;
    }
}


/* Media end */
/* ***************** */