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


/* Hide scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Prompt', sans-serif;/*font*/
}
body
{
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(#2b1055,#091222);
}

a{
    color: transparent;
}

i {
  color: white;
}
header
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 45px 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
}
header img
{
  width: 150px;
}
header ul
{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: right;
}
header ul li
{
  list-style: none;
  margin-left: 20px;
}
header ul li a
{
  text-decoration: none;
  padding: 6px 15px;
  color: #fff;
  font-size: 1.2rem;
}
header ul li::after
{
    content: ''; /*ห้ามลบ*/
    width: 0%;
    height: 2px;
    background: #7597de;
    display: block;
    margin: auto;
    transition: 0.5s;
}
header ul li:hover::after
{
    width: 100%;
}

.nav-links li a{
    transition: all 0.5s ease 0s;
}
section
{
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
section::before
{
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top,#1c0522,transparent);
    z-index: 1000;
}
section img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
section img#Light
{
    mix-blend-mode: screen;
    z-index: 9;
}
section img#front
{
    z-index: 10;
    left: 0px;
    width: 100%;
    overflow: hidden;
}
#text
{
    position: absolute;
    color:#fff;
    white-space: nowrap;
    font-size: 5vw;
    z-index: 9;
}
#btn
{
    text-decoration: none;
    display: inline-block;
    padding: 8px 30px;
    border-radius: 40px;
    background: #fff;
    color: #2b1055;
    font-size: 1.5em;
    z-index: 9;
    transform: translateY(100px);
}
#btn:hover
{
    color: #757575;
    background: #c4dbfa;
    transition: 0.5s;
}
.sec
{
    position: relative;
    padding: 100px 100px 0 100px;
    background: #1c0522;
}
.sec h2
{
    font-size: 3.5em;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}
.sec p
{
    font-size: 1em;
    color: #fff;
    text-align: center;
}
.slide-content
{
    margin: 0 40px;
}
.bodies{
    height: 100%;
    margin: 0px;
}
.slider-container {
    background: #1c0522;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 100px;
}

.slider {
    width: 100%;
    max-width: 600px;
    height: 100%;
    margin: 20px;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 20px 5px rgba(123, 111, 254, .7);
}

.slider:hover {
    box-shadow: 0 2px 20px 5px rgba(123, 111, 254, 1);
}

.slides {
    display: flex;
    overflow-x: scroll;
    position: relative;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    height: fit-content;
}

.img {
    border-radius: 5%;
    object-fit: contain;
    width: 10rem;
    height: 10rem;
  }
span.slide__text{
    margin: 20px 40px 40px 40px;
    bottom: 5%;
}  
.name {
    font-weight: bold;
    font-size: 2rem;
    padding-top: 0rem;
    padding-bottom: 1rem;
  }
  
.genre {
    font-size: 18px;
    font-weight: bold;
    padding-top: 0.2rem;
    padding-bottom: 0.5rem;
  }
  
.description {
    font-size: 18px;
    padding: .5rem 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 1rem;
    height: 6rem;
    overflow-y: scroll;
    background-color: aliceblue;
    border-radius: 5px;
  }

/* width */
.description::-webkit-scrollbar {
    width: 10px ;
    display: unset;
}
  
  /* Track */
.description::-webkit-scrollbar-track {
    background: #f1f1fa ;
    border-radius: 0 5px 5px 0; 
}

/* Handle */
.description::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 5px;

}

/* Handle on hover */
.description::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

.slides .outside-btn {
    margin-top: 1rem;
}

.slides .outside-btn .btn {
    /* font-family: "Mitr", sans-serif; */
    border: 3px solid white;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 5px;
    background-color: transparent;
    color: white;
    cursor: pointer;
    }

.slides .outside-btn .btn:hover {
    background-color: white;
    color: black;
}

.slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
    height: 34rem;
    margin-right: 0px;
    box-sizing: border-box;
    background: #BCB6FF;
    transform-origin: center center;
    transform: scale(1);
    scroll-snap-align: center;
}

/* .slide:nth-of-type(even) {
    background-color: rgb(255, 255, 255);
} */

.slide__next {
    right: 50px;
}

.slide a {
    background: none;
    border: none;
}

a.slide__prev,
.slider::before {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    left: 5%;
}

a.slide__next,
.slider::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    right: 5%;
}

.slider::before,
.slider::after,
.slide__prev,
.slide__next {
    position: absolute;
    top: 48%;
    width: 35px;
    height: 35px;
    border: solid black;
    border-width: 0 4px 4px 0;
    padding: 3px;
    box-sizing: border-box;
}

.slider::before,
.slider::after {
  content: '';
  z-index: 1;
  background: none;
  pointer-events: none;
}

.slider__nav {
    box-sizing: border-box;
    text-align: center;
    position: absolute;
    bottom: 0;
    padding-bottom: .4rem;
    left: 50%;
    transform: translate(-50%, 0%);
    width: max-content;
    max-width: 100%;
}

.slider__navlink {
    display: inline-block;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: black;
    margin: 0 0.8rem;
}
.slider__navlink:hover{
    background-color: #7597de;
}
/*------ footer -----*/
.footer p{
    color: #fff;
}
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    font-size: 20px;
    margin-top: 20px;
    font-weight: 600;
    color: #fff;
}
.icons .icon{
    color: white;
    margin: 0 1rem;
    cursor: pointer;
    padding: 18px 0;
}

.icons .icon:hover {
    color: #80A7EF;
}