:root {
  --primary: #ff4343;
  --bg: #ffffff;
  --secondary: #060270;
}

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  font-family: "poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "poppins" sans-serif;
  background-color: #fffdd7;
  color: transparent;
  min-height: 2000px;
}

/*Intro Screen*/
.intro {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: #000;
  transition: 2s;
  animation: coloranimation 7s;
}

.logo-header {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  animation: coloranimation 7s;
}

@keyframes coloranimation {
  0% {
    background-color: #000;
    color: #fff;
  }

  20% {
    background-color: #000;
    color: #fff;
  }

  100% {
    background-color: #fff;
    color: #fff;
  }
}

.logo {
  position: relative;
  display: flexbox;
  bottom: -20px;
  opacity: 0;
}

.logo.active {
  bottom: 0;
  opacity: 1;
  transition: ease-in-out 0.5s;
}

.logo.fade {
  bottom: 150px;
  opacity: 0;
  transition: ease-in-out 0.5s;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgba(255, 217, 0, 0.8);
  border-bottom: 1px solid #ff3a3a;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  animation: opacity 4s;
}

@keyframes opacity {
  0% {
    opacity: 0%;
  }
  50% {
    opacity: 0%;
  }
  100% {
    opacity: 100%;
  }
}

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.navbar .navbar-logo span {
  color: var(--primary);
}

.navbar .navbar-nav ul li {
  color: #800000;
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}

.navbar .navbar-nav a {
  color: #800000;
}

.navbar .navbar-nav ul li a:hover {
  color: var(--primary);
}

.navbar .navbar-nav ul li a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav ul li a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-nav .latest:hover .drop-latest {
  display: block;
}

.navbar .navbar-nav .drop-latest {
  display: none;
  position: absolute;
  top: 60px;
  width: 200px;
  background: rgba(255, 217, 0, 0.8);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.navbar .navbar-nav .drop-latest li {
  display: block;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px;
}

.navbar .navbar-nav .drop-latest li a {
  color: #800000;
  text-decoration: none;
  padding: 3px 15px;
  display: block;
  transition: 0.3s ease;
}

.navbar .navbar-nav .drop-latest li:hover a {
  background: #ffe345;
  border-radius: 5px;
}

.navbar .navbar-extra ul li a {
  color: #800000;
  margin: 0 0.5rem;
}

.navbar .navbar-extra ul li a:hover {
  color: var(--bg);
}

#menu {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/header-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 20%;
  bottom: 0;
  background: linear-gradient(0deg, #fffdd7 8%, rgba(255, 255, 255, 0) 50%);
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
}

.hero .content h1 {
  font-size: 4em;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0);
  line-height: 1.2;
}

.hero .content h1 span {
  color: var(--primary);
}

.hero .content p {
  color: #fff;
  font-size: 1.4rem;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0);
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  transition: all 0.3s ease;
}

.hero .content .cta:hover {
  background-color: #a82a2a;
}

/* About Section */
.about {
  padding: 6rem 7% 1.4rem;
}

.about .about-title {
  color: #000;
  font-size: 1.5rem;
  text-align: center;
}

.about .about-title span {
  color: #ff4343;
}

.about .about-title {
  text-align: justify;
  color: #000;
  list-style: none;
  font-size: 1.15rem;
}

.about .about-title a:hover {
  color: #a82a2a;
  text-decoration: none;
}

/* Ethics Section */
.ethics {
  padding: 6rem 7% 1.4rem;
}

.ethics .title-ethics {
  color: var(--secondary);
  padding: 2px;
  text-align: center;
}

.ethics .about-ethics h1,
p,
ul li {
  color: var(--secondary);
  font-size: 1.5rem;
}

.ethics .about-ethics span {
  color: #ff4343;
}

.ethics .about-ethics {
  text-align: justify;
  color: #000;
  list-style: none;
  font-size: 1.15rem;
}

.ethics .about-ethics ul {
  list-style: decimal;
  padding-left: 50px;
}

/* Jadwal Pelayanan & Warta Jemaat Section */
.wj-content {
  text-align: center;
  padding: 6rem 7% 1.4rem;
}

.wj-content {
}

.wj-img h1 {
  color: var(--secondary);
}

.wj-img {
}

.wj-img img {
  max-width: 650px;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1rem;
}

.wj-content .down-wj a {
  text-decoration: none;
  margin-left: 2rem;
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

/* Footer */
.layanan-pengaduan {
  margin-top: 3rem;
  background-color: #ffd2d2;
  color: var(--secondary);
  padding: 2rem;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: top;
  align-content: center;
  justify-items: center;
  word-wrap: break-word;
  flex-direction: row;
  gap: 50px;
  background-image: url("../img/bgft.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.layanan-pengaduan {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.layanan-pengaduan p {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.layanan-pengaduan a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

/* Media Queries */

/* Laptop */
@media (max-width: 1440px) {
  html {
    font-size: 75%;
  }

  #menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: rgba(255, 217, 0, 0.8);
    width: 20rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: #800000;
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .wj-content {
    height: 550px;
    min-height: 100vh;
    display: contents;
    position: relative;
    text-align: center;
  }

  .wj-content {
    flex-wrap: wrap;
  }

  .wj-content h1 {
    padding-top: 3rem;
  }
  .wj-content .wj-img img {
    max-width: 400px;
  }

  .wj-content .down-wj a {
    margin-left: 20.5rem;
    margin-top: 1rem;
    padding: 1rem 3rem;
    width: 225px;
    display: flex;
  }
}

/* Laptop */
@media (max-width: 1024px) {
  html {
    font-size: 75%;
  }

  #menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: rgba(255, 217, 0, 0.8);
    width: 20rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: #800000;
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .wj-content {
    height: 550px;
    min-height: 100vh;
    display: contents;
    position: relative;
    text-align: center;
  }

  .wj-content {
    flex-wrap: wrap;
  }

  .wj-content h1 {
    padding-top: 3rem;
  }

  .wj-content .wj-img img {
    max-width: 400px;
  }

  .wj-content .down-wj a {
    margin-left: 12rem;
    margin-top: 1rem;
    padding: 1rem 3rem;
    width: 225px;
    display: flex;
  }
}

/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 60%;
  }

  .wj-content {
    height: 550px;
    min-height: 100vh;
    display: contents;
    position: relative;
    text-align: center;
  }

  .wj-content {
    flex-wrap: wrap;
  }

  .wj-content h1 {
    padding-top: 3rem;
  }
  .wj-content .wj-img img {
    max-width: 600px;
  }

  .wj-content .down-wj a {
    margin-left: 30rem;
    margin-top: 1rem;
    padding: 1rem 3rem;
    width: 175px;
    display: flex;
  }
}

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

  .wj-content {
    height: 550px;
    min-height: 100vh;
    display: contents;
    position: relative;
    text-align: center;
  }

  .wj-content {
    flex-wrap: wrap;
  }

  .wj-content h1 {
    padding-top: 3rem;
  }

  .wj-content .wj-img img {
    max-width: 325px;
  }

  .wj-content .down-wj a {
    margin-left: 17rem;
    margin-top: 1rem;
    padding: 1rem 3rem;
    width: 147px;
    display: flex;
  }
}
