@import url('https://fonts.googleapis.com/css2?family=PT+Sans&display=swap');
*{
    padding: 0;
    margin: 0;
}
body{
    font-family: 'PT Sans', sans-serif;
    overflow-x: hidden;
}
.header{
    background-color: #603814;
    width: 100%;
    padding-top: 1.7em;
    padding-bottom: 1em;
}

.header .container-header{
    padding: 0 2em;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: auto;
}

.header .container-header>a{
    width: 15%;
}

.header .container-header>a img{
    width: 100%;
}

.header .container-header ul{
    width: 85%;
    justify-content: center;
}


.header .container-header ul i{
    color: white;
    font-size: 20px;
}

.header .container-header ul>i{
    display: none;
}

.header>i{
    color: white;
    display: none;
}
.header .container-header ul .search-box{
    background-color: white;
    position: absolute;
    padding: 1.2em 1.5em 5em;
    z-index: 5;
    box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.267);
    border-radius: 4px;
    right:0;
    transform: translateX(48%);
    top: 2em;
    display: none;
}

.header .container-header ul .search-box-open{
    display: block !important;
}


.header .container-header ul .search-box::before{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #ffffff transparent;
    position: absolute;
    bottom: 99%;
    left: 50%;
    transform: translateX(-50%);
    content: "";
}

.header .container-header ul .search-box h1{
    font-size: 22px;
    color: rgb(75, 75, 75);
    margin-bottom: 0.4em;
}

.header .container-header ul .search-box input{
    border: 2px solid grey;
    font-size: 20px;
    padding: 5px 10px;
    outline: none;
    border-radius: 3px;
    width: 300px;
}

.header .container-header ul .search-box button{
    text-align: end;
    position: absolute;
    bottom: 1em;
    right: 1em;
    color: white;
    background-color: #5A9CF8;
    font-size: 20px;
    padding: 0.5em 1em;
    border: none;
    border-radius: 5px;
}

.news .container-news{
    width: 100%;
    display: flex;
    color: white;
    height: 4em;
}

.news .container-news .news-title{
    background: #A67C52;
    width: 31%;
    text-align: end;
    height: inherit;
    padding: 0.6em 4em 0 0;
    box-sizing: border-box;
}
.news .container-news .news-title h1{
    font-size: 32px;
    font-weight: 500;
}

.news .container-news .news-content{
    overflow: hidden;
    background: #CEA66B;
    width: 69%;
    height: inherit;
    padding: 0.5em 0 0 2em;
    box-sizing: border-box;
    
}
@media(max-width:1560px){
    .news .container-news .news-content>p.go_down{
        transform: translateY(-3em) !important;
    }
}
.news .container-news .news-content>p{
    width: 80%;
    line-height: 3em;
    transform: translateY(0);
    transition: 1s;
}
.news .container-news .news-content>p.go_down{
    transform: translateY(0em);
}

.header ul li{
    margin-left: 20px;
    position: relative;
}

ul{
    display: flex;
    list-style: none;
    position: relative;
}

a{
    text-decoration: none;
    color: white;
    font-size: 20px;

}

.footer{
    background-color: #603814;
    padding: 1.5em 0;
}

.footer .container-footer {
    display: flex;
    width: 70%;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    box-sizing: border-box;
    gap: 5%;
    white-space: nowrap;
}
.footer .container-footer .footer-img{
    width: 20%;
    
}
.footer .container-footer .footer-img img{
    width: 100%;
}

.footer .container-footer .footer-txt{
    color: white;
    width: 80%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 32px;
}

.footer .container-footer .footer-txt p{
    display: inline-block;
    margin-right: 20px;
}

section .section-title {
    position: relative;
    z-index: 3;
    margin: auto;
    text-align: center;
    margin-bottom: 5em;
}

section .section-title h1{
    font-size: 36px;
    color: #603814;
}

section .section-title a{
    color: #a27737;
    background-color:#cea66b7a;
    line-height: 3em;
    font-size: 18px;
    margin: 0 5px;
    padding: 1px 12px;
    border-radius: 20px;
}

