@import url('https://fonts.googleapis.com/css2?family=Jacquard+24&family=Jacques+Francois+Shadow&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inconsolata;
    font-weight: 400;
    scroll-behavior: smooth;
}

body{
    background-color: #7697CA;
}
.topbar{
    display: flex;
    position: fixed;
    padding-left: 1vw;
    padding-right: 2vw;
    z-index: 10;
    width: 100vw;
    height: 80px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.navbar{
    display: flex;
    position: relative;
    
    width: 87vw;
    height: 45px;
    border-radius: 20px;
    background-color: #ffffff65;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    align-items: center;
    justify-content: flex-end;
    z-index: 10;
}

nav ul{
    display: flex;
    gap: 30px;
}

nav ul li{
    list-style: none;
}

nav ul li a{
    padding: 5px 15px;
    text-decoration: none;
    border-radius: 15px;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 1.1em;
    color: black;
}

nav ul li a:hover{
    background-color: #577CB2;
    color: white;
}
.menu-toggle{
    display: none;
}

@media (max-width: 768px) { 
    .topbar{
        position: fixed;
        padding-left: 0;
        padding-right: 12px;
        align-items: center;
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: 80px;
    }
    .navbar{
        background-color: transparent;
        box-shadow: none;
        border: none;
        left: 0;
    }
    nav ul {
      position: absolute;
      top: 60px;
      left: -250px;
      background: whitesmoke;
      width: 150px;
      flex-direction: column;
      padding: 10px 5px;
      transition: all 0.3s ease;
      gap: 10px;
    }
    nav ul li{
        padding: 10px 0px;
    }
    nav ul li a{
        border: none;
    }
    nav ul li:hover{
        background-color: #577CB2;
    }
    nav ul li:hover a{
        color: white;
    }
    nav ul.active {
      left: 15px;
    }
  
    .menu-toggle {
      display: block;
      font-size: 28px;
      cursor: pointer;
      position: absolute;
      left: 15px;
      color: white;
    }
    
  }
.menu{
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #D9D9D9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    cursor: pointer;
}
.menu i{
    font-size: 23px;
    color: black;
}
.menu-content{
    position: absolute;
    align-items: center;
    justify-content: space-between;
    top: 70px;
    right: 0;
    width: 150px;
    height: 173px;
    background-color: whitesmoke;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: none;
}

.menu-content ul{
    list-style: none;
}
.menu-content ul li{
    padding: 20px 20px;
}
.menu-content ul li a{
    text-decoration: none;
    color: black;
    padding: 10px;
}
.menu-content ul li i{
    font-size: 18px;
    position: inherit;
    padding: 0;
}
.menu-content ul li:hover, .menu-content ul li:hover a, .menu-content ul li:hover i{
    background-color: #577CB2;
    color: white;
}
.title{
    position: absolute;
    z-index: 9;
    left: 50px;
    top: 260px;
    color: white;
    font-size: 6rem;
    font-family: 'Jacques Francois Shadow';
    font-weight: medium;
    transition: transform 0.3s linear;
}
.hero-section, .about-section, .portofolio-section{
    background-image: url(assets/bg1.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
}

.hero-section{
    background-position: center;
}
.about-section{
    background-position: top;
}
.portofolio-section{
    background-position: bottom;
}
/* RESPONSIVE BACKGROUND HEADER */
@media (max-width: 900px) {
    .hero-section {
        min-height: 70vh;
        background-position: top;
    }
}
@media (max-width: 600px) {
    .hero-section {
        min-height: 50vh;
        background-position: center top;
    }
}
.burung{
    display: block;
    position: absolute;
    left: 10vw;
    bottom: -50vh;
    z-index: 3;
    scale: 1.5;
    transition: transform 0.5s linear;

}
.pohon{
    display: block;
    position: absolute;
    right: 18vw;
    bottom: -20vh;
    z-index: 2;
    scale: 1.2;
    animation: float 2.5s infinite alternate;

}
.papan{
    display: block;
    position: absolute;
    left: 14vw;
    bottom: 6vh;
    z-index: 2;
    scale: 0.9;
    animation: float 2.5s infinite alternate;

}
@keyframes float {
    from {
      transform: translateY(2vh);
    }
  
    to {
      transform: translateY(-2vh);
    }
  }
.gunung1{
    display: block;
    position: absolute;
    right: 15vw;
    top: 2vh;
    z-index: 2;
    scale: 0.9;
    transform: scaleX(-1);
}
.awan1{
    display: block;
    max-width: 300px;
    width: 100%;
    height: auto;
    position: absolute;
    left: 10vw;
    top: 16vh;
    z-index: 3;
    scale: 1; 
    transition: transform 0.3s linear;
}
.awan2{
    display: block;
    max-width: 300px;
    width: 100%;
    height: auto;
    position: absolute;
    right: 30vw;
    top: 50vh;
    z-index: 5;
    scale: 0.8; 
    transition: transform 0.3s linear;
}
.awan3 {
    display: block;
    max-width: 300px;
    width: 100%;
    height: auto;
    position: absolute;
    right: 5vw;
    top: 16vh;
    z-index: 3;
    scale: 0.8; 
    transition: transform 0.3s linear;
}
@media (max-width: 900px) {
    header h1{
        font-size: 80px;
    }
    .title{
        left: 50px;
        top: 260px;
        font-size: 4.5rem;
    }
    .awan1 {
        max-width: 180px;
        left: 5vw;
        top: 15vh;
        scale: 0.8;
    }
    .awan2 {
        max-width: 180px;
        right: 26vw;
        top: 40vh;
        scale: 0.6;
    }
    .awan3 {
        max-width: 180px;
        right: 8vw;
        top: 16vh;
        scale: 0.6;
    }
    .pohon{
        scale: 0.8;
        right: 5vw;
        bottom: -8vh;
    }
    .gunung1{
        scale: 0.7;
        right: 13.5vw;
        top: -8vh;
    }
    .burung{
        left: 10vw;
        bottom: -30vh;
        scale: 1;
    }
    .papan{
        left: 14vw;
        bottom: 6vh;
        scale: 0.8;
    }
}
@media (max-width: 600px) {
    .title{
        left: 20px;
        top: 260px;
        font-size: 3rem;
    }
    .awan1 {
        max-width: 100px;
        left: 3vw;
        top: 10vh;
        scale: 0.7;
    }
    .awan2 {
        max-width: 180px;
        right: 26vw;
        top: 40vh;
        scale: 0.4;
    }
    .awan3 {
        max-width: 180px;
        right: 8vw;
        top: 16vh;
        scale: 0.4;
    }
    .pohon{
        scale: 0.7;
        right: -8vw;
        bottom: 5vh;
    }
    .gunung1{
        scale:0.5;
        right: 5vw;
        top: -18vh;
    }
    .burung{
        left: 5vw;
        bottom: -20vh;
        scale: 0.7;
    }
    .papan{
        left: 14vw;
        top: -6vh;
        scale: 0.6;
    }
}