*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    background-color: #1e1e1e;
    font-family: sans-serif;
    color: #a0a0a0;
    line-height: 1.6;
}

.main-container{
    display: grid;
    max-width: 1400px;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    padding-top: 40px;
    margin: auto;
}

.side-bar{
    height: 90vh;
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 16px;
    padding: 30px;
}

.main-content{
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 16px;
}
.profile{
    text-align: center;
}
.profile-photo {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: auto;
}
.profile-photo img{
    width: 125%;
    height: 155%;
    transform: translateY(-25px) translateX(-2px);
    border: 1px solid #3a3a3a;
}
.profile h2{
    margin-top: 1.5rem;
    font-weight: 700;
    margin-top: 10px;
    color: #e0e0e0;
}
.profile p{
    background-color: #1e1e1e;
    padding: 5px 15px;
    color: #FFBF00;
    border: 1px solid #3a3a3a;
    font-size: 0.8rem;
    border-radius: 8px;
    display: inline-block;
    margin-top: 10px;
}

/* Contact Information */
.contact{
    margin-top: 30px;
    border-top: 2px solid #525151;
    padding: 10px;
}

.label{
    font-weight: 500;
    font-size: 0.8em;
    color: #a0a0a0;
}

.value{
    color: #e0e0e0;
    text-decoration: none;
}

.email{
    margin-bottom: 5px;
}

/* Social Media */

.social{
    margin-top: 30px;
    border-top: 2px solid #525151;
    padding: 10px;
    text-align: center;
}

.social img{
    height: 24px;
    width: 24px;
    margin-left: 10px;
    filter: grayscale(1) invert(0.7);
    transition: filter 0.3s ease;
}

.social img:hover{
    filter: grayscale(0) invert(0);
}

/* Main Content */

/* Navigation */

#navigation{
    border-bottom: 2px solid #3a3a3a;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

nav{
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

nav a{
    text-decoration: none;
    color: #a0a0a0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.active, nav a:hover{
    color: #FFBF00;
}

.heading{
    color: #e0e0e0;
    font-size: 2rem;
    margin-bottom: 20px;
}
.line{
    width: 160px;
    height: 5px;
    background-color: #FFBF00;
    margin-bottom: 20px;
}

.content{
    text-align: justify;
}

#about{
    margin-bottom: 30px;
}

/*Skills section*/

.grid-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.item{
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #3a3a3a;
    background-color: #1e1e1e;
    text-align: center;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item img{
    width: 80px;
    height: 80px;
    filter: invert(75%) sepia(50%) saturate(1000%) hue-rotate(350deg)
    brightness(110%) contrast(101%);
    margin-bottom: 15px;
}
.item h3{
    font-width: 500;
    font-size: 1rem;
}

.item:hover{
    transform: scale(1.2);
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.3);
}
