* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Battambang:wght@100;300;400;700;900&family=Bebas+Neue&family=Dancing+Script:wght@400..700&family=Dangrek&family=Edu+SA+Hand:wght@400..700&family=Fasthand&family=Heebo:wght@100..900&family=Indie+Flower&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Kaushan+Script&family=Koulen&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Moul&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Pacifico&family=Playwrite+HU:wght@100..400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Battambang:wght@100;300;400;700;900&family=Bebas+Neue&family=Dancing+Script:wght@400..700&family=Dangrek&family=Edu+SA+Hand:wght@400..700&family=Fasthand&family=Heebo:wght@100..900&family=Indie+Flower&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Kaushan+Script&family=Koulen&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Moul&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playwrite+HU:wght@100..400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

body {
  height: 92vh;
  background-color: rgb(219, 214, 214);
}
nav {
  top: 0;
  position: fixed;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  width: 100%;
  z-index: 20;
  box-shadow: 3px 3px 4px gray;
  background-color: rgb(247, 247, 247);
}
.left-box {
  height: 100%;

  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px;
  #ibar {
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    height: 40px;
    width: 40px;

    color: rgb(116, 116, 117);
    font-size: 25px;

    cursor: pointer;
  }
  i:active {
    background-color: rgb(221, 221, 221);
  }

  h1 {
    color: rgb(255, 0, 0);
    font-size: 30px;
    font-family: "Playwrite HU", cursive;
    text-shadow: 3px 3px 4px rgb(86, 86, 86);
  }
  #ishop {
    color: rgb(1, 116, 118);
    font-size: 40px;
    background: none;
    box-shadow: none;
    text-shadow: none;
    cursor: auto;
  }
}
.right-box {
  height: 100%;
  width: 125px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;

  i {
    cursor: pointer;
    font-size: 20px;
  }
  .profile {
    cursor: pointer;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    border: 2px solid rgb(182, 182, 182);
    background: url(/image/dog.jpg) center;
    background-size: cover;
  }
}

@media (min-width: 991px) {
  .menu-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 40%;
    a {
      text-decoration: none;
      font-size: 20px;
      color: black;
      font-family: Arial, Helvetica, sans-serif;

      padding: 2px;
      font-weight: bold;
    }
    a:hover {
      border-bottom: 4px solid rgb(6, 205, 227);
      animation: scaleboder 0.2s linear 1;
    }
  }
  #ibar {
    display: none;
  }
  .left-box {
    position: relative;
    width: 260px;
    flex-direction: row-reverse;
    span {
      font-family: Arial, Helvetica, sans-serif;
      top: 10px;
      font-weight: 100;
      left: 42%;
      color: rgb(1, 15, 68);
      font-size: 10px;
      position: absolute;
    }
  }
}

