@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');


:root {
    /* Halcyon Color Palette - thank you Brittany Chiang */
    --bg: #171c28;
    --card: #1d2433;
    --border: #2f3b54;
    --mainText: #d7dce2;
    --secondaryText: #a2aabc;
    --cyan: #5ccfe6;
    --purple: #c3a6ff;
    --yellow: #ffd580;
    --green: #bae67e;
    --orange: #ffae57;

    /* Accents */
    --red: #ef4444;
    --lightRed: #fca5a5;
    --lightBlue: #60a5fa;
    --darkBlue: #3b82f6;
    --lightOrange: #fdba74;
    --darkOrange: #fb923c;
}

html,
body {
    background-color: var(--bg);
    color: var(--secondaryText);
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    /*padding-bottom: 2.5rem;*/
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

h1 {
    font-size: 4rem;
    color: var(--yellow);
    padding-top: 3rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
}

h2 {
    font-size: 1.8rem;
    color: var(--purple);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    color: var(--yellow);
}

p {
    color: var(--mainText);
    line-height: 1.6;
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--yellow);
    text-decoration: underline;
}

/* Navbar (Workbench Top) */
.navbar {
    background-color: var(--bg) !important;
    border-bottom: 1px solid var(--border);
}

.navbar-brand,
.nav-link {
    color: var(--mainText) !important;
}

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

/* Mobile dropdown panel */
@media (max-width: 575px) {
    .navbar-collapse {
        background-color: var(--card);
        border-top: 1px solid var(--border);
        padding: 0.5rem 1rem;
        border-radius: 0 0 6px 6px;
    }
}

