@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
        
body {
	font-family: 'Open Sans', Arial, sans-serif;
	line-height: 1.6;
	color: #333;
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
}

h1 {
	color: #2c3e50;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 5px;
	border-bottom: 2px solid #3498db;
	padding-bottom: 10px;
}

h2 {
	color: #2c3e50;
	font-size: 20px;
	font-weight: 600;
	margin-top: 25px;
	margin-bottom: 10px;
}

.contact-info {
	font-size: 16px;
	margin-bottom: 20px;
	color: #555;
}

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

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

.summary {
	margin-bottom: 25px;
	font-size: 16px;
}

.section {
	margin-bottom: 30px;
}

.skills-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}

.skills-column {
	flex: 1;
	min-width: 250px;
}

ul {
	padding-left: 20px;
}

li {
	margin-bottom: 8px;
}

.job {
	margin-bottom: 25px;
}

.job-title {
	font-weight: 600;
	font-size: 18px;
	color: #2c3e50;
}

.company {
	font-weight: 600;
	color: #3498db;
}

.date {
	color: #777;
	font-style: italic;
}

.job-role {
	font-weight: 600;
	margin-top: 5px;
}

.responsibilities {
	margin-top: 10px;
}

.projects {
	margin-top: 15px;
}

.project-title {
	font-weight: 600;
	margin-bottom: 5px;
}

.project-result {
	margin-left: 15px;
	position: relative;
}

.project-result:before {
	content: "✔";
	color: #27ae60;
	position: absolute;
	left: -15px;
}

.metrics {
	background-color: #f8f9fa;
	padding: 15px;
	border-radius: 5px;
	margin-bottom: 20px;
}

.metrics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 15px;
}

.metrics-category {
	margin-bottom: 10px;
}

.metrics-title {
	font-weight: 600;
	margin-bottom: 5px;
}

.highlight {
	background-color: #e3f2fd;
	padding: 15px;
	border-radius: 5px;
	margin-bottom: 20px;
	border-left: 4px solid #3498db;
}

@media (max-width: 768px) {
	.skills-container {
		flex-direction: column;
	}
	
	.metrics-grid {
		grid-template-columns: 1fr;
	}
}
/*from styles.css*/


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

/*Insert Photo*/

.contact-info-container{
	width: 100%;
	background-color: #f5f5f5;
	padding: 20px;
	border: 1px solid #ddd;
	margin-bottom: 20px;
}

.flex-container {
	display: flex;
	gap: 30px;
}

.cv-picture {
	white-space: nowrap;
	text-align: center;
	vertical-align: middle;
	justify-content: center; /* Горизонтальное выравнивание */
	align-items: center;     /* Вертикальное выравнивание */
}

.image-container img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain; /* Сохраняет пропорции изображения */
}

/* mobile warning */
.mobile-warning {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    max-width: 90%;
    width: max-content;
    z-index: 1000;
    border: 1px solid #3498db;
    border-left: 4px solid #3498db;
    animation: fadeIn 0.5s ease-out;
    display: none;
}

.mobile-warning::before {
    content: "⚠️";
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateX(-50%) translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0); 
    }
}

.mobile-warning.hide {
    animation: fadeOut 0.5s ease-in forwards;
}

@keyframes fadeOut {
    from { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0); 
    }
    to { 
        opacity: 0; 
        transform: translateX(-50%) translateY(20px); 
    }
}

@media (max-width: 480px) {
    .mobile-warning {
        font-size: 13px;
        padding: 12px 20px;
    }
}
