.setka {
  display: grid;
  grid-template-columns: 1fr 4fr;
  grid-template-rows: auto;
  top: 100px;
}
/* levo */
.nav {
  text-align: center;
}
.tride {
  animation: glow 20s ease-in-out infinite;
}
figure {
  height: 100px;
  width: 100%;
  margin-top: 0;
  margin-bottom: 40px;
  padding-top: 0;
  animation: wobble 7s ease-in-out infinite;
  transform-origin: center center;
  transform-style: preserve-3d;
}
@keyframes wobble {
  0%,
  100% {
    transform: rotate3d(1, 1, 0, 20deg);
  }
  25% {
    transform: rotate3d(-1, 1, 0, 20deg);
  }
  50% {
    transform: rotate3d(-1, -1, 0, 20deg);
  }
  75% {
    transform: rotate3d(1, -1, 0, 20deg);
  }
}
.tride {
  display: block;
  width: 100%;
  padding: 40px;
  line-height: 1.5;
  font: 900 2em "Concert One", sans-serif;
  text-transform: uppercase;
  position: absolute;
  color: #0a0a0a;
}
@keyframes glow {
  0%,
  100% {
    text-shadow: 0 0 30px rgb(255, 255, 255);
  }
  25% {
    text-shadow: 0 0 30px rgb(255, 145, 0);
  }
  50% {
    text-shadow: 0 0 30px rgb(255, 255, 255);
  }
  75% {
    text-shadow: 0 0 30px rgb(255, 115, 0);
  }
}
.tride:nth-child(2) {
  transform: translateZ(5px);
}
.tride:nth-child(3) {
  transform: translateZ(10px);
}
.tride:nth-child(4) {
  transform: translateZ(15px);
}
.tride:nth-child(5) {
  transform: translateZ(20px);
}
.tride:nth-child(6) {
  transform: translateZ(25px);
}
.tride:nth-child(7) {
  transform: translateZ(30px);
}
.tride:nth-child(8) {
  transform: translateZ(35px);
}
.tride:nth-child(9) {
  transform: translateZ(40px);
}
.tride:nth-child(10) {
  transform: translateZ(45px);
}
/* ===== */
.cartohka2 {
  display: inline-block;
  width: 300px;
  border-radius: 10px;
  margin: 10px;
  background: #000000c2;
}
.cartohka2 .centrovka {
  padding: 10px;
}
.cartohka2 .centrovka ul {
  display: grid;
  text-align: start;
  padding: 5px;
  border: 2px solid #ffa600;
  border-radius: 10px;
  color: #ff9100;
}
.cartohka2 .centrovka p {
  border: 2px solid #ffa600;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 1.25rem;
  color: aquamarine;
}
/* =============== */
.content {
  text-align: center;
}
.nazvan {
  display: flex;
  padding: 20px;
  justify-content: space-between;
  align-items: center;
  background: #000000c2;
  border-radius: 20px;
  margin-inline: 35px;
  box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.7),
    inset -2px -2px 3px rgba(0, 0, 0, 0.7);
  box-shadow: 2px 2px 3px rgba(255, 255, 255, 0.7),
    -2px -2px 3px rgba(255, 255, 255, 0.7);
}
.nazvan img {
  height: 65px;
}
.nazvan p {
  font-size: 2rem;
  font-weight: 600;
  color: #ff9900;
  text-shadow: 2px 2px 3px #000000, 2px 2px 2px #fff;
}
/* ======= */
.tablica-kv {
  display: inline-block;
  margin-bottom: 35px;
  margin-top: 20px;
}
.tablica-kv table tr th {
  background: #313131ee;
  color: #fff;
  padding: 10px;
}
.tablica-kv table .beliy td {
  background: #fff;
  padding: 5px;
}
.tablica-kv table tr td {
  background: #7c7c7c;
  padding: 5px;
}
.tablica-kv table tr .td1 {
  padding-inline: 25px;
}
/* ======= */
.metr2 {
  display: inline-block;
  padding-inline: 50px;
}
.metr2bloki {
  display: inline-block;
  width: 340px;
  border: 2px solid #ffa600;
  background: #000000c2;
  color: #fff;
  border-radius: 10px;
  margin: 10px;
  margin-inline: 35px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.metr2bloki img {
  border: 2px solid black;
  border-radius: 10px;
}
.metr2bloki ul li {
  text-align: start;
  padding-left: 10px;
  padding-right: 10px;
}
/* ======= */
.tegp {
  text-align: start;
  border: 2px solid #ffa600;
  border-radius: 10px;
  padding: 20px;
  margin-inline: 50px;
  margin-top: 25px;
  margin-bottom: 25px;
  background: #000000c2;
  color: #fff;
}
.tegp p {
  margin-top: 10px;
  margin-bottom: 10px;
  text-indent: 10px;
}
.tegp ul {
  padding-left: 35px;
  list-style-type: disc !important;
}
/* ======= */
.blok-cartochek {
  text-align: center;
}
.cartohka {
  display: inline-block;
  height: 350px;
  width: 320px;
  border-radius: 10px;
  border: 2px solid #ffa600;
  margin: 10px;
  background: #000000c2;
}
.cartohka:hover {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4), -4px -4px 10px rgba(0, 0, 0, 0.4);
}
.kartinki {
  height: 300px;
  width: 316px;
  position: relative;
}
.hidden {
  display: none;
}
.kartinki .slider img {
  top: 0;
  height: 300px;
  width: 316px;
  object-fit: contain;
  border-bottom: 2px solid black;
}
#btnPrev,
#btnNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 25px;
  width: auto;
  cursor: pointer;
}
#btnPrev {
  left: 10px;
}
#btnNext {
  right: 10px;
}
#btnPrev img,
#btnNext img {
  height: 30px;
}
.cartohka-opis p {
  padding: 10px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}
