@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #F1F1F0;
  color: #003049;
  line-height: 1.6;
}

.container {
  max-width: 90%;
}

header {
  background-color: #003049;
  color: #ffffff;
  padding: 30px 0;
}

.about {
  background-color: #ffffff;
  color: #003049;
}

.gallery {
  background-color: #f5f5f5;
}

.contact {
  background-color: #003049;
  color: #ffffff;
}

footer {
  background-color: #222;
  color: #ffffff;
}

header {
  background-color: rgb(32, 32, 32);
  height: 10vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: sticky;
  top: 0;
  z-index: 2;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
nav .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  text-decoration: none;
  color: #ffffff;
  z-index: 1;
}
.logo::before {
  content: url("../img/favicon-32x32.png");
  position: absolute;
  top: 0;
  left: -25%;
  width: 5px;
}
.logo:hover {
  color: #eeea00;
}

.nav-links li {
  display: inline;
  margin-left: 20px;
}

.nav-links li a {
  color: #ffffff;
  text-decoration: none;
}
.nav-links li a:hover {
  color: #eeea00;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #F1F1F0;
  color: #003049;
  line-height: 1.6;
}

.container {
  max-width: 90%;
}

header {
  background-color: #003049;
  color: #ffffff;
  padding: 30px 0;
}

.about {
  background-color: #ffffff;
  color: #003049;
}

.gallery {
  background-color: #f5f5f5;
}

.contact {
  background-color: #003049;
  color: #ffffff;
}

footer {
  background-color: #222;
  color: #ffffff;
}

header {
  background-color: rgb(32, 32, 32);
  height: 10vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: sticky;
  top: 0;
  z-index: 2;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
nav .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  text-decoration: none;
  color: #ffffff;
  z-index: 1;
}
.logo::before {
  content: url("../img/favicon-32x32.png");
  position: absolute;
  top: 0;
  left: -25%;
  width: 5px;
}
.logo:hover {
  color: #eeea00;
}

.nav-links li {
  display: inline;
  margin-left: 20px;
}

.nav-links li a {
  color: #ffffff;
  text-decoration: none;
}
.nav-links li a:hover {
  color: #eeea00;
}

.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: auto 0;
  height: 100vh;
  background: url(/img/silat3_bg.png);
  background-size: cover;
}
.hero .container {
  width: 100%;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  width: 100%;
  color: #ffffff;
  text-shadow: 1px 1px 5px #222;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  letter-spacing: 6px;
  text-transform: uppercase;
}
.hero p {
  font-size: 1.2rem;
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
}
.hero .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #003049;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.hero .btn:hover {
  background-color: #000e16;
}

section {
  padding: 10%;
  display: flex;
  height: -moz-fit-content;
  height: fit-content;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
section > img {
  margin: 30px 0;
  width: 80%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
section > img:hover {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}
section::after {
  content: url("../img/logo.png");
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: -1;
}
section .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
section .container > * {
  text-align: center;
}
section .container h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 30px;
}
section .container p {
  text-align: justify;
}

footer {
  padding: 10px;
  height: 50px;
}

.chapter-list {
  background-color: #fff;
  padding: 100px 0;
  width: 100%;
}
.chapter-list .container {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  width: 80%;
}
.chapter-list h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}
.chapter-list .chapter-scroll {
  width: 80vw;
  padding: 10px;
}
.chapter-list .chapter-items {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 3%;
  width: 100%;
}
.chapter-list .chapter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
}
.chapter-list .chapter-item img {
  width: 300px;
  height: 400px;
  size: cover;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.chapter-list .chapter-item img:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.chapter-list .chapter-item img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
}
.chapter-list .chapter-item .chapter-info {
  position: relative;
  transform: translateY(-100px);
  width: 100%;
  background-image: linear-gradient(to right, rgb(0, 0, 0), rgba(0, 0, 0, 0));
  padding: 10px;
  text-align: left;
}
.chapter-list .chapter-item .chapter-info h3 {
  text-transform: uppercase;
}
.chapter-list .chapter-item .chapter-info p {
  font-weight: 300;
  font-size: 0.8rem;
  color: #fff;
}

