body {
  min-height: 100svh;
  background: url(../img/bg.jpg) no-repeat center bottom;
  background-size: cover;
  padding: 10px 5vw;
  position: relative;
}
a {
  text-decoration: none;
}
._lock {
  overflow: hidden;
}

.menu {
  position: absolute;
  right: 80px;
  top: 20px;
  z-index: 99;
}

.burgerOpen {
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0;
  transition: all 0.5s;
}

.burgerClose {
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0;
  transition: all 0.5s;
}

.active {
  opacity: 1;
  transition: all 0.5s;
}

.menu-body {
  position: absolute;
  right: 00px;
  top: 70px;
  background: #ffffff;
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}
.open {
  opacity: 1;
  visibility: visible;
  transition: all 0.5s;
}
.menu-body ul {
  padding: 0;
  margin: 0;
}
.menu-body ul li {
  width: 30vw;
  padding: 15px;
  text-align: center;
  list-style: none;
  border-radius: 10px;
  margin: 5px 5px;
  background: linear-gradient(to bottom, #008cff, #29abe2 100%);
}
.menu-body ul li a {
  color: #ffffff;
  line-height: 24px;
  font-size: 20px;
  text-align: center;
  font-family: Helvetica, Helvetica Neue, Arial, sans-serif;
  text-decoration: none;
  padding: 15px 30px;
}
.menu-body ul li:hover {
  transform: scale(1.05);
}

.container {
  margin-top: 40px;
  margin-bottom: 350px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  align-items: center;
}

.link {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: end;
  margin: 0 -40px;
  text-shadow: 0px 2px 8px #00000050;
  color: #ffffff;
  line-height: 26px;
  font-size: 22px;
  text-align: center;
  font-family: Trebuchet, Trebuchet MS, Tahoma, Arial, sans-serif;
  transition: all 0.5s;
}
.link:hover {
  cursor: pointer;
  /* transform: scale(1.1); */
}
.all {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 5%;
}
.logo {
  width: 80%;
  aspect-ratio: 2.5;
  background: transparent url(../img/logo.png) no-repeat center top;
  background-size: contain;
}
.phone {
  width: 80%;
  aspect-ratio: 6;
  background: transparent url(../img/phone.png) no-repeat center top;
  background-size: contain;
}
.roger {
  grid-row: 1/3;
}
.r-logo {
  aspect-ratio: 1.6;
  background: url(./img/r-logo.png) no-repeat center center;
  background-size: contain;
}
.r-logo:hover {
  background: url(./img/r-logo-hover.png) no-repeat center center;
  background-size: contain;
}

.k-logo {
  aspect-ratio: 1.6;
  background: url(./img/k-logo.png) no-repeat center center;
  background-size: contain;
}
.k-logo:hover {
  background: url(./img/k-logo-hover.png) no-repeat center center;
  background-size: contain;
}
.fanastic {
  grid-row: 1/3;
  grid-column: 3/4;
}
.f-logo {
  aspect-ratio: 1.6;
  background: url(./img/f-logo.png) no-repeat center center;
  background-size: contain;
}
.f-logo:hover {
  background: url(./img/f-logo-hover.png) no-repeat center center;
  background-size: contain;
}
.footer {
  position: absolute;
  bottom: 10px;
  right: 20px;
  text-align: right;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.75);
  color: #ffffff;
  line-height: 16px;
  font-size: 14px;
  font-family: Comic Sans, Comic Sans MS, cursive;
}

.spec:hover {
  cursor: pointer;
}

.block {
  position: fixed;
  bottom: 0px;
  top: 0;
  left: 0;
  right: 0;
  background: #22222298;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0);
  transition: all 0.5s;
  overflow: hidden;
}
.open {
  transform: scale(1);
  transition: all 0.5s;
}
.content {
  width: 95%;
  max-width: 760px;
  height: 80%;
  background: #999999;
  position: relative;
  border: 2px solid #f80000;
  border-radius: 10px;
  padding: 10px;
  overflow: auto;
}
.but-close {
  width: 60px;
  height: 60px;
  position: absolute;
  right: 10px;
  top: 10px;
  background: url(./img/back.png) no-repeat center center;
  background-size: contain;
  z-index: 999;
}
.but-close:hover {
  background: url(./img/back-hover.png) no-repeat center center;
  background-size: contain;
}

.cpec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
.cpec-img {
  width: 100%;
}

@media (max-width: 767px) {
  body {
    min-height: 100svh;
    background: url(../img/bg-phone.jpg) no-repeat center bottom;
    background-size: cover;
    padding: 5px 5vw 200px 5vw;
    position: relative;
  }

  .menu {
    position: fixed;
    right: 10px;
    top: 0px;
  }
  .menu-body {
    position: fixed;
    right: 0;
    top: 70px;
    left: 0;
  }
  .menu-body ul li {
    width: auto;
    padding: 15px 5vw;
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 25px 5vw;
  }
  .link {
    font-size: 15px;
    line-height: 18px;
  }
  .logo {
    width: 100%;
  }
  .phone {
    width: 100%;
  }
  .r-logo {
    aspect-ratio: 1.6;
    background: url(./img/r-logo.png) no-repeat center center;
    background-size: contain;
  }
  .r-logo:hover {
    background: url(./img/r-logo-hover.png) no-repeat center center;
    background-size: contain;
  }

  .k-logo {
    background: url(./img/k-logo-m.png) no-repeat center center;
    background-size: contain;
  }
  .k-logo:hover {
    background: url(./img/k-logo-m-hover.png) no-repeat center center;
    background-size: contain;
  }
  .fanastic {
    grid-row: 1/3;
    grid-column: 3/4;
  }
  .f-logo {
    background: url(./img/f-logo-m.png) no-repeat center center;
    background-size: contain;
  }
  .f-logo:hover {
    background: url(./img/f-logo-m-hover.png) no-repeat center center;
    background-size: contain;
  }
  .footer {
    line-height: 16px;
    font-size: 14px;
  }
}
