/* General Reset 
 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*font-family: 'Arial', sans-serif; 
}
*/

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    /*font-family: FontAwesome;*/
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

:root {
    --primary: #0f3d3e;
    --primary-dark: #0a2a2b;
    --accent: #c8842c;
    --accent-text: #a8690f;
    --bg: #f5f4f0;
    --text: #1e2622;
}

html { font-size: 106.25%; } /* 17px base; all rem sizes scale from here */

body {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .banner h1, .scholar-stat .num {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    letter-spacing: 0;
}
.skill-tag {
    font-family: 'Source Sans 3', sans-serif;
}

/* Type scale */
h1 { font-size: 2rem; line-height: 1.2; }
h2 { font-size: 1.5rem; line-height: 1.25; margin-top: 0; }
h3 { font-size: 1.2rem; line-height: 1.3; }
h4, h5 { font-size: 1.05rem; line-height: 1.35; }
p, li { font-size: 1rem; }
.project h3 { font-size: 1.15rem; }
.theme-lead { font-size: 0.95rem; }

.container {
    display: flex;
    margin: 20px;
    gap: 20px;
    justify-content: center;
    margin: 20px auto;
}

.skills-sidebar {
    width: 50%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.main-content {
    justify-content: space-between;

}
.box-content {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}


/* Banner Section */
.banner {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 20px 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.banner h1 {
    font-size: 2.5em;
}

.banner p {
    font-size: 1.2em;
    margin: 10px 0;
}

.social-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ddd;
}
.social-links a img, .social-links  a i, .social-links  a svg {
    color: #ddd;
    height:34px;margin-right: -16px; margin-bottom: -6px; vertical-align:text-bottom;
}


/* Skills Progress Bar */
.skillset {
    margin: 10px;
    justify-content: center;
}

.skill {
    margin: 10px;
    justify-content: center;
}

.skill h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: var(--primary);
}

.skill-bar {
    width: 80%;
    height: 15px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.skill-bar span {
    display: block;
    height: 100%;
    background: black;
    animation: grow 2s ease-out;
}


.skill  .skill-bar{
    animation-name: animateBar;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 1.0s;
}

@keyframes animateBar {
    0% {transform: translateX(-100%);}
    100% {transform: translateX(0);}
}

/* Collapsible Subsections */
.collapsible {
    cursor: pointer;
    color: white;
    padding: 10px;
    border: none;
    text-align: left;
    font-size: 1.2em;
    border-radius: 5px;
    margin: 10px 0;
    transition: background 0.3s;
    background: var(--primary);
}

.collapsible:hover {
    background: var(--primary-dark);
}

.collapsible-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out;
    padding: 0 10px;
    background: rgb(255,255,255);
    border-left: 4px solid var(--accent);
    border-radius: 0 0 5px 5px;
}

.collapsible.active {
    background: var(--primary-dark);
}


/* Project panel styles */
.script-panel {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-panel {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project {
    /*width: calc(50% - 20px);*/
    margin: 10px;
    padding: 15px;
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background: #f5f5f5;
    transition: transform 0.3s;
    width:100%;
}

.project:hover {
    transform: scale(1.05);
}

.project img {
    width: 95%;
    height: auto;
    border-radius: 10px;
}

h2{
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 0.5rem;
    padding-bottom: 0.5rem;
}

.keywords span {
    font-size: 15px;
    padding:15px;
    margin-bottom: 10px;

}


/* timeline */
ul.timeline {
    list-style-type: none;
    position: relative;
}
ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 10px;
    width: 2px;
    height: 100%;
    z-index: 400;
}
ul.timeline > li {
    margin: 20px 0;
    padding-left: 40px;
}
ul.timeline > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 6px solid var(--primary);
    left: 0px;
    right: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}