/* General Body Style */
body {
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 0;
	
}

li {
    padding: 5px 10px;
    font-size: 1.2em; /* Larger text */
}

/* Modern Top Menu Styles */
.top-menu {
    background-color: white; /* White background */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.menu-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.menu-links ul li {
    margin-right: 20px; /* Adjust for RTL */
}

.menu-links ul li a {
    color: #BC0000; /* Red text */
    text-decoration: none;
    padding: 5px 10px;
    font-size: 1.1em; /* Larger text */
    transition: color 0.3s, background-color 0.3s;
}

.menu-links ul li a:hover {
    color: white; /* White text on hover */
    background-color: #BC0000; /* Red background on hover */
}

.menu-switch {
    display: flex;
    flex-grow: 0;
}

.menu-switch a img {
    height: 40px; /* Adjust size as needed */
    margin-left: 10px; /* Adjust for RTL */
    transition: transform 0.3s, opacity 0.3s; /* Enhanced transition */
}

.menu-switch a img:hover {
    transform: scale(1.1); /* Scale up on hover */
    opacity: 0.8; /* Opacity change on hover */
}

/* Image in Top Menu */
img.menu {
    height: 30px;
    width: 30px;
}

/* Frontpage Styles */
div.frontpage,
h1.frontpage,
h2.frontpage,
h4.frontpage,
h6.frontpage,
footer.frontpage {
    margin: 0;
    text-align: center;
}

footer.frontpage ul {
    display: table;
    margin: 0 auto;
    padding: 0px;
}

footer.frontpage ul li {
    display: inline-block;
    font-weight: bold;
    margin-left: 50px;
    margin-right: 50px;
}

h1,h1.frontpage,
h4.frontpage {
    color: #BC0000;
}

img.frontpage {
    float: center;
    height: 250px;
    object-fit: fill;
    width: 175px;
}
img.orgs {
    float: center;
    height: 175px;
    object-fit: fill;
    width: 175px;
}

/* Writer Page Styles */
img.writer {
    float: left;
    height: 400px;
    object-fit: contain;
    width: 300px;
}

p.writer_works_title {
    font-family: Arial;
    font-size: 13.0pt;
}

/* Works Page Styles */
p.translator_introduction {
    font-family: Arial;
    font-size: 11.0pt;
}

/* Default Paragraph Style */
p.current_default {
    font-family: Arial;
    font-size: 14.0pt;
    line-height: 17.0pt;
    margin: 2.5px;
    padding-bottom: 4px;
    padding-left: 4%;
    padding-right: 4%;
    padding-top: 5px;
    text-align: right;
    text-indent: 6pt;
}

/* Document Bibliographical Information */
p.information {
    text-align: right;
}

@media (max-width: 768px) {
    .border {
        width: 90%; /* Adjusted border width */
        border: 0.5px solid #BC0000; /* Adjusted border thickness */
    }

    .frontpage {
        font-size: 16px;
    }

    .menu-links ul {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .menu-links ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .menu-switch {
        order: 1;
    }

    img.menu {
        height: 18px; /* Slightly bigger menu images on smaller devices */
        width: 18px;
    }

    /* Adjusted switch image size for mobile */
    .menu-switch a img {
        height: 35px; /* Slightly bigger switch images on smaller devices */
        width: 35px;
    }
}

@media (max-width: 480px) {
    .border {
        width: 80%; /* Further adjusted border width for smaller screens */
        border: 0.5px solid #BC0000; /* Adjusted border thickness for smaller screens */
    }

    img.menu {
        height: 15px; /* Further adjustment for menu images on smaller devices */
        width: 15px;
    }

    /* Adjusted switch image size for smaller screens */
    .menu-switch a img {
        height: 30px; /* Further adjustment for switch images on smaller devices */
        width: 30px;
    }
}
}
/* Additional Styling */
span.lightCoral {
    color: #BC0000;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

nav ul li {
    background-color: #fff; /* white */
    display: inline-block;
    padding-left: 30px;
}

nav a {
    text-decoration: none;
}

@media (max-width: 480px) {
    nav ul li {
        padding-left: 0px;
    }
}
hr.frontpage {
    border: none;
    height: 6px;
    background-image: linear-gradient(to right, #ff4b1f, #ff9068);
    box-shadow: 0 2px 5px rgba(255, 0, 0, 0.2);
    border-radius: 5px;
}

/* Bottom Menu Styles */
.bottom-menu {
    background-color: white; /* White background */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
}

.bottom-menu .menu-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.bottom-menu .menu-links ul li {
    margin-right: 20px; /* Adjust for RTL */
}

.bottom-menu .menu-links ul li a {
    color: #BC0000; /* Red text */
    text-decoration: none;
    padding: 5px 10px;
    font-size: 1.1em; /* Larger text */
    transition: color 0.3s, background-color 0.3s;
}

.bottom-menu .menu-links ul li a:hover {
    color: white; /* White text on hover */
    background-color: #BC0000; /* Red background on hover */
}
hr {
    border: none;
    height: 2px;
    background-color: #000; /* Black background */
    margin: 25px 0; /* Adjust margin as needed */
    width: 85%; /* Adjust width as needed */
    display: block;
    margin-left: auto;
    margin-right: auto;
}