@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: 'Uthmani Hafs';
    src: url('fonts/uthmani-hafs.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Optionnel : amÃ©liore le chargement perÃ§u */
}

:root{
    --primary-color:#3e5c2e;
    --secondary-color:#87b66d; /* +30L*/
    --thirdy-color:#dcead4; /* +30L*/
}

*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

body{
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: #1a1a1a;
    /*background: linear-gradient(to bottom, #FAFBFC 0%, #F5F7FA 100%);*/
    min-height: 100vh;
}

a{
   color: var(--secondary-color);
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    transition:all 0.3s;
    color: var(--primary-color);
}

ul{
    margin:0;
    padding: 0;
}

.content h1{
    font-family: 'Noto Serif';
     font-size:48px;
   margin-top:20px;
}

h2{
    font-family: 'Noto Serif';
    font-size:32px;
    padding:20px 0px;
}

.section-hero::after {
    content: '';
    position: absolute;
    top: 0px;
    right: 0px;
    width: 300px;
    height: 300px;
    background: url(../../resources/img/media/Quran.svg);
    background-size: 240px;
    background-repeat: no-repeat;
    /* background-position: -40px -10px; */
    opacity: 0.3;
    z-index: 1;
    /* transform: rotateZ(45deg); */
}

.content{
    background: white;
    max-width: 1400px;
    margin: auto;
}

.uthmani_title{
    
   margin-bottom:0;
}
.tab-pane {
    padding:2rem;
    border-bottom:1px solid #dee2e6;
}

.info_sourate{
    width:300px;
    float:right;
    border:1px solid rgba(0,0,0,0.05);
    padding:1rem 2rem;
}

.info_sourate h3{
    padding-bottom:20px;
}
.info_sourate p{
    font-size:16px;
}

.verseBox{
    direction: rtl;
    display: inline-flex;
    width:auto;
    gap:5px;
    
    flex-wrap: wrap;
    margin-bottom:50px;
}

.arabicWordBox{
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    transition:all .3s;
    
}

.arabicWord{
    position: relative;
    display: inline-flex;
    text-decoration: none;
    color: #212529;
    cursor:pointer;
    font-size: 32px;
    justify-content: center;
    transition:all .3s;
   
}

.arabicWordBox:hover .arabicWordColor{
    opacity:1;
}

.arabicWord:hover{
    background:rgba(0,0,0,0.05);
}

.arabicWordBox:hover{
    overflow: initial;
}

.arabicVerse{
    direction: rtl;
   
    font-family: 'Uthmani Hafs';
    font-size:32px;
    margin: 8px 0px;
}

.arabicVerse img{
    width:160px;
}
.frenchVerse{
    display: flex;
    font-family: 'Noto Serif';
    font-size:16px;
    margin-bottom: 20px;
}
.verse{
    position:relative;
}
.verse_id{
    position:absolute;
    opacity:0.3;
        left: -54px;
}

.mushaf{
    display:flex;
    gap:20px;
}
.mushaf .french{
    width: 50%;
}
.mushaf .arabic{
    font-size: 24px;
    width: 50%;
}

.arabicLetters{
    display: flex;
        justify-content: flex-start;
    flex-direction: row-reverse;
    gap:10px;
    flex-wrap: wrap;
}

.arabicLetter{
    font-size:24px;
    text-decoration:none;
}

table{
    table-layout: auto;
    width: 100%;
}

td{
    padding:5px;
    font-size: 12px;
}

.verset_table{
    display:flex;
    gap:40px;
}

.colorGrammarWord{
    display:flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.transliteration{
    padding-top:10px;
    text-align:center;
    font-weight:bolder;
}


.next, .previous{
    display: inline-block;
    padding: 10px 20px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color:  var(--blackcolor);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor:pointer;
}

.next:hover, .previous:hover {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.15);
}

button:disabled{
    opacity: 0.3;
    cursor: auto;
}

blockquote, tr:nth-child(even){background-color: #f2f2f2;}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 60px;
}