body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

header {
    background-color: #ff9900;
    color: white;
    padding: 5px;
    font-size: 20px;
}

.category-container {
    display:flex ;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}

.category {
    display: block;
    width: 200px;
    margin: 10px;
    padding: 15px;
    background: #333;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
}

.category:hover {
    background: #ff9900;
}

.title {
    font-size: 28px;
    margin-top: 20px;
}

.back-btn {
    padding: 10px 15px;
    background-color: black;
    border-radius: 23px;
    color: white;
    border: none;
    cursor: pointer;
}

.laptop-container {
    display: grid;
    justify-content: centre;
}

/* Large screen: 3 laptops per row */
@media (min-width: 768px) {
    .laptop-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile: 2 laptops per row */
@media (max-width: 767px) {
    .laptop-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

.laptop-item {
    background-color: white;
    margin:15px auto;
    border-radius: 23px;
    width: 250px;
    height: 400px;
    padding: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.laptop-item img {
    width: 240px;
    height: 200px;
    border-radius: 23px;
}

.buy-btn {
    background: #000000;
     color: white;
     border-radius: 17px;
    padding: 10px;
    border: none;
    cursor: pointer;
}
.buy-btn:hover{
    background: #ff9900;
    
}



footer {
    margin-top: 20px;
    background: black;
    color: white;
    padding: 10px;
}
