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

.welcome-container {
    position: relative;
    background-image: url('../assets/contacts.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);
}


.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: white;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #000;
}

.modal-title {
    font-family: "Rubik Wet Paint", system-ui;
    font-size: 32px;
    text-align: center;
    margin-bottom: 25px;
    color: #000;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 90%;
    padding: 12px 15px;
    border: 2px solid #ff8c40;
    border-radius: 8px;
    font-size: 16px;
    font-family: "Source Sans 3", sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff4040;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: radial-gradient(circle at center, #ff8c40 0%, #ff4040 70%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.auth-form {
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-form p {
    margin-top: 15px;
    font-family: "Source Sans 3", sans-serif;
}

.auth-form a {
    color: #ff4040;
    text-decoration: none;
}

.auth-form a:hover {
    text-decoration: underline;
}

.contacts-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-image: url('../assets/contacts-section.jpg');
    background-size: cover;
    background-position: center;
}

.contact-methods {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;        
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    font-size: 40px;
    color: #ff4040;
    margin-bottom: 15px;
}

.social-section {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 100px;
}

.social-title {
    font-family: "Rubik Wet Paint", system-ui;
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.social-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-btn i {
    margin-right: 10px;
    font-size: 20px;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.vk { background-color: #4a76a8; }
.tg { background-color: #0088cc; }
.wa { background-color: #25D366; }
.yt { background-color: #FF0000; }
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;
    }
    
    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;
    }
    
    .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: 12px 40px;
        font-size: 18px;
    }
    
    .contacts-section {
        padding: 20px 10px;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        width: 90%;
        margin-bottom: 20px;
        padding: 20px;
    }
    
    .social-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .social-btn {
        width: 90%;
        justify-content: center;
        padding: 10px 20px;
    }
    
.modal-content {
    width: 90%;
    margin: auto; /* Центрирование по горизонтали */
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
    
    .modal-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .form-group input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 10px;
        font-size: 16px;
    }
    
    #orders-widget {
        width: 90%;
        right: 5%;
        bottom: 70px;
    }
        footer {
        font-size: 12px;
        padding: 5px;
    }
}
}