body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 21px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #1b1b2f;
    /* position: fixed; */

}

.logo {
    color: antiquewhite;
    font-size: 36px;
    text-decoration: none;
}


.nav-links {
    list-style-type: None;
    display: flex;
    gap: 1rem;
}

.nav-links a{
    color: #fff;
    text-decoration: none;
}


.intro {
    display: flex;
    justify-content: space-between;
    background-color: antiquewhite;
    padding: 100px;
}

.introtext{
    display: flex;
    align-items: center;
    text-align: center;
    padding: 20px;
    padding-left: 20%;
}

.intropic {
    /* height: 200px; */
    /* width: 200px; */
    /* overflow: hidden; */
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding-right: 20%;
}

.intropic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about{
    display: flex;
    justify-content: center;
    padding: 100px;
    /* align-items: center;
    max-width: 300px;
    flex-direction: column;
    /* background-color: antiquewhite; */
    /* text-align: center; */
}
.innerabout{
    align-items: center;
    font-family: 'Trebuchet MS';
    max-width: 600px;
    flex-direction: column;
    /* background-color: antiquewhite; */
    text-align: center;
}

.quote{
    padding: 100px;
    text-align: center;
    background-color: antiquewhite;
}

.quotetext{
    display: none;
}

.contact {
    text-align: center;
    padding: 40px;
}

h2 {
    font-size: 40px;
}


.general-links {
    padding: 100px;
    background-color: #1b1b2f;
    color: #fff;
    text-align: left;
  }
  
.general-links h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.link-category {
    flex: 1;
    min-width: 200px;
    padding-right: 2%;
}

.link-category h3 {
    font-size: 1.2rem;
    color: #bbb;
    margin-bottom: 1rem;
}

.link-card {
    display: block;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    border-left: 3px solid #0f0;
    /* border-bottom: 2px solid #0f0;; */
    transition: transform 0.2s, border-color 0.2s;
    }

.link-card:hover {
    transform: translateY(-2px);
    border-color: #7f5af0;
    }  


.social-media {
        padding: 50px;
    }


.icon {
    text-align: center;
    padding: 20px;
    width: 60px;
    height: 60px;
} 

.footer {
    margin-top: 50px;
    padding: 20px;
    /* background-color: #333; */
    /* color: #fff; */
    background-color: antiquewhite;
    width: 100%;
    /* text-align: end; */
}


.academic-results {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    justify-content: space-between;
    padding: 100px;
    background-color: #1b1b2f;
    color: #ffffff;
    flex-wrap: wrap;
}

.restable{
    min-width: 50%;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.academic-results table {
    width: 100%;
    min-width: 600px;
    max-width: 600px;
    border-collapse: collapse;
    background-color: #2c2c3e;
    color: #ffffff;
    font-family: Arial, sans-serif;
}


.academic-results th, .academic-results td {
    padding: 1rem;
    border: 1px solid #44475a;
    text-align: center;
}

.academic-results th {
    background-color: #3a3a4d;
    font-weight: bold;
    color: #f8f8f2;
}

.academic-results tr:nth-child(even) {
    background-color: #333344;
}

.academic-results tr:nth-child(odd) {
    background-color: #2c2c3e;
}




.my-projects {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding: 100px;
    background-color: antiquewhite;
    color: #1b1b2f;
}

.my-projects h2 {
    color: #1b1b2f;
    margin: 0;
    padding-right: 1rem;
    min-width: 200px;
    text-align: left;
    flex-shrink: 0;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 600px;
}

.project-item {
    display: block;
    padding: 0.8rem 1rem;
    background-color: #222;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    border-left: 3px solid #0f0;
    transition: transform 0.2s, border-color 0.2s;
}

.project-item:hover {
    transform: translateY(-2px);
    border-color: #7f5af0;
}


.top-skills {
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.top-skills h2 {
    /* font-size: 24px; */
    margin-bottom: 20px;
}

.top-skills ul {
    list-style-type: none;
    padding: 0;
}

.top-skills li {
    display: inline-block;
    margin: 15px;
    text-align: center;
}

.top-skills img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.top-skills li:hover {
    opacity: 0.8;
}





@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    .intro{
        flex-direction: column;
    }
    .intropic {
        display: none;
    }
    .general-links {
        display: flex;
        flex-direction: column;
    }
    .links-container {
        display: flex;
        flex-direction: column;
    }
    .academic-results {
        flex-direction: column;
        /* border-collapse: collapse; */
        padding: none;
    }
    .academic-results table {
        min-width: 0;
    }
    .restable {
        display: block;
        min-width: 0;
    }
    .quote img{
        display: none;
    }
    .quotetext{
        display: block;
    }
    .my-projects {
        flex-direction: column;
    }
}


@media screen and (max-width: 600px) {
    .nav-links {
        flex-direction: column;
    }
    .academic-results {
        /* height: 90vh;
        width: 90vw; */
        size: 90%;
        border-collapse: collapse;
    }

}