body {
    font-family: 'MuseoModerno';
    font-optical-sizing: auto;
    font-weight: 300;
    font-size: 18px;
    font-style: normal;
    padding: 10px;
    margin: 0;
    transition: background-color 0.3s;
    background-color: #333;
    color: #fff;      
}

/* Шапка */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

/* Профиль */
#bio-tile {
    margin: 10px auto;
    max-width: 680px;
    text-align: center;
}

#profile {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.logo-image {
    margin-top: 5px;
    border-radius: 10%;
    width: 40px;
    height: 40px;
    scale: 1;
}

/* Ссылки на социальные сети */
#social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.social-link {
    display: block;
    width: 70px;
    height: 70px;
    background-color: #646464;
    line-height: 80px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
    color: #fff;
}

.social-link:hover {
    background-color: #8b8b8b;
}

.social-link i {
    transition: transform 0.3s, filter 0.3s;
}

.social-link:hover i {
    transform: scale(1.1);
}

/* Медиа-запросы для мобильных устройств */

    /* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {



#social-links {
    flex-wrap: wrap; /* Позволяет элементам переноситься на новую строку */
    justify-content: center; /* Центрирование иконок по горизонтали */
    gap: 5px; /* Расстояние между иконками */
}

.social-link {
    width: 60px; /* Меньше размер для мобильных устройств */
    height: 60px; /* Меньше размер для мобильных устройств */
    line-height: 70px; /* Высота строки соответствует высоте блока */
}
}


/* отвечает за отображение и расположение версии */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 30px; /* Задайте высоту футера */
    text-align: right;
    padding: 1px ;
}


/* Стили для сайдбара */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Стили для ссылок в сайдбаре */
  .sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #a6aab3;
    display: block;
    transition: 0.3s;
  }
  
  /* При наведении мыши ссылки будут менять цвет */
  .sidebar a:hover {
    color: #f1f1f1;
  }
  
  /* Кнопка закрытия сайдбара */
  .sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  /* Стиль для кнопки, которая будет открывать сайдбар */
  .openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
  }
  
  .openbtn:hover {
    background-color: #444;
  }
  
  /* Стиль для основного содержимого страницы, когда сайдбар открыт */
  #main {
    transition: margin-left .5s;
    padding: 16px;
  }
  
  /* Добавьте медиа-запросы для того, чтобы сайдбар был меньше на маленьких экранах */
  @media screen and (max-height: 450px) {
    .sidebar {padding-top: 15px;}
    .sidebar a {font-size: 18px;}
  }

/* ===== Design refresh 2025: minimal dark ===== */
:root {
    --bg-start: #0f1117;
    --bg-end: #0b0d12;
    --accent: #64ffda;
    --accent-2: #b37dff;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-stroke: rgba(255, 255, 255, 0.12);
    --text-1: #e6e6e6;
    --text-2: #a6aab3;
}

body {
    background: #0d1117;
    color: var(--text-1);
    scroll-behavior: smooth;
}

#profile {
    gap: 20px;
    padding-top: 10vh;
}

#avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid #202733;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    animation: floatY 6s ease-in-out infinite;
}

.glass-card {
    background: #12161f;
    border: 1px solid #1f2531;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    padding: 24px;
    border-radius: 14px;
}

#bio-tile h1 {
    font-family: 'MuseoModerno', cursive;
    font-weight: 700;
    font-size: 46px;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
}

#bio-tile p {
    color: var(--text-2);
    margin: 0;
    line-height: 1.7;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #222a36;
    background: transparent;
    box-shadow: none;
    border-radius: 999px;
    transform: translateY(0) scale(1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 0 6px rgba(100, 255, 218, 0.08);
    background-color: rgba(255,255,255,0.03);
}

.social-link i { filter: none; }

.sidebar {
    background: #0e131a;
    border-right: 1px solid #1d2330;
}

.logo-image {
    transition: transform 0.2s ease, filter 0.3s ease;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

#logo:hover .logo-image { transform: scale(1.05); }

/* micro-interactions */
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* custom scrollbar for WebKit */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
::-webkit-scrollbar-thumb { background: #202733; border-radius: 6px; }

/* CTA button */
.cta-wrapper { text-align: center; margin: 0 0 12px; }
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #11161f;
    border: 1px solid #232a36;
    color: #e6e6e6;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.6px;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.cta-link::after { content: "→"; opacity: .8; transition: transform .2s ease; }
.cta-link:hover { transform: translateY(-2px); background:#0f141c; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.cta-link:hover::after { transform: translateX(4px); }