body {
    background-color: white;
    background-image: url('./resim/resimde.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    align-items: center;

}

.profil-alani {

margin-top: 50px;
text-align: center;

}

.profil-resmi {
    width: 150px;
    height: 150px;
    border-radius: 50%; 
    object-fit: cover; 
    border: 5px solid #fff;
    box-shadow: 0 4px 8px black;
    color: white 
    }

    .isim {
        color: white
    }

    .icerik {
    margin-top: 40px;
    max-width: 800px;
    text-align: center;
    background-color: rgba(27, 167, 38, 0.8);
    padding: 20px;
    border-radius: 40px;
}
/* Üç cizgi*/
.bar {
    width: 30px;
    height: 4px;
    background-color: white; 
    margin: 5px 0;
    transition: 0.4s; 
    border-radius: 2px;
}


.nav-bar {
    position: fixed;
    top: 20px;
    left: 20px; 
    cursor: pointer;
    z-index: 1000;
    padding: 10px;
    transition: transform 0.3s ease-in-out;
}
.nav-bar.active {
    transform: translateX(200px);
    color: #000000;
}
/* Siyah X renk */
.nav-bar.active .bar {
    background-color: #000000; 
}
/* navı x yapma  */
.nav-bar.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    
}

.nav-bar.active .bar:nth-child(2) {
    opacity: 0; /* Ortadaki çizgiyi gizlıyor*/
}

.nav-bar.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-okul {
    position: fixed; /* Sayfa kaysa bile sabit kalır */
    top: 0;
    left: 0;
    width: 280px; /* Menünün genişliği */
    height: 100%; /* Tüm ekran yüksekliğini kaplar */
    background-color: #008521; /* Menü arka plan rengi */
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);

    /* En önemli kısım: Menüyü başlangıçta ekranın soluna gizle */
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out; /* Pürüzsüz kayma efekti */

    /* İçerik taşarsa (100 link gibi) scroll bar çıksın */
    overflow-y: auto;
    
    z-index: 999; /* İkonun bir katman altında */
}

/* proje kısımları */
.nav-okul.active {
    transform: translateX(0);
}

.nav-okul ul {
    list-style: none; 
    padding: 80px 0 20px 0; 
    margin: 0;
}

.nav-okul li a {
    display: block; 
    padding: 15px 25px;
    color: #000000; /* Link rengi */
    text-decoration: none; 
    font-size: 1.1em;
    transition: background-color 0.2s;
}

/* Linklerin üzerine gelince renk değiştir */
.nav-okul li a:hover {
    background-color: #e9ecef;
}

