/* Import Fonts and Icons */
@import url("./css/font/OpenSans.css");
@import url("./css/font/Roboto.css");
@import url("./css/font/uicons-regular-rounded.css");
@import url("./css/font/uicons-brands.css");
/* @import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://cdn-uicons.flaticon.com/2.5.1/uicons-regular-rounded/css/uicons-regular-rounded.css");
@import url("https://cdn-uicons.flaticon.com/2.5.1/uicons-brands/css/uicons-brands.css"); */

/* Color Variables */
html:root {
    --blue: #1d3680;
    --bluehover: #0443cc;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #e94b00;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #0054a6;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --article: #f8f8f8;
    --success-hover: #218838;
    --danger-hover: #c82333;
    --warning-hover: #e0a800;
}

/* Base Styles */
html {
    font-size: 62.5%;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.2;
}

/* Header Styles */
header {
    z-index: 1;
    width: 100%;
    height: fit-content;
    padding: 1rem 10%;
    border-bottom: 1px inset #ccc;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
    display: flex;
    background-color: var(--white);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.spacer {
    margin-top: 20px;
}

.header-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-logo-img img {
    width: 5rem;
    height: 5rem;
    border-radius: 100%;
    margin: 0.5rem;
}

.header-logo-name h3 {
    font-size: 1.8rem;
    color: var(--blue);
    font-weight: bold;
}

.header-nav {
    color: var(--blue);
}

.header-nav .nav-item {
    display: inline-block;
    position: relative;
}

.header-nav .nav-item::before {
    display: none;
    content: "";
    position: absolute;
    left: 10px;
    bottom: -5px;
    border-radius: 4px;
    width: 0;
    height: 3px;
    background-color: var(--blue);
    animation: slide 0.3s ease forwards;
}

.header-nav a {
    font-size: 2rem;
    padding: 2rem 1rem;
    text-decoration: none;
    font-weight: 500;
    color: var(--blue);
    white-space: nowrap;
}

.header-nav a:hover {
    color: var(--orange);
}

.header-subnav {
    display: none;
    position: absolute;
    background-color: var(--white);
    padding: 4px 6px;
    box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.5);
    min-width: 60px;
    border-radius: 5px;
    left: 8px;
    z-index: 1;
    animation: slideUp 0.3s ease forwards;
}

.header-subnav a {
    display: block;
    color: var(--blue);
    padding: 1rem;
    font-size: 1.8rem;
}

.header-subnav a:hover {
    color: var(--orange);
}

.header-nav .nav-item:hover::before,
.header-nav .nav-item:hover .header-subnav {
    display: block;
}

/* Footer Styles */
footer {
    height: fit-content;
    width: 100%;
    background-color: var(--blue);
    padding: 3rem;
    color: var(--white);
}

.footer-logo {
    display: flex;
    height: fit-content;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 6rem;
    width: 6rem;
    border-radius: 100%;
    margin-right: 1rem;
}

.footer-logo span {
    align-self: center;
    font-weight: bold;
    font-size: 2rem;
}

.footer-sitepage {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.footer-sitepage-listIcon {
    margin-right: 5rem;
}

.footer-sitepage-listIcon div {
    padding: 1rem 0;
}

.footer-sitepage-listIcon div span,
.footer-sitepage-listIcon div p {
    padding-left: 1rem;
}

.footer-sitepage-listIcon div a,
.footer-sitepage-listIcon div a:visited {
    text-decoration: none;
    color: var(--white);
}

.copyright {
    margin-top: 3rem;
    text-align: center;
}

/* Animations */
@keyframes slideUp {
    from {
        top: calc(100% + 20px);
        opacity: 0;
    }
    to {
        top: calc(100% + 12px);
        opacity: 1;
    }
}

@keyframes slide {
    from {
        width: 0;
    }
    to {
        width: calc(100% - 20px);
    }
}
