/* =====================
   Navbar
   ===================== */
#mainNav {
    min-height: 56px;
    background-color: #161616;
}
#mainNav .navbar-toggler {
    font-size: 80%;
    padding: 0.75rem;
    color: #0198fb;
    border: 1px solid #0198fb;
}
#mainNav .navbar-toggler:focus {
    outline: none;
}
#mainNav .navbar-brand {
    color: #fff;
    font-weight: 700;
    padding: 0.9rem 0;
}
#mainNav .navbar-brand img {
    display: none;
}
#mainNav .navbar-nav .nav-item:hover,
#mainNav .navbar-nav .nav-item:active,
#mainNav .navbar-nav .nav-item:focus {
    outline: none;
    background-color: transparent;
}

@media (min-width: 992px) {
    #mainNav {
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: none;
        background-color: transparent;
        transition: background-color 0.3s ease-in-out;
    }
    #mainNav .navbar-brand {
        padding: 0.5rem 0;
        color: rgba(255, 255, 255, 0.5);
    }
    #mainNav .navbar-brand img {
        width: 7%;
        display: initial;
    }
    #mainNav .nav-link {
        transition: none;
        padding: 2rem 1.5rem;
        color: rgba(255, 255, 255, 0.5);
    }
    #mainNav .nav-link:hover {
        color: rgba(255, 255, 255, 0.75);
    }
    #mainNav .nav-link:active {
        color: white;
    }
    #mainNav.navbar-shrink {
        background-color: #161616;
    }
    #mainNav.navbar-shrink .navbar-brand {
        color: rgba(255, 255, 255, 0.75);
    }
    #mainNav.navbar-shrink .nav-link {
        color: rgba(255, 255, 255, 0.75);
        padding: 1.5rem 1.5rem 1.25rem;
        border-bottom: 0.25rem solid transparent;
    }
    #mainNav.navbar-shrink .nav-link:hover {
        color: #0198fb;
    }
    #mainNav.navbar-shrink .nav-link:active {
        color: #016aaf;
    }
    #mainNav.navbar-shrink .nav-link.active {
        color: #0198fb;
        outline: none;
        border-bottom: 0.25rem solid #0198fb;
    }
}

/* =====================
   Masthead
   ===================== */
.masthead {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 35rem;
    padding: 15rem 0;
    background: linear-gradient(to bottom, rgba(22, 22, 22, 0.3) 0%, rgba(22, 22, 22, 0.7) 75%, #161616 100%), url("../media/bg-masthead.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
.masthead h1 {
    font-family: "Ubuntu", sans-serif;
    font-size: 2.5rem;
    line-height: 2.5rem;
    letter-spacing: 0.8rem;
    background: -webkit-linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
.masthead h2 {
    max-width: 20rem;
    font-size: 1rem;
}
@media (min-width: 768px) {
    .masthead h1 {
        font-size: 4rem;
        line-height: 4rem;
    }
}
@media (min-width: 992px) {
    .masthead {
        height: 100vh;
        padding: 0;
    }
    .masthead h1 {
        font-size: 6.5rem;
        line-height: 6.5rem;
        letter-spacing: 0.8rem;
    }
    .masthead h2 {
        max-width: 30rem;
        font-size: 1.25rem;
    }
}

.print-header {
    display: none;
}

.profile-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

/* =====================
   Buttons
   ===================== */
.btn {
    box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
    padding: 1.25rem 2rem;
    font-family: "Varela Round", sans-serif;
    font-size: 80%;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    border: 0;
}
.btn-primary {
    background-color: #0198fb;
}
.btn-primary:hover {
    background-color: #0179c8;
}
.btn-primary:focus {
    background-color: #0179c8;
    color: white;
}
.btn-primary:active {
    background-color: #016aaf !important;
}

/* =====================
   Section separators
   ===================== */
.about-section,
.experience-section,
.skills-section {
    border-top: 2px solid rgba(1, 152, 251, 0.25);
}

/* =====================
   About Section
   ===================== */
.about-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #161616;
    height: auto;
    min-height: 35rem;
}
.about-section p {
    margin-bottom: 2rem;
}
.about-section hr {
    border-color: #0198fb;
    border-width: 0.25rem;
    width: 30%;
}
.about-section ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
    display: inline-block;
}
.about-section ul li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: baseline;
}
.about-meta {
    margin-top: 1.5rem;
}
.about-meta .badge {
    font-size: 0.85rem;
    padding: 0.4em 0.8em;
    margin: 0.2rem;
}

/* =====================
   Experience Section
   ===================== */
