* {
  font-family: "Roboto", sans-serif;
}

body {
  background-color: #2d2d2d;
  color: white;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.btn__container {
  width: 100%;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.btn,
.btn-tw,
.btn-tg,
.btn-yt,
.btn-tk,
.btn-ds,
.btn-ts,
.btn-vk,
.btn-sm {
  width: 100%;
  max-width: 400px;
  border-radius: 5px;
  background-color: #3b3b3b;
  padding: 1rem 2rem;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  display: inline-block;
  transition: all .2s ease-in-out;
  margin-bottom: 10px;
  position: relative;


  i {
    font-size: 20px;
    padding-right: 10px;
    transition: all .3s ease-in-out;
  }

  span {
    font-family: "Roboto", sans-serif;
    align-self: center;
    transform: translateX(0px);
    transition: all .1s ease-in-out;
    opacity: 1;
  }

  &:hover {
    transform: scale(1.1);
    background: linear-gradient(to right, #ff3019 0%,#c90477 100%);
    box-shadow: 0px 10px 30px rgba(0,0,0,0.10);

    i {
      transform: translateX(45px);
      padding-right: 0;
      color: #FFFFFF;
    }

    span {
      transform: translateX(30px);
      opacity: 0;
    }
  }

  &:active {
    transform: scale(1);
    box-shadow: 0px 2px 10px rgba(0,0,0,0.10);
  }
}

.btn {
  color: #ffffff;

  i {
    color: #ffffff;
  }

  &:hover {
    background-color: #ff3019;
  }
}

.btn-tw {background-color: #6441a5;}
.btn-tg {background-color: #2492cb;}
.btn-yt {background-color: #c92a2a;}
.btn-tk {background-color: #000000;}
.btn-ds {background-color: #7289da;}
.btn-ts {background-color: #1b2436;}
.btn-vk {background-color: #4c75a3;}
.btn-sm {background-color: #171d25;}

hr {
  border: none;
  height: 1px;
  background-color: #3BBF7E;
  margin: 20px auto;
  width: 100%;
  max-width: 400px;
}
.logo {
  width: 150px;          /* Размер ширины */
  height: 150px;         /* Размер высоты */
  background-image: url('./img/logo.gif'); /* Путь к изображению */
  background-size: cover; /* Масштабирует изображение под размеры блока */
  background-position: center; /* Центрирует изображение */
  background-repeat: no-repeat; /* Изображение не повторяется */
  border-radius: 50%;           /* Круглые края */
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Адаптация под мобильные устройства */
@media screen and (max-width: 768px) {
  /* Удаляем эффекты с кнопок */
  .btn {
    transition: none !important;
    background-color: #3b3b3b;
    transform: none !important;
    box-shadow: none !important;

    i {
      transform: none !important;
      padding-right: 10px;
      color: inherit;
    }

    span {
      transform: none !important;
      opacity: 1;
    }

    &:hover, &:active {
      transform: none !important;
      background-color: #3b3b3b;
      box-shadow: none !important;
    }
  }

  /* Другие мобильники изменения */
  html, body {
    font-size: 16px;
  }

  .btn__container {
    padding: 10px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 14px;
  }

  .logo {
    width: 100px;
    height: 100px;
  }
  
  .btn,
  .btn-tw,
  .btn-tg,
  .btn-yt,
  .btn-tk,
  .btn-ds,
  .btn-ts,
  .btn-vk,
  .btn-sm {
    width: 270px;
    font-size: 16px;
  }
  hr {
    width: 270px;
  }
}