/* Editor Container - made to look like a tab window */
.editor-container {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    position: relative;
    padding: 3.5rem 2rem 2rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.editor-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.editor-container::before {
    content: attr(data-tab);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35px;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    padding-left: 15px;
    color: var(--secondaryText);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Index Page */
.banner {
    text-align: center;
    padding: 2rem 1rem;
}

.contactInfo {
    color: var(--secondaryText);
    margin-bottom: 2rem;
}

.contactInfo a {
    color: var(--cyan);
}

.personalImage {
    border-radius: 4px;
    border: 1px solid var(--border);
    max-width: 100%;
    height: auto;
}

/* Work Experience */
.workCard {
    display: flex;
    flex-direction: column;
}

.workCard h4 {
    color: var(--secondaryText);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.workCard h5 {
    color: var(--green);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
button,
.btn-dark,
.btn-primary {
    background-color: var(--border);
    color: var(--mainText);
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    /*transition: all 0.2s;*/
    cursor: pointer;
}

button:hover,
.btn-dark:hover,
.btn-primary:hover {
    background-color: var(--orange);
    color: #1d2433;
    border: var(--orange);
}

/* Marquees (feels weird to call them tickers) */
.skills {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.languagesTicker,
.skillsTicker,
.toolsTicker {
    display: flex;
    white-space: nowrap;
    margin-bottom: 0.5rem;
}

.languagesTicker {
    animation: ticker 45s linear infinite;
}

.skillsTicker {
    animation: ticker2 45s linear infinite;
}

.toolsTicker {
    animation: ticker 45s linear infinite;
}

.tickerItem {
    display: inline-block;
    margin: 0 0.15rem;
    padding: 0.5rem 1.2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--green);
    font-size: 0.9rem;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes ticker2 {
    0% {
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Projects Page Elements */
.projContainer {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projContainer:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px #056d30;
    /*border: var(--purple);*/
}

.projContainer .card-body {
    padding: 1.5rem;
    background-color: var(--card);
}

.projContainer .card-title {
    color: var(--cyan);
    font-weight: bold;
    margin-bottom: 1rem;
}

.projContainer .card-text {
    color: var(--mainText);
    font-size: 0.9rem;
}

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

/* Footer */
.footer {
    background-color: var(--yellow);
    color: #171c28;
    text-align: center;
    padding: 0.4rem;
    margin-top: 2.5rem;
    font-size: 0.85rem;
    position: relative;
    /*Figure out how to fix this only when the bottom of page comes into view*/
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer h3 {
    font-size: 0.85rem;
    margin: 0 0 0 1rem;
    color: #171c28;
}

.footer .contactInfo {
    margin: 0 1rem 0 0;
}

.footer p,
.footer a {
    color: #171c28;
    margin: 0;
}

.footer a:hover {
    color: var(--purple);
    text-decoration: none;
}

/* Leadership Custom Sections */
.thunderContainer {
    border: 1px solid var(--darkBlue) !important;
    box-shadow: 0 4px 20px rgba(79, 68, 239, 0.15) !important;
    /* Mimicking the club site's bkgd pattern*/
    background-image: url("../images/arena.jpg");
    background-size: fit-content;
}

.thunderContainer::before {
    border-bottom: 1px solid var(--darkBlue) !important;
    color: var(--darkBlue) !important;
}

.thunderTitle a {
    color: var(--darkBlue) !important;
}

.thunderBody {
    background-color: var(--card);
    border: 3px solid var(--darkOrange);
    border-radius: 6px;
}

.thunderAccent {
    color: var(--darkBlue) !important;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.vgdcContainer {
    border: 1px solid var(--red) !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15) !important;
    /* Mimicking the club site's bkgd pattern*/
    background-image: radial-gradient(var(--border) 2px, transparent 2px);
    background-size: 5px 5px;
}

.vgdcContainer::before {
    border-bottom: 1px solid var(--red) !important;
    color: var(--red) !important;
}

.vgdcTitle a {
    color: var(--red) !important;
}

.vgdcBody {
    background-color: var(--card);
    border: 3px solid var(--red);
    border-radius: 6px;
}

.vgdcAccent {
    color: var(--lightRed) !important;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hackokContainer {
    border: 1px solid var(--orange) !important;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15) !important;
    background-image: url("../images/pcb.jpg");
    background-size: cover;
    background-color: gray;
}

.hackokContainer::before {
    border-bottom: 1px solid var(--orange) !important;
    color: var(--orange) !important;
}

.hackokTitle a {
    color: var(--lightOrange) !important;
}

.hackokBody {
    background-color: var(--card);
    border: 3px solid var(--darkOrange);
    border-radius: 6px;
}

.hackokAccent {
    color: var(--darkOrange) !important;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.acmContainer {
    border: 1px solid var(--darkBlue) !important;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15) !important;
    background-image: url("../images/ide.png");
    background-size: cover;
}

.acmContainer::before {
    border-bottom: 1px solid var(--darkBlue) !important;
    color: var(--darkBlue) !important;
}

.acmTitle a {
    color: var(--lightBlue) !important;
}

.acmBody {
    background-color: var(--card);
    border: 3px solid var(--lightBlue);
    border-radius: 6px;
}

.acmAccent {
    color: var(--lightBlue) !important;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Timeline Youtube tutorial by GreatStack along with template review on Bootstrap 5 Site */

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
}

@keyframes moveline {
    0% {
        height: 0%;
    }

    100% {
        height: 100%
    }
}

@keyframes drop {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translate(0px);
    }
}

.timelineContainer {
    width: 45%;
    position: relative;
    animation: drop 1s linear forwards;
    opacity: 0;
    z-index: 2;
}

.timelineContainer:nth-child(1) {
    animation-delay: 0s;
}

.timelineContainer:nth-child(2) {
    animation-delay: 1s;
}

.timelineContainer:nth-child(3) {
    animation-delay: 2s;
}

.timelineContainer:nth-child(4) {
    animation-delay: 3s;
}

.timelineContainer:nth-child(5) {
    animation-delay: 4s;
}

.timelineContainer:nth-child(6) {
    animation-delay: 5s;
}

.left {
    left: 0;
}

.right {
    left: 55%;
}

/* Drawing the Line */
.timeline::after {
    content: "";
    position: absolute;
    width: 6px;
    background-color: #939597;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    animation: moveline 5s linear forwards;
    z-index: 1;
}

/* Container around content */
.timelineContainer {
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.timelineContainer::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: #939597;
    border: 5px solid #f5df4d;
    top: 15px;
    border-radius: 50%;
    z-index: 2;
}

.left {
    padding: 0px 40px 20px 0px;
    left: 0;
}

.right {
    padding: 0px 0px 20px 40px;
    left: 50%;
}

/* arrows to the left container (pointing right) */
.left::before {
    content: " ";
    position: absolute;
    top: 18px;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

/* arrows to the right container (pointing left) */
.right::before {
    content: " ";
    position: absolute;
    top: 18px;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -12px;
}

/* Responsive timeline adjustments for screens less than 600px wide */
@media screen and (max-width: 600px) {

    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .timelineContainer {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* all arrows are pointing leftwards */
    .timelineContainer::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left::after,
    .right::after {
        left: 18px;
    }

    .left::before {
        right: auto;
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }
}

/*#23e64a  - love this color*/

.proj-carousel-hidden {
    display: none !important;
}

.proj-carousel {
    position: relative;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.proj-carousel-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: var(--border) var(--bg);
    /* Firefox */
    padding: 1rem 0 2rem 0;
}

.proj-carousel-track::-webkit-scrollbar {
    height: 6px;
    /* Chrome/Safari */
}

.proj-carousel-track::-webkit-scrollbar-track {
    background: var(--bg);
    border-radius: 4px;
}

.proj-carousel-track::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.proj-carousel-track::-webkit-scrollbar-thumb:hover {
    background: var(--secondaryText);
}

/* Card wrapper fills grid cell */
.proj-card-wrapper {
    /* Width allows 4 cards plus a 'peek' of the next */
    flex: 0 0 calc(92% / 4);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

/* 2 cols on tablet, 1 on mobile */
@media (max-width: 900px) {
    .proj-card-wrapper {
        flex: 0 0 calc(90% / 2);
    }

    .proj-carousel {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .proj-card-wrapper {
        flex: 0 0 85%;
    }

    .proj-carousel {
        padding: 0 1rem;
    }
}