@media (max-width:650px) {

    body{
        font-size: 15px;

    }

    header {
        width: 100%;
    }

    .Burger{
        display: block;
        cursor: pointer;
    }
    .Burger .line{
        width: 30px;
        height: 3px;
        background: #0B2447;
        margin: 6px 0;
    }

    .nav-bar{
        height: 0;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100vw;
        background-color: white;
        box-shadow: 0 16px 8px -9px rgba(191,191,191, 1);
        transition: 0.5s;
        overflow: hidden;
    }

    .nav-bar.active{
        height:380px;
    }
    .nav-bar ul{
        display: block;
        width: fit-content;
        margin:  50px auto 0 auto;
        text-align: center;
        transition: 0.5s;
        opacity: 0;
    }

    .nav-bar.active ul {
        opacity: 1;
    }

    .nav-bar ul li a {
        margin-bottom: 12px;
    }

    .bagian-home{
        margin: 0;
        height: 450px;
    }

    article{
        font-size: 25px;
        margin: 0;
        text-align: center;
    }




    .box-about{
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-shadow: none;
    }

    .about{
        display: block;
        text-align: center;
        font-size: 20px;
        width: 400px;
        margin: 0px 100px;
    }

    .atur-bx{
        margin: 0;
        padding: 0;
    }

    .isi-bx img{
        margin-top: 10px;
        margin: 0 30%;
        width: 200px;
        height: 200px;
        padding: 0;

    }

    .isi-bx {
       display: block;
       margin: 0px;
       text-align: center;
    }

    .btn-to-bottom{
        display: none;
    }

    .kumpulan-card{
        display: flex;
        flex-direction: column;
    }

    .kumpulan-tools{
        display: flex;
        flex-direction: column;
    }

    .card-abot img{
        width: 150px;
        height: 150px;
    }

    .kumpulan-tools{
        display: block;
    }

    .project-akhir{
        margin-top: 700px;
    }

    .kumpulan-project2{
       display: flex;
       justify-content: center;
    }

    .card-project{
        width: 300px;
        margin-top: 40px;
    }

    .bagian-contact{
        text-align: center;
    }

    .kotak-contact{
        margin: auto;
        text-align: center;
    }

    .bx-contact{
        float: none;
        margin: auto;
    }

    .pinggir-contact{
        float: none;
    }

    .article{
        font-size: 10px;
        width: auto;
        text-align: center;
    }

    .kumpulan-sosmed{
        display: flex;
        justify-content: center;
        margin:auto;
    }

    footer{
        margin-top: 100px;
        width: 100%;
    }
}

@media (max-width:500px) {
    body{
        font-size: 14px;

    }

    header {
        width: 100%;
    }

    .Burger{
        display: block;
        cursor: pointer;
    }
    .Burger .line{
        width: 30px;
        height: 3px;
        background: #0B2447;
        margin: 6px 0;
    }

    .nav-bar{
        height: 0;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100vw;
        background-color: white;
        box-shadow: 0 16px 8px -9px rgba(191,191,191, 1);
        transition: 0.5s;
        overflow: hidden;
    }

    .nav-bar.active{
        height:380px;
    }
    .nav-bar ul{
        display: block;
        width: fit-content;
        margin:  50px auto 0 auto;
        text-align: center;
        transition: 0.5s;
        opacity: 0;
    }

    .nav-bar.active ul {
        opacity: 1;
    }

    .nav-bar ul li a {
        margin-bottom: 12px;
    }

    .bagian-home{
        margin: 0;
        height: 450px;
    }

    article{
        font-size: 20px;
        margin: auto;
        text-align: center;
    }


    .judul-about{
        text-align: center;
        margin-bottom: 20px;
    }

    .box-about{
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-shadow: none;
        margin: 0;
        width: 100%;
    }

    .about{
        /* display: block; */
        text-align: center;
        font-size: 20px;
        width: 300px;
        height: 700px;
        /* margin: 0px 0px; */
        gap: 0;
        margin: 0;
    }

    .atur-bx{
        margin: 0;
        padding: 0;
        gap: 0;
    }



    .isi-bx img{
        margin-top: 10px;
        width: 200px;
        height: 200px;
        padding: 0;
        margin: auto;
        margin-bottom: 10px;

    }

    .isi-bx {
       display: flex;
       flex-direction: column;
       float: none;
       justify-content: center;
       margin: auto;
    }

    .btn-to-bottom{
        display: none;
    }

    .kumpulan-card{
        display: flex;
        flex-direction: column;
    }

    .skill{
        margin-top: 300px;
    }

    .kumpulan-tools{
        display: flex;
        flex-direction: column;
    }

    .card-abot img{
        width: 150px;
        height: 150px;
    }

    .kumpulan-tools{
        display: block;
    }

    .project-akhir{
        margin-top: 750px;
    }

    .kumpulan-project2{
       display: flex;
       justify-content: center;
       flex-direction: column;
    }

    .card-project{
        width: auto;
        margin-top: 40px;
    }

    .bagian-contact{
        text-align: center;
    }

    .kotak-contact{
        margin: auto;
        text-align: center;
    }

    .bx-contact{
        float: none;
        margin: auto;
    }

    .pinggir-contact{
        float: none;
    }

    .article{
        font-size: 10px;
        width: auto;
        text-align: center;
    }

    .kumpulan-sosmed{
        display: flex;
        justify-content: center;
        margin:auto;
        width: 90%;
    }

    .bx-contact{
        width: 90%;
    }

    footer{
        margin-top: 100px;
        width: 100%;
        height: auto;
    }
}