body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ===== КОНТЕЙНЕР СТРАНИЦЫ ===== */
.page-container {
    max-width: 63%;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

/* ===== ШАПКА ===== */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* ===== НАВИГАЦИЯ ===== */
.nav {
    background: #2c3e50;
    padding: 20px 0;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.nav-item {
    margin: 0;
    display: block;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.content {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* ===== ГЛАВНАЯ СТРАНИЦА ===== */
.profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-title {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 300;
}

.profile-photo {
    width: 220px;
    height: 280px;
    border-radius: 15px;
    object-fit: cover;
    margin: 20px auto;
    border: 4px solid #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.2);
}

.profile-name {
    font-size: 24px;
    color: #2c3e50;
    margin: 10px 0;
    font-weight: 500;
}

.profile-group {
    font-size: 18px;
    color: #7f8c8d;
    margin: 5px 0;
}

.about-me {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 5px solid #667eea;
    font-size: 16px;
    line-height: 1.8;
}

/* ===== НАВЫКИ ===== */
.skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.skill-tag {
    background: linear-gradient(135deg, #142d63 0%, #5f1968 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

/* ===== ОПЫТ РАБОТЫ ===== */
.experience-section {
    margin-top: 50px;
}

.section-title {
    font-size: 28px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 300;
}

.experience-card {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease;
}

.experience-card:hover {
    transform: translateX(5px);
}

.experience-title {
    font-size: 20px;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.experience-desc {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* ===== ФУТЕР ===== */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    margin: auto;
    padding-bottom: 10px;
    padding-top: 10px;
    max-width: 63%;
}

.tag_news {
    background-size: 1000px 189px;
    color: rgb(0, 0, 0);
    padding: 20px 25px;
    margin: 20px 125px;
    border-radius: 25px;
    border: 1px solid #dbdbdb;
    border-left: 7px solid #5b24a3;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag_news:hover{
    transform: translateY(-5px);
    box-shadow: 0px 15px 60px #08000075;
}
.news-no-margin{
    margin-bottom: 0px;
}
.zag {
    text-align: center;
    font-size: 28px;
    color: #242f3a;
    margin-bottom: 30px;
    font-weight: 800;
}

.contacts {
    border-radius: 15px;
    margin: 20px 150px 0px ;
    background-color: #bccde4;
    font-size: 35px;
    text-align: center;
    padding: 35px 0px 100px;
    transition: all 0.3s ease;
    padding-top: 100px;
}

.contacts:hover {
    transform: translateX(10px);
}

.tag_iteam {
    text-align: center;
    padding: 15px;
    border: 1px solid #ebe4e4;
    border-radius: 15px;
    max-width: 220px;
    transition: all 0.3s ease;
}

.tag_iteam:hover {
    transform: translateY(-5px);
}

.products-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.jc1 {
    color: #ff0000;
}

.contact_buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 15px;
}

.buttons {
    transition: all 0.3s ease;
}

.buttons:hover {
    transform: translateY(-10px) scale(1.1);
    rotate: 10deg;
}

.news-container {
    background-color: #eaeaea;
    border-radius: 25px;
    padding: 30px;
    text-align: left;
    margin: 50px;
    margin-bottom: 0px;
}

.news-body {
    background: linear-gradient(135deg, #bea7a7fd 0%, #ff6ecf 100%);
    margin: 0;
    padding-bottom: 20px;
    overflow: hidden;
    background-size: cover;
}

.news-text {
    margin: 15px;
    font-size: 30px;
}

.come-back {
    transition: all 0.3s ease;
    font-size: 30px;
    margin: 10px;  
    display: inline-block;
}

.come-back:hover {
    transform: translateX(-15px);

}
/* ===== АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ===== */

/* Планшеты (ширина меньше 1081px) */
@media (max-width: 1081px) {
    .content {
        padding: 30px 20px;
    }

    .tag_news1,
    .tag_news2,
    .tag_news3 {
        margin: 20px 50px;
    }

    .contacts {
        margin: 0 50px;
        margin-top: 5px;
    }
        .header {
        padding: 20px 15px;
        font-size: 22px;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .nav-link {
        display: block;
        text-align: center;
        padding: 15px;
    }

    .content {
        padding: 20px 15px;
    }

    .profile-title {
        font-size: 26px;
    }

    .profile-photo {
        width: 180px;
        height: 230px;
    }

    .profile-name {
        font-size: 20px;
    }

    .profile-group {
        font-size: 16px;
    }

    .about-me {
        padding: 20px;
        font-size: 15px;
    }

    .section-title,
    .zag {
        font-size: 24px;
    }

    .experience-card {
        padding: 20px;
        margin: 15px 0;
    }

    .experience-title {
        font-size: 18px;
    }

    .contacts {
        margin: 0 10px;
        padding: 20px 15px;
        font-size: 16px;
        margin-top: 4px;
    }

    .contact-button {
        font-size: 14px;
        max-width: 180px;
    }

    .products-container {
        padding: 10px;
        gap: 15px;
    }

    .tag_iteam {
        max-width: 100%;
        width: 100%;
        margin: 10px 0;
    }
    .news-container {
    padding: 10px;
    margin: 15px;
    margin-top: 50px;
    margin-bottom: 0px;
    }
    .news-text {
        margin: 10px;
        font-size: 14px; 
    }
    .come-back {
    font-size: 17px;  
    }
}
