* {
  margin: 0;
  padding: 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: 1200px;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  padding-top: 40px;
  margin: auto;
}

.sidebar {
  position: sticky;
  top: 40px;
  background-color: #2a2a2a;
  height: 90vh;
  border-radius: 16px;
}

.main-content {
  background-color: #2a2a2a;
  
  border-radius: 16px;
  padding: 40px;
}

/* profile */

.profile {
  padding: 30px;
  text-align: center;
}

.profile img {
  height: 120px;
  width: 120px;
  border-radius: 50%;
  border: 1px solid #3a3a3a;
}

.profile h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 20px;
  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 */

.contact {
  margin: auto;
  max-width: 290px;
  padding-top: 20px;
  border-top: 2px solid #3a3a3a;
}

.contact h3 {
  font-weight: 500;
  font-size: 0.8rem;
  color: #a0a0a0;
}

.contact a {
  color: #e0e0e0;
  text-decoration: none;
}

.email {
  margin-bottom: 15px;
}

.phone {
  margin-bottom: 15px;
}

.location {
  margin-top: 15px;
  margin-bottom: 20px;
}

/*social */

.social {
  margin: auto;
  max-width: 290px;
  padding-top: 20px;
  border-top: 2px solid #3a3a3a;
  text-align: center;
}

.social img {
  height: 24px;
  width: 24px;
  margin-left: 8px;
  filter: grayscale(1) invert(0.7);
}

.social img:hover {
  filter: grayscale(0) invert(0);
  cursor: pointer;
}

/* 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: 0.3s ease;
}

.active,
nav a:hover {
  color: #ffbf00;
}

/* about me */

#about {
  margin-bottom: 40px;
}

.heading {
  font-size: 2rem;
  font-weight: 700;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.line {
  width: 60px;
  height: 4px;
  background-color: #ffbf00;
  margin-bottom: 15px;
  margin-top: 20px;
}

.content {
  text-align: justify;
}

/* skills */

.grid-container {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 40px;
}

.item{
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #3a3a3a;
  background-color: #1e1e1e;
  text-align: center;
  margin-top: 20px;
  transition: transform 0.3s ease , boxshadow 0.3s ease;
}

.item img{
  height: 48px;
  width: 48px;
  filter: invert(75%) sepia(50%) saturate(1000%) hue-rotate(350deg) brightness(110);
}

.item h3{
  font-size: 1rem;
  font-weight: 600;
}

.item:hover{
  transform: scale(1.1);
  box-shadow: 0px 0px 10px #ffbf00;
}

/* education */

#education {
  margin-top: 40px;
}

.edtech{
  margin-top: 30px;
  position: relative;
  padding-left: 20px ;
}

.edfirst , .edsecond{
  position: relative;
}

.year{
  font-size: 0.9rem;
  font-weight: 500;
  color: #a0a0a0;
  margin-bottom: 8px;
}

.degree{
  color: #e0e0e0;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.college{
  font-style: italic;
  font-size: 1rem;
  font-weight: 500;
  color: #a0a0a0;
  margin-bottom: 8px;
}

.work{
  font-size: 0.9rem;
  color: #a0a0a0;
}

.edfirst, .edsecond{
  margin-bottom: 30px;
}

.goal{
  height: 15px;
  width: 15px;
  border-radius: 50%;
  border: 3px solid #ffbf00;
  position: absolute;
  left: -40px;
  top: 5px;
  z-index: 5;
}

.liner{
  position: absolute;
  width: 2px;
  top: 5px;
  bottom: 0px;
  left: -14px;
  border: 2px solid #3a3a3a;
}

/* portfolio */

.project-container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 30px;
}

.project{
  background-color: #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  padding: 20px;
  transition: transform 0.5s ease , boxshadow 0.5s ease;
}

.project:hover{
  transform: scale(1.02);
  box-shadow: 0px 0px 10px #ffbf00;
  /* transform: scale(1.1); */
}
.project img{
  height: 180px;
  width: 100%;
  object-fit:fill;
}

.project h3{
  font-size: 1.2rem;
  font-weight: 700;
  color: #e0e0e0;
  margin-top: 15px;
  margin-bottom: 10px;
}

.project p{
  font-size: 0.9rem;
  color: #a0a0a0;
  margin-bottom: 15px;
}

.project span{
  background-color: rgba(255, 199, 0, 0.1);
  color: #ffbf00;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-right: 8px;
  

}



