*{ 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body{
    background: url(img/stars-7088.gif);
}

#wrappedallf{
    position: relative;
    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;
}

/* isiprofile */

#isiprofile{
    max-width: 942px;
    margin: 50px auto 0;
    width: 100%;
    height: 100%;
}

#heads{
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 75px auto;
    background-color: white;
    width: 942px;
    height: 200px;
    border-radius: 30px;
}

#heads img{
    width: 366px;
    height: 63px;
}

/* sec1 */

.about{
    position: relative;
    background-color: white;
    width: 100%;
    height: 371px;
    border-radius: 30px;
    margin-bottom: 85px;
}

#ta{
    position: absolute;
    top: 120px;
    padding: 0px 35px 0px;
    font-size: 18px;
}

#ba{
    position: absolute;
    left: 40%;
    top: 8%;
}

#igs{
    text-align: center;
    padding-top: 30%;
}

#clouds{
    position: absolute;
    top: -19%;
    right: 4%;
}

#stars{
    position: absolute;
    bottom: -21%;
    left: 0;
}

#igs a img:hover{
    transform: scale(1.20);
    transition: 0.2s;
}

/* sec2 */

.like{
    position: relative;
    width: 100%;
    height: 445px;
    border: 3px solid white;
    border-radius: 30px;
    margin-bottom: 75px;
}

#pp{
    position: absolute;
    left: 5%;
    top: 7%;
}

#whats{
    position: absolute;
    top: 8%;
    right: 17%;
}

/* POPUP */

/* Container tombol */
.button-container {
    display: grid;
    grid-template-columns: repeat(2, 125px);
    grid-template-rows: repeat(2, 125px);
    gap: 30px;
    padding-top: 110px;
    padding-left: 480px;
}

/* Button style */
.popup-btn {
    width: 125px;
    height: 125px;
    background: white;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.popup-btn:hover {
    transform: scale(1.20);
    transition: 0.2s;
}

/* Overlay (blur background) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px) brightness(70%);
    background: rgba(0, 0, 0, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Popup Banner */
.popup {
    width: 495px;
    height: 233px;
    background: white;
    border-radius: 12px;
    position: relative;
    padding: 20px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

/* Animasi Popup */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}



/* 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;
}

/* Animasi masuk bertahap */
#isiprofile > *:not(#navbar) {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}