nav{
    background-color: rgba(0, 0, 0, 0.236);
    backdrop-filter: blur(10px);
    padding: 10px;
    font-family: "montserrat";
}
.navbar-brand{
    font-family: "rubik";
    font-size: 24px;
    color: white;
}
.nav-item{
    margin: 10px;
}
.nav-item a{
    width: 100%;
}
.nav-link{
    text-align: center;
    margin: 5px;
    background-color: rgba(0, 0, 0, 0.51);
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
    transition: all ease 0.8s;
}
.nav-link:hover{
    border-bottom-right-radius: 0px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 0px;
    background-color: rgba(255, 255, 255, 0.599);
}
.nav-link:hover a{
    color: black;
}
.nav-item a{
    color: white;
    transition: all ease 0.5s;
}

.bngks-jdl-utm{
    text-align: right;
    background-position: center;
    background-size: cover;
    height: 100vh;
    background-image: url(img/bg.png);
}
.jdl-utm{
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%);
}
h1{
    animation: fadein 1.2s ease-in forwards;
    animation-range: entry 0% cover 40%;
    animation-timeline: view();
    font-size: 64px;
    font-family: "rubik";
    color: #52300dde;
}
.jdl-utm h2{
    animation: fadein 1.2s ease-in forwards;
    animation-range: entry 0% cover 40%;
    animation-timeline: view();
    font-family: "montserrat";
    font-style: italic;
    font-size: 26px;
}

.bngks-tentang{
    height: 100vh;
    text-align: center;
    align-content: center;
    background-color: #a1662cdc;
}
.tentang{
    display: flex;
}
.tentang img{
    animation: fadein 1.2s ease-in forwards;
    animation-range: entry 0% cover 40%;
    animation-timeline: view();
    width: 40%;
    height: 60vh;
    border-radius: 10px;
    box-shadow: 2px 2px 3px black;
    margin: 10px;
}
.kata-tentang{
    animation: fadein 1.2s ease-in forwards;
    animation-range: entry 0% cover 40%;
    animation-timeline: view();
    justify-items: center;
    align-content: center;
}
.kata-tentang p{
    width: 80%;
    font-family: 'montserrat';
    text-align: left;
    font-size: 20px;
}

.bngks-skills{
    height: 100vh;
    text-align: center;
    background-color: #52300dde;
    align-content: center;
    color: white;
}
.bngks-skills h1{
    animation: fadein 1.2s ease-in forwards;
    animation-range: entry 0% cover 40%;
    animation-timeline: view();
    color: white;
}
.skills{
    display: flex;
    width: 100%;
}
.skill{
    animation: fadein 1.2s ease-in forwards;
    animation-range: entry 0% cover 40%;
    animation-timeline: view();
    font-family: 'montserrat';
    box-shadow: 2px 2px 1px black;
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #e2a85690;
    border-radius: 10px;
    margin: 10px;
    width: 25%;
    transition: all 0.5s;
}
.skill:hover{
    transform: scale(1.05);
}
.skills2{
    justify-content: space-evenly;
}
.skill img{
    width: 80%;
    max-height: 200px;
}
.bngks-progress{
    display: flex;
}
.progress{
    background-color: #ddd;
    border-radius: 10px;
    width: 80%;
    overflow: hidden;
    position: relative;
    height: 25px;
}
.bngks-progress h4{
    margin-left: 10px;
    text-align: center;
    font-size: 16px;
    font-style: italic;
}
.progress-bar{
    background-color: green;
    height: 100%;
    color: white;
    text-align: center;
    padding-right: 10px;
    line-height: 25px;
    font-weight: bold;
    width: 0;
    transition: width 3s linear;
}

.bngks-projek{
    padding: 10px;
    text-align: center;
    background-color: #a1662cdc;
}
.daftar-projek{
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: max-content max-content;
}
.projek{
    animation: fadein 1.2s ease forwards;
    animation-range: entry 0% cover 40%;
    animation-timeline: view();
    font-family: 'montserrat';
    background-color: #52300dde;
    padding-top: 10px;
    border-radius: 10px;
    box-shadow: 2px 2px 1px black;
    color: white;
    padding-bottom: 10px;
    margin: 10px;
    text-align: center;
}
.projek img{
    width: 80%;
}
.projek button{
    background-color: #e2a856;
    width: 80px;
    backdrop-filter: blur(5px);
    padding: 5px;
    border-radius: 10px;
    transition: all 0.5s;
}
.projek button:hover{
    background-color: #52300dde;
    border: 1px solid white;
}
.projek button a{
    transition: all 0.5s;
    text-decoration: none;
    color: #52300dde;
    font-size: 16px;
}
.projek button:hover a{
    color: white;
}

@keyframes fadein{
    from{
        opacity: 0;
        transform: translateY(40px) scale(0.8);
    }
    to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

footer{
    background-color: #52300dde;
}
footer img{
    background-color: white;
    border-radius: 10px;
    width: 30px;
    transition: all 0.5s;
}
footer img:hover{
    margin: 5px;
    padding: 5px;
    scale: 1.1;
}

@media (max-width: 992px){
    .bngks-jdl-utm{
        text-align: right;
        background-position: center;
    }
    .jdl-utm{
        top: 33%;
    }
    h1{
        font-size: 52px;
    }
    .jdl-utm h2{
        font-size: 16px;
    }

    .tentang img{
        height: fit-content;
    }
    .kata-tentang p{
        width: 100%;
        font-size: 18px;
    }

    .daftar-projek{
        grid-template-columns: 100%;
        grid-template-rows: max-content;
    }

}

@media (max-width: 768px){
    .bngks-jdl-utm{
        background-position-x: 18%;
        text-align: left;
    }
    .jdl-utm{
        top: 28%;
    }
    .jdl-utm h1{
        font-size: 52px;
        width: 70%;
    }
    .jdl-utm h2{
        font-size: 14px;
    }

    h1{
        font-size: 42px;
    }
    .tentang{
        flex-direction: column;
        display: flex;
        justify-content: center;
    }
    .tentang img{
        text-align: center;
        margin: 0 auto;
        margin-bottom: 10px;
    }
    .kata-tentang p{
        font-size: 16px;
        text-align: left;
    }
    
    .bngks-skills{
        height: max-content;
        padding-bottom: 10px;
        padding-top: 10px;
        justify-content: center;
        margin: 0 auto;
    }
    .skills{
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
    }
    .skill{
        width: 100%;
        height: fit-content;
        margin: 0px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .skill img{
        height: max-content;
        width: fit-content;
    }
}