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

/* sekte loading */

#loading {
  background: #000 url(../asset/loading.gif) no-repeat center center;
  background-size: 10%;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 100;
}

#loading img {
  width: 100px;
  height: 100px;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fade-in-scroll {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


:root{
  --main: #ff0000;
  --bg: #f1d2d2;
  --black: #000;
  --white: #fff;
  --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
}

.selengkapnya {
  margin: 20px 0;
  font-size: 16px;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
}

.judul {
  font-size: 40px;
  margin: 20px 0;
  font-family: 'Konkhmer Sleokchher', cursive;
}

.gambar-container {
  text-align: center;
  margin: 40px 0;
}

.gambar {
  max-width: 107%;
  height: auto;
  display: block;
  margin-left: -32px;
}

@media (max-width: 768px) {
  .gambar {
    max-width: 100%;
    margin: 0 auto;
    display: block;
  }
}

.deskripsi {
  text-align: left;
  margin: 20px 0;
  font-size: 40px;
  opacity: 0;
  transition: opacity 1s;
}

.deskripsi2 {
  font-size: 17px;
  line-height: 1.5;
  word-spacing: 2px;
  text-align: justify;
  opacity: 0;
  transition: opacity 1s;
  color: #797979;
  font-family: 'sans-serif';
}

.line-break {
  margin-bottom: 450px;
}


.infohero__title {
  font-size: 55px;
  font-weight: 600;
  text-shadow: 3px 3px #ffffff;
}

.infohero__title span {
  display: block;
}

#typewriter-text {
  font-family: Arial, sans-serif;
  letter-spacing: 3px;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

*{
  font-family: 'Roboto', sans-serif;
  margin: 0; padding: 0;
  box-sizing: border-box;
  outline: none; border: none;
  text-decoration: none;
  transition: .2s linear;
}

html{
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
  overflow: hidden;
}

html::-webkit-scrollbar{
  width: 1rem;
}

html::-webkit-scrollbar-track{
  background: transparent;
}

html::-webkit-scrollbar-thumb{
  background: var(--main);
  border-radius: 5rem;
}

section{
  padding: 8rem 7%;
}

.heading{
  text-align: center;
  font-size: 4rem;
  color: var(--main);
  text-transform: uppercase;
  margin-bottom: 3rem;
  padding: 1.2rem 0;
}

.btn{
  font-size: 1.7rem;
  display: inline-block;
  background: var(--main);
  color: var(--white);
  box-shadow: var(--box-shadow);
  border-radius: 5rem;
  padding: 0.9rem 3rem;
  margin-top: 1rem;
  z-index: 0;
  position: relative;
  overflow: hidden;
}

.btn::before{
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 0%;
  background: #d3cfcf;
  z-index: -1;
  transition: .3s linear;
  left: 0;
}

.btn:hover::before{
  width: 100%;
}

/* sekte header */

.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--box-shadow);
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 8%;
}

.header .navbar a.active {
  color: var(--main);
  font-weight: bold;
}

.header .logo{
  font-size: 2.5rem;
  font-weight: bolder;
  color: var(--black);
}

.header .logo i{
  color: var(--main);
}

.header .logo img{
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.header .navbar a{
  font-size: 1.7rem;
  color: var(--black);
  margin: 0 1rem;
  font-family: 'Josefin Sans', sans-serif;
}

.header .navbar a:hover{
  color: var(--main);
}

.header .icons div{
  font-size: 2.5rem;
  margin-left: 1.7rem;
  cursor: pointer;
  color: var(--black);
}

#menu-button {
  display: none;
}

@media screen and (max-width: 768px) {
  .header {
    padding: 1rem 2rem;
  }

  .header .navbar {
    display: none;
    flex-direction: column;
    background-color: var(--white);
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1;
    border-top: 1px solid #ccc;
  }

  .header .navbar.active {
    display: flex;
  }

  .header .navbar a {
    margin: 10px 0;
  }

  #menu-button {
    display: block;
    font-size: 2rem;
    cursor: pointer;
  }
}

/* sekte home */

.home{
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url(../images/home.jpg) no-repeat;
  background-size: cover;
  background-position: top;
}

