@import url("https://fonts.googleapis.com/css2?family=Anton&family=DM+Serif+Display:ital@0;1&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

body,
html {
  min-height: 100vh;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #000000;
  height: 100%;
  background: url("aset/Background.png") no-repeat center center fixed;
  background-size: cover;

  position: fixed;
}

.box--header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 100;
}

.box--btn {
  margin: 0;
  padding: o;
  opacity: 0;
  animation: slideTop 1s ease forwards;
}
.box--tombol {
  transition: transform 0.5s ease;
}
.box--tombol:hover {
  transform: scale(1.2);
}

.box--icon {
  height: 30px;
}
.box--logo img {
  height: 70px;
  margin: 0px 0px 0px 0px;
  opacity: 0;
  animation: slideRight 2s ease forwards;
}
.box--logo {
  width: 70vw;
}

.box--pop img {
  height: 70px;
  margin: 200px 10px 400px 0px;
  opacity: 0;
  animation: slideRight 2s ease forwards;
}
.box--pop {
  width: 50vw;
}

.box--navigasi {
  width: 30vw;

  align-items: center;
  border: 1px solid transparent;
}

.box--subnavigasi {
  list-style-type: none;
  font-size: 1.5em;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-evenly;
}

.box--iconmenu {
  margin-left: 20px;
  display: flex;
}

.box--judul {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-weight: normal;
  font-size: x-small;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  display: flex;
  align-items: center;
  margin : -10px 0px 0px 0px;
  opacity: 0;
  animation: slideRight 0s ease forwards;
  animation-delay: calc(0.0s * var(--i));
}


/* Tambahkan transisi smooth pada judul */
.box--judul:hover {
  transition: transform 0.3s ease; /* Tambahkan transisi smooth */
  transform: scale(1.1); /* Berikan efek scaling */
}

.box--hero {
  position: relative;
  background: transparent;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.box--hero .box--overlay {
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  bottom: 0px;
  display: flex;
  justify-content: left;
  padding: 50px 20px;
}

.box--hero .box--overlay .box--text-content {
  padding: 20px;
  text-align: left; /* Menyusun teks rata kiri */
  color: white;
}

.box--hero h1 {
  font-size: 3em;
  margin: 0;
}
.box--text-setting {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: calc(0.3s * var(--m));
}
.box--baris1 {
  font-size: 1.5em;
  list-style-type: none;
  padding: 0%;
  margin: 0px;
  display: flex;
}
.box--baris2 {
  font-size: 1.8em;
  list-style-type: none;
  padding: 0%;
  margin: 0px;
  display: flex;
}
.box--TEXT1 {
  color: black;
}
.box--TEXT2 {
  color: rgb(24, 21, 158);
  padding-left: 20px;
}
#box--text3 {
  color: rgb(24, 21, 158);
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 4.5em;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: 0.8s;
}
.box--hero p {
  font-size: 1.2em;
  margin: 10px 0px 20px 0px;
  color: #000000;
  animation: slideLeft 1s ease forwards;
  opacity: 0;
  animation-delay: 1s;
}

.box--hero button {
  padding: 10px 20px;
  font-size: 1em;
  color: #000000;
  background-color: #ac835b;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.box--hero button:hover {
  background-color: #ff6347;
}

/*Keyframe animation*/
@keyframes slideRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(1px);
    opacity: 1;
  }
}
@keyframes slideTop {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(1px);
    opacity: 1;
  }
}
@keyframes slideLeft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(1px);
    opacity: 1;
  }
}

/*-------- mobile tablet ------*/
@media (min-width: 1000px) and (max-width: 1500px) {
  .box--logo {
    width: 70vw;
  }

  .box--hero .box--overlay {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0px;
    display: flex;
    justify-content: left;
    padding-top: 70px;
  }

  .box--baris1 {
    font-size: 1.2em;
    list-style-type: none;
    padding: 0%;
    margin: 0px;
    display: flex;
  }
  .box--baris2 {
    font-size: 1.2em;
    list-style-type: none;
    padding: 0%;
    margin: 0px;
    display: flex;
  }
  #box--text3 {
    display: flex;
    font-size: 3.5em;
  }
  .box--tombol {
    transition: transform 0.5s ease;
  }
  .box--tombol:hover {
    transform: scale(1.2);
  }
  .box--hero button {
    padding: 10px 20px;
    font-size: 1em;
    color: #000000;
    background-color: #ac835b;
    border: none;
    border-radius: 20px;
    cursor: pointer;
  }

  .box--hero button:hover {
    background-color: #ff6347;
  }
}
@media (min-width: 780px) and (max-width: 1000px) {
  .box--logo {
    width: 55vw;
  }

  .box--hero .box--overlay {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0px;
    display: flex;
    justify-content: left;
    padding-top: 230px;
  }

  .box--baris1 {
    font-size: 1.2em;
    list-style-type: none;
    padding: 0%;
    margin: 0px;
    display: flex;
  }
  .box--baris2 {
    font-size: 1.2em;
    list-style-type: none;
    padding: 0%;
    margin: 0px;
    display: flex;
  }
  #box--text3 {
    display: flex;
    font-size: 3.5em;
  }
  .box--tombol {
    transition: transform 0.5s ease;
  }
  .box--tombol:hover {
    transform: scale(1.2);
  }
  .box--hero button {
    padding: 10px 20px;
    font-size: 1em;
    color: #000000;
    background-color: #ac835b;
    border: none;
    border-radius: 20px;
    cursor: pointer;
  }

  .box--hero button:hover {
    background-color: #ff6347;
  }
}
@media (min-width: 300px) and (max-width: 780px) {
  .box--logo {
    width: 65vw;
  }

  .box--tulisan {
    display: none;
  }
  .box--navigasi {
    width: 30vw;
    padding-top: 20px;
    align-items: center;
    border: 0.0001px solid transparent;
  }
  .box--icon {
    height: 25px;
  }
  .box--logo img {
    height: 80px;
    margin: 0px 0px 0px 35px;
    opacity: 0;
    animation: slideRight 2s ease forwards;
  }

  .box--hero .box--overlay {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0px;
    display: flex;
    justify-content: left;
    padding-top: 250px;
  }
  .box--baris1 {
    font-size: 0.8em;
    list-style-type: none;
    padding: 0%;
    margin: 0px;
    display: flex;
  }
  .box--baris2 {
    font-size: 0.8em;
    list-style-type: none;
    padding: 0%;
    margin: 0px;
    display: flex;
  }
  .box--TEXT2 {
    padding-left: 10px;
  }
  #box--text3 {
    display: flex;
    font-size: 2.5em;
  }
  .box--tombol {
    transition: transform 0.5s ease;
  }
  .box--tombol:hover {
    transform: scale(1.2);
  }
  .box--hero button {
    padding: 10px 20px;
    font-size: 1em;
    color: #000000;
    background-color: #ac835b;
    border: none;
    border-radius: 20px;
    cursor: pointer;
  }

  .box--hero button:hover {
    background-color: #ff6347;
  }
}

