   /* Обомне */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;

        }
        body, html {
            height: 100%;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: Arial, sans-serif;
            background: url('page_bg.jpg') no-repeat center center fixed;
            background-size: cover;
        }

      .header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh; /* Вместо height, чтобы меню не накладывалось */
    width: 100vw;
    background-color: rgba(52, 73, 94, 0.8);
    padding: 80px 20px 20px; /* Добавляем отступ сверху, чтобы учесть меню */
    position: relative;
}









.static-text {
    margin-bottom: 20px; /* Фиксированный отступ */
}

#typing-text {
    min-height: 60px; /* Зарезервированное место под текст */
    display: block;
    text-align: center; /* Центрируем текст */
font-size: 18px;
}

.download-btn {
    margin-top: 20px; /* Расстояние от текста до кнопки */
}




        .intro-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            max-width: 900px;
            width: 100%;
            padding-bottom: 50px; /* Добавлен отступ для предотвращения наложения */



        }

        .profile-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .profile-border {
            padding: 20px;
            border: 3px solid white;
            border-radius: 15px;
            background-color: white;
        }
        .profile-img {
            width: 200px;
            height: auto;
            border-radius: 10px;
            display: block;
        }
        .name {
            font-size: 24px;
            font-weight: bold;
            color: black;
            margin-top: 10px;
        }
        .position {
            font-size: 18px;
            color: white;
            background-color: rgba(52, 73, 94, 0.8);
            padding: 5px 10px;
            border-radius: 5px;
            margin-top: 5px;
        }


.intro {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем элементы */
    text-align: center;
    width: 100%; /* Растягиваем на всю ширину */
    color: white;
    margin-top: 20px;
}


        
        .description {
            font-size: 18px;
            margin-top: 10px;
            color: white;
        }
        .download-btn {
            border: 2px solid white;
            padding: 10px 20px;
            color: white;
            text-decoration: none;
            display: inline-block;
            margin-top: 20px;
        }
        .download-btn:hover {
            background-color: white;
            color: #2c3e50;
        }




    



     @media (max-width: 768px) {
    .header {
        height: auto; /* Вместо 100vh, чтобы не обрезалось */
        padding: 20px;
 padding-top: 70px; /* Отступ сверху, чтобы меню не перекрывалось */
    }


.profile-border {
        margin-top: 20px; /* Смещаем вниз */
    }




    .intro-container {
        padding-bottom: 100px; /* Увеличиваем отступ, чтобы текст не перекрывался */
    }

    .header h1 {
        font-size: 24px; /* Уменьшаем размер заголовка */
    }

    .header p {
        font-size: 18px; /* Уменьшаем размер текста */
    }

    .button-container {
        margin-top: 20px; /* Добавляем отступ сверху, если кнопки смещаются */
    }
}


   /* Меню*/

        @media (min-width: 768px) {
            .intro-container {
                flex-direction: row;
                gap: 40px;
            }
        }
	


nav {
    display: flex;
    justify-content: center; /* Центрируем */
    align-items: center;
    background-color: rgba(44, 62, 80, 0.9);
    padding: 15px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Десктопное меню */
.menu-links {
    display: flex;
    gap: 20px;
}

/* Выравнивание ссылок */
.menu-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
}

.menu-links a:hover {
    color: #f39c12;
}

/* Бургер-меню */
.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Мобильное меню */
@media (max-width: 768px) {
    nav {
        justify-content: space-between; /* Раздвигаем бургер и логотип */
        padding: 10px;
    }

    /* Показываем бургер-меню */
    .menu-toggle {
        display: block;
    }

    /* Меню скрыто по умолчанию */
    .menu-links {
        display: none;
        flex-direction: column;
        background-color: rgba(44, 62, 80, 0.9);
        width: 100%;
        position: absolute;
        top: 50px;
        left: 0;
        text-align: center;
        padding: 10px 0;
    }

    /* Когда меню открыто */
    .menu-links.open {
        display: flex;
    }

    .menu-links a {
        display: block;
        padding: 10px;
    }
}














	
	  /* Образование */
