
/* Base */
body {
    padding-top: 56px;
}

.body-text {
  font-size: 1.35rem;
  font-family: 'Crimson Pro', serif;
  line-height: 1.35;
}

.font-emphasis-1 { font-family: 'Barlow', sans-serif; font-weight: 700;}
.font-emphasis-2 { font-family: 'Barlow', sans-serif; font-weight: 400;}

.btn {
    font-family: 'Barlow', sans-serif;
}

/* Hacky way of changing small breakpoint from 768px to 700px for col-md-6 */
@media (max-width: 699.98px) {
    .col-md-6 {
        width: 100%;
    }
}
@media (min-width: 700px) {
    .col-md-6 {
        width: 50%;
    }
}


/* Remove the focus outline from the navbar toggler */
.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Style the toggler when the navbar is expanded (not collapsed) */
.navbar-toggler:not(.collapsed) {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Adjust based on your navbar height */
}

.resume-link:hover {
    text-decoration: underline !important;
}

.resume-link {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
}

.email-link {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #212529;  /* Bootstrap's dark */
    transition: opacity 0.2s ease;
}

.email-link:hover {
    opacity: 0.6;
}

.back-to-portfolio-link:hover {
    text-decoration: underline !important;
}

.course-link:hover {
    text-decoration: underline !important;
}

.brand-initials {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Change to 8px for rounded square, 0 for sharp square */
    border: 1px solid currentColor;
    text-align: center;
    line-height: 36px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .multi-column-text {
        column-count: 2;
        column-gap: 2rem;
    }
}

/* Custom breadcrumb styling */
.custom-breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 1rem;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6b6b6b;
}

.custom-breadcrumb a {
    color: #2c2c2c;
    text-decoration: none;
}

.custom-breadcrumb a:hover {
    text-decoration: underline;
}

.custom-breadcrumb .active {
    color: #6b6b6b;
}

/* Page navigation (anchor links) */
.page-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-nav a {
    color: #2c2c2c;
    font-family: 'Barlow', sans-serif;
    font-size: 1.25rem;
    text-decoration: none;
    padding-left: 1rem;
    position: relative;
    transition: opacity 0.2s ease;
}

.page-nav a:hover {
    opacity: 0.6;
}

.page-nav a::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6b6b6b;
}

/* OLD CODE STYLING - commented out in favor of Prism.js
.code-example {
    background-color: #f5f5f5;
    border: 1px solid #d4cfbf;
    border-radius: 20px;
    padding: 1rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-example code {
    color: #2c2c2c;
}

.keyword { color: #0033b3; font-weight: 500; }
.comment { color: #008000; font-style: italic; }
.method { color: #795e26; font-weight: 500; }
.property { color: #0451a5; }
.operator { color: #2c2c2c; }
.number { color: #09885a; }
*/

.code-collapse.collapsing {
    transition: none !important;
}

.code-collapse pre {
    margin: 0;
}

.code-collapse pre code {
    display: block;
}

.carousel-caption-top {
    position: absolute;
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    padding: 10px;
    text-align: center;
    color: white;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 1);
}

.container-text {
    max-width: 700px;
    margin-inline: auto;
}

.container-media {
    max-width: 960px;
    margin-inline: auto;
}

/* h1.display-1 {
    line-height: 0.85;
} */

/* .display-1 {
    font-size: 4.5rem;
} */