@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Honk:MORF,SHLN@35,79.4&family=Rubik+Bubbles&display=swap');

body { 
    font-family: Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
}

header { 
    background: #222; 
    color: white; 
    padding: 15px; 
    text-align: center; 
}

nav ul { 
    list-style: none; 
    padding: 0; 
    text-align: center; 
    background: #d1628f; 
    margin: 0; 
}

nav ul li { 
    display: inline; 
    margin: 0 15px; 
}

nav ul li a { 
    color:  #edf255; 
    text-decoration: none; 
}

.container { 
    width: 80%;
    margin: 0 auto;
    padding: 20px; 
    text-align: center; 
}

.products, .reviews { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap; 
}

.product, .review { 
    border: 1px solid #ddd; 
    padding: 15px; 
    width: 200px; 
}

footer { 
    background: #222; 
    color: white; 
    text-align: center; 
    padding: 10px; 
    margin-top: 20px; 
}

.username {
    font-weight: bold;
    color: #d1628f;
}

h2, h3, h4 {
    color: #f2b035;
}

.products, .blogs, .reviews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.product, .blog, .review {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product:hover, .blog:hover, .review:hover {
    transform: translateY(-5px);
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 10px 0;
}

p {
    font-size: 14px;
    line-height: 1.6;
}

h3, h4 {
    font-size: 1.2em;
}

h1 {
    font-family: "Honk", system-ui;
    font-size: 100px;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "MORF" 35, "SHLN" 79.4;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

form label {
    font-size: 1.1em;
    color: #333;
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

form input:focus, form textarea:focus {
    border-color: #d1628f;
    outline: none;
}

form textarea {
    resize: vertical;
    min-height: 150px;
}

form button {
    padding: 12px 20px;
    font-size: 1.1em;
    background-color: #d1628f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #b45174;
}

.phone-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 8px;
}

/* Image Handling */
.product img, .review img, .blog img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover; /* Ensures images fill the area nicely */
}

.product img:hover, .review img:hover, .blog img:hover {
    transform: scale(1.05); /* Slight zoom effect */
    transition: transform 0.3s ease;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .products, .blogs, .reviews {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .product img, .review img {
        width: 80%;
        margin: 0 auto;
    }
}
