html {
      scroll-behavior: smooth;
    }

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            cursor: none;
        }
        
        body {
            background-color: #000;
            color: #fff;
            overflow-x: hidden;
        }

        /* Фон с текстом 2iq squad */
        .background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('./images/background.jpg');
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            filter: blur(5px);
            z-index: -1;
            text-align: center;
        }
        .title {
            text-align: center;
        }
        .title h1 {
            font-family: "Oswald", sans-serif;
            display: block;
            margin-top: 12%;
            font-size: 60px;
            position: relative;
        }

        .sidebar {
            position: fixed;
            top: 50%;
            left: 20px;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 20px;
            z-index: 10;
        }

        .sidebar-button {
            background: rgba(80, 80, 80, 0.8);
            color: #fff;
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            transition: transform 0.3s ease, backdrop-filter 0.3s ease;
            backdrop-filter: blur(0px);
        }
        .sidebar-button a {
            color: white;
            text-decoration: none;
        }

        .sidebar-button:hover {
            background: rgba(165, 165, 165, 0.6);
            transform: scale(1.1);
            backdrop-filter: blur(4px);
        }

        /* Кастомный курсор и хвостик */
        .cursor {
            position:absolute;
            width: 15px;
            height: 15px;
            background-color: rgb(222, 247, 255);
            border-radius: 50%;
            pointer-events: none;
            transition: transform 0.3s ease; /* Плавное движение */
            z-index: 100;
        }

        .cursor-follow {
            position: absolute;
            width: 10px;
            height: 10px;
            background-color: rgba(128, 128, 128, 0.2);
            border-radius: 50%;
            pointer-events: none;
            z-index: 50;
        }

        .circle {
            position: absolute;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            opacity: 0.8;
            pointer-events: none;
        }

        #about {
            display: flex;
            margin-top: 50%;
            margin-bottom: 10%;
            justify-content: center;
            text-align: center;
        }

        #logo img{
            width: 300px;
            height: 300px;
        }

        #about-information {
            background-color: #000000;
            padding-inline: 50px;
            padding-block: 30px;
            padding-bottom: 80px;
            border: 5px solid white;
            border-radius: 30px;
        }

        #about-information h2 {
            margin-block: 10px;
            margin-bottom: 30px;
            font-family: "Oswald", sans-serif;
        }

        #links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.5vw; /* Отступы между иконками зависят от ширины экрана */
            margin-top: 15px;
        }
        #links a{
                display: flex;
                justify-content: center;
                align-items: center;
                width: clamp(40px, 8vw, 70px);   /* Минимум 40px, максимум 70px, плавно от ширины */
                height: clamp(40px, 8vw, 70px);
                background-color: #fff;
                color: black;
                font-size: clamp(20px, 5vw, 35px);  /* Шрифт иконок тоже масштабируем */
                border-radius: 50%;
                transition: transform 0.3s ease, background-color 0.3s ease;
                text-align: center;
                line-height: 1;
                text-decoration: none;
        }
        #links a:hover {
            transform: scale(1.2);
            background-color: rgb(222, 247, 255);
        }


        @media (max-width: 768px) {
  /* Фон без фиксированной позиции, чтобы избежать дерганий при скролле */
  .background {
    position: absolute;
    background-attachment: scroll;
    filter: blur(3px);
  }


  /* Отключим плавающие кружки */
  .circle {
    display: none !important;
  }

  /* Упрощенный курсор — скрываем вовсе для телефонов */
  .cursor,
  .cursor-follow {
    display: none;
  }

  /* Адаптация блока с информацией */
  #about {
    margin-top: 40%;
    padding: 10px;
  }

  #about-information {
    padding: 20px;
    width: 90%;
    border-width: 3px;
  }

  #logo img {
    width: 150px;
    height: 150px;
  }

  #about-information h2 {
    font-size: 1.2rem;
  }

  #links {
    flex-wrap: wrap;
    gap: 12px;
  }

  #links a {
    width: 50px;
    height: 50px;
    padding: 10px;
    font-size: 28px;
  }
  .sidebar-button {
    display: none;
  }
}