@media (min-width: 375px) and (max-width: 780px) {
  .box--iconmenu {
    display: flex;
  }
  .box--logo {
    width: 65vw;
  }

  .box--navigasi {
    width: 30vw;
    padding-top: 20px;
    align-items: center;
    border: 0.0001px solid transparent;
  }
  .box--tulisan {
    display: none;
  }
  .box--icon {
    height: 25px;
  }
  .box--logo img {
    height: 50px;
    margin: 20px 0px 0px 40px;
    opacity: 0;
    animation: slideRight 2s ease forwards;
  }
  .box--text-setting {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(0.3s * var(--m));
  }

  .box--hero .box--overlay {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0px;
    display: flex;
    justify-content: center;
  }
  .box--baris1 {
    font-size: 1em;
    list-style-type: none;
    padding: 0%;
    margin: 0px;
    display: flex;
    justify-content: center;
  }
  .box--baris2 {
    font-size: 1.1em;
    list-style-type: none;
    padding: 0%;
    margin: 0px;
    display: flex;
    justify-content: center;
  }
  #box--text3 {
    display: flex;
    font-size: 3em;
    justify-content: center;
  }

  .box--hero .box--overlay .box--text-content {
    padding: 20px;
    text-align: center; /* Menyusun teks rata kiri */
    color: white;
  }
  .box--tombol {
    transition: transform 0.5s ease;
  }
  .box--tombol:hover {
    transform: scale(1.2);
  }
  .box--hero button {
    padding: 10px 20px;
    font-size: 1em;
    color: #000000;
    background-color: #ac835b;
    border: none;
    border-radius: 20px;
    cursor: pointer;
  }
  .box--hero button:hover {
    background-color: #ff6347;
  }
}

@media (min-width: 300px) and (max-width: 780px) {
  .box--iconmenu {
    display: flex;
  }
  .box--logo {
    width: 65vw;
  }

  .box--navigasi {
    width: 30vw;
    padding-top: 20px;
    align-items: center;
    border: 0.0001px solid transparent;
  }
  .box--tulisan {
    display: none;
  }
  .box--icon {
    height: 25px;
  }
  .box--logo img {
    height: 50px;
    margin: 20px 0px 0px 40px;
    opacity: 0;
    animation: slideRight 2s ease forwards;
  }
  .box--text-setting {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(0.3s * var(--m));
  }

  .box--hero .box--overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0px;
    display: flex;
    justify-content: center;
    padding-top: 170px;
    padding-left: 30px;
  }
  .box--baris1 {
    font-size: 0.8em;
    list-style-type: none;
    padding: 0%;
    margin: 0px;
    display: flex;
    justify-content: center;
  }
  .box--baris2 {
    font-size: 0.9em;
    list-style-type: none;
    padding: 0%;
    margin: 0px;
    display: flex;
    justify-content: center;
  }
  #box--text3 {
    display: flex;
    font-size: 2.2em;
    justify-content: center;
  }

  .box--hero .box--overlay .box--text-content {
    padding: 20px;
    text-align: center; /* Menyusun teks rata kiri */
    color: white;
  }
  .box--tombol {
    transition: transform 0.5s ease;
  }
  .box--tombol:hover {
    transform: scale(1.2);
  }
  .box--hero button {
    padding: 10px 20px;
    font-size: 1em;
    color: #000000;
    background-color: #ac835b;
    border: none;
    border-radius: 20px;
    cursor: pointer;
  }
  .box--hero button:hover {
    background-color: #ff6347;
  }
}