.experience-section {
    padding: 5rem 0;
    background-color: #161616;
}
.experience-section h2 {
    letter-spacing: 0.1rem;
}
.role-row {
    margin-bottom: 3rem;
}
.role-header {
    padding: 1.5rem;
    border-bottom: 0.25rem solid #0198fb;
}
.role-header .role-dates {
    display: inline-block;
    background-color: #0198fb;
    color: #fff;
    font-family: "Varela Round", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    padding: 0.3rem 0.75rem;
    border-radius: 0.2rem;
    margin-bottom: 0.75rem;
}
.role-header h4 {
    color: #fff;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}
.role-header .role-company {
    color: #0198fb;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}
.role-header .role-location {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-family: "Varela Round", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
}
.role-body {
    padding: 1.5rem;
}
.role-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.role-body ul li {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: baseline;
}
/* Shared arrow bullet for about and experience */
.about-section ul li::before,
.role-body ul li::before {
    content: "▸";
    color: #0198fb;
    flex-shrink: 0;
    margin-right: 0.4em;
}
@media (min-width: 992px) {
    .role-header {
        border-bottom: 0;
        border-right: 0.375rem solid #0198fb;
        text-align: right;
        height: 100%;
        padding: 1.5rem 2rem 1.5rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
    }
}

/* =====================
   Skills Section
   ===================== */
.skills-section {
    padding: 5rem 0;
    background-color: #161616;
}
.skills-section h2,
.skills-section h3 {
    color: #fff;
    letter-spacing: 0.1rem;
}
/* Shared section hr style */
.experience-section hr,
.skills-section hr {
    border-color: #0198fb;
    border-width: 0.25rem;
    width: 4rem;
    margin: 0 auto 3rem;
}
.skills-section .section-divider {
    border-color: rgba(255, 255, 255, 0.1);
    border-width: 1px;
    width: 60%;
    margin: 3rem auto;
}
.skill-card {
    background-color: #1a1a1a;
    border: 0;
    border-top: 0.25rem solid #0198fb;
    padding: 1.25rem 1rem;
    text-align: center;
    height: 100%;
    transition: border-color 0.2s;
}
.skill-card:hover {
    border-top-color: #0179c8;
}
.skill-card h5 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    font-family: "Varela Round", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}
.skill-card .since-badge {
    display: inline-block;
    background-color: rgba(1, 152, 251, 0.15);
    color: #0198fb;
    font-size: 0.75rem;
    font-family: "Varela Round", sans-serif;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    letter-spacing: 0.05rem;
}
.education-card {
    background-color: #1a1a1a;
    border: 0;
    border-left: 0.25rem solid #0198fb;
    padding: 1.25rem 1.5rem;
    height: 100%;
}
.education-card .edu-years {
    font-family: "Varela Round", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.4rem;
}
.education-card h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.education-card .edu-institution {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}
.education-card .edu-result {
    display: inline-block;
    background-color: #0198fb;
    color: #fff;
    font-family: "Varela Round", sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    padding: 0.2rem 0.6rem;
    border-radius: 0.2rem;
}

/* =====================
   Contact Section
   ===================== */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(22, 22, 22, 0.3), rgba(22, 22, 22, 0.3)), url("../media/callout.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
.contact-section .card {
    border: 0;
    border-bottom: 0.25rem solid #0198fb;
}
.contact-section .card h4 {
    font-size: 0.8rem;
    font-family: "Varela Round", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}
.contact-section .card hr {
    border-color: #0198fb;
    border-width: 0.25rem;
    width: 3rem;
}
.contact-section .social {
    margin-top: 5rem;
}
.contact-section .social a {
    text-align: center;
    height: 3rem;
    width: 3rem;
    background: rgb(255 255 255 / 46%);
    border-radius: 100%;
    line-height: 3rem;
    color: rgb(0 0 0 / 79%);
}
.contact-section .social a:hover,
.contact-section .social a:active {
    color: #000;
}

/* =====================
   Base
   ===================== */
/* Offset anchor targets for fixed navbar */
section[id], header[id] {
    scroll-margin-top: 56px;
}
body {
    font-family: "Ubuntu", sans-serif;
    letter-spacing: 0.0625em;
}
a {
    color: #0198fb;
}
a:focus, a:hover {
    text-decoration: none;
    color: #015a95;
}
.bg-black {
    background-color: #161616 !important;
}
.bg-primary {
    background-color: #0198fb !important;
}
.text-primary {
    color: #0198fb !important;
}
footer {
    padding: 5rem 0;
}