@media (max-width: 990px) and (min-width: 769px) {
  .menu-box {
    position: absolute;
    top: 65px;
    height: 360px;
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    transition: all 0.5s ease;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 2px 2px 3px gray;
    left: -300px;
    a {
      font-family: "Poppins", sans-serif;
      display: flex;
      justify-content: center;
      text-decoration: none;
      font-size: 18px;
      padding: 10px;
      color: black;
      border-radius: 20px;
      font-weight: bold;
      background-color: rgb(238, 236, 236);
    }
    a:active {
      background-color: rgb(219, 216, 216);
    }
  }
  .left-box {
    position: relative;
    span {
      font-family: Arial, Helvetica, sans-serif;
      top: 10px;
      font-weight: 100;
      left: 30%;
      color: rgb(1, 15, 68);
      font-size: 10px;
      position: absolute;
    }
  }
  #ibar {
    display: flex;
    align-items: center;
  }
}
@media (max-width: 768px) {
  #ibar {
    display: flex;
  }
  #ibar:active {
    transform: scale(0.97);
  }
  .left-box {
    position: relative;
    flex-direction: row;
    width: 310px;
    span {
      font-family: Arial, Helvetica, sans-serif;
      top: 10px;
      font-weight: 100;
      left: 30%;
      color: rgb(1, 15, 68);
      font-size: 10px;
      position: absolute;
    }
  }
  .menu-box {
    position: absolute;
    top: 65px;
    height: 298px;
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: all 0.5s ease;
    background: rgb(255, 255, 255);

    box-shadow: 2px 2px 3px rgb(157, 157, 157);
    left: -300px;
    overflow: hidden;
    a {
      font-family: "Poppins", sans-serif;
      display: flex;
      justify-content: center;
      text-decoration: none;
      font-size: 18px;
      height: 60px;
      width: 100%;
      align-items: center;
      color: black;
      border-bottom: 1px solid rgb(192, 191, 191);
      font-weight: bold;

      background-color: rgb(235, 233, 233);
    }
    a:active {
      background-color: rgb(196, 196, 196);
    }
  }
  .section1 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 400px;
    width: auto;
    margin-top: 60px;
    box-shadow: 2px 2px 4px gray;
    overflow: hidden;
    header {
      z-index: -1;
      height: 100px;
      width: auto;
      font-size: 45px;
      text-align: center;

      background: linear-gradient(45deg, red, blue);
      background-clip: text;
      span:nth-child(1) {
        position: absolute;
        transform: skew(-20deg) scale(1.1);
        top: 30px;
        border-radius: 10px;
        right: 160px;
        color: rgb(222, 222, 222);
        background: linear-gradient(rgb(0, 229, 255), rgb(217, 0, 255));
      }
      span:nth-child(2) {
        position: absolute;
        top: 183px;
        left: 27px;
        color: white;
        border-radius: 10px;
        transform: skew(-20deg);
        color: black;
        right: 250px;
      }
      span:nth-child(3) {
        position: absolute;
        top: 240px;
        right: 90px;
        color: white;
        border-radius: 20px;
        padding: 10px;
        transform: skew(-20deg) scale(1.2);
        background: linear-gradient(rgb(216, 238, 195), red);

        overflow: hidden;
        p {
          animation: movetxt 4s linear infinite;
        }
        i {
          position: absolute;
          transform: rotateY(180deg) scale(1.2);
          padding: 7px;
          top: 6px;
          right: 40px;
          display: flex;
          justify-content: end;
          border-radius: 0px;
          width: 500px;
          padding-left: -6px;
          color: rgb(255, 255, 255);
          box-shadow: 0px 0px 20px rgb(247, 247, 247);
          background: linear-gradient(rgb(216, 238, 195), red);
          animation: moveRT 4s ease-in-out infinite;
        }
      }
      img {
        z-index: -1;
        top: 70px;
        left: 90px;
        position: absolute;
        box-shadow: 0px 0px 5px rgb(209, 173, 100);
        border-radius: 30px;
        height: 200px;
      }
    }
    .animation-back {
      position: absolute;
      height: 100%;
      width: 100%;
      background-color: rgb(220, 220, 220);
      z-index: -2;
      .ball {
        position: absolute;
        height: 50px;
        width: 50px;
        border-radius: 50%;
        background-color: rgb(21, 154, 206);
      }
      .ball:nth-child(1) {
        top: -70px;
        left: 20px;
        background-color: rgb(0, 255, 183);
        animation: move1 3s linear infinite alternate;
      }
      .ball:nth-child(2) {
        top: -70px;
        left: 20px;
        background-color: rgb(238, 255, 0);
        animation: move2 8s linear infinite alternate;
      }
      .ball:nth-child(3) {
        top: -70px;
        left: 20px;
        background-color: red;
        animation: move3 3s linear infinite alternate;
      }
      .ball:nth-child(4) {
        top: -70px;
        left: 20px;
        background-color: rgb(0, 98, 255);
        animation: move4 5s linear infinite alternate;
      }
      .ball:nth-child(5) {
        top: -70px;
        left: 20px;
        background-color: rgb(0, 255, 38);
        animation: move5 7s linear infinite alternate;
      }
      .ball:nth-child(6) {
        top: -70px;
        left: 20px;
        background-color: rgb(234, 0, 255);
        animation: move6 4s linear infinite alternate;
      }
      .ball:nth-child(7) {
        top: -70px;
        left: 20px;
        background-color: rgb(53, 196, 232);
        animation: move7 6s linear infinite alternate;
      }
      .ball:nth-child(8) {
        top: -70px;
        left: 20px;
        background-color: rgb(232, 157, 53);
        animation: move8 10s linear infinite alternate;
      }
      .ball:nth-child(9) {
        top: -70px;
        left: 20px;
        background-color: rgb(184, 132, 223);
        animation: move9 9s linear infinite alternate;
      }
      .ball:nth-child(10) {
        top: -70px;
        left: 20px;
        background-color: rgb(119, 232, 53);
        animation: move10 4s linear infinite alternate;
      }
    }
    .cover {
      z-index: -1;
      position: absolute;
      height: 100%;
      width: 100%;
      backdrop-filter: blur(4px);
    }
  }
}

