/* Custom CSS for personal website */
/*Jekyll classes*/

@font-face {
    font-family: "Clash Display";
    src: url("/Portfolio/css/ClashDisplay-Variable.woff2") format("woff2");
    font-weight: 200 700;
    font-style: normal;
}



.page-content {
    background-color: #f7fffcba;
    max-width: 100%;
    margin: 0 auto;
}


html {
    background-color: #f7fffc;
    background-image: url("/Portfolio/images/contours.svg");
    background-size: 100% auto;
    background-repeat: repeat-y;
}

body { 
    background: transparent;
    font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

hr.solid {
  border-top: 3px solid #bbb;
}

a { color: #00b4c8; text-decoration: none; }
a:visited { color: #588157; }
a:hover { color: #00818f; text-decoration: underline; }

.site-header { 
    background-color: #226644;
    min-height: 55.95px; position: relative; 
}

@media screen and (max-width: 600px) { 
  .site-nav .page-link { color: #000000 !important; }
}

.page-title {
    font-family: 'Clash Display', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 400;
    line-height: 1;
    color: #1f3d2e;
    margin: 12px 0 36px;
    text-align: center;
}

.site-title, .site-title:visited { color: #ffffff; }
.site-nav .page-link { color: #ffffff; }

.site-footer { 
    padding: 30px 0; 
    background-color: #002a14;
    color: #ffffff;
    margin-bottom: 0;
}

.footer-col-wrapper { color: #bde2d0; }
.username { color:  #00b4c8; }
.svg-icon { fill: #bde2d0; }

/*My classes*/

.target-anchor {
  scroll-margin-top: 30px;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 16px #0000001A;
}

.slideshow-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.slideshow-container img:hover {
    transform: scale(1.01);
    cursor: pointer;
}

.full-slider-bar {
    text-align: center;
    width: 100%;
    margin-top: -4px;
}

.full-slider-bar a span{
    padding: 3px 0px;
    margin: 1px;
    background-color: #808080;
    width: 100%;
    display: inline-block;
    box-shadow: 0 2px 8px #0000001A;
}
 .full-slider-bar a span:hover {
    transform: scale(1.01);
    cursor: pointer;
 }
/*Home*/

.see-projects-btn, .see-projects-btn:visited {
    display: inline-block;
    color: #ffffff;
    background: linear-gradient(135deg, #22804a, #4fc08d);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.75em 2em;
    border: none;
    border-radius: 2em;
    box-shadow: 0 4px 16px #2266441A;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin: 2em auto 0 auto;
    cursor: pointer;
}

.see-projects-btn:hover,
.see-projects-btn:focus {
    background: linear-gradient(135deg, #1a5d37, #38a169);
    box-shadow: 0 8px 24px #2266442D;
    transform: translateY(-2px) scale(1.03);
}
.button-center {
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 700px) {
  .home-profile-section {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }
  .home-profile-pic {
    width: 70vw !important;
    max-width: 260px !important;
    height: auto !important;
    float: none;
    margin: 0 auto 1em auto !important;
    border-radius: 50% !important;
  }
  .home-profile-section > div {
    margin: 0;
    width: 100%;
    text-align: center;
  }
}

.home-profile-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}
.home-profile-pic {
    width: 40%;
    height: 60%;
    object-fit: cover;
    margin: 0 auto 1.5em auto;
    float: left;
    border-radius: 1%;
    box-shadow: 0 4px 16px #0000001A;
}

.home-header {
    font-size: 2.2rem;
    margin-bottom: 0.1em;
    line-height: 1.2;
    color: #002516;
    font-family: 'Clash Display', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 550;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: #000000;
}

.home-subheader {
    font-size: 1.6rem;
    margin-bottom: 0.5em;
    line-height: 1.2;
    color: #0c6240;
    font-family: 'Clash Display', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

.home-intro {
    background: linear-gradient(135deg, #d2f5f5, #f0ffff);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 8px 24px #0000001A;
    transition: box-shadow 0.3s ease;
    color: #333;
    line-height: 1.7;
    font-size: 1.05rem;
    font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

/*Projects*/
.proj-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 20%;
    height: 100%;
    padding: 20px;
    background-color: #00431b;
    box-shadow: 0 4px 16px #0000001A;
    margin-left: 0px;
    font-size: 0.95rem;
    color: #ffffff;
    transition: 0.5s;
    z-index: 1000;
}
.proj-sidebar.closed {
    padding: 20px 0 !important;
    left: -20% !important;
    overflow: hidden;
}

@media screen and (max-width: 600px) {
  .proj-sidebar {
    width: 60% !important;
  }
  .proj-sidebar.closed {
    left: -60% !important;
  }
  .proj-sidebar-btn {
    left: 60% !important;
  }
  .proj-sidebar-btn.closed {
    left: 5px !important;
  }
}

.proj-sidebar h1 {
    font-size: 1.5rem;
    margin-top: 1rem;
    color: #ffffff;
}

.proj-sidebar a, .proj-sidebar a:visited {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 0.2rem;
    border-top: 1px solid #ffffff;
    padding: 1px;
}

.proj-sidebar a:hover {
    color: #e0f7f7;
}

.proj-sidebar ul {
    list-style-type: none;
    padding-left: 0;
}

.proj-sidebar-btn {
    position: fixed;
    top: 20px;
    left: calc(20% + 50px); 
    background-color: #00431b;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 4px 16px #0000001A;
    transition: 0.5s;
    z-index: 1001;
}
.proj-sidebar-btn.closed {
    left: 20px !important;
}

.project-card {
    background: linear-gradient(145deg, #90be96, #77aa7d);
    border: none;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    color: #fff;
    box-shadow: 0 6px 16px #00000026;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px #00000033;
}

.project-subheader {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: #fff;
}   

.project-subheader a, .project-subheader a:visited {
    color: #e0f7f7 !important;
    text-decoration: underline;
}

.project-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.project-date {
    font-size: 0.9rem;
    font-style: italic;
    color: #dcebdc;
    margin-bottom: 12px;
}

hr.solid {
    border: none;
    border-top: 1px solid #ffffff4d;
    margin: 12px 0;
}

.project-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #f8fdf9;
}

.project-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 12px 0 6px;
    box-shadow: 0 4px 12px #00000033;
    transition: transform 0.2s ease;
}

.project-img:hover {
    transform: scale(1.02);
}

.project-img-caption {
    font-size: 0.8rem;
    color: #dcebdc;
    text-align: center;
    margin-bottom: 12px;
}

.project-img-caption a {
    color: #e0f7f7;
    text-decoration: underline;
}

.project-img-caption a:visited {
    color: #b3e0e0;
}

.desmos-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 8px;
}
.desmos-list a {
    color: #ccffe2;
    font-weight: 500;
    text-decoration: underline;
}

.desmos-list a:visited {
    color: #b3e0e0 !important;
}

/*Background page*/
.bgpage {
    background: #fff;
    color: #222;
    max-width: 50em;
    margin: 2.5em auto 2em auto;
    padding: 3em 2.5em;
    box-shadow: 0 4px 32px #0000001E, 0 1.5px 0 #eee inset;
    font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.92rem; /* ~11pt on most screens */
    line-height: 1.3;
}

.bgpage-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 0.5em;
    color: #1a3d2f;
    font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
}

.bgpage p {
    margin-bottom: 1em;
}

.bgpage h1, .bgpage h2, .bgpage h3 {
    color: #1a3d2f;
    font-size: 1.2rem;
    font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    margin-top: 1em;
    margin-bottom: 0.2em;
}

.bgpage ul, .bgpage ol {
    margin-top: 0.1em;
    margin-bottom: 1em;
    margin-left: 2em;
}

.bgpage ul li {
    margin-bottom: 0.5em;
}

.bgpage hr {
    border-top: 1px solid #1a3d2f;
    margin: 0.2em 0;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em;
    margin-top: 1em;
}

.skill-list p {
    font-size: 0.8rem;
    margin: 0.2em 0;
    padding: 0.2em 0.4em;
    border-radius: 0.3em;
}

.softskill { background: #e0f7f7;}
.hardskill { background: #f7ffb0;}

.time-loc-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.2em;
}

.time-loc-row p {
    font-size: 0.8rem;
    color: #777;
}

.experience-entry {
    padding: 0 1em;
    margin-bottom: -0.5em;
}

.experience-entry .role {
    margin: 0;
    color: #1a3d2f;
    font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
}

.experience-entry .company {
    font-style: italic;
    color: #555;
    margin-bottom: 0.4em;
}  

.education-entry {
    padding: 0 1em;
    margin-bottom: 0.2em;
}

.education-entry .education-title {
    margin: 0;
    color: #1a3d2f;
    font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
}    

.award-entry {
    padding: 0 1em;
    margin-bottom: 1em;
}

.award-entry .award-title {
    margin: 0;
    color: #1a3d2f;
    font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
}

.award-entry .award-description {
    font-style: italic;
    color: #555;
    margin-bottom: 0.4em;
}

/*About Me*/

.about-me-section {
    background: linear-gradient(135deg, #d2f5f5, #f0ffff);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px #0000001A;
    transition: box-shadow 0.3s ease;
    color: #333;
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-me-section:hover {
    box-shadow: 0 12px 32px #00000026;
}

.about-me-section h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #006d6d;
}

.hobby-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

.hobby-images img {
    width: 100%;
    max-width: 600px;
    border-radius: 14px;
    box-shadow: 0 4px 12px #0000001E;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin: 0 auto;
}

.hobby-images img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px #00000033;
}
