:root {
    --1: #3E4734;
}

body {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Avenir', sans-serif;
    background-color: #FDF2E6;
    color: var(--1);
}

.elem {
    flex: 0 0 40%;
    width: 40%;
    max-width: 500px;
}

.elem img {
    width: 100%;
    height: auto;
}

.text-section {
    max-width: 1140px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.text-section .logo {
    text-align: center;
    width: 100%;
    padding-bottom: 60px;
}

.text-section .logo img {
    width: 100%;
    max-width: 300px;
    margin-left: 0;
    margin-right: auto;
}

.text-section .block {
    flex: 0 0 60%;
}

.text-section .text {
    padding-right: 120px;
}

.text-section .text h1 {
    font-family: 'Colgent', serif;
    font-weight: 300;
    font-size: 60px;
    color: var(--1);
    margin-top: 0;
}

.text-section .text p {
    font-weight: 400;
    line-height: 2;
}

.text-section .text a.btn {
    background-color: var(--1);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 24px;
    display: table;
    margin-left: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    border: none;
    transition: 0.4s;
    margin-top: 40px;
}

.text-section .text a.btn:hover {
    background-color: #FADBCC;
    color: var(--1);
}

.bg {
    position: relative;
    height: 600px;
    width: 100%;
}

.bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacts-section {
    max-width: 1140px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding: 80px 15px;
}

.contacts-section h2 {
    font-family: 'Colgent', serif;
    font-weight: 300;
    font-size: 60px;
    color: var(--1);
    text-align: center;
}

.contacts-section h3 {
    font-weight: 300;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    line-height: 1.5;
}

.contacts-section .contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.contacts-section .contacts .col {
    padding: 0 25px;
}

.contacts-section .contacts .col:first-child {
    border-right: 2px solid #FADBCC;
}

.contacts-section .contacts .col span {
    line-height: 1.4;
}

.contacts-section .contacts .col .icons .icon {
    margin: 20px 0px;
    display: flex;
}

.contacts-section .contacts .col .icons .icon a {
    display: flex;
    align-items: center;
    color: var(--1);
    text-decoration: none;
}

.contacts-section .contacts .col .icons .icon a img {
    width: 24px;
    max-height: 24px;
    margin-right: 10px;
}

.footer {
    background-color: var(--1);
}

.footer span {
    color: #fff;
    display: block;
    text-align: center;
    padding: 10px 0px;
    font-size: 12px;
    line-height: 1.4;
}

.footer a {
    text-decoration: underline;
    color: #fff;
}

@media screen and (max-width: 1024px) {
    .text-section .logo {
        padding-bottom: 40px;
    }
    
    .text-section .text {
        padding-right: 90px;
    }
}

@media screen and (max-width: 767px) {
    .text-section .logo {
        text-align: center;
    }
    
    .text-section .logo img {
        max-width: 250px;
    }
    
    .text-section .text {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
    }
    
    .text-section {
        padding: 0 20px 40px;
    }
    
    .text-section .text h1 {
        font-size: 42px;
    }
    
    .text-section .block {
        flex: 0 0 100%;
    }
    
    .elem {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin-top: 60px;
    }
    
    .bg {
        display: none;
    }
    
    .contacts-section {
        padding: 0 20px 20px 20px;
    }
    
    .contacts-section .text {
        border-top: 2px solid;
        padding-top: 40px;
    }
    
    .contacts-section h2 {
        margin-top: 0;
    }
    
    .contacts-section h2 {
        font-size: 42px;
        text-align: left;
    }
    
    .contacts-section h3 {
        text-align: left;
        font-size: 18px;
    }
    
    .contacts-section .contacts {
        flex-wrap: wrap;
    }
    
    .contacts-section .contacts .col {
        padding: 0;
        flex: 0 0 100%;
    }
    
    .contacts-section .contacts .col:first-child {
        border: none;
    }
    
    .contacts-section .contacts .col:first-child .icons .icon:last-child {
        margin-bottom: 0;
    }
    
    .footer {
        padding: 10px;
    }
    
    .footer span {
        line-height: 1.7;
    }
}