/* Genel Navbar Stili */
.navbar {
    position: sticky;
    top: 0px;
    width: 100%;
    background-color:rgba(40,40,40,1);
    z-index: 1000;   
}




/* Navbar içerisindeki nav */
nav {
    background-color: rgba(40,40,40,1);
        height: 60px;
        padding: 0px;
    
}



/* Menü Listesi */
nav ul {
	list-style-type: none;
/* 	position: sticky; */
    list-style-type: none;
    text-align: center;
    color: white;
    background-color:   rgba(40,40,40,1);
    font-weight: bold;
    padding: 0;
    margin-top: -23px; 
    
}

/* Menü Elemanlarını yatay sıralama */
nav ul li {
    display: inline;
    margin: 0px;
       
}

/* Link Stilleri */
nav ul li a {
    color: white;
    font-size: 1rem;
/*     padding: 15px; */
    display: inline-block;
    text-decoration: none;
    margin:10px;
    height: 10px; /* Yükseklik belirle */
    line-height: 10px; /* Yüksekliği ortalamak için */
    background-color: rgb(60,60,60);
    border-radius: 12px;
    
    height: auto;
    line-height: normal;
    padding: 10px 15px;
    
 

}

/* Link Hover Durumu */
nav ul li a:hover {
    background-color: rgb(4, 170, 109);
    transition: background-color 1.5s;
    border-radius: 12px;
}

/* Aktif Link Stili */
.aktif {
    font-weight: bold;
    background-color:rgb(38, 201, 255);
    border-radius: 12px;
    color: black;
}

/* Mobil Menü için */
@media screen and (max-width: 768px) {

    /* Menü liste elemanlarını gizle */
    nav ul {
        display: none;
        text-align: left;
        margin-top: 0px;
        
    
       
    }
    
    /* Hamburger menü için buton ekle */
    .navbar .menu-icon {
        display: block;
        font-size: 25px;
        color: white;
        cursor: pointer;
        padding: 15px;
        padding-top: 10px;
        
  
   
       
    }

    /* Menüye tıklandığında gösterme */
    .navbar.active ul {
        display: block;  
        height: auto; 
        padding-bottom: 30px;
        
   
       
    }

    /* Menü elemanlarını dikey sıralama */
    nav ul li {
        display: block;
     
   
        
    }
    

    /* Menü linklerini büyüt */
    nav ul li a {
        font-size: 1rem;
        padding: 10px;
        padding-left:20px;
        
        height: 36px; /* Mobilde yüksekliği ayarla */
        line-height: 18px;/* Metni dikey olarak ortala  */
       
        margin-bottom: 5px;  
       
    }
    
    

nav a {
/* 	width: 90%; */
/* 	margin-left: 10px; */
/* 	margin-right: 10px; */
	
	
	width: calc(100% - 20px);
    margin: 0 10px;
    box-sizing: border-box;
    
         
	
	}
}
