html {
    background-color: rgb(220, 220, 220);
}

em {
    font-style: italic;
}

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

h6 {
    margin-bottom: 10px;
}

a#navicon {
    display: none;
}

strong {
    font-weight: bold;
}

body {
    background-color: rgb(255, 255, 255);
    margin: 30px auto;
    max-width: 70%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header {    
    background-color: rgb(255, 255, 255);
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2em;
    position: sticky;
    top: 0;
    z-index: 100;
}

header::after {
    clear: both;
    content: "";
    display: table;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav ul li {
    padding-top: 30px;
    float: right;
}

nav ul:last-of-type {
    margin-right: 40px;
}

nav ul li a {
    display: block;
    color: black;
    text-align: center;
    padding: 16px;
    text-decoration: none;
}

nav ul li a:hover, .dropdown a:hover, 
.dropdown-content a:hover {
    color: brown;
    transition: 0.5s ease-in;
}

.dropdown {
    float: right;
}

.dropdown > li a::after {
    content: "⮟";
    margin-left: 6px;
    margin-bottom: 4px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 80%;
    background-color: rgb(141, 208, 252);
    box-shadow: 8px rgba(68, 68, 71, 0.5);
    min-width: 120px;
    z-index: 1;
}

.dropdown-content a {
    display: block;
    color: rgb(0, 0, 0);
    padding: 12px;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: rgb(0, 132, 255);
}

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

.active {
    color: rgb(0, 47, 255);
    font-weight: bold;
}

section {
    margin: 20px auto;
    width: 100%;
    max-width: 900px; /* Adjust based on layout */
}

section h1 {
    font-size: 2.2em;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-bottom: 20px;
    font-weight: bold;
}

section > h2 {
    font-size: 1.6em;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0 auto 20px; /* Centers it properly */
    text-align: center;
    color: gray;
    max-width: 80%; /* Prevents excessive width */
}


.body-content {
    width: 70%;
    margin: 0 auto 40px;
    font-family: Verdana, sans-serif;
}

.body-content#index-body::first-letter {
    font-size: 1.4em;
    color: rgb(9, 116, 255);
    font-weight: bold;
}

.body-content > p {
    margin-bottom: 20px;
    font-size: 1.2em;
}

.box-links {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.box-links a {
    background-color: rgb(9, 116, 255);
    padding: 15px;
    color: white;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    border-radius: 25px;
}

.box-links a:hover {
    background-color: rgb(2, 214, 221);
    transition: 1s ease;
}

.split-content {
    display: flex;
    justify-content: space-between;
    margin: auto 40px;
    padding: 20px;
    gap: 40px;
}

.split-content .body-content {
    width: auto;
    margin: 0;
}

blockquote {
    padding: 20px;
    margin-top: 40px;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    text-align: center;
    border: 14px solid rgb(255, 255, 255);
    border-radius: 10px;
    background-image: url('../media/open_quote.gif');
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 5%;
    background-clip: border-box;
}

.employee {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.employee-info {
    flex: 1;
    font-size: 1.2em;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
}

@keyframes grid-box {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.grid-item {
    background-color: gray;
    padding: 20px;
    color: white;
    transform: scale(1);
    transition: 1s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid-item:hover {
    animation: grid-box 1s ease forwards;
    background-color: rgb(51, 51, 51);
    padding: 20px;
    color: rgb(255, 255, 255);
}

.grid-item h3 {
    color: rgb(135, 255, 255);
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: center;
}

.grid-item p {
    margin-left: 10px;
}

.grid-item a {
    color: rgb(255, 255, 255);
    font-size: 0.8em;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
    position: relative;
    transition: all 2s ease;
    transform-origin: center;
}

.grid-item a:hover {
    color: rgb(9, 252, 252);
    transform: scale(1.1);
}

.grid-item a::after {
    content: "➤";
    margin-left: 4px;
    display: inline-block;
    transition: 2s ease;
}

.side-links {
    box-shadow: 1px 1px 10px 10px rgba(51, 51, 51, 0.1);
}

.side-links ul {
    background-color: aliceblue;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 303px;
    font-size: 1.2em;
}

.side-links ul li a {
    display: block;    
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px;
}

.side-links ul li:first-of-type {
    color: white;
    background-color: black;
    padding: 10px;
    font-size: 1.4em;
}

.side-links ul li a:hover {
    color: rgb(255, 255, 255);
    background-color: gray;
    border-right: 4px solid brown;
    transition: 1s ease-out;
}

footer {
    margin: 20px 0px 0px;
    padding: 20px 0px;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: space-around;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

footer h4 {
    color: rgb(113, 132, 240);
    font-size: 1.6em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 6px rgba(128, 128, 128, 0.4);
    font-weight: bold;
}

footer p {
    font-size: 1.1em;
    margin-bottom: 4px;
}

footer li {
    font-size: 1.1em;
    margin-bottom: 4px;
}

footer a:visited {
    color: darkblue;
}

footer a:hover {
    color: black;
    transition: 1s ease;
}

div#embed-map {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5%;
    width: 100%;
}

div#embed-map iframe {
    width: 90%;
    max-width: 600px;
    height: 370px;
    border: none;
}

div#office-status, div#date-time {
    color: rgb(161, 160, 160);
    font-size: 1.4em;
    font-weight: bold;
    font-style: italic;
}

#updated {
    font-size: 0.8em;
    text-align: right;
    padding: 20px 20px 20px;
    background-color: whitesmoke;
    color: darkgrey;
}

#reference-sites h2, #requirement-features h2, #docs h2 {
    color: rgb(42, 165, 93);
    font-size: 1.2em;
    margin: 20px -20px 0px;
}

#reference-sites ol li, #requirement-features ol li {
    margin: 10px 0;
}

#reference-sites ol li a, #requirement-features ol li a, .embed-docs a {
    color: rgb(65, 65, 255);
    text-decoration: underline;
}

.embed-docs {
    margin-left: -20px;
    line-height: 1.6em;
}