*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, sans-serif;
    background:#f5f5f5;
}

/* Header */
.header{
    background:#222;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 20px;
}

.logo-name{
    display:flex;
    align-items:center;
    gap:10px;
}

#link-title{
    color:white;
    text-decoration:none;
    font-size:24px;
    font-weight:bold;
}

#home-image img{
    width:150px;
    border-radius:8px;
}

/* Navigation */
.menu{
    background:#444;
    display:flex;
    justify-content:center;
    gap:20px;
    padding:15px;
}

.menu a{
    color:white;
    text-decoration:none;
}

/* Sidebar + Content */
.content{
    display:flex;
    gap:20px;
    padding:20px;
}

.sidebar{
    width:250px;
    background:white;
    padding:20px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.sidebar ul{
    list-style:none;
    margin-top:15px;
}

.sidebar li{
    padding:10px 0;
    border-bottom:1px solid #ddd;
}

.main{
    flex:1;
    background:white;
    padding:20px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.main p{
    margin-top:15px;
    line-height:1.7;
}

/* Products */
.products{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    padding:20px;
}

.product{
    background:white;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.15);
    transition:.3s;
}

.product:hover{
    transform:translateY(-5px);
}

.product img{
    width:100%;
    height:320px;
    object-fit:cover;
}

/* Footer */
footer{
    background:#222;
    color:white;
    text-align:center;
    padding:20px;
}

footer a{
    color:#ffd700;
    text-decoration:none;
}

/* Tablet */
@media (max-width:992px){

    .content{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
    }
}

/* Mobile */
@media (max-width:768px){

    .header{
        flex-direction:column;
        gap:15px;
        text-align:center;
    }

    .menu{
        flex-direction:column;
        align-items:center;
        gap:10px;
    }

    #home-image img{
        width:120px;
    }

    .products{
        grid-template-columns:1fr;
    }

    .main,
    .sidebar{
        padding:15px;
    }
}