/* .GLOBAL  */
@font-face {
    font-family: "NotoSansMono";
    src: url("../files/font/Noto_Sans_Mono/NotoSansMono-VariableFont_wdth,wght.ttf") format('truetype');
}

body {
    font-family: "NotoSansMono", sans-serif;
    --primary-color: #495867;
    --secondary-color: #F7F7FF;
    --tertiary-color: #577399;
    --quaternary-color: #BDD5EA;
    --accent-color: #FE5F55;
    background: var(--secondary-color);
    color: var(--tertiary-color);
    overflow: hidden;
}

h1 {
    font-size: 3rem; /* Equivalent to xxx-large */
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

h2 {
    font-size: 2rem; /* Equivalent to x-large */
    font-weight: 600;
    color: #34495e;
    margin-bottom: 8px;
}

h3 {
    font-size: 1.5rem; /* Larger than medium for better visibility */
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 6px;
}

h4 {
    font-size: 1.2rem; /* Small but readable */
    font-weight: 400;
    color: #34495e;
    margin-bottom: 4px;
}

.container-fluid {
    min-height: 100vh;  /* Ensures the container takes up the full height of the viewport */
    display: flex;
    flex-direction: column;
}

.main-content {
    flex-grow: 1;  /* Ensures the main content area grows to fill available space */
}

.footer {
    margin-top: auto; /* Ensures the footer is always pushed to the bottom */
}

.dark-bckg {
    background:  var(--primary-color);
}

.light-bckg {
   background: var(--tertiary-color);
}
.alt-light-bckg {
   background: var(--tertiary-color);
}

.light-font {
   color: var(--secondary-color);
}

/*  NAV BAR  */

nav {
    min-height: 4vh;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.dropdown-item {
    color: var(--primary-color) !important;
}

.dropdown-item:hover {
    background-color: var(--quaternary-color);
    color: var(--accent-color);
}

.dropdown-item {
    align-self: end !important;
}

@media (max-width: 991px) {
    .nav-link {
        color: var(--secondary-color) !important;
        margin-left: 2vw;
    }

    .navbar-toggler:enabled {
        border: 0.1rem solid var(--secondary-color);
        background-color: var(--secondary-color);
        margin-right: 2vw;
    }
}

@media (min-width: 992px) {
    .nav-link {
        color: var(--secondary-color) !important;
        margin-right: 2vw;
    }
}

.link-button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}

.link-button:hover {
    color: var(--accent-color);
}

/*  MAIN CONTENT  */

.main-content {
    min-height: 81vh;
}

.resume-grid {
    display: grid;
    column-gap: 1rem;
    grid-template-columns: 30% 60%;
    height: 70vh;
    width: 90vw;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;

}

.resume-grid-left {
    align-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: var(--quaternary-color);
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.resume-grid-left h2, .resume-grid-left p {
        color: var(--tertiary-color);
}

.personal-summary {
    text-align: left;
    font-weight: 500;
    font-size: small;
}

.resume-grid-right {
    padding-left: 1rem;
    padding-right: 1rem;
    background: var(--secondary-color);
    color: var(--tertiary-color);
    justify-items: start;
    align-items: flex-start;
    height: 100%; /* Make sure the right container uses full height */
    overflow-y: auto; /* Add scrolling if the content overflows */
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.resume-grid-right-sub {
    display: grid;
    grid-template-columns: 10% 90%;
    overflow: hidden; /* Hide overflow within this sub-container */
    align-items: flex-start; /* Align items to the top */
    height: auto; /* Allow the height to adjust to the content */
}

.resume-grid-right h2, resume-grid-right-info h2 {
    font-weight: 500;
    font-size: large;
}

.resume-grid-right-info {
    padding: 20px;
    margin-left: 10px;
    overflow: hidden; /* Hide overflow within the info section */
}

.resume-grid-right-info li {
    padding: 10px;
}

.resume-grid-right-date {
    margin-top: 10px;
    padding: 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    border-left: 1px solid var(--secondary-color);
    box-shadow: -2px 0 0 rgba(0, 0, 0, .2);
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.accent-color {
    color: var(--accent-color);
}

.email_link {
    text-decoration: none;
    color: var(--accent-color);

}
.email_link:hover {
    text-decoration: underline;
    color: var(--tertiary-color);
}

.skill-icon {
    padding: 0.1rem;
    margin-right: 1rem;
}

.progress {
    background-color: var(--quaternary-color);
    border-radius: 10px;
    height: 0.5rem;
    width: 80%;
}

.progress-bar {
    background-color: var(--accent-color);
    height: 100%;
    border-radius: 10px;
}

/*  FOOTER  */
.footer-font {
    font-size: small;
}

.copyright {
    /*height: 6vh;*/
    margin-bottom: -1rem;
}

.social_links a:hover {
    text-decoration: none;
}

.notice {
    font-size: 0.5rem !important;
    font-weight: 200 !important;
}

.icons a {
    text-decoration: none; /* Remove the underline on hover */
    display: inline-flex; /* Ensures the SVGs are aligned properly */
    align-items: center;
}

.svg_fill {
    fill: var(--secondary-color);
    transition: fill 0.3s;
}
.svg_fill:hover {
    fill: var(--accent-color);
    transition: fill 0.3s;
}

* {
    box-sizing: border-box;
}

.btn-full-width {
    width: 100%;
    background-color: var(--primary-color);
    border-color: var(--tertiary-color);
}

.btn-full-width:hover {
    background-color: var(--accent-color);
    transition: fill 0.3s;

}