/* Стили для примера */
body {
  background-color: #282b4b;
}

a {
  text-decoration: none;
  color: inherit;
}
.bns span {
  color: #ffc107;
}

a:hover {
  text-decoration: none;
  color: inherit;
}

#sidebar {
  position: fixed; /* Добавлено позиционирование */
  top: 0; /* Добавлено значение свойства top */
  width: 6%;
  height: 100%;
  background-color: #1e1f2f;
  padding: 40px;
  margin-top: 70px; /* Выставляем отступ равный высоте хеадера */
  padding: 20px;
}

/* Стиль для иконок */
.icon {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
  width: 30px;
  margin-left: 20px;
}
.icon img {
  border-radius: 0;
  transition: none;
}

/* Стиль для названия иконки при наведении */
.icon:hover .icon-name {
  display: inline;
  background-color: #f8ac26;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
}

/* Стиль для названия иконки */
.icon-name {
  display: none;
  margin-left: 10px;
}
.icon:hover {
  color: #fff;
}

header {
  background-color: #1e1f2f;
  display: flex;
  align-items: center;
  justify-content: left;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 85px;
  gap: 90px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #8c8ab4;
  margin-right: 20px;
  margin: -20px;
  background-color: #1e1f2f;
}
.upbutton {
  margin-left: 350px;
}

.menu-item img {
  border-radius: 0;
  margin-bottom: 5px;
  width: 30px;
  background-color: #1e1f2f;
}

.logo {
  font-weight: bold;
  width: 100px;
  margin-left: 30px;
}

.button {
  padding: 8px 25px;
  background-color: #5383c1;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 16px;
}

.button:hover {
  color: #000;
  list-style: none;
  text-decoration: none;
}
.buuton {
  margin-right: 50px;
}

#vhod {
  background-color: #282b4b;
  padding: 7px 16px;
  font-size: 16px;
  border-radius: 3px;
  border-color: #ffc107;
  border: 1px solid #ffc107;
  color: #ffc107;
}
#vhod img {
  width: 20px;
  border-radius: 0;
}
#vhodd {
  background-color: #282b4b;
  padding: 10px 40px;
  font-size: 16px;
  border-radius: 3px;
  border-color: #ffc107;
  border: 1px solid #ffc107;
  color: #ffc107;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}

.title {
  margin-top: 20px;
}

.title h1 {
  margin-top: 20px;
  color: #fff;
  font-size: 50px;
  font-family: "Inter";
}

.title p {
  color: #fff;
  font-family: "arial";
  font-weight: 200;
}
.open p {
  color: #ffffff;
  font-family: "arial";
  font-weight: 200;
}
.button-container {
  display: flex;
  justify-content: space-around;
  width: 250px;
  margin-bottom: 50px;
  margin-left: 25px;
}
.container {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.content {
  flex: 1.6;
}

.bttn {
  display: inline-block;
  padding: 10px 40px;
  border: none;
  border-radius: 5px;
  background-color: #5383c1;
  color: rgb(255, 255, 255);
  text-decoration: none !important;
  margin-left: 10px;
}
.bttn:hover {
  color: rgb(0, 0, 0);
}
#vhodd:hover {
  color: rgb(255, 255, 255);
}
table.iksweb {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  height: auto;
  margin-bottom: 20px;
}
table.iksweb,
table.iksweb td,
table.iksweb th {
  border: 1px solid #fff;
}
table.iksweb td,
table.iksweb th {
  padding: 3px;
  width: 30px;
  height: 35px;
  color: #fff;
  padding-left: 10px;
}

.imgslots-img:hover .hover-icon {
  opacity: 1;
}

.push {
  list-style: none;
  font-family: "Inter";
  font-weight: 100;
}
.push li {
  position: relative;
  padding: 20px 0 20px 40px;
  color: #ffffff;
  font-variant: small-caps;
  font-weight: lighter;
  cursor: pointer;
}
.push li:before {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
  left: 0;
  transition: 0.3s ease-in-out;
  top: 27px;
}
.push li:after {
  position: absolute;
  border-left: 1px dotted #ffffff;
  width: 1px;
  bottom: -12px;
  content: "";
  left: 3px;
  top: 48px;
}
.push li:hover:before {
  box-shadow: 0 0 0 10px #5383c1;
}
.push li:last-child:after {
  content: none;
}

.title h2 {
  color: #fff;
  font-size: 40px;
  font-family: "Inter";
}
.get-x {
  margin-bottom: 10px;
  margin-top: 20px;
}
.get-x img {
  width: 100%;
  border-radius: 0;
  margin-bottom: 20px;
}
.title h3 {
  color: #ffffff;
  font-size: 25px;
  font-family: "Inter";
}
.title h4 {
  color: #ffffff;
  font-size: 20px;
  font-family: "Inter";
}

.title li {
  color: #fff;
  font-size: 18px;
}

