/* Основные стили и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'EpilepsySans';
    src: url("./EpilepsySans.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;

}
body {
    font-family: 'EpilepsySans' !important;
    line-height: 1.6;
    background-image:url('../img/2.png');
    padding: 20px;
}

/* Сетка страницы */

.container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
    padding: 20px;



}

/* Стили для боковой панели */
.sidebar {
    position: relative;
    background-color: #4a6fa5;
    color: white;
    padding: 30px 20px;
    text-align: center;
    order-right: 1px solid grey;
    border-bottom: 1px solid grey;
    box-shadow: 1px 0 0 white, 1px 1px 0 white, 0 1px 0 white, -1px 0 0 darkgrey,
    -1px -1px 0 darkgrey, 0 -1px 0 darkgrey, -1px 1px 0 white, 1px -1px darkgrey;
}

.headercontent{
    position: absolute;
    background: #ff6b6b;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;
}

.head{
    height: 30px;
}

.avatar {
    width: 280px;
    height: 280px;
    order-right: 1px solid grey;
    border-bottom: 1px solid grey;
    box-shadow: 1px 0 0 white, 1px 1px 0 white, 0 1px 0 white, -1px 0 0 darkgrey,
    -1px -1px 0 darkgrey, 0 -1px 0 darkgrey, -1px 1px 0 white, 1px -1px darkgrey;
    object-fit: cover;
    border: 2px solid #6e9cd2;
    margin-bottom: 20px;
    margin-top: 20px;
}

.sidebar h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.intro {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #e6e6e6;
}

.contacts {
    margin-top: 30px;
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #ffd166;
}

/* Стили для основного контента */
.main-content {
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #4a6fa5;
    border-bottom: 2px solid #6e9cd2;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.interest-item {
    background-color: #f0f5ff;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.window:hover {
    transform: translateY(-10px);

}

.interest-item h3 {
    color: #4a6fa5;
    margin-bottom: 10px;
}

/* Стили для ссылок */
a {
    color: #4a6fa5;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}



@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }



}