/* общее */
.info-modal {
  position: absolute;
  top: 12vh;
  padding: 20px;

  border-radius: 20px;

  background: #edd2e5;

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(160, 68, 255, 0.25);

  animation: popup 0.35s ease;
}
/* анимация появления */
@keyframes popup {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
/* кнопка */
.info-btn {
  padding: 10px 18px;

  border: none;
  border-radius: 12px;

  color: white;
  font-weight: 600;

  cursor: pointer;

  background: linear-gradient(
    90deg,
    #7b2ff7,
    #a044ff,
    #c471ed
  );

  box-shadow:
    0 0 10px rgba(160, 68, 255, 0.6),
    0 4px 15px rgba(160, 68, 255, 0.4);

  transition: 0.25s;
}
.info-btn:hover {
  transform: translateY(-2px);
}


/* mess */
#messageBox{
  left: 10%;
  width: 80%;
}
@media screen and (min-width: 768px) { /* ПК версия */
  #messageBox{
    left: 20%;
    width: 40%;
  }
}


/* туториал (модальное окно) */
#tutorialOverlay {
  position: fixed;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(3px);

  z-index: 999;
}
#tutorialModal {
  position: relative;
  top: 4vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  z-index: 1000;

  width: min(1200px, 90%);
  height: 80vh;
  overflow-y: auto;
}
/* навигация внизу */
.tutorial-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  /* position: absolute;
  bottom: 28%;
  right: 8%; */
  margin-top: auto;
  margin-bottom: 24px;
}
.tutorial-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.tutorial-dot {
  width: 12px;
  height: 12px;

  border-radius: 50%;

  background: #a044ff;

  cursor: pointer;
  transition: 0.25s;
}
.tutorial-dot:hover {
  transform: scale(1.2);
}
.tutorial-dot.active {
  width: 28px;
  border-radius: 20px;
  background: #c471ed;
}
.tutorial-nav-btn {
  border-radius: 30%;
  width: 32px;
  height: 32px;
  margin: 0 20px;
}
/* закрыть модалку */
.tutorial-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
}
.tutorial-close-btn:hover {
  transform: scale(1.1);
}

/* секция */
.tutorial-section {
  margin-bottom: 50px;
}
.tutorial-header {
  text-align: center;
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: bold;
}

/* блок */
.tutorial-block {
  display: flex;
  gap: 20px;
  width: 90%;

  margin-top: 3%;
}

/* колонки */
.tutorial-left {
  flex: 2;
}
.tutorial-right {
  flex: 3;
}

/* элементы (навигация в начале)*/
.tutorial-content-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;

  margin-top: 3%;
}
.tutorial-content-list li {
  padding: 14px 18px;
  margin-bottom: 10px;

  border-radius: 12px;

  background: rgba(255,255,255,0.7);

  cursor: pointer;
  transition: 0.2s;
}
.tutorial-content-list li:hover {
  transform: translateX(6px);
}
/* список через ol li */
.tutorial-list {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
}
.tutorial-list li {
  margin-left: 24px;
}
/* блоки текст */
.tutorial-highlight {
  background: #f2c7cf; /* нежно-розовый */
  color: #4a3a42;

  margin: 4% 0;
  padding: 18px 22px;
  border-radius: 16px;

  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;

  max-width: 420px;
}
.tutorial-text {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
}
/* ссылки */
.tutorial-left a {
    color: #2e1408;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}
.rutube-video,
.pptx {
    margin-left: 12%;
}

.rutube-video::before {
    content: "▶";
    font-size: 1.2rem;
}
.pptx::before {
    content: "📂";
    font-size: 1.2rem;
}
/* картинка или гифка слева */
.tutorial-image {
  width: 100%;
  border-radius: 8px;
}

/* адаптив */
@media (max-width: 768px) {
  .tutorial-block {
    flex-direction: column;
    margin-top: 120%;
  }
  /* .tutorial-footer {
    position: static;
  } */
}