h3 {
  padding: 5px;
  text-align: center;
  color: #fff;
}
.cartohka2 ul li {
  padding: 3px;
  font-weight: 600;
}
/* ========== */
/* *, *::after, *::before {
    box-sizing: inherit;
} */
.garmoshka {
  font-family: "Roboto", sans-serif;
  line-height: 1.2;
  width: 100%;
  min-height: auto;
  display: flex;
  justify-content: center;
}
.container {
  padding: 30px;
  max-width: 800px;
}
.container .box {
  position: relative;
  margin-bottom: 20px;
}
.container .box:last-child {
  margin-bottom: 0;
}
.container .box .label {
  position: relative;
  padding: 20px;
  padding-right: 45px;
  background: #000000c2;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}
.container .box .label::after {
  content: "+";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  font-size: 25px;
  font-weight: bold;
}
.container .box.active .label::after {
  content: "\2014";
}
.container .box .content {
  position: relative;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  overflow: hidden;
  max-height: 0;
  transition: 0.3s;
}
.container .box .content p {
  padding: 20px;
}
/* ======= */
.futer {
  bottom: 0;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #313131ee;
  background: #000000ee;
  border-top: 2px solid #ff8400;
}
.futer .vnimanie {
  padding: 10px;
  margin-right: 10px;
}
.futer .vnimanie p {
  font-size: 0.7rem;
  color: aquamarine;
}
.futer .zvonok {
  display: flex;
  align-items: center;
  margin-inline: 20px;
}
.futer .zvonok img {
  padding-inline: 10px;
  height: 30px;
  width: auto;
}
.futer .zvonok p {
  color: aquamarine;
}
/* =============== */
.animehka {
  font-family: sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}
.containerda {
  display: flex;
  justify-content: center;
  align-items: center;
  .box {
    transform-style: preserve-3d;
    animation: animate 5s ease-in-out infinite alternate;
    span {
      text-transform: uppercase;
      line-height: 0.76em;
      position: absolute;
      color: rgba(36, 36, 36, 0.705);
      font-size: 2.5em;
      white-space: nowrap;
      font-weight: bold;
      transform-style: preserve-3d;
      text-shadow: 0 20px 15px;
      transform: translate(-50%, -50%) rotateX(calc(var(--i) * 50deg))
        translateZ(50px);

      i {
        font-style: initial;

        &:nth-child(1) {
          color: rgba(255, 255, 255, 0.829);
        }

        &:nth-child(2) {
          color: rgba(255, 115, 0, 0.836);
        }
      }
    }
  }
}
@keyframes animate {
  0% {
    transform: perspective(1000px) rotateX(0deg) rotate(7deg);
  }
  100% {
    transform: perspective(1000px) rotateX(360deg) rotate(5deg);
  }
}
@media (max-width: 320px) {
}
/* =============== */
* *,
*::before,
*::after {
  animation-play-state: running !important;
}
.razdel {
  width: 100%;
  height: 80px;
}
.stage {
  transform-style: preserve-3d;
}
.layer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  animation: ಠ_ಠ 5s infinite alternate ease-in-out -7.5s;
  animation-fill-mode: forwards;
  transform: rotateY(30deg) rotateX(33deg) translateZ(0);
}
.layer:after {
  font: 50px/0.65 "Pacifico", "Kaushan Script", "Roboto", "Trebuchet MS",
    Helvetica, sans-serif;
  content: "Скидки до 15%!";
  white-space: pre;
  text-align: center;
  position: absolute;
  top: 20px;
  color: #d1d1d181;
  letter-spacing: -1px;
  text-shadow: 4px 0 10px rgba(0, 0, 0, 0.13);
}
.layer:nth-child(1):after {
  transform: translateZ(0px);
}
.layer:nth-child(2):after {
  transform: translateZ(-1.5px);
}
.layer:nth-child(3):after {
  transform: translateZ(-3px);
}
.layer:nth-child(4):after {
  transform: translateZ(-4.5px);
}
.layer:nth-child(5):after {
  transform: translateZ(-6px);
}
.layer:nth-child(6):after {
  transform: translateZ(-7.5px);
}
.layer:nth-child(7):after {
  transform: translateZ(-9px);
}
.layer:nth-child(8):after {
  transform: translateZ(-10.5px);
}
.layer:nth-child(9):after {
  transform: translateZ(-12px);
}
.layer:nth-child(10):after {
  transform: translateZ(-13.5px);
}
.layer:nth-child(11):after {
  transform: translateZ(-15px);
}
.layer:nth-child(12):after {
  transform: translateZ(-16.5px);
}
.layer:nth-child(13):after {
  transform: translateZ(-18px);
}
.layer:nth-child(14):after {
  transform: translateZ(-19.5px);
}
.layer:nth-child(15):after {
  transform: translateZ(-21px);
}
.layer:nth-child(16):after {
  transform: translateZ(-22.5px);
}
.layer:nth-child(17):after {
  transform: translateZ(-24px);
}
.layer:nth-child(18):after {
  transform: translateZ(-25.5px);
}
.layer:nth-child(19):after {
  transform: translateZ(-27px);
}
.layer:nth-child(20):after {
  transform: translateZ(-28.5px);
}
.layer:nth-child(n + 10):after {
  -webkit-text-stroke: 3px rgba(0, 0, 0, 0.25);
}
.layer:nth-child(n + 11):after {
  -webkit-text-stroke: 15px rgb(255, 94, 30);
  text-shadow: 6px 0 6px #6b3000, 5px 5px 5px #512000, 0 6px 6px #6b2200;
}
.layer:nth-child(n + 12):after {
  -webkit-text-stroke: 15px rgb(255, 94, 30);
}
.layer:last-child:after {
  -webkit-text-stroke: 17px rgba(0, 0, 0, 0.1);
}
.layer:first-child:after {
  color: #ffffffd2;
}

