
body {
    	margin: 0;
    	padding: 0;
    	font-family: 'Inter', sans-serif;
    	color: #171717;
    	background-color: #ffffff;
		overflow-x: hidden;  
        width: 100%;
}

h1 {
	width: 100%; 
    
    padding: 0 20px; 
    box-sizing: border-box; 
    
    font-size: clamp(30px, 7vw, 150px);
    
    word-spacing: 19vw;
	white-space: nowrap;
    
	text-align: center;
	font-weight: 300;
	margin-top: 300px;
	

	position: relative; 
    z-index: 2;
}

h2 {
	font-size: 60px;
	
	font-weight: 300;
}

.my-svg {
    display: block;
    width: 100%; 
    position: relative;
	z-index: 1;
	
}

.my-rectangle {
	
    fill: #171717;
	position: relative;
	    

}

.h2-1 {
	margin-top: -250px;
	color: #FFFFFF;
	z-index: 2;
	position: relative;
	text-align: center;
}

.h2-2 {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 15s linear infinite;
    font-size: 60px;
    font-weight: 300;
	margin-top: 200px;
}

.h2-2::after {
    content: " БИОГРАФИЯ БИОГРАФИЯ БИОГРАФИЯ БИОГРАФИЯ БИОГРАФИЯ БИОГРАФИЯ ";
    padding-left: 50px; 
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.h2-3 {
    
    font-size: 60px;
    font-weight: 300;
	margin-top: -200px;
    margin-left: 100px;
    color: #FFFFFF;
	z-index: 3;
	position: relative;
}



p {
	font-size: clamp(10px, 1vw, 20px);
	
	font-weight: 300;
	
	position: relative;
	z-index: 2;
	
}
.contacts{
	color: #FFFFFF;
	text-align: right;
	margin-right: 100px;
    margin-top: -100;
    z-index: 10;
	position: relative;
}
.contacts a {
    color: #FFFFFF; /* Сделает ссылки белыми на сером фоне */
    text-decoration: none;
}
.me{
	max-width: 500px;
	color: #FFFFFF;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}


.bio-grid {
    display: grid;
    /* Максимум 5 колонок, но если места мало, они будут перестраиваться */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Стили для всех параграфов внутри сетки */
.bio-grid p {
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 300;
    margin: 0;
}

/* Стрелочки для всех, кроме последнего */
.bio-grid p:not(:last-child)::after {
    content: " →";
    color: #171717;
    font-weight: bold;
    margin-left: 10px;
}

@media (max-width: 1024px) {
    .bio-grid {
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 600px) {
    .bio-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}



a {
    
    color: #171717; 
    transition: color 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.menu a {
    text-decoration: none;
    color: #171717;
    margin: 0 15px;
    transition: color 0.3s;
}

.menu a:hover {
    color: #000;
}


img {
		width: 700px;  
    	height: auto; 
		display: block;
		margin-left: auto;
		margin-right: auto;

		position: relative;
		margin-top: -500px;
    	z-index: 3;
    	
}