.preview {
  width: 100vw;
  opacity: 0.3;
  position: absolute;
  /* display: none; */
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: black;
  background-image: url("./cut/backgre.png");
  /* overflow-x: hidden;
  overflow-y: scroll; */
  font-family: "Roboto", sans-serif;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  overflow: hidden;
}

@keyframes slide-right {
  to {
    transform: translateX(100%);
  }
}

.top-info {
  margin-top: -7px;
  padding: 7px;
  border: 14px solid red;
  border-image: url("./cut/Bottom.png") 24;
  color: white;
  border-left: none;
  border-right: none;
  text-transform: uppercase;
  font-size: 14px;
}

@keyframes slider-right {
  from {
    left: 0;
  }
  to {
    left: -100%;
  }
}

.top-info ul {
  animation: slider-right 10s infinite;
  width: max-content;
  position: relative;
}

.top-info li {
  display: inline;
}

.wrapper {
  max-width: 720px;
  margin: auto;
  text-align: center;
  margin-bottom: 180px;
}

.menu-bottom {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-image: url("./cut/Layer\ 90\ copy.png");
  background-position: center;
  background-repeat: no-repeat;
}

.menu-bottom li {
  display: inline-block;
  padding: 0 0px 14px;
  width: 84px;
}

.menu-bottom .nap-rut-sieu-toc {
  padding: 0;
  position: relative;
  top: 2px;
  width: 310px;
  margin: auto -14px auto -20px;
}

.section1 .top_l,
.section1 .top_r {
  height: 60px;
  display: inline-block;
  flex: 1;
}

.section1 {
  display: flex;
}

.section1 .top_l {
  left: -32px;
  background-image: url("./cut/top_l.png");
  background-repeat: no-repeat;
  margin-right: 10px;
  background-position-x: right;
}
.section1 .top_r {
  right: -36px;
  background-image: url("./cut/top_r.png");
  background-repeat: no-repeat;
  margin-left: 10px;
}

.section2 {
  padding: 60px;
  background-image: url("./cut/Layer\ 49.png");
  background-repeat: no-repeat;
  background-position: center;
}

.section3 {
  margin-top: -60px;
  margin-bottom: 20px;
  position: relative;
}

.section3 img {
  width: 562px;
}

.subtitle {
  color: white;
  letter-spacing: 0.6px;
  margin-bottom: 20px;
}

.subtitle::before {
  content: "";
  background-image: url("./cut/Layer\ 59.png");

  display: inline-block;
  width: 80px;
  height: 10px;
  background-repeat: no-repeat;
}

.subtitle::after {
  content: "";
  background-image: url("./cut/Layer\ 59.png");

  display: inline-block;
  width: 80px;
  height: 10px;
  transform: rotate(180deg);
  background-repeat: no-repeat;
}

.section4 p {
  color: white;
  margin-top: 6px;
  letter-spacing: 0.6px;
}

.section4 {
  margin-bottom: 28px;
  font-weight: 500;
}

.footer-bg {
  z-index: -1;
  position: fixed;
  width: 100%;
  background-image: url("./cut/bottom_backgr.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  height: 420px;
  bottom: 0;
}

a {
  display: inline-block;
  text-decoration: none;
  color: white;
}

:root {
  --sliderWidth: 562px;
  --sliderHeight: 300px;
}

/* slider */
.slider {
  max-width: var(--sliderWidth);
  margin: auto;
  overflow: hidden;
  height: var(--sliderHeight);
}

.slider .images {
  position: relative;
  width: 100%;
}

.slider .slider-item {
  right: calc(-1 * var(--sliderWidth));
  position: absolute;
  top: 0;
  transition: right 0;
  /* display: none; */
}

/* @keyframes slide-active {
  from {
    right: -var(--sliderWidth);
  }
  to {
    right: 0;
  }
} */

.slider .slider-item.active {
  display: block;
  transition: right 2s;

  /* position: relative; */
  /* animation-name: slide-active; */
  /* animation-duration: 4s; */
  right: 0;
}

/* @keyframes slide-deactive {
  from {
    right: 0px;
  }
  to {
    right: var(--sliderWidth);
  }
} */

.slider .slider-item.deactive {
  display: block;
  right: var(--sliderWidth);
  transition: right 2s;

  /* position: relative; */
  /* animation-name: slide-deactive; */
  /* animation-duration: 4s; */
}

.slider .images {
  /* width: 20000px; */
}

.slider .slider-nav {
  position: absolute;
  bottom: 0;
  width: var(--sliderWidth);
}
.slider .slider-nav li {
  width: 11px;
  height: 12px;
  display: inline-block;
  background-image: url("./cut/Ellipse\ 1\ copy\ 6-1.png");
}

.slider .slider-nav li.active {
  background-image: url("./cut/Ellipse\ 1\ copy\ 6.png");
}

@media only screen and (min-width: 880px) {
  .section1 .top_l {
    margin-right: 80px;
  }

  .section1 .top_r {
    margin-left: 80px;
  }
}

@media only screen and (min-width: 721px) {
  :root {
    --sliderWidth: 830px;
    --sliderHeight: 420px;
  }

  .top-info ul {
    animation-duration: 15s;
  }

  .only-mobile {
    display: none;
  }

  .menu-bottom {
    background-position: center;
  }

  .wrapper {
    width: 100%;
    max-width: 100%;
  }
  .section1 {
    max-width: 974px;
    position: relative;
    margin: auto;
  }

  .section2 {
    margin-top: -96px;
  }

  .section3 {
    margin-top: 34px;
    margin-bottom: 0;
  }

  .section3 img {
    width: var(--sliderWidth);
  }

  .section4 {
    position: absolute;
    top: 232px;
    left: calc(50% - 224px);
  }

  .section4 p {
    position: absolute;
    top: -30px;
  }

  .section5 {
    margin-top: 8px;
  }

  .subtitle {
    margin-top: 12px;
    margin-bottom: 6px;
  }

  .menu-bottom li {
    display: inline-block;
    padding: 0 0px 14px;
    width: 94px;
  }

  .menu-bottom .nap-rut-sieu-toc {
    padding: 0;
    position: relative;
    top: 2px;
    width: 310px;
    margin: auto 6px auto 0px;
  }

  .section1 .top_l {
    margin-right: 30px;
  }

  .section1 .top_r {
    margin-left: 30px;
  }
}