@keyframes ಠ_ಠ {
  100% {
    transform: rotateY(-30deg) rotateX(-33deg);
  }
}
/* =============== */
@media (max-width: 1250px) {
  .metr2 {
    padding-inline: 10px;
  }
  .metr2bloki {
    width: 280px;
    margin-inline: 15px;
  }
  .metr2bloki img {
    width: 260px;
  }
}
@media (max-width: 1024px) {
  .nazvan {
    margin-inline: 20px;
  }
  .nazvan p {
    font-size: 1.3rem;
  }
  .nazvan img {
    height: 45px;
  }
  .nazvan {
    padding: 30px;
  }
}
@media (max-width: 965px) {
  .metr2 {
    padding-inline: 10px;
  }
  .metr2bloki {
    width: 280px;
    margin-inline: 10px;
  }
  .metr2bloki img {
    width: 260px;
  }
}
@media (max-width: 850px) {
  .nazvan {
    display: block;
    text-align: center;
    padding: 0;
    margin-inline: 25px;
  }
  .nazvan p {
    font-size: 1.3rem;
  }
  .nazvan img {
    display: none;
  }
  .metr2 {
    padding-inline: 10px;
  }
}
@media (max-width: 768px) {
  .nazvan {
    margin-inline: 10px;
  }
  .setka {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 425px) {
  .metr2 {
    padding-inline: 0;
  }
  .metr2bloki {
    width: 320px;
    border-radius: 10px;
    margin: 0px;
    margin-top: 20px;
  }
  .metr2bloki img {
    width: 310px;
  }
  .tegp {
    margin: 10px;
    margin-top: 10px;
  }
  .content .blok-kartochek {
    width: 320px;
  }
  .cartohka {
    margin: 0;
    margin-top: 10px;
  }
  .futer {
    height: 60px;
  }
  .futer .vnimanie p {
    font-size: 0.5rem;
  }
  .futer .zvonok p {
    font-size: 0.7rem;
  }
  .futer .zvonok img {
    height: 30px;
  }
}
@media (max-width: 320px) {
  .tegp {
    margin: 0;
    margin-top: 10px;
  }
}
