/* ---------------------- Variables -------------------- */
:root {
    /* Font Style */
    --font-family: "Tinos", serif;
    --font-weight: 400;
    --font-size: 18px;

    /* Colors */
    --backCol: white;
    --tempCol: #294c6e;
    --textCol: #555555;
    --acceCol: rgb(255, 162, 3);
    --tempTxt: rgb(235, 235, 235); 
}
*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    font-size: 100%;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    height: 100%;
}
/* ------------------ Body ------------------ */
body {
    -webkit-font-smoothing: antialiased;
    background-color: var(--backCol);
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-weight: 400;
    line-height: 1.4;
    text-rendering: optimizeLegibility;
    text-align: justify;
    margin: 0;
    padding: 0;
    height: 100%;
}
/* ----------------- Header ---------------- */
.header {
    height: 10vh;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    color: var(--tempTxt);
    background-color: var(--tempCol);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 1em;
}

/* ----------------- Nav ----------------- */
.navmenu {
    margin: 0;

}
.navmenu a {
    text-decoration: none;
}
.navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: space-evenly;
    font-size: 1.1em;
}
.navmenu ul>li {
    padding-right: 0.225em;
    padding-left: 0.225em;
}
.navmenu a,
.navmenu a:focus {
    color: var(--tempTxt);
    padding-left: 0.25em;
    padding-right: 0.25em;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    position: relative;
}
.navmenu li:hover>a{
    color: var(--tempCol);
    border-radius: 5px;
    background-color: var(--acceCol);
    transition: color 0.3s ease;
}
.navmenu .active,
.navmenu .active:focus {
    color: var(--tempCol);
    border-radius: 5px;
    background-color: var(--tempTxt);
    border: solid 0.1em var(--acceCol);
}
/* ------------------ Content ------------------ */
.content {
    width: 100%;
    position: fixed;
    top: 10vh;
    left: 0vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
/* ------------------ Right ------------------- */
.right {
    height: 90vh;
    color: var(--textCol);
    width: 75%;
    margin-left: 25%;
    position: relative;
    background-color: var(--backCol);
    padding-bottom: 10vh;
    overflow-y: auto;
}
/* ------------------- Left ------------------ */
.left {
    width: 25%;
    background-color: var(--backCol);
    position: fixed;
    padding-bottom: 2vh;
}
.person{
    width: 100%;
}
/* Pic */
.profilePic {
    height: 11em;
    width: auto;
    margin: auto;
    display: block;
    border: solid 0.1em var(--tempTxt);
    border-radius: 20px;
    margin-top: 10vh;
    margin-bottom: 1em;
}
/* Bio */
.bio {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 1em;
    color: var(--textCol);
}
.bio .name{
    font-size: 1.5em;
}
.bio .label{
    font-size: 1.2em;
    color: var(--tempCol);
}
/* Contact */
.contact {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    font-size: 1em;
    margin-bottom: 0.5em;
    color: var(--textCol);
}
.contact .item{
    padding: 0.2em;
}
.contact a{
    color: var(--textCol);
}
.contact i{
    color: var(--tempCol);
}
.contact a:hover{
    color: var(--acceCol);
}
.Social {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 0.5em;
}
.Social .item{
    font-size: 1.15em;
    padding: 0.75em;
}
.Social i {
    color: var(--tempCol);
    transition: color 0.3s ease;
  }
  
.Social i:hover {
    color: var(--acceCol);
  }
.cv-head{
    width: 30%;
    font-size: 1.2em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: auto;
    border-radius: 5px;
    background-color: var(--acceCol);
    border: solid 0.1em var(--tempCol);
}
.cv-head a{
    color: var(--tempCol); 
}
.cv-head a:hover{
    color: var(--tempTxt);
}
/* ----------------- Headings --------------- */
h1{
    font-weight: normal;
    font-size: 1.5em;
    letter-spacing: 0.05em;
    margin-top: 1.225em;
    margin-bottom: 0.2em;
    color: var(--textCol);
}
h2{
    font-weight: normal;
    letter-spacing: normal;
    font-size: 1.05em;
    margin-top: 1em;
    margin-bottom: 0.05em;
    color: var(--tempCol);
}
h3{
    font-weight: normal;
    font-style: normal;
    letter-spacing: normal;
    font-size: 0.95em;
    margin-top: 0.05em;
    margin-bottom: 0.05em;
    color: var(--textCol);
}
p {
    font-weight: normal;
    letter-spacing: normal;
    font-size: 0.95em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    line-height: 1.4;
    color: var(--textCol);
}
a {
    text-decoration: none;
}
.right a{
    color: var(--textCol);
}
a:hover{
    color: var(--tempCol);
}
b {
    font-weight: normal;
    font-style: italic;
    color: var(--tempCol);
}
/* -------------- Right Section ------------- */
.about{
    margin-left: 7.5%;
    margin-right:7.5%;
    margin-top: 22.5vh;
    }
.work{
    margin-left: 7.5%;
    margin-right: 7.5%;
    margin-top: 10vh;
    }
.education{
    margin-left: 7.5%;
    margin-right: 7.5%;
    margin-top: 17.5vh;
    }
.skill{
    margin-left: 7.5%;
    margin-right: 7.5%;
    margin-top: 12.5vh;
}
.skill li {
    background: var(--tempTxt);
    color: var(--textCol);
    border-radius: 5px;
    list-style: none;
    padding: 5px;
    text-align: center;
    font-size: 1em;
    letter-spacing: 0.03em;
    display: block;
}
.expertise {
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 1em; 
}
.tech-skills {
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(8, 1fr); 
    gap: 1em; 
}
.tools {
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 1em; 
}
.publications{
    margin-left: 7.5%;
    margin-right: 7.5%;
    margin-top: 10vh;
}
.section-list{
    margin-top: 0px;
}
.section-list li::marker{
    color: var(--tempCol);
}


/* ------------------ Media ------------------ */
.clearfix:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

/* ----------------- Screen ---------------- */
@media screen and (max-width: 1024px) {
    body {
        font-size: 12px;
    }
    .content{
        width: 100%;
        height:90vh;
        position: fixed;
        top: 10vh;
        left: 0vh;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }
    .navmenu {
        padding: 0em;
    }
    .navmenu ul>li {
        padding-right: 0em;
        padding-left: 0em;
    }
    .left {
        margin: 0;
        position: relative !important;
        width: 100%;
    }
    .right {
        margin: 0;
        position: relative !important;
        width: 100%;
        min-height: 90vh;
        padding-bottom: 20vh;
    }
    p{font-size: 1em;}
    .about{margin-top: 0;}
    .work{margin-top: 0;}
    .edu{margin-top: 0;}
    .pub{margin-top: 0;}
    .skill{margin-top: 0;}
    .skill-set li{
        border-radius: 5px;
        display: inline-block;
        list-style: none;
        margin: 0.5em 0.5em 0 0;
        padding: 0.75em;
        text-align: justify;
        font-size: 1em;
        letter-spacing: normal;
    }
} 