.main-item-container{
    position: relative;
    width: 1020px;
    margin: auto;
    display: flex;
    justify-content: start;
    gap: 12px;
    flex-wrap: wrap;
    row-gap: 1.5em;
}

.main-item{
    position: relative;
    background-color:#F2EFEA;
    height: 32em;
    width: 32%;
}


.main-item h1{
    color: #a27737;
    padding: 20px;
}

.main-item p{
    padding: 0 20px;
    letter-spacing: 2px;
    color: rgb(116, 116, 116);
}

.main-item .text-bottom{
    position: absolute;
    bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    left: 0;
    right: 0;
}

.main-item .text-bottom::before{
    position: absolute;
    top: -1em;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background-color:#a27737a7;
    content: "";
}

.main-item img{
    width: 100%;
}

.main-item .text-bottom p{
    color: #a27737;
    font-weight: 600;
}

.main-item .text-bottom a{
    font-size: 14px;
    padding: 4px 10px;
    box-sizing: border-box;
    background-color:#a27737;
}

.search-wrap{
    width: 70%;
    margin: auto;
    box-shadow: 0 0 15px 2px #000000a6;   
    border-radius: 8px;
    padding: 1.5em 1.5em 2em;
    background-color: white;
    position: relative;
    z-index: 4;
}
.search-wrap .title{
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #603814;


}
.search-wrap select{
    border: none;
    appearance:none;
    width: 16%;
    box-sizing: border-box;
    padding: 10px 0em 10px 20px;
    background-color: rgb(242,242,242);
    color: rgb(75, 75, 75);
    font-size: 18px;
    border-radius: 30px;
    outline:none;
}

.select-container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
}

.search-wrap .btn{
    border: none;
    background-color: #603814;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 5px 1em;
    border-radius: 30px;
}

@media(max-width:1024px){
    .header{
        height: 60px;
    }
    .header>i{
        display: block;
        font-size: 40px;
        margin-left: 1em;
        position: absolute;
        top: 34px;
        right: 34px;

    }
    .header .container-header>a{
        width: 130px;
    }
    .header .container-header ul{
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 250px;
        flex-direction: column;
        z-index: 10;
        background-color: white;
        transform: translateX(-100%);
        transition: transform 0.1s;
        justify-content: start;
        padding-top: 25%;
    }

    .header .container-header .nav-open{
        transform: translateX(0);
        box-shadow: 0px 0px 10px 2px rgba(70, 70, 70, 0.402);

    }
    

    .header .container-header ul li{
        margin: 10px auto;
        width: 120px;
    }
    .header .container-header ul li a{
        color: #603814;
        font-size: 24px;
        font-weight: 600;
    }
    .header .container-header ul>i{
        display: block;
        position: absolute;
        top: 10px;
        left: 10px;
        color: #603814;
        font-size: 30px;
        font-weight: 100;
    }


    .news .container-news .news-title{
        text-align: center;
        width: 7em;
        padding: 0.6em 0em 0 0;
    }
    .news .container-news .news-content{
        width: 100%;
    }

    .search-wrap{
        bottom: -23em !important;
    }

    .select-container{
        width: 100%;
        flex-direction: column;
        row-gap: 7px;
    }
    .search-wrap select{
        width: 100%;
    }

    .footer .container-footer .footer-img{
        width: 30%;
    }

    .footer .container-footer{
        flex-direction: column;
        width: 100%;
    }
    .footer .container-footer .footer-txt{
        width: 90%;
        white-space:normal;
        font-size: 14px;
        text-align: center;
    }

}

@media(max-width:680px){
    .header .container-header ul li a{
        font-size: 20px;
    }
    .news .container-news{
        height: 3em;
    }
    .news .container-news .news-title h1{
        font-size: 24px;
    }
    .news .container-news .news-content{
        padding: 0.3em 0 0 0.5em;
    }
    .news .container-news .news-content>p{
        width: 96%;
        font-size: 14px;
    }
}