.button2 {
  background-color: #f8ac26;
  padding: 8px 16px;
  color: #000;
  text-decoration: none;
  border-radius: 3px;
  font-size: 16px;
  margin: auto;
  display: block;
  margin-bottom: 20px;
}
.logo1 {
  font-weight: bold;
  width: 100px;
  margin: auto;
  margin-top: 20px;
}
.footer {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  white-space: nowrap;
  list-style: none;
  margin: auto;
  padding: 0;
}
.push {
  list-style: none;
  font-family: "open sans";
  font-weight: lighter;
}
.push li {
  position: relative;
  padding: 20px 0 20px 40px;
  color: #ffffff;
  font-variant: small-caps;
  font-weight: lighter;
  cursor: pointer;
}
.push li:before {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
  left: 0;
  transition: 0.3s ease-in-out;
  top: 27px;
}
.push li:after {
  position: absolute;
  border-left: 1px dotted #ffffff;
  width: 1px;
  bottom: -12px;
  content: "";
  left: 3px;
  top: 48px;
}
.push li:hover:before {
  box-shadow: 0 0 0 10px #5383c1;
}
.push li:last-child:after {
  content: none;
}
.title ul li {
  font-family: "Arial";
  font-weight: lighter;
  font-size: 16px;
}
.title ol li {
  font-family: "arial";
  font-weight: lighter;
  font-size: 16px;
}

/* Clear floats after containers */
.container::after {
  clear: both;
  display: table;
}

/* Float images inside the container to the left. Add a right margin, and style the image as a circle */
.container img {
  float: left;
  margin-right: 20px;
}

/* Increase the font-size of a span element */
.container span {
  font-size: 20px;
  margin-right: 15px;
}
.imgslots {
  display: flex;
  margin-bottom: 10px;
}

.imgslots-img {
  flex: 1;
  margin: 0 10px;
  position: relative; /* Добавлено */
}

.imgslots-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.3s ease;
  border-radius: 15px;
}

.imgslots-img img:hover {
  filter: brightness(50%);
}

.hover-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 40px;
  color: #282b4b;
}

/* Медиа-запрос для ширины экрана 768px и ниже */
@media (min-width: 320px) and (max-width: 1000px) {
  .title h2 {
    color: #fff;
    font-size: 20px;
    padding-bottom: 10px;
  }

  .image {
    display: block;
    flex: 1;
    background-image: none;
    background-repeat: no-repeat;
    background-size: contain;
  }
  body {
    background-color: #282b4b;
    background-image: none;
    background-repeat: no-repeat;
    background-position: top;
    background-size: 200px;
  }

  .title h1 {
    color: #fff;
    font-size: 25px;
    margin-bottom: 10px;
    margin-top: 20px;
  }

  .title h3 {
    color: #fff;
    font-size: 14px;
  }

  .title li {
    color: #fff;
    font-size: 12px;
  }

  p {
    font-size: 12px;
    margin-bottom: 15px;
  }
  table.iksweb {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    height: auto;
    margin-bottom: 20px;
  }
  table.iksweb,
  table.iksweb td,
  table.iksweb th {
    border: 1px solid #fff;
  }
  table.iksweb td,
  table.iksweb th {
    padding: 3px;
    width: 30px;
    height: 35px;
    color: #fff;
    padding-left: 10px;
    font-size: 12px;
  }

  .links {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: unset;
    margin-block-end: unset;
    padding-inline-start: unset;
    display: none;
  }

  #vhod {
    background-color: #282b4b;
    display: flex;
  }

  .button {
    padding: 10px 20px;
    background-color: #5383c1;
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    font-size: 12px;
    display: none;
  }

  .logo {
    font-weight: bold;
    max-width: 70px;
  }

  header {
    background-color: #282b4b;
    display: none;
    align-items: center;
    margin-top: 20px;
    justify-content: left;
    position: static;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 85px;
    gap: 5px;
  }

  nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
  }

  .logo1 {
    font-weight: bold;
    width: 100px;
    margin: auto;
    margin-top: 20px;
  }
  .container {
    display: flex;
    display: none;
  }

  .container img {
    margin: auto;
    float: none;
    display: none;
  }
  img {
    width: 100%;
    height: auto;
  }
  .title ul li {
    font-family: "Arial";
    font-weight: lighter;
    font-size: 12px;
  }
  .title ol li {
    font-family: "arial";
    font-weight: lighter;
    font-size: 12px;
  }
  #sidebar {
    position: fixed; /* Добавлено позиционирование */
    top: 0; /* Добавлено значение свойства top */
    width: 180px;
    background-color: #282b4b;
    padding: 40px;
    margin-top: 85px; /* Выставляем отступ равный высоте хеадера */

    display: none;
  }
  .menu-item {
    display: none;
    flex-direction: column;
    align-items: center;
    color: #8c8ab4;
    margin: 0 2px !important;
  }

  .menu-item img {
    border-radius: 0;
    margin-bottom: 5px;
    width: 30px;
  }
  .menu-item span {
    margin: 0;
  }
  .upbutton {
    justify-content: center;
    top: 10;
    right: 20px;
    margin-left: 0; /* Если не нужен отступ слева */
    display: none;
  }
}
