@font-face {
    font-family: 'Amiri';
    src: url('/Amiri-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Amiri';
    src: url('/Amiri-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Amiri';
    src: url('/Amiri-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Amiri';
    src: url('/Amiri-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}



body {
    font-family: 'Amiri', Georgia, serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.masthead {
    position: relative;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/c/cc/Detail._Mihrab._From_Beyhekim_Mosque_in_Konya%2C_Turkey._13th_century_CE._Islamic_Art_Museum_%28Museum_f%C3%BCr_Islamische_Kunst%29%2C_Berlin.jpg/960px-Detail._Mihrab._From_Beyhekim_Mosque_in_Konya%2C_Turkey._13th_century_CE._Islamic_Art_Museum_%28Museum_f%C3%BCr_Islamische_Kunst%29%2C_Berlin.jpg?20201120150607');
    background-size: cover;
    background-position: center;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding: 6rem 0;
}

.masthead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.masthead-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.masthead-content h1 {
    font-family: 'Amiri Quran', 'Amiri', serif;
    font-size: 3.5rem;
    color: white;
    border-bottom: none;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.masthead-content .date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 1rem;
}

.date {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.8rem;
    color: #34495e;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.quote {
    font-style: italic;
    border-left: 4px solid #2c3e50;
    padding-left: 1rem;
    margin: 2rem 0;
    color: #555;
}

.quote-source {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 0.5rem;
    font-size: 0.9em;
}

.map-container {
    margin: 2rem 0;
    text-align: center;
}

.map-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.map-caption {
    margin-top: 0.5rem;
    font-style: italic;
    color: #666;
    font-size: 0.9em;
}

.references {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.references h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.references p {
    margin-bottom: 0.5rem;
    text-align: left;
}

.references a {
    color: #2980b9;
    text-decoration: none;
}

.references a:hover {
    text-decoration: underline;
}

.works-cited {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.works-cited h2 {
    font-size: 1.5rem;
}

.works-cited p {
    margin-bottom: 1rem;
    padding-left: 2em;
    text-indent: -2em;
    text-align: left;
}

.footer {
    margin-top: 4rem;
    padding: 3rem 0;
    text-align: center;
    background-color: #f5f5f5;
}

.footer h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: center;
}

.copyright {
    margin-top: 2rem;
    color: #888;
    font-size: 0.9rem;
}

.author-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.author-bio {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    display: flex;
    align-items: start;
    gap: 2rem;
}

.author-bio h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.author-bio p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.author-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2c3e50;
}

.author-content {
    flex: 1;
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}