@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bona+Nova+SC:ital,wght@0,400;0,700;1,400&family=DynaPuff:wght@400..700&family=Itim&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Raleway:ital,wght@0,100..900;1,100..900&family=Rubik+Wet+Paint&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
}
/* Nav Bar Start */
nav{
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding: 20px 50px;
    position: fixed;
    top: 0;
    height: 70px;
    background: white;
    width: 100%;
    z-index: 1000;
}
.mobile{
    display: none;
}
.link{
    place-content: center;
}
.link ul{
    display: flex;
}
.link ul li{
    list-style: none;
    margin: 0px 15px;
}
.link ul li a{
    text-decoration: none;
    color:#6A6666;
}
.link ul li .home{
    color: black;
}
.link ul li a:hover{
    color: black;
}
.link ul li a:active{
    color: black;
}
.button{
    display: flex;
}
.button a{
    text-decoration: none;
    color: white;
}
.button button i{
    margin-right: 10px;
}
.button button{
display: flex;
justify-content: space-evenly;
place-items: center;
margin: 0px 2px;
padding: 5px 10px;
background: white;
color: black;
border-radius: 4px;
cursor: pointer;
}
.button button:hover
{
    color: white;
    background-color: black;
}
/* nav Bar End */

.banner{
    margin-top: 70px;
    width: 100%;
    height: 87vh;
    padding: 0px 4px;
}
.banner img{
    width: 99%;
    height: 87vh;
    border-radius: 10px;
    position: absolute;
}
.content{
    position: relative;
    top: 210px;
    left: 40px;
    color: white; 
    width: fit-content;
}
.content h1{
    font-size: 50px;
    font-weight: 500;
    font-style: normal;
    width: fit-content;
}
.content p{
    font-size: 22px;
    line-height: 1.5;
    width: 90vw;
}
.latest{
    text-align: center;
    margin-top: 50px;
    font-weight: 300;
    margin-bottom: 20px;
}
.container{
    margin: 0px 50px !important;
    border-top: 2px solid black;
}
.filter-btn{
    display: flex;
    justify-content: space-between;
    place-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
.filter-btn button{
    padding: 2px 4px;
    margin: 0px 6px;
    background-color: white;
    color: black;
    border-radius: 5px;
    cursor: pointer;
}
.filter-btn button:hover{
    background-color: black;
    color: white;
}
.item-container{
    display: flex;
    flex-wrap: wrap;
    /* display: grid;
    grid-template-columns: repeat(3,1fr);*/
    justify-content: center;
    align-items: center;
}
.items{
    width: 100%;
}
.item{
    border: 2px solid gray;
    border-radius: 8px;
    margin: 10px 10px;
}
.card{
    width: 300px;
    height: 400px;
    display: grid;
    place-items: center;
}
.card img{
    width: 250px;
    height: 200px;
    padding: 5px 10px;
}
.title{
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 5px 10px;
}
.desc{
    font-weight: 500;
    height: 75px;
    font-size: 14px;
    text-align: center;
    border-bottom: 2px solid gray;
    padding: 5px 10px;
}
.rate{
    font-family: 'Courier New', Courier, monospace;
font-weight: 700;
line-height: 2.0;
}
h2{
    border-top: 2px solid gray;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 15px;
}
h2 button{
    background-color: black;
    color: white;
    margin: 0px 5px;
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
}
@media screen and (min-width:350px) and (max-width:450px){
    nav{
        display: none;
    }
    .mobile{

       display: flex;
       justify-content: flex-start; 
       font-size: 12px;
       align-items: center;
       padding: 2px 2px;
    }
    .mobile .link li{
        padding: 2px 2px;
        margin: 2px 5px;
    }
    .mobile .button a button{
        place-content: center;
        padding: 8px 14px;
    }
    nav h1{
        font-size: 13px;
    }
    nav button{
        font-size:7px;
        width: 5px;
        height: 12px;
        margin: 0;
        padding: 0;
    }
    .content h1{
        font-size: 20px;
    }
    .content p{
        font-size: 15px;
    }
    .latest{
        font-size: 18px;
    }
    .filter-btn{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        row-gap: 5px;
    }
    .filter-btn button{
        width: auto;
        height: 25px;
        font-size: 10px;
    }
    .item-container{
        display: block;
    }
    .item-container img{
        width: 100px;
        height: 80px;
    }
    .item-container h6{
        font-size: 12px;
    }
    .item-container p{
        font-size: 10px;
    }
    .item-container h2 button{
        font-size: 8px;
        margin-bottom: 10px;
    }
    .card{
        height: 270px;
    }
}