/* Add your custom styles here */

@font-face {
    font-family: 'LPMQ';
    src: url('../fonts/lpmq.ttf') format('truetype');
}

.arabic-text {
    margin-top: 10px;
    text-align: right;
    font-family: 'LPMQ', sans-serif;
    font-size: 28px; /* Sesuaikan ukuran font jika diperlukan */
    direction: rtl;
    line-height: 2;
}

.ayat-number {
    direction: rtl;
    font-family: 'LPMQ', sans-serif;
    /*color: #000 !important; */
}

.latin-text {
    font-size: 16px;
    font-style: italic;
    /*color: #555;*/
    margin-top: 10px;
}

.d-flex.align-items-center .tafsir-icon, .d-flex.align-items-center .makna-icon {
    margin-left: 10px;
    cursor: pointer;
    /*color: #007bff;*/
}

.d-flex.align-items-center .tafsir-icon:hover, .d-flex.align-items-center .makna-icon:hover {
    color: #0056b3;
}

.btn-light {
    color: #0c5460!important;
}

.formatted-text {
    white-space: pre-wrap;
    font-family: 'LPMQ', sans-serif;
    font-size: 20px;
}

body {
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.back-button {
    color: #007bff;
    text-decoration: none;
}

.back-button:hover {
    text-decoration: underline;
}

.translation {
    background-color: #f8f9fa;
    padding: 15px;
    margin-bottom: 15px;
}

.ayat-container {
    margin-bottom: 20px;
}

.audio-container {
    margin-top: 10px;
}

.tafsir-icon {
    cursor: pointer;
    /*color: #007bff;*/
}

.tafsir-icon:hover {
    color: #0056b3;
}

.modal {
    z-index: 1050!important;
}
.modal-backdrop {
    z-index: 1040!important; 
}


.modal {
    display: none;
    position: fixed!important;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Player and Buttons Responsiveness */
.player-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.audio-container {
    width: 100%;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
}

.btn-tafsir, .btn-makna {
    width: 100%;
    margin-bottom: 10px;
}

/* Gaya tambahan untuk responsivitas */
@media (min-width: 768px) {
    .buttons-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .btn-tafsir, .btn-makna {
        width: 48%;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .container {
        padding: 10px;
    }

    .arabic-text {
        font-size: 24px; /* Sesuaikan ukuran font jika diperlukan */
        line-height: 2;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
	
	
}

@media (max-width: 576px) {
    .arabic-text {
        font-size: 20px; /* Sesuaikan ukuran font jika diperlukan */
        line-height: 2;
    }

    .container {
        padding: 5px;
    }

    .modal-content {
        width: 100%;
        margin: 5% auto;
    }
	
}
