body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

header {
    text-align: center;
    padding: 90px;
    background-image: url('../assets/main1.jpg');
    background-size: cover;
    background-position: center;
}

h1 {
    font-family: "Rubik Wet Paint", system-ui;
    font-weight: 200;
    font-style: normal;
}
nav {
    background-color: #333;
    overflow: hidden;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

nav a {
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

nav a:hover {
    background-color: #ddd;
    color: #2f2f2f;
}

nav a.active {
    background-color: #555;
    color: white;
    border-bottom: 3px solid #ff4040;
    font-weight: bold;
}

.main-container {
       padding-top: -10px;
    text-align: center;
    color: #2f2f2f;
    position: relative;
    min-height: 100vh;
}

.floating-medicines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.medicine {
    position: absolute;
    animation: float 5s infinite ease-in-out alternate;
    opacity: 0.8;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(var(--rotation));
    }
    100% {
        transform: translateY(30px) rotate(var(--rotation)); 
    }
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}
.content {
    padding: 30px 15px 80px;
    max-width: 800px;
    margin: 0 auto;
}


.content h2 {
    color: #2f2f2f;
    font-family: "Rubik Wet Paint", system-ui;
    font-weight: 200;
    font-style: normal;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.cart-items {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255, 140, 64, 0.1);
    margin-bottom: 30px;
    border: 3px solid #ff4040;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 3px solid #ff4040;
}

.cart-item:last-child {
    border-bottom: none;
}


#order-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255, 140, 64, 0.1);
    border: 3px solid #ff4040;
    margin-top: 20px;
}

#order-section h2 {
    margin-top: 0;
}

.user-info {
    margin-bottom: 20px;
}

.user-info p {
    margin: 10px 0;
    font-size: 16px;
}

.user-info a {
    color: #2f2f2f;
    text-decoration: none;
    font-weight: 500;
}

.user-info a:hover {
    text-decoration: underline;
}

.order-btn {
    background-color: #ff8c40;
    color: white;
    padding: 12px 15px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    margin: 10px auto;
    width: 200px;
    text-align: center;
    text-decoration: none;
}

.order-btn:hover {
    background-color: #ff4040;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 64, 64, 0.3);
}

#login-prompt {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255, 140, 64, 0.1);
    border: 3px solid #ff4040;
    margin-top: 20px;
}

#login-prompt h2 {
    color: #2f2f2f;
    margin-bottom: 20px;
}
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 1000;
    text-align: center;
}
@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
    
    header {
        padding: 40px 20px;
                    background-position: 20% 50%;

    }
    
    h1 {
        font-size: 24px;
    }
    
    nav {
        flex-wrap: wrap;
        padding: 5px 0;
    }
    
    nav a {
        padding: 8px 10px;
        font-size: 14px;
        flex: 1 0 33%;
        min-width: 0;
        box-sizing: border-box;
    }
    
    .main-container {
        padding: 0 10px;
    }
    
    .content {
        padding: 20px 10px 80px;
    }
    
    .content h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .cart-items {
        padding: 15px;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }
    
    .item-details {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .item-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .quantity-controls {
        margin-right: 0;
    }
    
    #order-section, #login-prompt {
        padding: 15px;
    }
    
    .user-info p {
        font-size: 14px;
    }
    
    .order-btn {
        width: 100%;
        max-width: 200px;
        padding: 10px;
        font-size: 15px;
    }
    
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        padding: 10px;
        font-size: 14px;
    }
    
    #orders-widget {
        width: 90%;
        right: 5%;
        bottom: 70px;
    }
         footer {
        font-size: 12px;
        padding: 5px;
    }
}