@import "compass/css3";
@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&family=Mali:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

* {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-style: normal;
  margin: 0;
  padding: 0;
}

.footer {
  position: absolute;
  z-index: 100;
  bottom: 0;
  font-size: 0.8rem;
  text-align: center;
  width: 100%;
  background: linear-gradient(
    to bottom,
    #cc99ff 1%,
    #fff 5%,
    #cc99ff 10%,
    #6600ff 18%,
    #333399 48%,
    #333399 80%,
    #000000 100%
  );
  padding: 10px 0;
  animation: menu-show 3s linear;
  transform: translateY(0rem);
}
.footer img {
  height: 2rem;
}
/* Parallax base styles
  --------------------------------------------- */

.parallax {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-perspective: 300px;
  -webkit-overflow-scrolling: touch;
  perspective: 300px;
}

.parallax__group {
  position: relative;
  height: 100vh;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  color: wheat;
}

.parallax__layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.parallax__layer--fore {
  -webkit-transform: translateZ(90px) scale(0.7);
  transform: translateZ(90px) scale(0.7);
  z-index: 1;
  color: aqua;
}

.parallax__layer--base {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  z-index: 4;
}

.parallax__layer--back {
  -webkit-transform: translateZ(-300px) scale(2);
  transform: translateZ(-300px) scale(2);
  z-index: 3;
}

.parallax__layer--deep {
  -webkit-transform: translateZ(-600px) scale(3);
  transform: translateZ(-600px) scale(3);
  z-index: 2;
}

.parallax__group {
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}

/* demo styles
  --------------------------------------------- */

body,
html {
  overflow: hidden;
}
body {
  background: linear-gradient(to bottom, #000000 61%, #333399 100%);
}
h1 {
  font-size: 1.8rem;
}
p {
  font-size: 0.75rem;
}
.parallax {
  font-size: 200%;
}

/* centre the content in the parallax layers */
.title {
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.title h1 {
  margin-bottom: 1rem;
}

.bottom {
  text-align: center;
  position: absolute;
  left: 10%;
  top: 63%;
  -webkit-transform: translate(15%, -64%);
  transform: translate(15%, -64%);
}
.bottom {
}
.top {
  text-align: center;
  position: absolute;
  left: 50%;
  top: 55%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.person {
  height: 60vh;
}

.grid {
  height: 80vh;
  overflow: auto;
  margin-bottom: 10rem;
}
/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: red;
  border-radius: 10px;
}
.container {
  display: grid;
  grid-template-columns: 13rem 13rem 13rem 13rem;
  grid-template-rows: 16rem 16rem 16rem 16rem 16rem;
  grid-gap: 0.8rem;
}

.item {
  background-color: #1eaafc;
  background-image: linear-gradient(130deg, #6c52d9 0%, #1eaafc 85%, #3edfd7 100%);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.19),
    0 6px 6px rgba(0, 0, 0, 0.23);
  color: #fff;
  border-radius: 0 3rem 0 3rem;
  border: 6px solid #171717;
  padding: 1rem;
}
.item img {
  border-radius: 0 3rem 0 3rem;
  height: 8rem;
}
.item a {
  color: #171717;
  text-decoration: none;
}
.name {
  font-size: 1rem;
}
.status {
  font-size: 0.8rem;
}
.name,
.status {
  transform: translate(0, -1rem);
}
/* style the groups
  --------------------------------------------- */

#home {
  z-index: 5; /* slide over group 2 */
}
#home .parallax__layer--fore {
  text-align: center;
}
#info {
  z-index: 4; /* slide under groups 1 and 3 */
}
#info .parallax__layer--fore {
  left: 15rem;
  animation: item-appear ease-in both;
  animation-timeline: view();
  animation-range: entry 25% 100vh;
}

#info .parallax__layer--base {
  right: 25rem;
  animation: item-appear ease-in both;
  animation-timeline: view();
  animation-range: entry 25% 100vh;
}
#music {
  z-index: 3; /* slide over group 2 and 4 */
}
#music .parallax__layer--base {
  animation: item-appear ease-in both;
  animation-timeline: view();
  animation-range: entry 25% 100vh;
}
#music .parallax__layer--back {
  background: linear-gradient(to bottom, #333399 61%, rgb(0, 0, 0, 0) 100%);
  border-radius: 1rem;
  margin: 3%;
  animation: item-appear ease-in both;
  animation-timeline: view();
  animation-range: entry 25% 100vh;
}

