/* Genel stil */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
}

.test-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px; /* Genişlik artırıldı */
    width: 100%;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
}

.highlight {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d35400;  /* Farklı renk */
    font-family: 'Courier New', Courier, monospace;  /* El yazısı stili */
    display: inline-block;
}

.highlight span {
    display: inline-block;
    animation: float 1s infinite; /* Yukarı aşağı titreşim animasyonu */
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.options {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* Düğmelerin satır içine sığmaması durumunda alt satıra geçmesi */
}

button.option {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #3498db;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    flex: 1; /* Düğmelerin eşit genişlikte olması */
    max-width: 120px; /* Maksimum genişlik */
}

button.option:hover {
    background-color: #2980b9;
}

button.option.correct {
    animation: disperse 0.5s forwards; /* Dağılma animasyonu */
}

@keyframes disperse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

button.option.wrong {
    animation: shake 0.5s; /* Sallama animasyonu */
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(10px);
    }
    75% {
        transform: translateX(-10px);
    }
}

.extra-info {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    text-align: center;
    font-size: 0.7rem;  /* Daha küçük yazı boyutu */
    color: #333;
}

.extra-info p {
    margin: 5px 0;
    font-size: 0.7rem;  /* Daha küçük yazı boyutu */
    color: #000;  /* Siyah renk */
}

.extra-info p strong {
    font-weight: bold;
}

@media (max-width: 600px) {
    .test-container {
        padding: 15px;
    }

    .options button {
        font-size: 0.9rem;
        padding: 8px;
    }

    .extra-info {
        font-size: 0.6rem;
        padding: 5px 10px;
    }

    .extra-info p {
        font-size: 0.6rem;
    }
}
