/* General Styling (for <aside> (Mobile Layout)) */

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

nav a:hover {
    color: lightblue !important; 
}

main {
    display: flex;
    max-width: 1200px;
    margin: 1rem auto;
    min-height: 80vh;
    align-items: stretch; 
}

aside {
    border: 1px solid black;
    width: 30%;
    padding: 1rem;
    padding-left: 5px;
    margin-right: 50px;
    max-height: 100%;
    flex-grow: 1;
    display: block;
}

/* aside .theme {
    display: block;
    margin-left: 510px;
    margin-top: -200px;
    text-align: center;
} */

section {
    margin-bottom: 1.5rem;
}

section h2,
section h3 {
    font-family: 'Caveat', sans-serif;
    font-weight: bold;
    font-size: 26px;
    margin-bottom: 0.5rem;
}

.first-footer {
    font-family: 'Caveat', sans-serif;
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: #555;
}

ul {
    list-style: disc;
    margin-left: 1.5rem;
}

p {
    margin-bottom: 0.75rem;
}

.profile-header {
    text-align: center;
    padding: 1.5rem;
    /* background-color: #fff; */
}

.profile-header img {
    width: 40px;
    height: 40px;
    background-color: black;
    display: block;
    margin: 0 auto 0.5rem;
}

.profile-header h1 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.profile-header nav ul {
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-left: 0;
}

.profile-header nav ul li {
    display: inline;
}

.profile-header h2 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 1rem;
}

.profile-header p {
    font-size: 0.9rem;
    color: gray;
    margin-top: 0.2rem;
}

.projects-section {
    text-align: center;
    margin-top: -1.5rem;
    /* margin-top: 8rem; */
    border-top: 2px solid black;
    padding-top: 0.5rem;
}

.projects-section h2 {
    font-size: 1.7rem;
    font-weight: bold;
    padding: 0.5rem;
    display: inline-block;
}

.projects-section ul {
    list-style: none;
    padding: 0;
    margin-left: -5px;
    justify-content: space-between;
    list-style: none;
}

.projects-section ul li {
    padding: 0.8rem;
    /* background-color: #f8f8f8; */
    border: 2px solid black;
    text-align: center;
    width: 105%;
    font-weight: bold;
    flex-grow: 1;
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-sizing: border-box;
}

.projects-section ul li:last-child {
    border-bottom: 2px solid black;
}

.work-experience {
    text-align: center;
    padding: auto;
}

.work-experience h2 {
    font-size: 1.7rem;
    font-weight: bold;
    padding: 0.25rem;
    display: inline-block;
    margin-top: -25px;
    margin-bottom: 13px;
}

.work-experience .job {
    /* background-color: #f8f8f8; */
    padding: 1rem;
    margin: 0.01rem -1%;
    border: 2px solid black;
    text-align: left;
    width: 106%;
    flex-grow: 1;
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-sizing: border-box;
}

.work-experience .job:last-child {
    border-bottom: 2px solid black;
}


.work-experience .job h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.work-experience .job p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.work-experience .job a {
    color: blue;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
}

.work-experience .job a:hover {
    text-decoration: underline;
}

.education {
    margin-top: 1rem;
    padding: 1rem;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.education h2 {
    text-align: center;
    font-size: 1.7rem;
    font-weight: bold;
    margin-top: -1.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.education p {
    font-size: 1rem;
    text-align: justify; 
    margin-left: 0; 
    margin-right: 0; 
}

.education ul {
    text-align: left;
    list-style: none;
}

.education ul li {
    text-align: left;
    margin-bottom: 4px;
    margin-left: -25px;
}

.reviews {
    text-align: center;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-top: 2px solid black;
    margin-top: 2rem;
    padding-top: 1rem;
}

.reviews h2 {
    font-size: 1.7rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.review-box {
    border: 2px solid black;
    border-radius: 30px;
    padding: 1rem;
    width: 80%;
    margin: 0 auto 1rem auto;
    text-align: left;
}

.review-text {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.reviewer {
    font-size: 0.9rem;
    font-weight: bold;
    color: gray;
}

.reviewer-role {
    font-size: 0.8rem;
    color: lightgray;
}
