@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;900&display=swap');

/* Basic Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ecf0f3;
    text-align: right;
}

header {
    background: #ecf0f3;
    padding: 10px 0;
    text-align: center;
}

header img {
    background: #ecf0f3;
    width: 150px;
}

/* Main Content */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}


/* Product Description Section */
#product-description {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#product-description h1 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

#product-description p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

#product-description ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#product-description li {
    background: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
    border-right: 5px solid #333;
    border-radius: 5px;
}

/* Promotion Section */
#promotion {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#promotion h2 {
    font-size: 2rem;
    text-align: center;
    color: #fc2828;
    text-shadow: 2px 2px 8px rgba(252, 40, 40, 0.7);
    animation: pulse 1.5s infinite;
}

/* Pulse effect animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        text-shadow: 2px 2px 8px rgba(252, 40, 40, 0.7);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 4px 4px 16px rgba(252, 40, 40, 1);
    }
    100% {
        transform: scale(1);
        text-shadow: 2px 2px 8px rgba(252, 40, 40, 0.7);
    }
}



#promotion p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

/* Slider Container */
.splide {
    max-width: 600px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.splide__slide img {
    width: 100%;
    border-radius: 20px;
}

.splide__slide p {
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
}

/* Product List */
.product-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.product:last-child {
    border-bottom: none;
}

.product span {
    font-size: 1rem;
}

.product button {
    background: #1DA1F2;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
}

.product button:hover {
    background: #0056b3;
}

.product-count {
    font-size: 1rem;
    margin: 0 10px;
}



/* Summary */
.summary {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.summary p {
    font-size: 1rem;
    margin: 10px 0;
}

.summary span {
    font-weight: bold;
}

/* Customer Info */
#customer-info {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#customer-info form {
    display: flex;
    flex-direction: column;
}

#customer-info input, 
#customer-info select, 
#customer-info textarea, 
#customer-info button {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    text-align: right;
}

#customer-info button {
    background: #1DA1F2;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-weight: 700;
    text-align: center;
}

#customer-info button:hover {
    background: #0056b3;
}

#order-message {
    display: flex;
    justify-content: center;
    align-items: center;
    color: green;
    font-size: 1.2rem;
    margin: 20px 0;
    height: 50px;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

#social-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

#social-links a:hover {
    text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    main {
        padding: 15px;
    }

    #product-description h1 {
        font-size: 1.5rem;
    }

    #promotion h2 {
        font-size: 1.8rem;
    }

    .product-container, .summary, #customer-info {
        padding: 15px;
    }

    .product span, .summary p {
        font-size: 0.9rem;
    }

    .product button {
        font-size: 0.9rem;
    }

    button {
        padding: 8px;
    }
}
.shake {
  animation: shake 0.3s ease-in-out 3;
  border: 2px solid red !important;
  border-radius: 6px;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}


@media (max-width: 480px) {
    header img {
        width: 100px;
    }

    #promotion h2 {
        font-size: 1.5rem;
    }

    .product-container, .summary, #customer-info {
        padding: 10px;
    }

    .product span, .summary p {
        font-size: 0.8rem;
    }

    .product button {
        font-size: 0.8rem;
    }
    


    button {
        padding: 8px;
    }

footer {
    text-align: center;
    margin-top: 40px;
    color: #888;
}

#social-links {
    margin-top: 10px;
}

#social-links a {
    margin: 0 10px;
    text-decoration: none;
}

#social-links img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

#social-links img:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}