/* Created by Narongrit I. (Khet) on 2024.07.07 */
@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Itim&display=swap");

html {
  font-family: "Itim", cursive !important;
}

body {
  background-image: url("http://rtc-navedu.sytes.net/acdc/dist/img/cover_web.svg");
  background-repeat: no-repeat; 
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  background-color: #c4e9ff;
  overflow-y: scroll;
  overflow-x: hidden;   
  webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  height:100%;
  width:100%; 
  font-family: "Itim", cursive !important;
}

/* Login Page */
.login {
  overflow: hidden;
  background-color: rgb(255, 245, 185);
  padding: 40px 30px 30px 30px;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: -webkit-transform 300ms, box-shadow 300ms;
  -moz-transition: -moz-transform 300ms, box-shadow 300ms;
  transition: transform 300ms, box-shadow 300ms;
  box-shadow: 5px 10px 10px rgba(2, 128, 144, 0.2);
}
.login::before, .login::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-top-left-radius: 40%;
  border-top-right-radius: 45%;
  border-bottom-left-radius: 35%;
  border-bottom-right-radius: 40%;
  z-index: -1;
}
.login::before {
  left: 35%;
  bottom: -130%;
  background-color: rgba(255, 255, 255, 0.993);
  -webkit-animation: wawes 6s infinite linear;
  -moz-animation: wawes 6s infinite linear;
  animation: wawes 6s infinite linear;
}
.login::after {
  left: 35%;
  bottom: -125%;
  background-color: rgb(0, 1, 78);
  -webkit-animation: wawes 7s infinite;
  -moz-animation: wawes 7s infinite;
  animation: wawes 7s infinite;
}
.login > input {
  font-family: "Itim", cursive;
  display: block;
  border-radius: 5px;
  font-size: 16px;
  background: white;
  width: 100%;
  border: 0;
  padding: 10px 10px;
  margin: 15px -10px;
}
.login > button {
  font-family: "Itim", cursive;
  display: inline-block;
  border-radius: 4px;
  background-color: #FAD230;
  border: none;
  color: #000000;
  text-align: center;
  font-size: 20px;
  padding: 10px 15px;;
  width: 200px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}
.login > button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}
.login > button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}
.login > button:hover span {
  padding-right: 25px;
}
.login > button:hover span:after {
  opacity: 1;
  right: 0;
}

/* ปุ่มโฮมแบบลอย */
.home-btn {
  position: fixed;
  /* top: 50%;
  left: 50%; */
  background-color: #ffffff;
  padding: 25px 15px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 24px;
  color: hsl(229, 91%, 79%);
  transition: all 0.3s ease;
}

.home-btn:hover {
  background-color: #ACB6E5;
  color: white;
}

@-webkit-keyframes wawes {
  from {
    -webkit-transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-moz-keyframes wawes {
  from {
    -moz-transform: rotate(0);
  }
  to {
    -moz-transform: rotate(360deg);
  }
}
@keyframes wawes {
  from {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Menu App */
a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 12px;
}

.container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  z-index: 5;
  position: relative;
}
.container .logo {
  margin: 0 auto;
  margin-bottom: 10vw;
  max-width: 200px;
  background: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 100%;
}
.container .logo img {
  width: 100%;
}

.menu {
  display: flex;
  flex-direction: column;
  width: 100%;
  grid-area: 1/1/2/2;
  position: relative;
}
.menu a {
  font-family: Raleway, serif;
  color: #333;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  position: relative;
  text-align: center;
  margin: 1vh auto;
  padding: 2.0vh;
  width: 80%;
  background: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border-radius: 5px;
  box-shadow: 1px 1px 0 0 rgba(255, 255, 255, 0.8) inset, 3px 5px 10px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
  will-change: color, text-shadow, font-size;
  transition: ease all 0.3s;
}
.menu a:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.8);
}

.wrapper-images {
  display: flex;
  flex-direction: column;
  height: 150vh;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  opacity: 0.6;
  transform: translate3d(-50%, -50%, 0) rotate(22.5deg);
}

.images-line {
  -webkit-animation: runner 20s linear infinite;
          animation: runner 20s linear infinite;
  display: flex;
  transform: translateX(25%);
}
.images-line .line {
  --tile-margin: 3vw;
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 50%;
  flex: none;
  height: 30vh;
  margin: 3vw;
  width: 30vh;
  position: relative;
}
.images-line .line:after {
  content: "";
  background: inherit;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  top: 3vh;
  position: absolute;
  background-size: cover;
  z-index: -1;
  filter: blur(25px) opacity(0.8);
}
.images-line .line.large {
  border-radius: 20vh;
  width: 100vh;
}

a span {
  color: red; /* กำหนดสีตัวอักษร */
  font-weight: Italic; /* กำหนดตัวหนา */
  font-size: 12px; /* กำหนดขนาดฟอนต์เป็น 20 พิกเซล */
}

@-webkit-keyframes runner {
  to {
    transform: translateX(-25%);
  }
}

@keyframes runner {
  to {
    transform: translateX(-25%);
  }
}