@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');


/* style.css */
body {
  background-color: #111;
  color: #fff;
  font-family: "Kanit", sans-serif;
  margin: 0;
  padding: 0;
   overflow-x: hidden;
  
}
/*--------------------------------navbar------------------------------  */
.container {
  display: flex;
  flex-wrap:wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  flex-wrap:wrap;
}

.logo img {
  width: 300px;
  height: 55px;
  margin-right: 10px;
}
.logo:hover
{
	 
   transform: scale(1.05);
	 border: none;
   
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
   
}

nav li {
  margin-right: 20px;
  justify-content:space-evenly;
  
}
nav li:hover{
	 transform: scale(1.06);
	 border:none;
	 border-radius:5px;
	 background-color:#ff5722;
	
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.actions {
  display: flex;
  align-items: center;
}

.premium {
  background-color: #ff6600;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-right: 15px;
}
.premium:hover{
	 transform: scale(1.05);
}

.search, .bookmark, .profile {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 1.0em;
  margin-right: 15px;
}
.search:hover{
	transform: scale(1.05);
}

.bookmark:hover{
	transform: scale(1.05);
}

.profile:hover{
	transform: scale(1.05);
}
.search i, .bookmark i, .profile i {
  font-size: 1.5em;
}
/* ------------------------------------container2---------------------------------------------- */
.container2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
}
.content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: auto;
  padding: 20px;
  background-color: black;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 10px;
}

.start-button, .bookmark-button {
  background-color: #ff5722;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  cursor: pointer;
  margin-bottom: 10px;
  
}


.start-button:hover{
	transform: scale(1.05);
}

.bookmark-button:hover{
	transform: scale(1.05)
}

.start-button img {
  margin-right: 5px;
}

.bookmark-button img {
  margin-left: 5px;
  
}

.progress-bar {
  width: 99.5%;
  height: 5px;
  background-color: #ddd;
  border-radius: 5px;
  margin-bottom: 9.5px;
}

.progress {
  height: 99.5%;
  background-color: #ff5722;
  border-radius: 5px;
}

.haikyuu-image {
  width: 2000px;
  max-width: 800px;
  border-radius: 10px;
  

}
.haikyuu-image:hover{ 
       transform: translateY(-10px) rotateX(3deg);
       
}

.arrow-left, .arrow-right {
  margin: 0 10px;
  border: none;
  border-radius: 5px;
  
}


 .arrow-right:hover{
	border:none;
	border-radius:5px;
	background:#ff5722;
	transform: scale(1.05);
}
.arrow-left:hover{
	border:none;
	border-radius:5px;
	background:#ff5722;
	transform: scale(1.05);
}
.a{
	color:#ff5722;
	text-decoration:none;
}


/* ----------------------------------------------container3------------------------------------------ */
.container3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 10vh;
}

h1 {
  margin-bottom: 10px;
  text-align: center;
}

p {
  text-align: center;
  margin-bottom: 20px;
}

.container4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; 
}

.card {
  width: 150px;
  height: 200px;
  background-color: #111;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
  perspective: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width:calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: cover;
  border-radius: 10px;
}

.info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: calc(100% - 20px);
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  color: #fff;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.card:hover .info {
  transform: translateY(0);
}

.card h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

.card p {
  font-size: 14px;
}

 
/*------------------------------------2D Animations--------------------------------------- */
.card:hover img {
    transform: scale(1.1);
}

.card:hover .info {
    background-color: rgba(0,0,0,0.7);
}

/* ---------------------------------------------3D Animations----------------------------------------------- */
.card {
    transform-style: preserve-3d;
}

.card:hover {
    transform: translateY(-10px) rotateX(3deg);
}

.card .info {
    backface-visibility: hidden;
}

.card:hover .info {
    transform: translateY(0) rotateX(-3deg);
}


/* -----------------------------------------container5--------------------------------------- */
.container5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 10vh;
}

h1 {
  margin-bottom: 10px;
  text-align: center;
  
}

p {
  text-align: center;
  margin-bottom: 20px;
}

.container6 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; 
}

.card {
  width: 150px;
  height: 200px;
  background-color: #111;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
  perspective: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width:150px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: calc(100% - 20px);
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  color: #fff;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.card:hover .info {
  transform: translateY(0);
}

.card h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

.card p {
  font-size: 14px;
}

/* ---------------------------------------------------2D Animations------------------------------ */
.card:hover img {
    transform: scale(1.1);
}

.card:hover .info {
    background-color: rgba(0,0,0,0.7);
}

/* ------------------------------------3D Animations----------------------------------------------- */
.card {
    transform-style: preserve-3d;
}

.card:hover {
    transform: translateY(-10px) rotateX(3deg);
}

.card .info {
    backface-visibility: hidden;
}

.card:hover .info {
    transform: translateY(0) rotateX(-3deg);
}
/* ---------------------------------------footer------------------------------ */
footer {
    background-color: #212121;
    padding: 50px 0;
    text-align: center;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    flex: 1 1 250px; 
    text-align: left;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #f5c518; /* Yellow color for hover effect */
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #333; /* Subtle border */
}

.copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: #ddd;
}

.lang {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.lang span {
    color: #ddd;
    font-size: 0.9rem;
}

.lang img {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.lang:hover img {
    transform: rotate(0deg);
}

/* Optional: Include Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css');