@font-face {
    font-family: 'dik-temel-harfler'; 
    src: url('dik-temel-harfler.ttf'); /*URL to font*/
  }
/* Genel sayfa yapısı */
body {
    font-family: 'dik-temel-harfler';
    background-color: #ffffff; /* Arka plan tamamen beyaz */
    margin: 0;
    padding: 0;
    color: #333;
}

/* Başlıklar */
h1, h2 {
    font-family: 'dik-temel-harfler';
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Açıklama yazıları */
.aciklama, p.aciklama, .p10_10 {
    font-size: 16px;
    line-height: 1.6;
    padding: 10px 20px;
    color: #444;
    font-family: 'dik-temel-harfler';
}
/* Sadece .aciklama için genişlik sınırlaması */
.aciklama {
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: justify;
    font-family: 'dik-temel-harfler';


}

/* Linkler */
a {
    color: #007acc;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Hız ayar kartı */
.speed-card {
    background: #9af3ff; /* düz beyaz */
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    max-width: 600px;
    margin: 30px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Hız inputu */
.speed-input {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    
}
.speed-input input {
    padding: 10px;
    font-size: 18px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 200px;
}

/* Butonlar */
.btn-outline-danger, .btn-modern {
    margin: 10px 5px;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 12px 20px;
}
.btn-outline-danger:hover {
    background-color: #ff5f57;
    color: white;
}
.btn-modern {
    background-color: #ff5f57;
    color: white;
    border: none;
}
.btn-modern:hover {
    background-color: #e33e30;
}

#reading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* ❗ Alt alta dizim için bu şart */
    width: 100%;
    height: 360px;
    border: 2px dashed #3498db;
    border-radius: 12px;
    background-color: #fafafa;
    font-weight: bold;
    margin: 30px auto;
}

#word {
    font-size: 68px;
    color: #2c3e50;
    font-family: 'dik-temel-harfler';

}

#speed-display {
    font-size: 14px;
    color: #888;
    margin-top: 10px;
    text-align: center;
    transition: color 0.3s ease;
    font-family: 'dik-temel-harfler';

}

#speed-display.highlight {
    color: #ff5f57;
}




/* Footer bağlantı alanı */
.text-center a {
    display: inline-block;
    margin: 4px 8px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f5f5f5;
    transition: all 0.2s ease-in-out;
}
.text-center a:hover {
    background: #e0f0ff;
}

/* Başlat/yeniden başlat butonları */
#buttonss {
    text-align: center;
    margin-top: 20px;
}

/* textarea gizli */
#text-to-read {
    display: none !important;
}

/* Mobil uyum */
@media (max-width: 600px) {
    .speed-card {
        margin: 10px;
        padding: 15px;
    }
    #reading-screen {
        height: 100px;
        font-size: 28px;
    }
}
/* Responsive styles (mobil uyum) */
@media (max-width: 650px) {
    #container {
        width: auto;
        margin-top: 0;
        border-radius: 0;
        padding: 10px;
    }

    #text-to-read, 
    #reading-screen {
        box-sizing: border-box;
        width: 100%;
    }

    #reading-screen {
        height: 100px;
        font-size: 28px;
        border-width: 1px;
    }

    #other {
        width: auto;
        margin: 0;
    }

    #word {
        font-size: 36px;
    }

    .speed-card {
        margin: 10px;
        padding: 15px;
        
    }

    .speed-input input {
        max-width: 100%;
    }

    .btn-modern, .btn-outline-danger {
        width: 100%;
        font-size: 18px;
    }
}


.buton-kutusu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}
.buton-kutusu1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}
.btn-modern {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    background-color: #ff5f57;
    color: white;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'dik-temel-harfler';

}
.btn-modern:hover {
    background-color: #e33e30;
}

.alt-linkler {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    color: #666;
    font-family: 'dik-temel-harfler';

}
.alt-linkler a {
    color: #007acc;
    margin: 0 5px;
}
.alt-linkler a:hover {
    text-decoration: underline;
}

.alt-mesaj {
    text-align: center;
    font-size: 15px;
    color: #444;
    max-width: 700px;
    margin: 20px auto;
    padding: 10px 20px;
    background: #f9f9f9;
    border-left: 4px solid #ff5f57;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.paylas-kutusu {
    text-align: center;
    margin: 20px auto;
}

#speed-display.highlight {
    color: #ff5f57;
    font-weight: bold;
    transition: all 0.3s ease;
}
#okuma-sonu-mesaj {
    background: #f0f9ff;
    border-left: 5px solid #3498db;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.alt-linkler {
    text-align: center;
    margin-top: 30px;
}

.alt-link-kutusu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.alt-link-kutusu a {
    background-color: #f1f1f1;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 15px;
    color: #007acc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.alt-link-kutusu a:hover {
    background-color: #dcefff;
    text-decoration: underline;
}
.performans-kutusu {
    max-width: 600px;
    margin: 30px auto;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #3498db;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    text-align: center;
}
.performans-kutusu p {
    font-size: 16px;
    margin: 8px 0;
}
#x3 {
    background-color: #27ae60; /* yeşil */
}
#x3:hover {
    background-color: #219150;
}

#start {
    background-color: #ff5f57; /* kırmızı-turuncu */
}
#start:hover {
    background-color: #e33e30;
}
