*,html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body{
    background:#002661;
    font-family: "Poppins" ,sans-serif;
    overflow-x: hidden;
}
/*awal navigasi*/
nav{
    top : 0;
    position: fixed;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    z-index: 999;
    transition: 1s ease-in !important;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}
#logo{
    margin-top: 20px;
    margin-left: 40px;
    z-index: 999; 
    font-family: "Pacifico";
    font-weight: 400;
    font-size: 19px;
    font-style: normal;
}
#logo a{
    text-decoration: none;
    color:#fff;
}
.navbar ul{
    display: flex;
    right:450px;
    z-index: 999;
} 
.navbar ul li{
    margin-right: 25px;
    margin-top: 25px;
    list-style: none;
    position: relative;
}
.navbar ul li a::before{
    content: "";
    height: 0.5px;
    width: 0px;
    background-color: rgba(255, 255, 255, 0.7);
    display: block;
    bottom: -5px;
    left: 35px;
    position: absolute;
    transition: 0.7s;
    opacity: 0%;
}
.navbar ul li a:hover::before{
    opacity: 100%;
    width: 40px;
    transform: translate(-20px, 0);
}
.navbar ul li a{
    text-decoration: none;
    color:#fff;
    transition: 0.5s ease-in-out;
    padding: 9px;
    border-radius: 9px;
}
.nav-service{
    margin-left: -10px;
}
.nav-contact{
    margin-left: -10px;
}
.cv{
    margin-right: 20px;
    margin-top: 25px;
    transition: 1s;
    width: 180px;
    height: 70px;
    position: relative;
}
.cv a{
    text-decoration: none;
    color:#fff;
    border-radius: 8px;
    padding: 10px;
    margin-right: 10px;
    transition: 1s;
}
.cv a:hover{
    background: rgba(255, 255, 255, 0.4);
}
#menu{
    display: none;
    margin-top: 15px;
}
/*akhir navigasi*/

/*awal header*/
header{
    position: relative;
    top: 80px;
    margin-top: 20px;
    width: 90%;
    height: 500px;
    margin: auto;
    background:linear-gradient(to right bottom,#52e5e7,#130cb7);
    display: flex;
    justify-content: space-around;
    border-radius: 10px;
}
.hero{
    margin-top: 20px;
    width: 60%;
    height: 350px;
    margin-left: 80px;
}
.hero span{
    color:crimson !important;
    margin-right: 10px;
}
.hero h1{
    margin-top: 70px;
    font-size: 40px;
    font-family: monospace;
    color: #002661;
}
.hero h3{
    margin-bottom: 15px;
    font-size: 35px;
    color: #002661;
    font-weight: 500;
}
.hero #hero-p{
    font-weight: 400;
    font-size: 35px;
    font-family: monospace;
    color: #002661;
    position: relative;
}
.hero #hero-p::before{
    content: "";
    height: 30px;
    width: 2px;
    position: absolute;
    top: 50%;
    right: -8px;
    background: crimson;
    transform: translateY(-45%);
    animation: blink 0.7s infinite;
}
.hero #hero-p .stop-blinking::before{
    animation: none;
}
@keyframes blink {
    50% { opacity: 0 }
}
.hero p{
    font-weight: 300;
    font-size: 18px;
    font-family: monospace;
    margin-bottom: 30px;
    color: #002661;
    text-align: justify;
}
.hero a{
    text-decoration: none;
    padding:10px;
    border-radius: 3px;
    background-color:crimson;
    color: rgba(255, 255, 255);
    transition: 0.6s ease-in-out;
}
.hero a:hover{
    background-color:rgba(255, 255, 255, 0.5);
    color: #002661;
}
.pichero{
    margin-right: 100px;
    margin-left: 40px;
    width: 30%;
}
.pichero img{
    padding-top: 10px;
    margin-bottom: -20px;
    width: 360px;
    height : 500px;
    z-index: 2;
}
/*akhir header*/

/*about*/
#about{
    margin-top: 100px;
    text-align: center;
    color: #fff;
}
#about h2{
    padding-top: 80px;
    font-size: 40px;
    text-shadow: 1px 1px 1px #fff;
}
#about h5{
    font-size: 10px;
    margin-bottom: 60px;
}
.about{
    width: 90%;
    display: flex;
    color: #fff;
    margin: auto;
}
.about img{
    margin-top: 60px;
    width: 310px;
    height: 310px;
    margin-right: 60px;
    border-radius: 50%;
    background: linear-gradient(to right top, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.1));
    box-shadow: 2px -2px 3px rgba(0, 0, 0, 0.2);
}
.about p{
    margin-top: 30px;
    text-align: justify;
    line-height: 25px;
    margin-bottom: 80px;
}
#slogan{
    font-family: "Nerko One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    margin-bottom: 100px;
    margin-top: 20px;
    margin-left: 150px;
    margin-right: 150px;
}
#slogan span{
    font-family: "Poppins";
    font-style: normal;
    font-size: 30px;
    margin-bottom: 100px;
    margin-top: 20px;
}
/*akhir about*/

