#menu_btn {
  background: url("../img/menu_btn_texture.webp") center center;
  background-size: 80px;
  top: 20px;
  right: 20px;
}

@media screen and (max-width: 768px) {
  #menu_btn {
    top: 14px;
    right: 14px;
  }
}

#gateway {
  position: fixed;
  left: 0;
  top: 0;
  padding: 20px;
  z-index: 10;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  #gateway {
    padding: 14px;
  }
}

#gateway .gateway_beside {
  width: 100%;
  display: flex;
  align-items: flex-start;
}

#gateway .gateway_beside.gateway_top {
  position: relative;
}

#gateway .gateway_beside.gateway_top .cel {
  width: calc((100vw - 40px - 100px - 150px) / 4);
}

#gateway .gateway_beside.gateway_top .cel.logo_side {
  width: calc((100vw - 40px - 100px - 50px - 460px) / 4);
}

@media screen and (max-width: 819px) {
  #gateway .gateway_beside.gateway_top .notch_wrap {
    width: 100%;
    height: 10px;
    background: url("../img/gateway_texture.webp") repeat center center;
    background-size: 10px;
  }

  #gateway .gateway_beside.gateway_top .notch_wrap .cel,
  #gateway .gateway_beside.gateway_top .notch_wrap .notch {
    display: none;
  }

  #gateway .gateway_beside.gateway_top .notch_wrap.center {
    background: none;
  }

  #gateway .gateway_beside.gateway_top .notch_wrap.center .notch {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  #gateway .gateway_beside.gateway_top .notch_wrap {
    height: 7px;
  }
}

#gateway .gateway_beside.gateway_bottom {
  position: relative;
}

#gateway .gateway_beside.gateway_bottom .cel {
  width: calc((100vw - 40px - 100px - 150px) / 4);
}

#gateway .gateway_beside.gateway_bottom .cel.logo_side {
  width: calc((100vw - 40px - 100px - 100px - 690px) / 6);
}

@media screen and (max-width: 819px) {
  #gateway .gateway_beside.gateway_bottom .cel {
    width: calc((100vw - 40px - 100px - 50px) / 2);
  }
}

@media screen and (max-width: 768px) {
  #gateway .gateway_beside.gateway_bottom .cel {
    width: calc((100vw - 28px - 70px - 35px) / 2);
  }
}

#gateway .gateway_beside .cel {
  background: url("../img/gateway_texture_beside.webp") repeat center center;
  background-size: 30px auto;
  height: 10px;
}

@media screen and (max-width: 768px) {
  #gateway .gateway_beside .cel {
    height: 7px;
  }
}

#gateway .gateway_beside .notch {
  width: 30px;
  height: 10px;
  margin: 0 10px;
  background: url("../img/gateway_texture_beside.webp") repeat center center;
  background-size: 30px auto;
}

@media screen and (max-width: 768px) {
  #gateway .gateway_beside .notch {
    width: 21px;
    height: 7px;
    margin: 0 7px;
  }
}

#gateway .gateway_beside .lkk_logo {
  margin: 0 10px;
}

@media screen and (max-width: 768px) {
  #gateway .gateway_beside .lkk_logo {
    margin: 0 7px;
  }
}

#gateway .gateway_beside .lkk_logo a {
  pointer-events: auto;
}

@media screen and (min-width: 769px) {
  #gateway .gateway_beside .lkk_logo a:hover {
    opacity: 0.8;
  }
}

#gateway .gateway_beside .lkk_logo img {
  width: 210px;
}

@media screen and (max-width: 768px) {
  #gateway .gateway_beside .lkk_logo img {
    width: 119px;
  }
}

#gateway .gateway_beside .gateway_corner {
  position: relative;
}

#gateway .gateway_beside .gateway_corner img {
  width: 50px;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  #gateway .gateway_beside .gateway_corner img {
    width: 35px;
  }
}

#gateway .gateway_beside .notch_wrap {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1500px) {
  #gateway .gateway_beside .notch_wrap.notch_wrap.long {
    display: none;
  }
}

@media screen and (max-width: 819px) {
  #gateway .gateway_beside .notch_wrap.notch_wrap.medium {
    display: none;
  }
}

#gateway .gateway_top {
  height: 50px;
}

@media screen and (max-width: 768px) {
  #gateway .gateway_top {
    height: 35px;
  }
}

#gateway .gateway_top .right img {
  transform: rotate(90deg);
}

#gateway .gateway_middle {
  width: calc(100vw - 40px);
  height: calc(100vh - 140px);
  height: calc(100svh - 140px);
  height: calc(100dvh - 140px);
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  #gateway .gateway_middle {
    width: 100%;
    height: calc(100vh - 98px);
    height: calc(100svh - 98px);
    height: calc(100dvh - 98px);
  }
}

#gateway .gateway_middle .vertical {
  width: 10px;
  height: 100%;
}

@media screen and (max-width: 768px) {
  #gateway .gateway_middle .vertical {
    width: 7px;
  }
}

#gateway .gateway_middle .vertical .cel {
  width: 100%;
  background: url("../img/gateway_texture_vertical.webp") repeat center center;
  background-size: auto 30px;
  height: calc((100% - 50px) / 2);
}

@media screen and (max-height: 768px) and (min-width: 768px) {
  #gateway .gateway_middle .vertical .cel {
    display: none;
  }

  #gateway .gateway_middle .vertical .cel.center {
    display: block;
    height: calc((100% - 50px) / 2);
  }
}

@media screen and (max-width: 768px) {
  #gateway .gateway_middle .vertical .cel {
    height: calc((100% - 105px) / 4);
  }
}

#gateway .gateway_middle .vertical .notch {
  margin: 10px 0;
  height: 30px;
  background: url("../img/gateway_texture_vertical.webp") repeat center center;
  background-size: auto 30px;
}

@media screen and (max-width: 768px) {
  #gateway .gateway_middle .vertical .notch {
    margin: 7px 0;
    height: 21px;
  }
}

#gateway .gateway_middle .vertical .outer {
  display: none;
}

@media screen and (max-width: 768px) {
  #gateway .gateway_middle .vertical .outer {
    display: block;
  }
}

#gateway .gateway_bottom {
  width: 100%;
  display: flex;
  align-items: flex-end;
}

#gateway .gateway_bottom .left img {
  transform: rotate(270deg);
}

#gateway .gateway_bottom .right img {
  transform: rotate(180deg);
}