@keyframes movetxt {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0px);
  }
  85% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(100px);
  }
}
@keyframes moveRT {
  from {
    left: -50px;
  }
  to {
    left: 600px;
  }
}
@keyframes move1 {
  to {
    transform: translateY(500px) translateX(600px) scale(1.3);
  }
}
@keyframes move2 {
  from {
    transform: translateX(600px);
  }
  to {
    transform: translateY(300px) translateX(-100px);
  }
}
@keyframes move3 {
  from {
    transform: translate(200px) translateY(-100px);
  }
  to {
    transform: translateY(500px) translateX(100px) scale(0.9);
  }
}
@keyframes move4 {
  to {
    transform: translateY(500px) translateX(600px);
  }
}
@keyframes move5 {
  from {
    transform: translateY(100px) translateX(-100px);
  }
  to {
    transform: translateY(200px) translateX(600px);
  }
}
@keyframes move6 {
  from {
    transform: translateX(-200px) translateY(-50px);
  }
  to {
    transform: translateY(500px) translateX(300px);
  }
}
@keyframes move7 {
  from {
    transform: translateX(50px) translateY(-100px);
  }
  to {
    transform: translateY(700px) translateX(600px);
  }
}
@keyframes move8 {
  from {
    transform: translateX(50px) translateY(-100px);
  }
  to {
    transform: translateY(700px) translateX(600px);
  }
}
@keyframes move9 {
  from {
    transform: translateX(-50px) translateY(-100px);
  }
  to {
    transform: translateY(500px) translateX(600px);
  }
}
@keyframes move10 {
  from {
    transform: translateX(-50px) translateY(100px);
  }
  to {
    transform: translateY(400px) translateX(700px);
  }
}
.section2 {
  height: 270px;
  width: 100%;
  background-color: rgb(241, 241, 241);
  overflow: scroll;
  display: grid;
  padding: 10px;
  gap: 10px;
  grid-template-columns: repeat(5, 1fr);
  .se2-box {
    border-radius: 20px;
    height: 100%;
    width: 100vw;
  }
  .se2-box:nth-child(1) {
    position: relative;
    display: flex;
    flex-direction: row;
    background: url(/image/shop2.jpg) center;
    background-size: contain;
    font-family: Arial, Helvetica, sans-serif;
    img {
      height: 100px;
    }
    span {
      position: absolute;
      top: 45px;
      font-weight: bold;
      font-family: "Pacifico", cursive;
      color: rgb(255, 77, 0);
      left: 100px;
      font-size: 40px;
    }
  }
  .se2-box:nth-child(2) {
    position: relative;
    display: flex;
    flex-direction: row;
    background-size: contain;
    background-color: white;
    font-family: "Pacifico", cursive;
    img {
      border-radius: 20px;
      height: 120px;
    }
    .txt {
      text-align: justify;
      color: rgb(0, 0, 0);
      padding: 15px;

      font-size: 15px;
      height: 100%;
      width: 500px;
      span {
        transform: rotateZ(-90deg);
        background-color: white;
        position: absolute;
        top: 115px;
        font-size: large;
        border-bottom: 2px solid gray;
        left: 20px;
        color: red;
      }
    }
  }
  .se2-box:nth-child(3) {
    position: relative;
    padding: 10px;
    background-size: contain;
    background-color: white;
    background: url(/image/shoping2.jpg), center;
    background-size: contain;
    font-family: "Pacifico", cursive;
    h1 {
      position: absolute;
      right: 5px;
      font-size: 35px;
    }
    span {
      position: absolute;
      font-size: 15px;
      color: rgb(255, 255, 255);
    }
    #benef1 {
      font-size: 16px;
      top: 80px;
      color: rgb(247, 247, 247);
      right: 150px;
    }
    #benef2 {
      top: 190px;
    }
    #benef3 {
      bottom: 10px;
      right: 25px;
    }
    img {
      top: 0;
      height: 100px;
      position: absolute;
    }
    #img1 {
      right: 0px;
      top: 60px;
    }
    #img2 {
      left: -5px;
      top: 0px;
    }
    #img3 {
      right: 100px;
      top: 130px;
    }
  }
}
.section2::-webkit-scrollbar {
  display: none;
}
.section3 {
  position: absolute;
  height: 8%;
  width: 100%;
  display: grid;
  bottom: 0;
  background-color: rgb(255, 255, 255);
  grid-template-columns: repeat(2, 1fr);
  box-shadow: -2px -2px 3px gray;
  button {
    border: none;
    background-color: white;
    font-size: 20px;
    font-weight: bold;
  }
  button:nth-child(1) {
    border-right: 2px solid rgb(131, 130, 130);
  }
  button:nth-child(2) {
    border-left: 2px solid rgb(131, 130, 130);
  }
}
