body {
    background-color: #fff1e0;
}

.body {
    width: 256px;
    margin: auto;
    margin-top: 128px;
}

.body_header {
    font-family: 'Cormorant Garamond', serif;
    font-weight: bold;
    text-align: left;
    font-size: 90%;
}

.links {
    font-family: 'Cormorant Garamond', serif;
    font-size: 125%;
    line-height: 10px;
}

.links_small {
    font-family:  'EB Garamond', serif;
    font-size: 11pt;
    line-height: 10px;
}

.description {
    float: right;
}

.icons {
    text-align: center;
    word-spacing: 10px;
}

.icon_img {
    width: 36px;
    height: 36px;
}

.icon_img_inline {
    width: 22px;
    height: 22px;
    float: right;
}

.icon_img_table {
    float: right;
}

.icon_img_table img {
    width: 28px;
    height: 28px;
}

.right {
    float: right;
}

.left {
    float: left;
}

#header_img {
    width: 50%;
    height: 50%;
    /* Prevent image blurring */
    -ms-transform: translateZ(0); /* IE 9 */
    -webkit-transform: translateZ(0); /* Chrome, Safari, Opera */
    transform: translateZ(0);
}

hr {
    height: 1px; 
    background: black;
}

.thin hr {
    height: 0.25px; 
    background: black;
    width: 80%;
}

h3 {
    text-align: center;
}

.projects_body h3 {
    text-align: center;
    font-family:  'EB Garamond', serif;
    font-weight: normal;
}

h1 {
    margin: 0px;
}

.about {
    width: 512px;
    margin: auto;
    margin-top: 90px;
}

.about_body {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12pt;
    line-height: 26px;
}

.content {
    width: 512px;
    margin: auto;
    margin-top: 10px;
}

.notebook {
    width: 640px;
    margin: auto;
    margin-top: 90px;
}

.content_body {
    font-family: 'Cormorant Garamond', serif;
    font-size: large;
    line-height: 26px;
}

.projects_body {
    font-family: 'Cormorant Garamond', serif;
    font-size: large;
    line-height: 26px;
}

.embed_img {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 45%;
    height: 45%;
    border-radius: 6px;
    text-align: center;
}

.image_row {
    text-align: center;
    word-spacing: 30px;
}

.project_row_container {
    width: 95%;
    /* border: 1px solid #dddddd; */
    font-family: 'EB Garamond', serif;
    font-size: 150%;
    /* padding: 2px; */
    outline: 2px solid #8f8f8f;
    border-radius: 4px;
    margin: 0px;
}

.project_row {
    margin: 2px;
    margin-top: 4px;
    margin-bottom: 4px;
    line-height: 26px;
}

.project_name {
    text-decoration: none;
    text-decoration-thickness: 1.5px;
    padding-left: 2%;
    font-size: 13pt;
}

.project_subtitle {
    padding-left: 4%;
    font-size: 11pt;
    line-height: 22px;
    color: #8f8f8f;
}

.subtitle {
    font-size: 12pt;
    color: #8f8f8f;
}


.project_date {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    float: right;
    padding-right: 2%;
    padding-left: 2%;
    color: #141414;
}

.project_icons {
    text-align: center;
}

.project_icons img {
    width: 25px;
    height: 25px;
}

.code_block {
    font-size: 80%;
    line-height: 16px;
    background-color: rgb(240, 240, 240);
    padding-left: 15px;
    width: 100%;
    overflow-x: scroll;
    border-radius: 8px;
}

pre {
    font-family:  'EB Garamond', serif;
}

.code_inline {
    font-family:  'EB Garamond', serif;
    background-color: #FFF1E0;
}

.log_title {
    padding-top: 2%;
    padding-left: 2%;
    text-align: center;
}

.log_body {
    font-family: 'Cormorant Garamond', serif;
    padding: 2%;
    font-size: 11pt;
    line-height: 20px;
}

.log_body p {
    margin-top: 6pt;
    margin-bottom: 6pt;
}

.log_body ul {
    padding-left: 6%;
}

