@import url("https://fonts.googleapis.com/css2?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&display=swap");

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  font-family: "Kanit";
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-image: url("../imgs/bg.png");
}

main {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wrarpper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0);
}

.wrarpper > div {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo {
  width: 100%;
  max-width: 450px;
}

.text {
  width: 100%;
  max-width: 750px;
  transform: translateX(-20px);
}

a {
  padding: 1rem 2rem;
  border-radius: 1rem;
  background: linear-gradient(
    4deg,
    rgba(169, 89, 15, 1) 0%,
    rgba(249, 240, 195, 1) 100%
  );
  color: #ffd171;
  text-shadow: 1px 1px 5px black;
  font-weight: 500;
  text-decoration: none;
  font-size: 35px;
  box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.544);
  transition: all 0.2s ease-in-out;
  margin: 1rem auto 2rem auto;
}

a:hover {
  transform: scale(1.02);
  filter: drop-shadow(0px 0px 10px #ffee7d);
  filter: brightness(1.5);
}

.product {
  display: none;
  position: absolute;
  width: 100%;
  max-width: 800px;
}

.hero {
  display: none;
  position: absolute;
  height: 100vh;
  pointer-events: none;
}

@media (min-width: 1400px) {
  .product {
    display: block;
    max-width: 600px;
    right: -120px;
    top: 80px;
  }

  .hero {
    display: block;
    top: 0;
    left: 0;
  }
}

@media (min-width: 1600px) {
  .product {
    right: -50px;
    top: -50px;
    max-width: 700px;
  }
}

@media (min-width: 1920px) {
  .product {
    right: -50px;
    top: -80px;
    max-width: 780px;
  }
}
