*{ 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body{
    background: url(img/stars-7088.gif);
}

#wrappedall{
    position: relative;
    max-height: 2167px;
    width: 100%;
    height: 100%;
}

/* navbar fix */


.linka{
    position: fixed;
    right: 0;
    max-width: 248px;
    width: 100%;
}

.navbar-vertical{
    top: -200px;
    opacity: 0; /* awalnya transparan */
    transition: top 0.5s ease, opacity 0.5s ease; /* dropdown + fade-in */
    z-index: 1000;
}

.navbar-vertical.show{
    top: 0; /* Turun ke posisi terlihat */
    opacity: 1; /* Fade-in */
}

.linka img{
    position: fixed;
    right: 90px;
    bottom: 40px;
}

.navbar-verticalk{
    top: -200px;
    opacity: 0; /* awalnya transparan */
    transition: top 0.5s ease, opacity 0.5s ease; /* dropdown + fade-in */
    z-index: 1000;
}

.navbar-verticalk.show{
    top: 0; /* Turun ke posisi terlihat */
    opacity: 1; /* Fade-in */
}

#navbar2 h2{
    margin-bottom: 20px;
    text-align: center;
}

#navbar2 li{
    list-style: none;   
}

#navbar2 a{
    text-decoration: none;
    color: white;
}

#navbar2 a:hover{
    text-decoration: underline;
}

.linki{
    position: fixed;
    text-align: center;
    left: 0;
    max-width: 248px;
    width: 100%;
}

.linki p{
    position: fixed;
    color: white;
    transform: rotate(-90deg);
    left: -35px;
    bottom: 100px;
}

/* NAVBAR */

#navbar{
    position: relative;
    margin: 0 auto;
    max-width: 942px;
    max-height: 84px;
    width: 100%;
    height: 100%;
    background-color: white ;
    padding: 20px 50px;
    border-radius: 15px;
    display: flex;
}

.navbar-horizontal{
    opacity: 1;
    transition: opacity 0.5s ease; /* Fade effect */
    z-index: 1000;
}

.navbar-horizontal.hide{
    opacity: 0;
    pointer-events: none;
}

#navbar li{
    position: absolute;
    display: flex;
    gap: 20px;
    right: 20px;
    top: 28px;
    list-style: none;
}

#navbar a{
    text-decoration: none;
    color: black;
}

#navbar a:hover{
    text-decoration: underline;
    transform: scale(1.10);
    transition: 0.2s;
}

/* isikonten */

#isikonten{
    max-width: 942px;
    max-height: 2167px;
    margin: 50px auto 0;
    width: 100%;
    height: 100%;
}

#heads{
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 75px 0;
}

/* sec1 */

.sec1{
    position: relative;
    background-color: white;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    margin-bottom: 75px;
}

#isi1{
    margin: 0 auto;
    text-align: center;
    padding-top: 50px;
    max-width: 800px;
    width: 100%;
}

#isi1 h2{
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: left;
    font-weight: bold;
    font-family: "Poetsen One", sans-serif;
}

#isi1 h4{
    position: absolute;
    top: 15.7%;
    left: 14%;
    text-align: left;
}

#isibanner ul{
    list-style: none;
}

#isibanner li{
    padding-bottom: 30px;
}

#isiresto ol{
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 70px;
}

#isiresto li{
    list-style: none;
    margin-bottom: 80px;
}

#isiresto h4{
    position: absolute;
    top: 55.4%;
    left: 20%;
}

#menus{
    padding-top: 90px;
}

#forms{
    margin-top: 66px;
}

/* footer */

.footer{
    background-color: white;
    width: 100%;
    height: 371px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    text-align: center;
}

#listf p{
    padding-top: 10px;
}

#listf a{
    text-decoration: none;
    color: black;
    padding-top: 30px;
}

#listf a:hover{
    text-decoration: underline;
    transform: scale(1.10);
    transition: 0.2s;
}

#listf a img:hover{
    transform: scale(1.20);
    transition: 0.2s;
}

#listf img{
    padding-top: 50px;
}

#listf li{
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* sec1 */

.scc1{
    width: 100%;
    margin: 0 108px ;
}


#ps1{
    position: relative;;
    text-align: center;
    padding-top: 15px;
    font-size: 80px;
    font-family: "Zen Old Mincho", serif;
    font-weight: bold;
    text-shadow: 6px 2px 4px rgba(0, 0, 0, 0.8);
    transform: scale(0);
    opacity: 0;
    animation: popIn 0.6s ease forwards;
}

#ps1:nth-child(1) {animation-delay: 0.3s;}

@keyframes popIn {
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.teks p{
    text-align: left;
    font-size: 28px;
    padding-top: 60px;
    transform: scale(0);
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    50% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.teks p:nth-child(1) {animation-delay: 0.3s;}
.teks p:nth-child(2) {animation-delay: 0.6s;}
.teks p:nth-child(3) {animation-delay: 0.9s;}

.formulir{
    position: relative;
    margin-top: 50px;
    text-align: left;
    width: 100%;
    height: 1100px;
    background-color: white;
    padding: 30px;
    border-radius: 30px;
}

.nama, .email, .imail, .last{
    font-size: 24px;
    height: 100%;
    width: 100%;
}

#namas, #emails, #imails{
    width: 100%;
    height: 58px;
    margin-bottom: 40px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 28px;
    border: 3px solid black;
}

#lasts{
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
    border-radius: 10px;
    margin-top: 10px;
    border: 3px solid black;
    font-size: 28px;
}

span{
    color: red;
    font-size: 16px;
}

#buttonm1{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

#buttonm a:hover{
    transform: scale(1.20);
    transition: 0.2s;
}

/* Animasi masuk bertahap */
#isikonten > *:not(#navbar) {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}