.log_body li {
    padding-top: 4px;
}

/* LINKS STYLE */

a {
    text-decoration: none;
    color: black;
}

.log_body a {
    color: black;
    text-decoration: none;
    text-decoration-thickness: 1.5px;
}

.body_text a {
    text-decoration: none;
    text-decoration-thickness: 1.5px;
}

.about_body a {
    text-decoration: none;
    text-decoration-thickness: 1.5px;
}

.project_row a {
    text-decoration: none;
    color: black; /* Default color */
    transition: font-weight 0.3s ease, font-style 0.3s ease; /* Add transition effect for smooth hover */
}

.project_row a:hover .project_name {
    font-weight: bold;
    /* font-style: italic; */
    color: #3e3627; /* Dark brown color */
}


/* order here matters, this should be below the about_body a style */
.links a {
    text-decoration: none;
    font-size: 13pt;
}

.links a:hover {
    font-weight: bold;
    color: #5C3E07; /* Dark brown color */
}

.links_small a {
    text-decoration: none;
}

/* for index page links only */
.index_links a {
    text-decoration: none;
    color: black; /* Default color */
    transition: color 0.3s ease; /* Add a smooth transition effect for color change */

    /* Add a bold dark brown color when hovering over the link */
}

.index_links a:hover {
    font-weight: bold;
    color: #5C3E07; /* Dark brown color */
}

.index_row_container {
    width: 100%;
    /* border: 1px solid #dddddd; */
    font-family: 'EB Garamond', serif;
    font-size: 100%;
    padding: 2px;
    background-color: #F2DFCE;
    /* outline: 2px solid #8f8f8f; */
    /* border-radius: 4px; */
    margin: 0px;
    margin-top: 10px;
}

.aotd-wrapper {
    width: 512px;
    margin: auto;
    margin-top: 90px;
    font-family: 'Cormorant Garamond', serif;
}

.aotd-layout {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 16px;
}

.aotd-meta {
    background-color: #F2DFCE;
    border-radius: 4px;
    padding: 10px 12px;
    min-width: 110px;
    font-size: 11pt;
    line-height: 20px;
}

.aotd-meta-label {
    margin-top: 8px;
    color: #8f8f8f;
    font-size: 10pt;
}

.aotd-card {
    background-color: #F2DFCE;
    border-radius: 4px;
    padding: 14px;
    flex: 1;
}

.aotd-ref {
    font-size: 11pt;
    color: #8f8f8f;
    margin-bottom: 12px;
}

.aotd-arabic {
    direction: rtl;
    font-size: 16pt;
    line-height: 36px;
    margin-bottom: 14px;
}

.aotd-english {
    font-size: 12pt;
    line-height: 22px;
    color: #3e3627;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: block;
    width: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #F2DFCE;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    margin-top: 2px;
    font-family: 'EB Garamond', serif;
    font-size: 13pt;
    left: 0;
    top: 100%;
}

.dropdown-content a {
    color: black;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #E8D5C4;
    font-weight: bold;
    color: #3e3627;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Ayah page styles */
.big-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 13pt;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    background-color: transparent;
    color: black;
    border: 1px solid #8f8f8f;
    cursor: pointer;
    transition: font-weight 0.3s ease, color 0.3s ease;
    margin-top: 1rem;
    font-family: 'EB Garamond', serif;
}

.big-button:hover {
    font-weight: bold;
    color: #3e3627;
}

.output-box {
    width: 100%;
    padding: 1rem;
    margin-top: 2rem;
    border: 1px solid #8f8f8f;
    background-color: #F2DFCE;
    display: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 12pt;
    line-height: 26px;
}

/* Form styles for ayah pages */
.about_body label {
    font-family: 'EB Garamond', serif;
    font-size: 13pt;
    font-weight: normal;
    color: black;
}

.about_body input[type="text"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #8f8f8f;
    background-color: transparent;
    font-size: 13pt;
    font-family: 'EB Garamond', serif;
    margin-bottom: 1rem;
}