body {
    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;
}

.welcome-container {
    position: relative;
    background-image: url('../assets/main.jpg');
    background-size: cover;
    background-position: center;
    min-height: 730px; 
    display: flex;
    justify-content: center; 
    align-items: center;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;

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

.welcome-container p {
    margin: 0;
}


.text-container {
    position: absolute;
    top: 26%; 
    left: 24%; 
    transform: translate(-0%, -0%);
    width: 300px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .welcome-container {
        min-height: 600px; 
        
    }

    .text-container {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
        text-align: center;
    }
}

.text-type1 {
    font-family: "Rubik Wet Paint", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 42px;
}

.buy-button {
    margin-top: 20px;
    display: inline-block;
    padding: 15px 50px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: white;
    background: radial-gradient(circle at center, #ff8c40 0%, #ff4040 70%);
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 10% 100%);
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.buy-button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}


footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}
/* Основные стили остаются прежними */

@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;
    }
    
    .welcome-container {
        min-height: 400px;
        margin: 10px;
    }
    
    .text-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 90%;
        margin: 20px auto;
        padding: 15px;
    }
    
    .text-type1 {
        font-size: 28px;
    }
    
    .buy-button {
        padding: 10px 30px;
        font-size: 18px;
    }
    
    .language-switcher {
        text-align: center;
        padding: 5px;
    }
    
    .language-switcher .lang-btn {
        padding: 3px 8px;
        font-size: 12px;
    }
    
    #orders-widget {
        width: 90%;
        right: 5%;
        bottom: 70px;
    }
    
    footer {
        font-size: 12px;
        padding: 5px;
    }
}

