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: black;
}

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



.content {
    padding-bottom: 50px;
}

.recmain-container {
    background-image: url('../assets/rec.jpg');
    background-size: cover;
    background-position: center;
    padding: 300px;
    color: black;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;

}

.recmain-container h2 {
    margin: 0 0 10px;
}

.recmain-container p {
    margin: 0;

}
.red-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background-color: red;
    z-index: 1;
}
.text-container {
    max-width: 700px; 
    margin-left: -170px;
    margin-top: -70px;
    position: relative;
    z-index: 2;
}



.floating-medicines {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.text-type {
    z-index: 1000;
}

.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)); 
    }
}
/*
.img-niz {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%; 
    width: 100%;
    background-image: url('../assets/niz.png');
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center bottom; 
    z-index: 2;
} */


.intro {
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;    
}
.recommendations {
    list-style-type: none;
    padding: 50px;
}
.recommendations li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}
.recommendations li:before {
    content: "✔";
    color: #ff8c40;
    font-size: 18px;
    position: absolute;
    left: 0;
}
.recommendations li strong {
    color: #ff4040;
}
.disclaimer {
    font-size: 14px;
    color: #7f8c8d;
    margin-top: 20px;
    font-style: italic;
    text-align: center;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;

}
@media (max-width: 768px) {
    body {
        padding-bottom: 60px; /* Для footer */
    }
    
    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%; /* 3 элемента в строке */
        min-width: 0;
        box-sizing: border-box;
    }
    
    .recmain-container {
        padding: 150px 20px 20px;
        margin: 10px;
        background-attachment: scroll;
    }
    
    .text-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 15px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 8px;
    }
    
    .text-type1 {
        font-size: 22px;
        line-height: 1.3;
    }
    
    #recommendations-intro-text {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .intro {
        font-size: 20px;
        margin: 15px 0;
    }
    
    .recommendations {
        padding: 20px 20px 20px 30px;
    }
    
    .recommendations li {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .disclaimer {
        font-size: 12px;
        padding: 0 15px;
    }
    
    #orders-widget {
        width: 90%;
        right: 5%;
        bottom: 70px;
    }
        footer {
        font-size: 12px;
        padding: 5px;
    }
}
}