html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Garamond', 'Georgia', serif;
}

/* Header Styling */
header {
    padding: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
header h1 {
    margin: 0;
    font-size: 50px;
}
header .links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
header .links a {
    margin: 0 12px;
    font-size: 18px;
    gap: 20px;
}

/* Toggle Button Styling */
header .toggleButton #styleToggle {
    position: absolute;
    left: 40px;
    top: 45px;
    border-radius: 20px;
    padding: 10px 20px;
    width: fit-content;
    transition: background-color 0.3s;
}
header .toggleButton h5 {
    font-size: 18px;
    font-family: 'Garamond', 'Georgia', serif;
    margin: 10px 0;
}

/* Footer Styling */
footer {
    margin-top: auto;
    padding: 10px;
    text-align: center;
    background-color: #c2c2c2;
    width: 100%;
    box-sizing: border-box;
}
footer p {
    margin: 0;
}
footer .externalLinks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
footer .externalLinks a {
    margin: 0 10px;
}

/* Link Styling */
a {
    color: blue;
    text-decoration: none;
}
a:visited {
    color: blue;
}
a:hover {
    color: darkblue;
}


/* index.html specific css */
.homepage{
    background-color: #7E8075;
}
.mainContainer {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}
.nameBox {
    background-color: #4D7298;
    padding: 20px;
    margin: 10px 0;
    width: calc(50% - 10px);
    box-sizing: border-box;
    height: auto;
}
.indexName {
    font-size: 90px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 5px;
    text-align: center;
    color: rgb(174, 174, 174);
    text-shadow: 6px 4px 0px #135291;
}
.headshot {
    width: 45%;
    height: 45%;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
}
.homeButtons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: calc(100% - 20px);
    margin: 0 auto;
}
.homepageButton {
    display: block;
    margin: 0 auto;
    width: fit-content;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    text-align: center;
    transition: background-color 0.3s;
    background-color: #BCA16F;
}
.homepageButton:hover {
    background-color: #c2c2c2;
}
.homepageButton h2 {
    font-size: 30px;
    margin: 10px;
    color: #25598d;
}
.rightContainer{
    display: flex;
    flex-direction: column;
    width: calc(50% - 10px);
    box-sizing: border-box;
}
.aboutMe {
    margin: 10px 0;
    padding: 20px;
    background-color: #AE8E51;
    width: 100%;
    text-align: center;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}
.aboutMe h2 {
    font-size: 45px;
}
.aboutMe p {
    font-size: 18px;
}
.otherPages {
    margin: 10px auto;
    padding: 20px;
    background-color: #94B281;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}


/* portfolio.html specific css */
.portfolio{
    background-color: #F9E8D1;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
}
.portfolio header {
    background-color: #efd3ab;
}
.portfolio #styleToggle {
    background-color: #F9E8D1;
}
.portfolio #styleToggle:hover {
    background-color: #e5c292;
}
.portfolio main {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    align-items: flex-start;
    width: 100%;
    flex-grow: 1;
}
#workExperience{
    flex: 1;
    width: 50%;
    box-sizing: border-box;
    padding-right: 20px;
}
#projects {
    flex: 1;
    width: 50%;
    box-sizing: border-box;
    padding-left: 20px;
}
.job, .project {
    border-top: 2px solid black;
    margin-bottom: 100px;
    border-bottom: 2px solid black;
}
.portfolio h2 {
    font-size: 35px;
    margin-bottom: 10px;
}
.portfolio h3 {
    font-size: 20px;
}
.portfolio h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-style: italic;
}
.portfolio p, .portfolio ul {
    margin: 5px 0;
}
.portfolio .job a,
.portfolio .project a {
    margin-bottom: 20px;
}


/* qualifications.html specific css */
.qualifications {
    background-color: #ECFBFF;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
}
.qualifications header {
    background-color: #C6E8ED;
}
.qualifications #styleToggle {
    background-color: #ECFBFF;
}
.qualifications #styleToggle:hover {
    background-color: #98d8e2;
}
.qualificationsMain {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    width: 100%;
}
#skills, #relevantCoursework, #interestInCSCE, #resumeImage {
    padding: 20px;
    border: 2px solid #C6E8ED;
    background-color: #ffffff;
    border-radius: 12px;
    margin: 20px 0px;
}
.qualifications h2 {
    font-size: 30px;
    margin-bottom: 10px;
    margin-top: 5px;
}
.qualifications ul {
    list-style-type: disc;
    padding-left: 20px;
}
#resumeImage img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}
.resume {
    display: block;
    margin: 0 auto;
    width: fit-content;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s;
}
.resume:hover {
    background-color: #f9e8d1;
}
#interestInCSCE li {
    padding-bottom: 12px;
}


/* service.html specific css */
.service {
    background-color: #e6f2d8;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
}
.service header {
    background-color: #d1eac6;
}
.service #styleToggle {
    background-color: #e6f2d8;
}
.service #styleToggle:hover {
    background-color: #b9dfa9;
}
.serviceMain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}
.service .leftSide {
    border-radius: 0;
    border: 20px solid #d1eac6;
    padding: 20px;
    margin: 20px;
    display: flex;
    flex-direction: column;
}
.service .images {
    border-radius: 0;
    border: 20px solid #d1eac6;
    padding: 20px;
    margin: 20px;
}
.service .event {
    border-bottom: 10px solid #d1eac6;
    margin-bottom: 30px;
}
.service img {
    max-width: 40%;
    height: auto;
    margin: 10px;
}
.service h2 {
    font-size: 30px;
    margin-bottom: 10px;
    margin-top: 0;
}