/* AREA UTAMA */
section .main{
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-image: url(/assets/panggung.png);
    position: relative;
    overflow: hidden;
}

/* Semua Layer */
.layer {
    will-change: transform;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

/* Layer gambar */
section .main .blue{
    background-image: url(/assets/blue.png);
}
section .main .blue .back{
    background-image: url(/assets/back_pohon.png);
}
section .main .blue .back .center{
    background-image: url(/assets/center_pohon.png);
}
section .main .blue .back .effect{
    background-image: url(/assets/vfx.png);
}
section .main .blue .back .effect .leaf{
    background-image: url(/assets/leaf.png);
}
section .main .blue .back .effect .leaf .title{
    background-image: url(/assets/logo_nufest.png);
    background-size: contain;   /* agar logo tidak pecah */
    background-repeat: no-repeat;
    background-position: center;
}

/* ==================================== */
/*              RESPONSIVE              */
/* ==================================== */

/* HP kecil (<= 480px) */
@media (max-width: 480px) {
    section .main {
        height: 80vh;  /* tidak terlalu tinggi */
    }

    .layer {
        background-size: contain;  /* agar gambar tidak terpotong */
    }

    /* Atur logo */
    .title {
        background-size: 80%;
    }
}

/* Tablet (<= 768px) */
@media (max-width: 768px) {
    section .main {
        height: 90vh;
    }

    .layer {
        background-size: cover;
        background-position: center;
    }

    .title {
        background-size: 70%;
    }
}

/* Laptop kecil (<= 1200px) */
@media (max-width: 1200px) {
    .title {
        background-size: 60%;
    }
}

/* Monitor besar */
@media (min-width: 1600px) {
    .title {
        background-size: 50%;
    }
}