.education-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw; /* Растягиваем на всю ширину */
    min-height: 100vh; /* Минимальная высота экрана */
    padding: 50px 20px;
    background-color: rgba(52, 73, 94, 0.9);
    text-align: center;
    position: relative; /* Фиксируем положение */
}
    
    .education-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        max-width: 1200px;
        width: 100%;
        margin-top: 20px;
    }
    
    .education-card {
        background: #fff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: left;
        position: relative;
        min-height: 250px;

    }
    
    .year {
        background: #f39c12;
        color: #fff;
        font-weight: bold;
        padding: 5px 10px;
        border-radius: 4px;
        position: absolute;
        top: -10px;
        left: 10px;
    }
    
    .university {
        font-style: italic;
        color: #666;
    }
    
    @media (max-width: 768px) {
        .education-container {
            padding: 30px 15px;


        }
        .education-grid {
            grid-template-columns: 1fr;
        }
    }
	
	
	
	
	.container, .rab-container {
         min-height: 100vh;
         padding: 20px;

            width: 100vw;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #2c3e50;
            color: white;
            text-align: center;
			
			
			
        }
        h2 {
            margin-bottom: 20px;
            font-size: 2em;
           color: white;
        }
        .timeline-container {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 20px;
            width: 100%;
            position: relative;
        }
        .timeline {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 80%;
            position: relative;
        }
        .timeline::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            height: 4px;
            background: white;
            transform: translateY(-50%);
        }
        .point {
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
        }
        .point.active {
            background: #e67e22;
        }
        .date {
            position: absolute;
            top: 30px;
            color: white;
            font-size: 14px;
            text-align: center;
            width: max-content;
        }
        .arrow {
            cursor: pointer;
            font-size: 48px;
            margin: 0 30px;
        }
	
	@media (max-width: 768px) {

 .rab-container {
        padding-bottom: 150px; /* Увеличиваем отступ внизу, чтобы было место */
    }

     .date {
        position: absolute;
        bottom: -150px; /* Увеличиваем отступ вниз */
        color: white;
        font-size: 14px;
        text-align: center;
        width: max-content;
        writing-mode: vertical-lr; /* Делаем текст вертикальным */
        transform: rotate(180deg); /* Переворачиваем текст, чтобы читался сверху вниз */
    }
}
	
	
	
	
	
	.skills-container {
            min-height: 100vh;
            padding: 20px;

            width: 100vw;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #2c3e50;
            color: white;
            text-align: center;
        }
        h2 {
            margin-bottom: 20px;
            font-size: 2em;
        }
        .skill {
            width: 60%;
            margin: 10px 0;
        }
        .skill-name {
            font-size: 1.2em;
            margin-bottom: 5px;
            text-align: left;
        }
        .progress-bar {
            width: 100%;
            height: 30px;
            background: #34495e;
            border-radius: 5px;
            overflow: hidden;
        }
        .progress {
            height: 100%;
            background:#f39c12;
            text-align: right;
            padding-right: 10px;
            line-height: 30px;
            font-weight: bold;
            border-radius: 5px;
            transition: width 2s ease-in-out;
        }
		
	
 #extra-info, .mobile-version {
            width: 100vw;
            min-height: 100vh;
            padding: 80px 20px;
            background-color: rgba(52, 73, 94, 0.9);
            text-align: center;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        /* Десктопная версия */
        .desktop-version {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            text-align: left;
            width: 100%;
        }

        /* Сетка десктопной версии */
        .info-grid {
            display: grid;
            grid-template-columns: 45% 4px 45%;
            gap: 20px;
            align-items: center;
            width: 100%;
            padding: 20px;
        }

        .left {
            text-align: right;
            font-weight: bold;
            font-size: 20px;
            padding-right: 15px;
        }

        .right {
            text-align: left;
            font-size: 20px;
            padding-left: 15px;
        }

        .center-line {
            background-color: white;
            width: 4px;
            height: 100%;
        }

        /* ПК-версия (скрываем на мобильных) */
        @media (min-width: 769px) {
            .mobile-version {
                display: none !important;
            }
        }

        /* Мобильная версия */
        @media (max-width: 768px) {
            .desktop-version {
                display: none !important;
            }

            .mobile-version {
                display: flex !important;
                flex-direction: column;
                text-align: left;
                padding: 20px;
                
            }

            .question {
                font-weight: bold;
                font-size: 18px;
                margin-bottom: 5px;
            }

            .answer {
                font-size: 16px;
                color: #ddd;
                margin-bottom: 15px;
            }
        }


footer {  
          background-color: rgba(44, 62, 80, 0.8);
          color: white;
          padding: 10px 0;
           text-align: center;	
          width: 100vw; /* Растягиваем на всю ширину */
			}		
.contacts{
           background-color: #2c3e50;
           color: white;
           padding: 10px 0;
           text-align: center;
	width: 100vw; /* Растягиваем на всю ширину */
		