/* styles.css */
.lesson-icon {
    filter: brightness(0) invert(1); /* Делает иконку белой */
width: 50px;
height: 50px;
}
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    background-color: #000;
background-image: url('fon/2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 320px;
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
}

.lesson-button {
    width: 90px;
    height: 90px;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.lesson-button:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.3);
}

.lesson-button.intro {
    background-color: rgba(76, 175, 80, 0.3);
}

.lesson-button.intro:hover {
    background-color: rgba(76, 175, 80, 0.4);
}

.lesson-icon {
    font-size: 30px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
    color: #ffffff;
    width: 100%;
    font-weight: bold;
}

.block-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.topic-navigation {
    color: #ffffff;
    display: flex;
    justify-content: space-between;
align-items: center;
    text-align: center;
font-size: 15px;
  margin-top: 20px;
}

.block {
background-color: rgba(0, 0, 0, 0.25);
backdrop-filter: blur(6px);
border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    padding: 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
    color: #ffffff;
    text-align: center;
    line-height: 1.6;
    font-size: 16px;
}

.start-button {
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgba(76, 175, 80, 0.7);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.start-button:hover {
    background-color: rgba(76, 175, 80, 0.9);
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

.nav-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-50%) scale(1.1);
}

.prev-button {
    left: -25px;
}

.next-button {
    right: -25px;
}

.arabic-word {
    font-size: 48px;
    color: #ffffff;
    margin: 5px 0;
    font-weight: bold;
    direction: rtl;
    font-family: 'Arial Unicode MS', 'Traditional Arabic', sans-serif;
}

.translit {
    font-size: 12px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.play-button {
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.play-button:hover {
    color: #ffffff;
}

.exercise-navigation {
    display: flex;
    justify-content: space-between;
margin-top: 20px;
text-align: center;
    color: #ffffff;
}

.instruction {
    text-align: center;
    margin-bottom: 10px;
    font-size: 15px;
    color: #ffffff;
    width: 100%;
}

.btn {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background-color: rgba(0, 0, 0, 0.3);
}