header{
    background-color: #795131;
}
.nav{
    position: relative;
    left: 0;
    transform: translateX(0);
}
.contact{
    width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.contact img{
    width: 400px;
    border-radius: 25px;
}
.contact .right{
    width: 670px;
}
.contact h1{
    font-size: 65px;
    font-family: 'Times New Roman', Times, serif;
    color: #D1A581;
}
.contact ul{
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}
.contact li{
    width: 320px;
}
.contact li p{
    margin-bottom: 16px;
    font-size: 14px;
    color: #795131;
}
.main {
    width: 100%;
    margin-top: 60px;
    background-image: url(../images/8.jpg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

.main .text {
    padding: 180px 0;
    background-color: rgba(121, 81, 49, 0.3);
}

.main h1 {
    text-align: center;
    font-size: 50px;
    color: #ffffff;
}
footer{
    background-color: #e9d9cc;
}
footer>a{
    display: block;
    width: 1200px;
        margin: 0 auto;
        color: #ffffff;
        font-size: 45px;
        padding: 45px 0;
    color: #795131;
    font-family: "Gilda Display", serif;
    font-weight: 600;
}
footer>a:hover{
    color: #ee9a57;
}
footer h2,
footer span,
footer div,
footer p{
    color: #795131!important;
}
footer ul li{
    border-color: #795131;
}
footer ul li a{
    color: #795131;
    border-color: #795131;
}
@media (max-width: 780px) {
    .contact{
        width: 100%;
        display: block;
    }
    .contact img{
        width: 94%;
        display: block;
        margin: 0 auto;
    }
    .contact .right{
        width: 94%;
        margin: 0 auto;
        margin-top: 25px;
    }
    .contact h1{
        font-size: 40px;
    }
    .contact ul{
        display: block;
    }
    .contact li{
        width: 80%;
    }
    .main .text{
        padding: 85px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .main h1{
        font-size: 34px;
    }
    footer>a{
        width: 94%;
    }
}