@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;500&display=swap');

body {
  background-color: #000;
  color: #fff;
  font-family: Helvetica;
  font-size: 16px;
  line-height: 1.3;
  height: 100vh;
}


/* LOADER */
/* @keyframes loader {
  0% {
    transform: rotate(0deg);
  }
  
  100% {
    transform: rotate(360deg);
  }
}


div.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 2;
  
  transition: opacity 0.5s;
  
  display: flex;
  justify-content: center;
  align-items: center;
}

div.loading img {
  max-width: 100px;
  animation: loader 2s infinite linear;
}


div.loading.hidden {
  opacity: 0;
  pointer-events: none;
} */



.page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  
  padding: 20px;
}


/* JUMPING TEXT */
header {
  margin-bottom: 50px;
}

header a {
  text-decoration: none;
  color: #fff;
}

h2 span {
  position: relative;
  top: 1px;
  display: inline-block;
  animation: bounce .3s ease infinite alternate;
  text-transform: uppercase;
  font-family: 'Kanit', sans-serif;
  font-size: 12px;
}

h2 span:nth-child(2) { animation-delay: .1s; }
h2 span:nth-child(3) { animation-delay: .2s; }
h2 span:nth-child(4) { animation-delay: .3s; }
h2 span:nth-child(5) { animation-delay: .4s; }
h2 span:nth-child(6) { animation-delay: .5s; }
h2 span:nth-child(7) { animation-delay: .1s; }
h2 span:nth-child(8) { animation-delay: .2s; }
h2 span:nth-child(9) { animation-delay: .3s; }
h2 span:nth-child(10) { animation-delay: .4s; }
h2 span:nth-child(11) { animation-delay: .5s; }


@keyframes bounce {
  100% {
    top: -3px;
  }
}

.textbox {
  font-family: Calendas Plus;
  margin-bottom: 50px;
}

.textbox p {
   font-size: 22px;
}

.about-me {
  max-width: 850px;
}

.p-italic {
  font-style: italic; 
}

.button {
  font-family: 'Kanit', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  
  background-color: #fff;
  color: #000;
  padding: 10px 30px 10px 30px;
  border-radius: 100px;
  
  transition: background-color 0.5s ease;
}

.button:hover {
  background-color: #ffc4ea;
}

/* HIGHLIGHTED */
p::selection {
  background: #cac0ff;
}

h2::selection {
  background: #cac0ff;
}

span::selection {
  background: #cac0ff;
}

a::selection {
  background: #cac0ff;
}



/* RESPONSIVE */
@media (max-width: 500px) {
body {
    overflow:hidden;
  }  
  
  .page-content {
  height: 90vh;
 	overflow: hidden;
  }
}

@media (max-width: 374px) {
.textbox p {
   font-size: 18px;
}
  }
}






/* NEW BUSINESS */
iframe {
/*   background-color: #f6f6f6; */
}