
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Roboto',sans-serif;
}

.container{
    width: 980px;
    margin: 0 auto
}

.logo{
    text-align: center;
    margin: 14px 0;
}
.logo img{
    display: inline-block;
}

nav ul{
    list-style: none;
    display: flex;
    justify-content: center;
}
nav ul li{
    margin: 0 22px;
}

nav ul li a{
    text-decoration: none;
    font-weight: 500;
    color: black;
    font-size: 15px;
}

nav ul li a:hover{
    text-decoration: underline;
}

.active{
    text-decoration: underline;
}

.content{
    margin-top: 26px;
}

.post{
    display: flex;
}

.post-content{
    display: flex;
    align-items: center;
}

.description{
    font-size: 14px;
    margin: 16px 0;
}

.btn-post{
    padding: 8px 12px;
    background-color: #ffa800;
    color: #fff;
    border: none;
    cursor: pointer;
}

.btn{
    padding: 8px 12px;
    color: #fff;
    border: none;
    cursor: pointer;
}

.product{

}

.product h2{
    text-align: center;
    padding: 22px 0;
}

.product-list{
    display: flex;
    justify-content: space-between;
}

.product-item{
    width: 32%;
    position: relative;
    overflow: hidden;
}

.product-item img{
    cursor: pointer;
    transition: 0.4s;
}

.product-item img:hover{
    transform: scale(1.1);
}

.product-item:hover .product-detail{
    transform: translateY(0);
}

.product-detail{
    text-align: center;
    position:absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    transform: translateY(100&) ;
    transition: 0.4s;
}

.product-detail h3{
     margin: 16px;
     font-size: 16px;
}

.product-price{
    display: block;
    margin: 12px 0;
}

.btn-product{
    background-color: black;
    width: 100%;
}

footer{
    height: 60px;
    background-color: #021a34;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
}

footer p{
    color: #fff;
    font-size: 15px;
}

.btn-ft{
    background-color: #ffa800;
    border-radius: 3px;
}

.footer input{
    padding: 8px 12px;
    border: 2px solid #ffa800;
    border-radius: 3px;
    outline: none;
}