@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,300;1,400&family=Dancing+Script:wght@400;600;700&family=Playball&display=swap");

/* ================= GLOBAL ================= */

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

* {
  font-family: "Open Sans", sans-serif;
}

/* ================= BACKGROUND FULL BODY ================= */

body {
  background: linear-gradient(
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.35)
    ),
    url("../img/mawar1.jpg"); /* GANTI jika nama file berbeda */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Parallax hanya desktop */
@media (min-width: 768px) {
  body {
    background-attachment: fixed;
  }
}

/* ================= FONT CUSTOM ================= */

.font-dancing {
  font-family: "Dancing Script", cursive;
}

.font-playball {
  font-family: "Playball", cursive;
}

/* ================= WARNA TEMA ================= */

.bg-berem {
  background-color: rgba(241, 200, 118, 0.9);
  color: #7b0733;
}

.text-berem {
  color: #828191;
}

/* Semi transparan supaya background tetap terlihat */
.bg-wakwak {
  background-color: transparent;
  color: #f1c876;
}

.text-wakwak {
  background-color: #ffe2e2;
}

.bg-fee {
  background-color: white;
  color: black;
}

.bg-kulit {
  background-color: #9f0a04;
  color: #f1c876;
}

/* ================= FONT SIZE ================= */

.fs-60 {
  font-size: 60px;
}

.fs-45 {
  font-size: 45px;
}

.fs-40 {
  font-size: 40px;
}

/* ================= EFFECT ================= */

.scale {
  overflow: hidden;
  transition: 0.5s;
}

.scale:hover {
  transform: scale(1.05);
}

.norek {
  cursor: pointer;
  border: none;
  outline: none;
}

/* ================= FIX 100VH MOBILE ================= */

.vh-100 {
  min-height: 100svh;
}

@supports (-webkit-touch-callout: none) {
  .vh-100 {
    min-height: -webkit-fill-available;
  }
}

/* ================= MOBILE SETTING ================= */

@media (max-width: 640px) {

  h1 {
    font-size: 1.5rem !important;
  }

  body {
    background-position: center center;
    background-size: cover;
  }

  #front-image {
    display: none;
  }

  #front-text {
    padding-top: 40%;
    height: 100svh;
    color: #f1c876;
    background-image: url(../img/img14.png);
    background-size: cover;
    background-position: center;
  }
}

/* ================= FRONT IMAGE ================= */

#front-image img {
  width: 100%;
  height: 100svh;
  object-fit: cover;
}