@media (max-width: 768px) {
  .home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(../images/home1.png) no-repeat;
    background-size: cover;
    background-position: top;
  }
}

.home .content{
  max-width: 60rem;
}

.row{
  height: 300px;
}

.home .wave{
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 12rem;
}

@media (max-width: 768px) {
  .wave {
    display: none;
  }
}

/*sekte apaitu */

.apaitu {
  background: var(--bg);
  padding: 50px;
}

.apaitu .slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.apaitu .content {
  margin-bottom: 20px;
}

.apaitu .content h3 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  font-family: 'Josefin Sans', sans-serif;
}

.apaitu .content p,
.apaitu .content strong {
  font-size: 18px;
  margin: 0;
  text-align: justify;
  font-family: 'Josefin Sans', sans-serif;
}

.apaitu .content p:last-child {
  margin-bottom: 10px;
}

.apaitu .details {
  font-size: 14px;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--white);
}

@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
      display: none !important;
  }
}


/* sekte gunung */

.gunung .box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem,1fr));
  gap: 2rem;
}

.gunung .box-container .box{
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gunung .box-container .box img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.gunung .box-container .box:hover img{
  transform: scale(1.1);
}

.gunung .box-container .box .content{
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 20px;
  z-index: 1;
  transition: 0.5s ease;
}

.gunung .box-container .box:hover::after{
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  opacity: 0.5;
  transition: 0.5s ease;
}

.gunung .box-container .box .content h3{
  text-align: center;
  font-size: 3rem;
  color: var(--white);
  font-family: 'Konkhmer Sleokchher', cursive;
}

.gunung .box-container .box .content a{
  font-family: 'Asul', sans-serif;
}

.gunung .box-container .box:is(:hover, :focus-within) .content{
  transform: translateY(-20px);
}

/* sekte suku */

.image-container {
  display: inline-block;
  max-width: 100%;
  height: auto;
  padding: 4px;
}

.image-box {
  flex: 1;
  margin-left: 10px;
}

.image-box img {
  max-width: 100%;
  height: 340px;
  width: 340px;
}

#sukusection {
  background: #ffffff;
  height: auto;
}

#sukuwarp {
  padding-top: 50px;
  position: relative;
  padding-left: 0;
  padding-right: 0;
  z-index: 1;
}

.grid-gutter-md {
  margin-left: -8px;
  margin-right: -8px;
}

.suku__item {
  cursor: pointer;
  margin: 0;
  position: relative;
  float: right;
  padding: 10px;
  width: 33.3333%;
  border-radius: 5px;
  overflow: hidden;
}

.suku__item1 {
  cursor: pointer;
  margin: 0 370px;
  padding: 10px;
  width: 33.3333%;
  border-radius: 5px;
  overflow: hidden;
  display: inline-block;
  text-align: center;
}

.suku__item2 {
  cursor: pointer;
  margin: 0 120px;
  padding: 10px;
  width: 33.3333%;
  border-radius: 5px;
  overflow: hidden;
  display: inline-block;
  text-align: center;
}

.suku__item3 {
  cursor: pointer;
  margin: 0 0px;
  padding: 10px;
  width: 33.3333%;
  border-radius: 5px;
  overflow: hidden;
  display: inline-block;
  text-align: center;
}

