@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Poppins', Verdana, Geneva, Tahoma, sans-serif;
}

.navbar
{
    position: fixed;
    display: flex;
    top : 0;
    left: 0;
    width: 100%;
   /* max-width: 1700px;
   */
    max-width: 100%;
    height: 70px;    
    margin: 0px auto;
    background: #3E8DA8;
    border-radius: 0px 0px 5px 5px;
    justify-content: space-between;
    z-index: 1000;
}

/*
https://www.malasngoding.com/membuat-navbar-responsive-html-css/
*/
.tombol{
	display: none;
	color: white;
	font-size: 18px;			
}
 
.tombol:hover{
	cursor: pointer;
}

.logo{
  flex: 1; 
 /* overflow: hidden; */
}

.logo a{
    display: flex;
    color: white;
    font-size: 16px;
    text-decoration: none;
    padding-left: 2px;    
    align-items: center;  
    padding-top: 5px;    
 }

 .logo a:hover{
    display: flex;
    color: white;
    font-size: 18px;
    text-decoration: none;
    padding-left: 2px;    
    align-items: center;  
    padding-top: 2px;    
 }

.logo img{
    height: 45px;
    width: 70px;
    margin-right: 2px;
    margin-left: 2px;    
    align-items: center;
    padding-top: 0;
    padding-bottom: 2px;
}

.menuku
{
    /* Menuku adalah ul yang diganti menjadi nama class */
    margin-left: 0;
    margin-right: 110px;
    height: 50px;
  	display: flex;/* Ini yang membuat flexible, menyesuaikan lebar */
    /*display: inline-block; Ini yang membuat flexible, menyesuaikan lebar */
	list-style: none;
	padding: 0;    
    align-items: center;			
    /* background-color: #3E8DA8; */
    justify-content: space-between; /*Meletakkan menu di tengah dari navbar*/
   
    }

.menuku li{
    float: left;
    width: 120px;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
    position: relative;
    margin-right: 5px;
    border-radius: 7px;
 /*  border-left: 1px solid white;*/
    transition: all 0.5s ease;
    
}

.menuku li a
{
    text-decoration: none;
    color: white;
    display: block; 
}

.menuku li a:hover{
    font-size: 15px;
}

.menuku li:hover
{
  /*  background-color:#377d95; */
    background-color:#06495f;    
    transition: all 0.5s ease;
}

.menuku li:hover > ul
{
    display: block;    
}

.menuku ul
{
    position: absolute;
    background: #3E8DA8;
    display: none;
    border-radius: 0px 0px 8px 8px;    
    width: 200px;   
    list-style: none;
    padding-top: 15px;    
    /*opacity: 0.90; */ /*Transparan*/
    transition: all 5.5s ease;
     
}

.menuku ul li
{
  /* border-bottom: 1px solid #879ec4; */
    width: 200px;
    text-align: left;
    padding: 0 0 0 5px;
    line-height: 30px;
}

.menuku ul li a
{
    padding-left: 10px;
    padding-top: 1px;
    padding-bottom:1px;
    transition: all 0.4s ease;
}

.menuku ul li a:hover
{
  /*  background-color: #377d95; */
  background-color:#06495f;
  
}

.menuku ul ul
{
    left: 100%;
    top: 0px;
    width: 220px;    
    background: #3E8DA8;
    display: none;   
    border-radius: 0px 8px 8px 8px;   
    padding-top: 2px;
    padding-bottom: 2px;
}

.menuku ul ul li
{
  /*  border-bottom: 1px solid #879ec4; */
    width: 215px;
    text-align: left;    
}

.menuku ul ul li a
{
    text-decoration: none;
    color: white;
    display: block; 
}
/*
section{
    background: url(../../gambar/pintulangit01.jpg) no-repeat;
    background-size: cover;
    height: calc(100vh - 60px);
    background-color: #cccccc;
}
    */

@media screen and (max-width: 750px) {

    .navbar{
        flex-wrap: wrap;
    }

	.menuku {
		display: none;
	}
 
	.menuku.aktif{
		display:inline-block;        
        position: absolute;
        flex-direction: column;		
		top:61px;
		background:  #3E8DA8;
		padding: 0px;
		left: 10px;
        width: 330px;
        height: auto;        
        border-radius: 0px 0px 5px 5px;
	}   

    .menuku.aktif li{	
        float: left;
        width: 330px;
        font-size: 14px;
        line-height: 30px;
        text-align: left;
        position: relative;
        border-radius: 0px;;
       /* border-bottom: 1px solid #879ec4; */
	}

    .menuku.aktif li:hover{
        background-color: #377d95;
    }    
    
    .menuku.aktif li a{
        display: block;
        text-decoration: none;
		width: 100%;
        margin-left: 15px; 
	}
    
    /*2*/
    .menuku.aktif ul {
        position: relative;
        padding: 0px;
        margin-top: 5px;
        margin-left: 25px;  
        width: 260px;
        transition: all 0.5s ease; 
    }
 
    .menuku.aktif ul li{	
        float: left;
        width: 260px;
        font-size: 14px;
        line-height: 25px;
        text-align: left;
        position: relative;
	}
    .menuku.aktif li a{
        display: block;
        text-decoration: none;
		width: 100%;
        margin-left: 5px; 
        transition: all 0.4s ease;
	}

    .menuku.aktif ul li:hover{
        background-color: #377d95;
        
    }
    .menuku.aktif ul li a:hover{
        background-color: #377d95;   
        border-left: 2px solid white;
    }

    .menuku.aktif ul li a{
        display: block;
        text-decoration: none;
		width: 100%;
        margin-left: 0px; 
	}
    /*3*/

    .menuku.aktif ul ul {
        position: relative;
        margin-top: 5px;
        margin-left: -200px;  
        width: 250px;
        padding: 0px;
        transition: all 0.5s ease; 
    }

    .menuku.aktif ul ul li{	
        float: left;        
        position: relative;
        width: 250px;
        font-size: 14px;
        line-height: 25px;
        text-align: left;
        margin-left: -5px;
	}
    
    .menuku.aktif ul ul li:hover{
       background-color: #377d95;
    }

    .menuku.aktif ul ul li a:hover{
        border-left: 2px solid white;
     }
    .menuku.aktif ul ul li a{
        display: block;
        text-decoration: none;
		width: 100%;
        margin-left: -5px; 
	}

	.tombol {
		display: flex;
        align-items:center;
        margin-left: 10px;
        margin-right: 10px;
	}
}
