/* Title */
@import url('https://fonts.googleapis.com/css2?family=Kanit&display=swap');





/* Main */
.List_wrapper{
    width: 100%;
    height: auto;
    /* border: 2px solid black; */
    margin: 5rem 0;
    margin-bottom: 10rem;
    overflow: hidden;
}
.List_container{
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 1rem;
    width: 80%;
    margin: auto;
    /* border: 2px solid black; */
}
.content_list{
    display: grid;
    grid-template-columns:  1fr 1fr;
    width: 100%;
    gap: 0rem;
    animation:content_list 1.25s ease-in-out;
   
}
@keyframes content_list{
    0%{
        transform: translateX(-100px);
        opacity: 0;
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}
.content_item{
    display: flex;
    flex-direction: column;
    width: 350px;
    margin: 1.5rem 0;
    transition: all 0.25s ease-in-out;
}
.content_item:hover{
    transform: translateY(-10px);
}
.content_item img{
    /* max-height: 230px; */
    /* display: none; */
    max-width: 100%;
}

.description_content_item{
    margin-top: 1.5rem;
}
.description_content_item a{
    color: black;
    font-size: 1.3rem;
    font-weight: 600;
}
.description_content_item p,.description_content_item pre{
    font-size: 0.8rem;
    width: 300px;
    color: #858585;
    font-weight: normal;
    white-space: pre-wrap;
}
.description_content_item p:nth-child(2){
    color: #858585;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 1rem 0;
    margin-top: 0.2rem;
}
.description_content_item p .fa-calendar-alt{
    margin-right: 1rem;
}
.description_content_item p span .fa-user{
    margin: 0 1rem;
    margin-right: 0.5rem;
} 
.content_item .content_btn{
    display: inline-block;
    /* width: 150px; */
    background: #FF3115;
    color: white;
    border-radius: 40px;
    text-align: center;
    padding: 10px 20px;
    margin-top: 1rem;
    font-size: 1rem;
    transition: all 0.4s ease-out;
    outline: none;
    border: none;
    /* box-shadow: inset 0 0 0 0 #36eaf7; */
}


.content_btn:hover {
    transition: all 0.4s ease-out;
    background-color: #eb3007;
    /* box-shadow: inset 150px 0 0 0 #36eaf7; */
}

.underline_search{
    width: 60px;
    
}



@media screen and (max-width:1520px){
    .content_list{
        width: 100%;
    }
    .content_item{
        width: 90%;
    }
    .content_item img{
        width: auto;
        /* max-height: 230px; */
    }
}
@media screen and (max-width:1250px){

    .List_container{
        width: 90%;
    }
    

}
@media screen and (max-width:980px){
    .List_container{
        width: 90%;
        grid-template-columns: 65% 35%;
    }
    .content_item{
        width: 80%;
    }
    .description_content_item p{
        width: 100%;
        font-size: 0.8rem;
        line-height: 1.3rem;
        font-weight: normal;
    }
    .description_content_item a{
        font-size: 1.2rem;
    }

    .content_item{
        height: auto;
        margin-bottom: 2rem;
    }
    .content_item img{
        width: 100%;
    }
    .List_container{
        grid-template-columns: 1fr;
    }

}
@media screen and (max-width:680px){
    
    .content_list{
        grid-template-columns: 1fr 1fr; 
    }
    .content_list .content_item{
        width: 95%;
        margin-left: 0.35rem;
    }
 
   
}
@media screen and (max-width:420px){
    
    .content_list{
        grid-template-columns: 1fr ; 
    }
    .content_list .content_item{
        width: 95%;
        margin: auto;
        margin-bottom: 2rem;
    }
}