/*service*/
#service{
    text-align: center;
    color: #fff;
    width: 90%;
    background: linear-gradient(to left bottom,#130cb7,#52e5e7);
    border-radius: 10px;
    margin: auto;
}
#service h2{
    padding-top: 90px;
    font-size: 40px;
    text-shadow: 1px 1px 4px #002661;
}
#service h5{
    font-size: 10px;
    margin-bottom: 80px;
    text-shadow: 1px 1px 2px #002661;
}
.service{
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}
.accounting, .tax, .audit{
    display: flex;
    margin-bottom: 60px;
}
.service img{
    flex-grow: 3;
    width: 250px;
    margin-left: 50px;
}
.accounting img, .audit img{
    flex-grow: 3;
    width: 250px;
    margin-right: 50px;
}
.tax img{
    flex-grow: 3;
    width: 250px;
    margin-right: 50px;
}
.audit img{
    margin-top: 15px;
}
.service .container{
    flex-grow: 7;
}
.service h3{
    margin-bottom: 15px;
    font-size: 60px;
    text-align: left;
    text-shadow: 1px 1px 4px #002661;
}
.tax h3{
    margin-bottom: 30px;
    font-size: 60px;
    text-align: right;
    text-shadow: 1px 1px 4px #002661;
}
.accounting .container ul{
    margin-right: 30px;
}
.service .container ul{
    margin-right: 30px;
}
.service .container ul li{
    text-align: left;
    margin-bottom: 6px;
    line-height: 20px;
    text-shadow: 1px 1px 3px #002661;
}
.tax .container ul{
    margin-left: 80px;
}
/*akhir service*/

/*contact*/
#contact{
    margin: 0 auto;
    width: 65%;
    height : 600px;
    margin-top: 180px;
    display: flex;
    flex-wrap: wrap-reverse;
    margin-bottom: 100px;
}
.alamat{
    background:linear-gradient(to right bottom,#31dcdf,#93ebec);
    flex-grow: 1;
    border-radius: 10px 0 0 10px;
}
.alamat h3{
    text-align: center;
    color: #002661;
    margin-top: 120px;
    font-size: 35px;
    margin-bottom: 30px;
}
.alamat p{
    margin-top: 5px;
    color: #002661;
    margin-left: 25px;
}
.alamat p span{
    margin: 5px;
}
#contact .alamat .sosmed ul{
    display: flex;
    justify-content: center;
}
#contact .alamat .sosmed ul li{
    margin:8px;
    margin-top: 25px;
    list-style: none;
}
#contact .alamat .sosmed ul li a{
    cursor: pointer;
    text-decoration: none;
}
#contact .alamat .sosmed ul li img{
    width: 32px;
    filter:drop-shadow(-1px -1px 3px #002661)
}
.email{
    flex-grow: 1;
    background: #fff;
    border-radius: 0 10px 10px 0;
    display: flex;
}
.email form{
    margin: 0 auto;
    margin-top: 40px;
    overflow: hidden;
}
.email form label{
    color: #002661;
    font-size: 20px;
    text-align: center;
}
.email form input{
    width: 300px;
    height: 40px;
    border-radius: 5px;
    text-align: center;
    border: none;
    box-shadow: 0px 0px 3px #002661;
    outline: none;
    margin:8px 3px 20px 3px;
}
.email form textarea{
    width: 300px;
    height: 200px;
    max-width: 300px;
    max-height: 200px;
    border-radius: 5px;
    margin: 10px 3px 20px 3px;
    padding: 20px;
    border: none;
    box-shadow: 0px 0px 3px #002661;
    outline: none;
}
.email form button{
    width:100px;
    height: 40px;
    background: #002661;
    border-radius: 5px;
    border: 0.2px solid transparent;
    color: #fff;
    transition: 0.5s;
}
.email form button:hover{
    background:crimson;
}
footer{
    width: 100%;
    text-align: center;
    height: 40px;
    color: #fff;
}

/*ukuran tablet*/
@media (min-width:481px) and (max-width:767px){
    nav{
        font-size: 13px;
    }
    .navbar ul li{
        margin-right: 10px;
    }
    header{
        height: 400px;
    }
    .hero{
        margin-left: 40px;
    }
    .hero h1{
        font-size: 30px;
        margin-top: 30px;
    }
    .hero h3{
        font-size: 25px;
    }
    .hero h3 span{
        font-size: 25px !important;
    }
    .pichero img{
        width: 300px;
        height: 400px;
    }
    #service{
        overflow-x: hidden;
    }
    .service h3{
        font-size: 40px;
    }
    #contact{
        margin-top: 600px;
    }
    .email{
        margin-bottom: 40px;
        padding-bottom: 50px;
        border-radius: 10px;
    }
    .alamat{
        padding-bottom: 50px;
        border-radius: 10px;
    }
    .alamat h3{
        margin-top: 60px;
    }
    .email form input{
        width: 400px;
    }
    .email form textarea{
        width: 400px;
        max-width: 400px;
    }
    footer{
        font-size: 13px;
    }
}