a.not-chapter {
  cursor: not-allowed;
  opacity: 0.6;
}

.odd {
  background-color: #fff;
}

.even {
  background-color: #003049;
}
.even h2, .even h3, .even p, .even a {
  color: #ffffff;
}

ul li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #003049;
  font-weight: 700;
  transition: color 0.3s ease;
}
a:hover {
  color: #000e16;
}

.about, .about .container {
  flex-direction: column;
}

.about {
  margin-top: 3%;
}

.list-chapter a {
  font-weight: 300;
  cursor: not-allowed;
}
.list-chapter .selected {
  position: relative;
  transition: all 0.3s ease;
}
.list-chapter .selected a {
  color: #fff;
  cursor: pointer;
}
.list-chapter .selected::after {
  content: url(../img/arrow.svg);
  position: absolute;
  left: 100%;
  width: 10%;
  height: 3px;
  opacity: 0.5;
}

.chapter, .chapter-title {
  height: -moz-fit-content;
  height: fit-content;
  padding: 50px 0;
  background-color: #003049;
}
.chapter:first-of-type, .chapter-title:first-of-type {
  height: 100%;
}
.chapter:first-of-type h2, .chapter-title:first-of-type h2 {
  line-height: 0;
}
.chapter:first-of-type p, .chapter-title:first-of-type p {
  color: #e9ecef;
  letter-spacing: 5px;
}
.chapter h2, .chapter-title h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}
.chapter .chapter-content, .chapter-title .chapter-content {
  color: #ffffff;
  text-align: center;
  font-size: 1.2rem;
}

.video {
  padding: 50px 0;
  background-color: #f1f1f0;
  position: relative;
  height: -moz-fit-content;
  height: fit-content;
}
.video .container {
  display: flex;
  width: 100%;
}
.video .video-player {
  width: 80%;
  max-width: 800px;
  height: auto;
  display: flex;
}

.play {
  width: 430px;
}

.flashcard-main-container {
  background-color: #2c2c2c;
}

.chapter {
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.chapter h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}
.chapter .chapter-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  justify-items: center;
  align-items: center;
}
.chapter .flash-card {
  position: relative;
  width: 250px;
  height: 350px;
  perspective: 1000px;
  cursor: pointer;
}
.chapter .flash-card .flash-card-front,
.chapter .flash-card .flash-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: 10px;
}
.chapter .flash-card .flash-card-front {
  background-color: #003049;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chapter .flash-card .flash-card-front img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
}
.chapter .flash-card .flash-card-back {
  background-color: #003049;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotateY(180deg);
  padding: 10px;
  text-align: center;
}
.chapter .flash-card .flash-card-back p {
  font-size: 1rem;
  margin: 0;
}
.chapter .flash-card.flipped .flash-card-front {
  transform: rotateY(180deg);
}
.chapter .flash-card.flipped .flash-card-back {
  transform: rotateY(0);
}

video {
  transition: all 0.3s ease-in-out;
  filter: blur(5px);
}

.chapter .container {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

article {
  display: flex;
  justify-content: center;
}

.button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.button {
  background-color: #003049;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin: 10px;
  transition: all 0.3s ease-in-out;
}
.button:hover {
  background-color: #ffffff;
  color: #003049;
}

.flashcard {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.flashcard-main h2 {
  text-transform: uppercase;
}

.list {
  margin: 2%;
}
.list ul {
  display: flex;
  gap: 20px;
}
.list ul li {
  color: rgba(0, 48, 73, 0.5);
  padding: 5px 10px;
  border-radius: 15px;
}
.list ul .selected {
  background-color: #003049;
  color: white;
}/*# sourceMappingURL=style.css.map */