@import url('https://fonts.googleapis.com/css2?family=Forum&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1 {
    font-family: 'Forum', sans-serif;
    font-size: 6rem;
    font-weight: 400;
    color: #fff;
}
h2 {
    font-family: 'Forum', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: #393636;
    margin-bottom: 40px;
}
p {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #393636;
}
img {
    width: 100%;
}
body {
    font-family: 'Inter', sans-serif;
    position: relative;
    background-color: #F2EEE9;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
section {
    width: 100%;
}
.btn {
    background-color: #986b3b;
    border-radius: 10px;
    color: #fff;
    width: 250px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.main {
    background-image: url(./img/main-banner.webp);
    background-size: cover;
    height: 840px;
    max-height: 840px;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
}
.main .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}
.about {
    padding-top: 100px;
}
.about .container {
    display: flex;
    justify-content: space-between;
}
.about-content {
    width: 100%;
    max-width: 570px;
}
.about h2 {
    margin-bottom: 40px;
}
.about p {
    margin-bottom: 40px;
}
.services, .team  {
    padding-bottom: 80px;
}
.services-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.services-item {
    width: 100%;
    max-width: 360px;
    height: 100%;
    max-height: 230px;
    margin: 20px;
    padding: 30px;
    box-shadow: 0px 20px 40px -20px rgba(174, 174, 174,1), 0px 20px 40px 20px rgba(244,240,235,1);
    background-color: rgba(243,238,232,1);
    transition-property: all;
    transition-duration: 500ms;
    transition-delay: 0ms;
    transition-timing-function:
            ease;
    transition-behavior: normal;
}
.services-item:hover {}
.services-item .item-icon {
    width: 100px;
    position: relative;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #986b3b;
    display: flex;
    justify-content: center;
    align-items: center;
}
.services-item .item-icon img {
    width: 100%;
    max-width: 60px;
}
.services-item .item-title {
    font-size: 1.3vw;
    font-family: 'Forum', sans-serif;
    margin-bottom: 20px;
}
.team-box {
    display: flex;
    justify-content: space-between;
}
.team-item {
    display: flex;
    width: 100%;
    max-width: 47%;
    box-shadow: 0px 0px 9px 0px #00000017;
}
.team-item .team-img {
    width: 100%;
    max-width: 50%;
}
.team-item .team-img img {
    width: 100%;
    height: 100%;
}
.team-item .team-data {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.team-data .name {
    font-size: 22px;
    font-family: 'Forum', sans-serif;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom-style: dashed;
    border-bottom-width: 1px;
    border-bottom-color: #2d12001a;
}
footer {
    background-color: #393636;
    padding-bottom: 24px;
    padding-top: 100px;
}
.footer-row {
    display: flex;
}
.footer-col.second {
    max-width: 50%;
    width: 100%;
}
.title-footer {
    font-size: 5vw;
    line-height: 4vw;
    font-family: 'Forum', sans-serif;
    color: #F2EEE9;
    margin-bottom: 40px;
}
.footer-col.right {
    margin-left: 50px;
    margin-top: 11px;
    display: flex;
    flex-wrap: wrap;
}
.f-item {
    position: relative;
    color: #F2EEE9;
    font-size: 1.3vw;
    font-weight: 400;
    padding-left: 65px;
    font-family: 'Forum', sans-serif;
}
.f-item.phone::before {
    content: '';
    position: absolute;
    left: 0;
    top: -10px;
    background-image: url("./img/phone.svg");
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 50px;
    height: 50px;
    background-color: #986b3b;
}
.f-item.pin::before {
    content: '';
    position: absolute;
    left: 0;
    top: -10px;
    background-image: url("./img/pin.svg");
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 50px;
    height: 50px;
    background-color: #986b3b;
}
.f-item.mail::before {
    content: '';
    position: absolute;
    left: 0;
    top: -10px;
    background-image: url("./img/mail.svg");
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 50px;
    height: 50px;
    background-color: #986b3b;
}
.f-item.time::before {
    content: '';
    position: absolute;
    left: 0;
    top: -10px;
    background-image: url("./img/time.svg");
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 50px;
    height: 50px;
    background-color: #986b3b;
}
@media (max-width: 1280px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media (max-width: 960px) {
    h1 {
        font-size: 60px;
    }
    .about .container {
        flex-direction: column;
        gap: 50px;
    }
    .about-content {
        text-align: center;
    }
    .about-content .btn {
        margin: 0 auto;
    }
    .services-item .item-title {
        font-size: 32px;
    }
    .services-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        max-height: 270px;
    }
    .team-box {
        flex-wrap: wrap;
        gap: 50px;
    }
    .team-item {
        min-width: 360px;
    }
    .f-item {
        font-size: 22px;
    }
}
@media (max-width: 600px) {
    .main {
        background-position: right;
    }
    .about {
        padding-top: 40px;
    }
    p {
        font-size: 22px;
    }
    .team-item {
        flex-direction: column;
        min-width: 100%;
    }
    .team-item .team-img {
        max-width: 100%;
    }
    .footer-row {
        flex-direction: column-reverse;
    }
    .footer-col.right {
        margin-left: 0;
        gap: 20px;
    }
    .footer-col.second {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .f-item {
        height: 50px;
    }
}