/*ukuran mobile*/
@media (min-width:320px) and (max-width:480px){
    body{
        overflow-x: hidden !important;
    }
    nav{
        height: 60px;
        box-shadow: 0 0 5px #000923;
    }
    .cv{
        display: none;
    }
    .navbar{
        overflow-x: none;
    }
    .navbar ul{
        display: block;
        position: absolute;
        left:-320px;
        top: 0;
        background:linear-gradient(to right,rgba(0, 38, 97,.8),rgba(0, 38, 97,.8));
        width: 75%;
        height: 100vh;
        z-index: 4;
        transition: all .5s;
    }
    .navbar ul li{
        margin-top: 40px;
        text-align: end;
        border-bottom: 1px solid rgba(180, 187, 199, 0.4);
    }
    .navbar ul li:first-child{
        margin-top: 80px;
        text-align: end;
    }

    .navbar ul li a::before{
        display: none;
    }
    #logo{
        margin-top: 1px;
        padding-top: 4px;
        margin-left: 55px;
        position: relative;
        width: 200px;
    }
    #logo::after{
        content: "Tax & Accounting Consultant";
        color: #fff;
        font-family: "Poppins", sans-serif;
        font-size: 12px;
        position: absolute;
        left: 0;
        top: 27px;
    }
    #menu{
        position: absolute;
        display: block;
        cursor: pointer;
        z-index: 5;
        top: -5px;
        left: 5px;
        width: 50px;
        height: 50px;
    }
    #menu .line{
        height: 3px;
        background-color: #fff;
        position: absolute;
        z-index: 6;
        display: block;
        margin-left: 5px;
        transition: .2s all;
    }
    #menu .line:first-child{
        width: 20px;
        left: 2px;
        top: 12px;
        transform: rotate(0);
    }
    #menu .line:nth-child(2){
        width: 40px;
        left: 0;
        top: 20px;
        transform: rotate(0);
    }
    #menu .line:nth-child(3){
        width: 20px;
        left: 17px;
        top: 28px;
        transform: rotate(0);
    }
    header{
        display: flex;
        flex-direction:column;
        height: 850px;
        border-radius: 3px;
    }
    .hero{
        margin: 15px;
        width: 90%;
    }
    .hero h1{
        font-size: 35px;
        text-align: center;
        margin-top: 30px;
        color: #fff;
        text-shadow: 1px 1px 2px #002661;
    }
    .hero h1 span{
        text-shadow: none;
    }
    .hero h3{
        font-size: 25px;
        text-align: center;
        color: #fff;
        text-shadow: 1px 1px 2px #002661;
    }
    .hero h3 span{
        font-size: 25px !important;
        text-shadow: none;
    }
    .hero p{
        font-size: 17px;
        margin: 10px;
        margin-bottom: 30px;
        margin-top: 20px;
        color: #fff;
    }
    .hero a{
        padding:5px;
        box-shadow: 1px 1px 2px #002661;
        margin-left: 10px;
    }
    .pichero{
        width: 100%;
        margin-left: 20px;
        margin-top: 10px;
        margin-right: 20px;
        margin-bottom: 50px;
    }
    .pichero img{
        width: 90%;
        height: 100%;
        border-radius: 0 0 50% 50%;
    }
    .about{
        display: flex;
        flex-direction: column-reverse;
    }
    #about h5{
        font-size: 10px;
        margin-bottom: 30px;
    }
    .about img{
        margin: auto;
    }
    .about p{
        margin-left: 20px;
        margin-right: 20px;
        text-shadow: 1px 1px 1px #002661;
    }
    #slogan{
        font-size: 30px;
        margin-left: 20px;
        margin-right: 20px;
    }
    #slogan span{
        font-size: 20px;
    }
    #service{
        overflow-x: hidden !important;
        border-radius: 3px;
    }
    #service h2{
        padding-top: 50px;
    }
    #service h5{
        margin-bottom: 40px;
    }
    .service h3{
        font-size: 35px;
    }
    .accounting{
        flex-direction: column;
        align-items: center;
        margin: 5px 30px;
    }
    .tax{
        flex-direction: column-reverse;
        align-items: center;
        margin: 5px 10px;
    }
    .audit{
        flex-direction: column;
        align-items: center;
        margin: 5px 30px;
    }
    .tax .container ul{
        margin-left: 20px;
    }
    .accounting .container h3{
        text-align: center;
    }
    .tax .container h3{
        text-align: center;
    }
    .audit .container h3{
        text-align: center;
    }
    .accounting .container ul li{
        text-align: justify;
    }
    .tax .container ul li{
        text-align: justify;
    }
    .audit .container ul li{
        text-align: justify;
    }
    .audit .container{
        margin-bottom: 50px;
    }
    #contact{
        margin-top: 500px;
        width: 90%;
    }
    .email{
        margin-bottom: 40px;
        padding-bottom: 50px;
        border-radius: 10px;
    }
    .alamat{
        padding-bottom: 50px;
        border-radius: 10px;
    }
    .alamat h3{
        margin-top: 60px;
    }
    .email form input{
        width: 280px;
    }
    .email form textarea{
        width: 280px;
        max-width: 280px;
    }
    footer{
        font-size: 13px;
    }






}