.suku__content {
  margin-left: 30px;
  border-radius: 5px;
  height: 350px;
  width: 94%;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.suku_link i {
  position: absolute;
  z-index: 1;
  color: #181715;
  opacity: 0;
  font-size: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  transition: all .3s;
}

.suku__item:hover .suku__content {
  opacity: .5;
}

.suku__item1:hover .suku__content {
  opacity: .5;
}

.suku__item2:hover .suku__content {
  opacity: .5;
}

.suku__item3:hover .suku__content {
  opacity: .5;
}

@media (max-width: 999px) {
  .suku__item {
      width: 50%;
  }
}

@media (max-width: 799px) {
  .suku__item {
      width: 100%;
  }
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* sekte candi rata kiri */

.kotak {
  width: 90%;
  margin: 0 auto;
  padding: 10px 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.candi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.candi-image {
  flex: 1;
  margin-right: 40px;
  overflow: hidden;
}

.candi-image img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: 0.5s ease;
}

.candi-image:hover img {
  transform: scale(1.2);
}

.candi-content {
  flex: 1;
}

.candi-content h2 {
  font-size: 23px;
  margin-bottom: 10px;
  color: #333;
  font-family: 'Konkhmer Sleokchher', cursive;
}

.candi-content p {
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  font-family: 'Asul', sans-serif;
}

.candi-content .gass {
  display: inline-block;
  padding: 8px 8px;
  border-radius: 3px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  margin-top: 15px;
  transition: 0.3s ease;
  font-family: 'Asul', sans-serif;
}

.candi-content .gass {
  background-color: #ff0000;
}

.candi-content .gass:hover {
  background-color: #d3cfcf;
}

@media screen and (max-width: 768px){
  .heading {
    padding: 0px 20px;
  }
  .heading h1 {
    font-size: 36px;
  }
  .heading p {
    font-size: 17px;
    margin-bottom: 0px;
  }
  .kotak {
    padding: 0px;
  }
  .candi {
    padding: 20px;
    flex-direction: column;
  }
  .candi-image {
    margin-right: 0px;
    margin-bottom: 20px;
  }
  .candi-content p {
    padding: 0px;
    font-size: 16px;
  }
  .candi-content .gass {
    font-size: 16px;
  }
}

/* sekte candi rata kanan */

.kotakk {
  width: 90%;
  margin: 0 auto;
  padding: 10px 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.candii {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.candii-image {
  flex: 1;
  margin-right: 40px;
  overflow: hidden;
}

.candii-image img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: 0.5s ease;
}

.candii-image:hover img {
  transform: scale(1.2);
}

.candii-content {
  flex: 1;
  margin-right: 40px;
}

.candii-content h2 {
  font-size: 23px;
  margin-bottom: 10px;
  color: #333;
  font-family: 'Konkhmer Sleokchher', cursive;
  text-align: right;
}

.candii-content p {
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  font-family: 'Asul', sans-serif;
  text-align: right;
}

.candii-content .gasss {
  display: inline-block;
  padding: 8px 8px;
  border-radius: 3px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  margin-top: 15px;
  transition: 0.3s ease;
  font-family: 'Asul', sans-serif;
  float: right;
}

.candii-content .gasss {
  background-color: #ff0000;
}

.candii-content .gasss:hover {
  background-color: #d3cfcf;
}

@media screen and (max-width: 768px){
  .heading {
    padding: 0px 20px;
  }
  .heading h1 {
    font-size: 36px;
  }
  .heading p {
    font-size: 17px;
    margin-bottom: 0px;
  }
  .kotakk {
    padding: 0px;
  }
  .candii {
    padding: 20px;
    flex-direction: column;
  }
  .candii-content {
    margin-right: 0px;
  }
  .candii-image {
    margin-right: 0px;
    margin-bottom: 20px;
  }
  .candii-content p {
    padding: 0px;
    font-size: 16px;
  }
  .candii-content .gasss {
    font-size: 16px;
  }
}

/* sekte footer */

.footer {
  margin-top: auto;
  background-color: #ff0000;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 15px;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: 1s;
}

/* sekte media queries */

@media(max-width: 991px){
  html{
    font-size: 55%;
  }
  .header{
    padding: 2rem;
  }
  section{
    padding: 8rem 2rem;
  }
}

@media (max-width: 768px){

  #menu-btn{
    display: inline-block;
  }

  .header .navbar{
    position: absolute;
    top: 99%;
    left: 0; right: 0;
    background: var(--white);
    border-top: .1rem solid var(--main);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  .header .navbar.active{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .header .navbar a{
    display: block;
    margin: 2rem;
    font-size: 2rem;
  }

  .home{
    background-position: left;
  }

  .home .content h3{
    font-size: 5rem;
  }

  .deco-title{
    display: none;
  }

}

@media (max-width: 450px){
  html{
    font-size: 50%;
  }

  .home .content h3{
    font-size: 4rem;
  }

}