@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
*{
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
}

/* Base light theme */
body{
    background-color: #f7f8fb;
    color: #222222;
    line-height: 1.6;
}

img{ max-width: 100%; display: block; }

/* Header */
header{
    width: 100%;
    height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    margin-bottom: 24px;
    background-color: #e2e2e2;
    border-bottom: 1px solid #eceff5;
}
.profile-pic img{
    width: 64px;
    height: 64px;
    
    border-radius: 50%;
}
.logo img{
    width: 150px;
}
header h1{
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}


main{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    min-height: calc(100vh - 160px);
    padding: 0 16px 32px;
    gap: 16px;
}


.title{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.title h2{
    font-size: 1.2rem;
    font-weight: 700;
}


.abt-section,
.skl-section,
.hobb-section,
.ach-section{
    background-color: #ffffff;
    border: 1px solid #eceff5;
    border-radius: 12px;
    padding: 16px;
}


.abt-section{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.abt-title{
    display: flex;
    gap: 8px;
    align-items: center;
}
.abt-title img{
    width: 28px;
    height: 28px;
}
.abt-info p{
    color: #444;
}

/* Skills */
.skl-section{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.skl-info{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
}
.skl-cont{
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #e7ebf2;
    border-radius: 10px;
    padding: 8px 12px;
}
.skl-cont img{
    width: 28px;
    height: 28px;
}
.skl-cont p{
    font-weight: 600;
}

/* Hobbies */
.hobb-section{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hobb-container{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hobb{
    background-color: #ffffff;
    border: 1px solid #e7ebf2;
    border-radius: 10px;
    padding: 10px 12px;
}

/* Achievements */
.ach-section{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ach-container{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.ach-list{
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.ach-item{
    background-color: #ffffff;
    border: 1px solid #e7ebf2;
    border-radius: 10px;
    padding: 12px;
    color: #555;
    line-height: 1.5;
}

/* Footer */
footer{
    background-color: transparent;
    padding: 24px 16px 32px;
    background-color: #a1a1a1;
}
.links{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.link-container{
    display: flex;
    align-items: center;
    gap: 8px;
}
.link-container img{
    width: 24px;
    height: 24px;
}
.link-container a{
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
}


.table_component {
    overflow: auto;
    width: 100%;
}

.table_component table {
    border: 1px solid #838391;
    height: 100%;
    width: 80%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
    
}

.table_component caption {
    caption-side: top;
    text-align: left;
}

.table_component th {
    border: 1px solid #838391;
    background-color: #c0cbd3;
    color: #000000;
    padding: 5px;
}

.table_component td {
    border: 1px solid #838391;
    background-color: #ffffff;
    color: #000000;
    padding: 5px;
}
.abt-table{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (max-width: 768px){
    header{ height: 76px; }
    header h1{ font-size: 1.4rem; }
    .profile-pic img{ width: 56px; height: 56px; }
    .table_component  {
        font-size: 1rem;
        
    }

    
}
