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

html{
  font-size: 10px;
}


body{
    font-family: 'VT323', monospace;
    background-color: #000000;
    color: #a0a0a0;
    line-height: 1.3;

}
/* .maincontainer{
    display: grid;
    max-width: 1200px;
    grid-template-rows: 250px 1fr;
    padding: 20px;
} */

.main-container{
  display: grid;
  grid-template-columns: 1fr;          
  grid-template-rows: auto auto auto auto auto;
  gap: 20px;
  max-width: 900px;
  margin: auto;
  padding: 30px;
  background-color: #121212;
}


/* .profile{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.profile img{
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #a0a0a0;
    justify-self: left;
} */

.profile{
  display: grid;
  grid-template-columns: 2fr 1fr;  /* text bigger than image */
  gap: 20px;
  padding: 20px 40px;
}
.profile img{
    height: 180px;
    width: 180px;
    border-radius: 20%;
    border: 1px solid #3a3a3a;
    float: right;
    
}

.icon{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}




.profile h3{
    font-size: 3rem;
    margin-bottom: 2px;
    color: #fbf8f3;
}

.profile .location{
    font-size: 2.2rem;
    color: #bcbbbb;
    margin-bottom: 10px;
}

.profile p{
    font-size: 1.6rem;
    color: #c0c0c0;
    opacity: 45%;
}
#about{
    padding: 20px 40px;

}

.heading{
    font-size: 2.5rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #3a3a3a;
    padding-bottom: 5px;
    margin-bottom: 20px;
    color: #e0e0e0;
    filter: brightness(0) saturate(100%) invert(97%) sepia(1%) saturate(734%) hue-rotate(11deg) brightness(102%) contrast(97%);
}

.content{
    text-align: justify;
    font-size: 0.9rem;
}

/* skills section */
#skills{
    padding: 20px 40px;
}
.grid-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    /* height: 30px;
    width: 30px; */
}
.item{
    text-align: center;
    padding: 10px;
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    background-color: #1e1e1e;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item img{
    height: 48px;
    width: 48px;
    margin-bottom: 10px;
    filter: invert(70%) sepia(20%) saturate(500%) hue-rotate(180deg) brightness(90%) contrast(85%);
    margin-bottom: 15px;
    transition: transform 0.3s;
    margin-top: 10px;
}

.item h3{
    font-size: 1rem;
    font-weight: 600;
    color: #e0e0e0;
}
.item:hover{
    transform: scale(1.1);
    box-shadow: 0px 0px 10px 5px #fbf8f3;
    
}

#education{
    margin-bottom: 40px;
    padding: 20px 40px;
}
#education .heading{
    margin-bottom: 15px;
    margin-top: 40px;
}
#education .line{
    width: 60px;
    margin-bottom: 20px;
}

.edtech{
    padding-left: 20px;
    
}

.edfirst{
    position: relative;
}

.degree{
    color: #e0e0e0;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 5px;
}
.year{
    font-size: 1.9rem;
    color: #a0a0a0;
    margin-bottom: 5px;
    position: absolute;
    right: 0;
    
}

.college{
    
    color: #c0c0c0;
    margin-bottom: 10px;
    font-size: 2rem;
}

#contact{
    padding: 20px 40px;
    margin-bottom: 40px;
}


#box{
    border: #a0a0a0 2px solid;
    padding: 30px;
    border-radius: 12px;
}

/* .social{
    margin-top: 30px;
    
    padding-top: 30px;
    display: flex;
    justify-content: center;
    padding: 30px;
    
} */



.social img{
    height: 50px;
    width: 50px;
    margin-right: 15px;
    filter: invert(70%) sepia(20%) saturate(500%) hue-rotate(180deg) brightness(90%) contrast(85%);
    transition: filter 0.3s ease;
}

.social img:hover{
    filter:invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(150%);
}

/* .social{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
} */
 .social{
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}


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

.content{
    font-size: 1.6rem;
    text-align: center;
}


.option a{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    flex-direction: row-reverse;   /* ⬅ icon first, text after */
    text-decoration: none;
    color: #a0a0a0;
}
