body.testler {
    font-family: 'Nunito', sans-serif;
    background-color: rgb(182, 181, 181);
    color: #333;
    margin: 0;
}

/* KISIM 1 - Testlerin listelendiği sayfanın CSS leri */

.testler_liste_container {
    width: 100%;
    margin: 100px auto 0px auto;
  
    text-align: center;
    

}


/* Açıklama metni */ 
.test-aciklama {
    box-sizing: border-box;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    width: 900px; /* Açıklama kutusunu kartların toplam genişliğine eşitle */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.test-aciklama h2 { 
    font-size: 24px;
    color: #333;
    margin-bottom: 20px; /* Başlık ile yazı arasında boşluk */
}

.test-aciklama p {
    font-size: 1.3em; /* Yazı boyutu */
    font-family: "Nunito", sans-serif;
    color: #000000;
    line-height: 1.4; /* Satır yüksekliği */
}


/* Test kartlarını düzenleyen grid */
.testler-grid {
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap; /* Taşma olursa yeni satır */
    justify-content: flex-start; /* center yerine flex-start yapıyoruz */
    gap: 20px;
    margin-bottom: 50px;
    width: 900px; /* Grid genişliğini sabitliyoruz */
    margin-left: auto;
    margin-right: auto;
}

.testler-grid a {
    text-decoration: none; /* Testlerin listelendiği testler.php sayfasında, testlerin adının altındaki çizgiyi kaldırır */
    color: inherit; /* Bağlantının rengini varsayılan metin rengi yapar */
}

/* Test kutusu */
.test-card {
    width: 440px;
    height: auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Test resimleri - Hepsi eşit boyutta olacak */
.test-card img {
    width: 100%;
    height: 230px; /* Sabit yükseklik */
    object-fit: cover; /* Resimleri kırpıp eşit hale getirir */
    border-bottom: 2px solid #ddd;
}

/* Test içeriği */ 


.test-info h3 {
    font-size: 20px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.test-info p {
    font-size: 14px;
    color: #666;
    padding: 0px !important;
    margin: 0px !important;
}


/* RESPONSIVE STİLLER */

@media (max-width: 920px) {
    .test-aciklama,
    .testler-grid {
        width: 90% !important;
    }
    
    /* Tablet boyutunda da boşlukları eşit yapıyoruz */
    .test-aciklama {
        margin-bottom: 35px;
    }
    
    .testler-grid {
        gap: 35px;
    }
}

@media (max-width: 768px) {
    /* Mobilde tüm boşlukları 35px yapıyoruz */
    .test-aciklama {
        margin-bottom: 35px; /* Açıklama ile ilk kart arası */
        padding: 25px 20px; /* İç boşlukları da dengeli yapıyoruz */
    }
    
    .testler-grid {
        flex-direction: column;
        align-items: center;
        gap: 35px; /* Kartlar arası boşluk */
        margin-bottom: 35px; /* Son kart ile footer arası */
    }

    .test-card {
        width: 100%;
        height: auto;
        max-width: 400px;
        margin-bottom: 0; /* gap kullandığımız için margin'e gerek yok */
    }

    .test-card img {
        height: 150px;
    }

    .test-info {
        padding: 15px; /* Kart içi boşluk */
    }
    
    .test-info h3 {
        font-size: 18px;
        margin-bottom: 8px; /* Başlık ile paragraf arası */
    }

    .test-info p {
        font-size: 13px;
        margin-bottom: 8px; /* Paragraflar arası */
    }
}

/* Daha küçük mobil cihazlar için ek ayar */
@media (max-width: 480px) {
    .test-aciklama,
    .testler-grid {
        width: 95% !important;
    }
    
    .test-card img {
        height: 130px;
    }
}





 

.custom-page .test_container {
    margin-top: 50px;
}


 /* Test Sayfalarına Özel (Ör:Stres Testi, Öfke Testi) */ 

.test_container {
    width: 90%;
    max-width: 700px;
    margin: 30px auto;  /* Dış Boşluk */
    background-color: #fff;
    padding: 30px;  /* İç Boşluk  */ 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;  /* Mobilde yan boşluğu artırmak için */  
}

.test_container h1, 
.test_container h2 {
    color: #003666; /* Başlık rengini mavi tonlarına ayarlar */
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}

.question {
    font-size: 18px;
    margin-bottom: 10px;
}

.options {
    list-style: none;
    padding: 0;
}

.question p {
font-weight: bold;
text-align: left;
}

.options li {
    padding: 10px;
    margin: 5px 0;
    background-color: rgb(209, 208, 208);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: left;
}

.options li:hover {
    background-color: #2884d5;
}

.test_sonucu_gonder {
    display: block;
    width: 90%;
    max-width: 700px;
    margin: 20px auto;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    background-color: #2884d5;
    color: white;
    text-align: center;
    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none; /* Altı çizili olmasını engeller */
}

.test_sonucu_gonder:hover {
    background-color: #0056b3;
}


/* Mobil uyumlu hale getirmek için */
@media (max-width: 768px) {
    .test_container h1, 
    .test_container h2 {
        font-size: 22px; /* Küçük ekranlarda başlık boyutunu küçült */
    }
}

 /* Test Sayfalarına Özel BİTİŞ */ 



/* Test Sonucu Sayfasına Özel Olanlar. */

#anasayfa_don {
    display: inline-block;
    margin-top: 20px;
    text-align: center;
    text-decoration: none;
    background-color: #009ee3; /* Arka plan rengi */
    color: white; /* Yazı rengi */
    padding: 10px 20px; /* İç boşluk */
    border-radius: 5px; /* Kenar yuvarlama */
    font-size: 16px; /* Yazı boyutu */
    transition: background-color 0.3s ease; /* Geçiş efekti */
}

#anasayfa_don:hover {
    background-color: #45a049;
}


p {    
    font-size: 16px; /* Yazı boyutunu artırdım */
    margin-bottom: 25px; /* Alt boşluk ekledim */
    line-height: 1.6;
}





      


 

/* Blog Konteyner' i için sonradan eklenenler */

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px; /* İçeriğin genişliğini ayarla */
    margin: auto; /* Sayfa ortasına hizalama */
}
.blog-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px; /* İçeriğe yatay boşluk ekledim */
    border-bottom: 1px solid #ddd;
}
.blog-title {
    font-size: 16px;
    font-weight: bold;
}
.blog-button {
    background-color: #2884d5;
    color: white;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    margin-left: auto; /* Butonları tamamen sağa yasladı */
}
.blog-button:hover {
    background-color: #0056b3;
}







@media (max-width: 768px) {
    .test_container, .test_sonucu_gonder
     {
        width: 95%;
        padding: 20px;
    }
    .question {
        font-size: 16px;
    }
    .options li {
        padding: 8px;
    }
    .test_sonucu_gonder {
        font-size: 14px;
        padding: 8px;
    }
}























