*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body{
    background-color: white;
    font-family: "Inter",sans-serif;
}

/* navbar */
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #7C3E66;
    padding: 0px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}


/* REVISI */
header .logo{
    font-weight: 600;
    font-size: 24px;
    color: white;
    color: #EEF3D2;
    margin-left: -75px;
}

header .navbar ul{
    list-style: none;
    margin-left: -50px;
    margin-right: 50px;
}

header .navbar ul li{
    position: relative;
    float: left;
}

/* REVISI */
header .navbar ul li a{
    font-size: 16px;
    padding: 17px;
    color: white;
    display: block;
    font-weight: 600;
}

/* REVISI */
header nav ul li .lang{
    font-weight: 400;
    margin-left: 290px;
    margin-right: -155px;
}

header nav ul li{
    /* margin-left: 15px; */

    margin-right: 15px;
}


/* .navbar :last-child{
    margin-left: 50px;
    margin-right: -25px;
} */

header nav ul li .active,header .navbar ul li a:hover{
    background-color: #947EC3;
}

header .navbar ul li ul{
    position: absolute;
    /* top: 85px; */
    left: 40px;
    /* margin: auto; */
    /* text-align: center; */
    
    
    width: 190px;
    background-color: #B689C0;
    display: none;
}

header .navbar ul li ul li{
    width: 100%;
}

header .navbar ul li:focus-within > ul,
header .navbar ul li:hover > ul{
    display: initial;
}

#menubar{
    display: none;
}

header label{
    font-size: 20px;
    cursor: pointer;
    color:white;
    display: none;
}


@media only screen and (max-width:1180px){

    header{
        padding: 20px;
    }

    header label{
        display: initial;
        margin-right: 15px;
    }

    header .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #B689C0;
        border-top: 1px solid rgba(0,0,0,0.1);
        display: none;
    }

    header .navbar a{
        margin-left: 80px;
        width: 100%;
    }

    header .navbar ul li{
        width: 100%;
    }

    header .navbar ul li ul{
        position: relative;
        width: 100%;
    }

    header .navbar ul li ul li{
        background: #B689C0;
    }

    header .logo{
        margin-left: 10px;
    }

    #menubar:checked~.navbar{
        display: initial;
    }
}

@media only screen and(max-width: 884px){
    header label{
        margin-left: 150px;
    }

    header label{
        display: initial;
        margin-right: 200px;
    }
}

/* content */
.containergrid{
    margin-top: 120px;
    margin-bottom: 150px;
}

.containergrid h1{
    text-align: center;
    margin-bottom: 50px;
    font-size: 24px;
    font-weight: 400;
    color: #7C3E66;
}

.containergrid form{
    text-align: center;
}

#myform h4{
    color: #7C3E66;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

label{
    color: #7C3E66;
}

#myform input{
    margin-top: 10px;
    margin-bottom: 20px;
}

input[type="radio"]{
    display: none;
}

.button{
    color: black;
    border: 1px solid black;
    border-radius: 10px;
    padding: 2px;
    box-shadow: 2px 2px 2px 2px;
    margin-right: 30px;
    margin-left: 30px;
    margin-bottom: 50px;
}

input[type="radio"]:checked + .button{
    background-color: #7C3E66;
    color: white;
}

.gender{
    margin-bottom: 30px;
}

#submitbtn {
    background: #243A73;
    padding: 5px 175px 5px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    color: white;
}

#errormessage{
    color: red;
}

form input{
    width: 400px;
    height: 35px;
}


@media only screen and (max-width:500px){
    #myform{
        /* padding: 0px 50px 0px; */
        margin: auto;
        text-align: center;
    }

    form input{
        width: 80%;
        height: 35px;
    }  
    
    #submitbtn{
        width: 80%;
        padding: 5px 100px 5px;
    }
}

/* footer */
.row1{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}
.container{
    max-width: 1000px;
    margin:auto;
    padding-left: 25px;
    padding-right: 25px;
}

.footer{
    background: #243A73;
    color: #6A67CE;
    font-size: 16px;
    padding: 30px 0 30px;
    
}

.footer h1{
    margin-bottom: 30px;
    color: white;
}

.footer-col-2 i, .footer-col-1 i{
    color: white;
}

.footer-col-2 p{
    margin-top: 5px;
    margin-bottom: 5px;
    color: white;
}

.footer-col-1 p{
    margin-top: 5px;
    margin-bottom: 10px;
    color: white;
    
}

.footer-col-2{
    margin-top: 30px;
}



.brand{
    margin-bottom: 25px;
}


@media only screen and (max-width:600px){
    .row1{
        text-align: center;
    }
}