#shop {
  z-index: 4; /* slide under group 3 and 5 */
}
#shop .parallax__layer--base {
  animation: item-appear ease-in both;
  animation-timeline: view();
  animation-range: entry 25% 100vh;
}

#supporter {
  z-index: 3; /* slide over group 4 and 6 */
}
#supporter .parallax__layer--base {
  animation: item-appear ease-in both;
  animation-timeline: view();
  animation-range: entry 25% 100vh;
}

/* #group6 {
    z-index: 2; slide under group 5 and 7 
  }
  #group6 .parallax__layer--back {
    background: rgb(245,235,100);
  }

  #group7 {
    z-index: 3;  slide over group 7 
  }
  #group7 .parallax__layer--base {
    background: rgb(255,241,100);
  } */

.flex {
  display: flex;
}
.text {
  align-content: center;
  background: rgb(0, 0, 0, 0.7);
  padding: 1rem;
  border-radius: 1rem;
  border: 1rem solid #333399;
}
.logo img {
  height: 35vh;
}
.contact {
  justify-content: center;
}
.contact img {
  height: 2rem;
  margin: 0 0.5rem;
}
/* animation-name: text-appear; @keyframes defined below */
/* animation-timing-function: ease-in; standard should be linear */
/* animation-fill-mode: both; keeps animated values forwards and backwards */
/* p, h2, h3, blockquote, hr {

  animation: text-appear ease-in both; */
/*animation-timeline: view();*/ /* applies animation state relative to viewport */
/*animation-range: 0 vh 70 vh;*/ /* set 0% and 100% positions */
/* } */
/* img {
  animation: image-appear ease-in both;
  animation-timeline: view();
  animation-range: entry 50% 100vh;
}*/

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 36px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

.bg img {
  animation: start1 1s ease-in-out 0s normal;
}
.model img {
  animation: start2 2s ease-in-out 0s normal;
}
.logo img {
  animation: start3 3s ease-in-out 0s normal;
}

@keyframes start1 {
  0% {
    transform: translateY(3rem);
    opacity: 0;
  }
  100% {
    transform: translateY(0rem);
    opacity: 100;
  }
}
@keyframes start2 {
  0% {
    transform: translateY(3rem);
    opacity: 0;
  }
  33% {
    transform: translateY(3rem);
    opacity: 0;
    scale: 1.2;
  }
  88% {
    transform: translateY(0rem);
    opacity: 100;
    scale: 1;
  }
}
@keyframes start3 {
  0% {
    transform: translateY(3rem);
    opacity: 0;
  }
  44% {
    transform: translateY(3rem);
    opacity: 0;
    scale: 1.2;
  }
  88% {
    transform: translateY(0rem);
    opacity: 100;
    scale: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes item-appear {
  from {
    filter: saturate(0) contrast(4) brightness(0.1) blur(3px);
    opacity: 0;
    scale: 0.95;
    translate: 0 4rem;
  }
}

@keyframes menu-show {
  0% {
    transform: translateY(10rem);
  }
  50% {
    transform: translateY(10rem);
  }
  100% {
    transform: translateY(0rem);
  }
}

@media screen and (min-width: 1079px) {
  .grid {
    margin-bottom: 4rem;
  }
  .footer {
    font-size: 0.8rem;
  }
  h1 {
    font-size: 2.3rem;
  }
  p {
    font-size: 1.3rem;
  }
  .person {
    height: 60vh;
  }
  .bottom {
    left: 50%;
    top: 65%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .name {
    font-size: 1.3rem;
  }
  .status {
    font-size: 0.9rem;
  }
  .container {
    grid-template-columns: 13rem 13rem 13rem 13rem;
    grid-template-rows: 15rem 15rem 15rem 15rem 15rem;
    grid-gap: 0.8rem;
  }
  .item a {
    color: #171717;
  }
}
@media (orientation: portrait) {
  .grid {
    margin-bottom: 10rem;
  }
  .footer img {
    height: 10vw;
  }
  h1 {
    font-size: 4.5vw;
  }
  p {
    font-size: 2.5vw;
  }
  .person {
    height: 80vw;
  }
  .bottom {
    left: 0rem;
    transform: translate(6rem, -33rem);
  }
  .name {
    font-size: 2vw;
  }
  .status {
    font-size: 1.5vw;
  }
  .container {
    grid-template-columns: 26vw 26vw 26vw;
    grid-template-rows: 37vw 37vw 37vw 37vw 37vw 37vw;
    grid-gap: 10px;
  }
  .item {
    background-color: transparent;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    border: 0;
  }
  .item a {
    color: #fff;
  }
}
