/*-- CV page --*/
body {
    
    font-family: Fira Code, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    /*fixing footer */
/*
    height: 100%   
    display: flex;
    flex-direction: column;
*/
}

.page {
    display: flex;
    justify-content: center;
    align-items: top;
    height: 100vh;
/*    margin-top: 2cm;  Смещение вниз на 5 см */
/*    padding-top: 2cm;*/

}

.resume-container {
    width: 210mm; /* Ширина A4 */
    height: 297mm;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 20px;
    margin-top: 40px;
}

.container {
    max-width: 100%;
}

.contact-info {
    text-align: center;
    margin-bottom: 20px;
    
}

.contact-info h1 {
    margin: 0;
    font-size: 24px;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.contact-info a {
    color: #333;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.section {
    margin-bottom: 20px;
}

.section h2 {
    font-size: 18px;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.section p {
    margin: 5px 0;
}

.experience-item, .education-item {
    margin-bottom: 10px;
}

.experience-item h3, .education-item h3 {
    font-size: 16px;
    margin: 0;
}

.experience-item p, .education-item p {
    margin: 2px 0;
    font-size: 14px;
    color: #555;
}

.experience-item ul {
    margin: 0;
    padding-left: 20px;
}

/*-- landing page --*/
section {
            padding: 10px 20px;
            margin: 10px 0;
        }

.section h3 {
    font-size: 16px;
/*
    padding-bottom: 5px;
    margin-bottom: 10px;
*/
}


.menu-container {
            text-align: center;
            background-color: #333;
            padding: 10px 0;
        }

        .menu {
            list-style: none;
            margin: 0;
            padding: 0;
            display: inline-block;
        }

        .menu li {
            display: inline;
            margin: 0 15px;
        }

        .menu li a {
            text-decoration: none;
            color: #fff;
            font-size: 16px;
            padding: 8px 12px;
            transition: all 0.3s ease;
        }

        .menu li a:hover {
            background-color: #fff;
            color: #333;
        }

/* contacts */
#contacts img{
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

#contacts a{
    color: black;
}



/* Стиль для контейнера с изображением и подписью */
.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    text-align: center;
    overflow-x: smooth; /* Добавляем горизонтальный скролл, если необходимо */
}

/* Стиль для изображения */
.image-container img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Стиль для подписи под изображением */
.image-caption {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}