* {
    margin: 0px;
    padding: 0px;
}

body{
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.navbar-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.div-navbar {
    position: relative;
    z-index: 100;
    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.brand-mobile {
    display: none;
}

.img-navbar {
    width: 50px;
    border-radius: 50%;
    animation: slideInLeft 1.2s ease;
	 top: 10px;
}

.ul-navbar {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center; 
    animation: slideInDown 1.2s ease;
    background-color: white;
    border-radius: 50px;
	 position: absolute;
    margin: 0;
    top: 10px;
    left: 50%;
    transform: translateX(-50%)
}

.li-navbar {
    padding: 10px;
    margin: 5px; 
}

.li-navbar:hover {
	 background-color: gainsboro;
     border-radius: 50px;
     transition: 0.5s ease-in-out;
}

.a-navbar {
    color: black;
    text-decoration: none;
}

.p-navbar {
    animation: slideInRight 1.2s ease;
    background-color: white;
    border-radius: 50px;
    padding: 13px;
	 margin: 10px;
}

.div-content {
    /* position relative digunakan untuk menandakan induk, agar absolut dr text-content dapat digunakan */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 10vh - 2vh - 20px);
}

.img-content {
    /* 100% itu merujuk ke induk(div), berarti mengisi 100% div-content */
    position: absolute;
    width: 100%; 
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

.text-content{
    position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    color: white;
    text-align: center;
    font-size: xx-large;
    animation: slideInLeft 1.2s ease;
	font-size: xx-large;
}

.div-footer {
    height: 2vh;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: gainsboro;
    flex-shrink: 0;
    flex-shrink: 0;
}

.p-footer {
    animation: slideInLeft 1.2s ease;
}

.a-footer {
    margin: 5px;
    color: black;
}

.a-footer:hover {
    color: blue;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@media (max-width: 768px) {
    body {
        min-height: 100vh;
		font-size: 15px;
    }

    .img-navbar {
        width: 50px;
        border-radius: 50%;
        animation: slideInRight 1.2s ease;
        top: 10px;
    }

    .div-navbar {
        height: auto;
        flex-wrap: wrap;
        padding: 15px 20px;
        row-gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .brand-mobile {
        display: block;
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        color: #ffffff;
        margin: 5px 0 10px;
    }

    .ul-navbar {
        flex-wrap: wrap;
        justify-content: center;
		position: static;
		transform: none;
		animation: slideInLeft 1.2s ease;
        background-color: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .li-navbar {
        padding: 10px;
        margin: 10px;
        background-color: #ffffff;
        border-radius: 50px;
        width: 100px;
        text-align: center;
    }

    .text-content {
        display: none;
    }

	.div-footer {
		height:1vh;
        background-color: gainsboro;
        font-size: 10px;
	}
}

@keyframes slideInDownMobile {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
