body{
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    display: grid;
    grid-template-rows: auto;
}

body::-webkit-scrollbar {
    display: none; 
  }

header{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    background-color: black;
    margin-top: 3%;
    padding: 14px;
    border: 2px solid rgb(0, 0, 0);
    border-radius: 8px;
    font-family: 'manrope';
    font-weight: 700;
    width: 500px;
    justify-self: center;
    align-items: center;
    color: black;

}

.container{
    margin-top: 50px;
    height: 650px;
    margin-left: 10%;
    margin-right: 10%;
    display: grid;
    grid-template-rows: auto;
    margin-bottom: 500px;
}

.home{
    background-color: rgb(255, 255, 255);
    padding: 8px;
    color: rgb(0, 0, 0);
    border-radius: 4px;
}
.projects,.contact{
    text-decoration: none;
    color: rgb(255, 255, 255);
}


/*Top*/
.top{

    height: 250px;
    display: grid;
    grid-template-columns: 3fr 2fr;
}
.container1{
    opacity: 0;
    animation: fadeInc1 ease-in-out 0.7s forwards;
    overflow: hidden;
}
.container2{
    opacity: 0;
    animation: fadeInc2 ease-in-out 1s forwards;
    
}
.container1{
    background-color: rgb(15, 15, 15);
    margin: 16px;
    border-radius: 6px;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
    height: 218px;
    color: rgb(255, 255, 255);
    transition: hover 0.2s ease-in-out;
}

.container1:hover,.container2:hover,.container5:hover,.container4:hover,.bottom-left:hover,.container5:hover, .certifications:hover , .play-game:hover{
    box-shadow: 0px 2px 20px rgb(50, 50, 50);
    background-color: rgb(50, 50, 50);
}


.container2{
    background-color: black;
    margin: 16px;
    border-radius: 6px;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
    height: 218px;
    color: rgb(255, 255, 255);
}



.image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease-in-out; 
}

strong{
    color: rgb(255, 255, 255);
    font-family: 'manrope';
}

/*titles and content*/
.about,.education-title,.hobbies-title{
    font-family: 'manrope';
    font-weight: 700;
    font-size: 42px;
    margin: 16px;
    margin-left: 22px;
}

.about-content,.education-content,.hobbies-content{
    font-family: 'work sans';
    font-weight: 500;
    font-size: 16px;
    margin: 16px;
    margin-left: 22px;

}



/*Bottom*/
.bottom{

    height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.bottom-left{
    background-color: rgb(15, 15, 15);
    margin: 16px;
    border-radius: 6px;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
    animation: fadeInc3 ease-in-out 1.5s forwards;
    color: rgb(255, 255, 255);
}

/*skills*/
.work-info{
    font-family: 'manrope';
    font-weight: 700;
    font-size: 42px;
    margin: 16px;
    margin-left: 22px;
}

.work-content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 6px;
    row-gap: 6px;
    column-gap: 46px;
    overflow-y: auto;
    max-height: 320px;
    scrollbar-width: none;
    margin-left: 30px;
    margin-right: 30px;
}


.work-content::-webkit-scrollbar {
    display: none; 
  }

.work-tech{
   height: 90px;
   border-radius: 6px;
   display: flex;
   align-items: center;
   justify-content: center;
}


.icons{
    width: 100%;
    height: 100%;
    max-width: 70px;
    max-height: 70px;
}

/*ed and hobby*/

.bottom-right{
    margin: 16px;
    display: grid;
    grid-template-rows: 2fr 2.8fr;
}

.container4{
    opacity: 0;
    background-color: rgb(15, 15, 15);
    margin-bottom: 10px;
    border-radius: 6px;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
    animation: fadeInc2 ease-in-out 1.4s forwards;
    color: rgb(255, 255, 255);
}

.container5{
    opacity: 0;
    background-color: rgb(15, 15, 15);
    margin-top: 10px;
    border-radius: 6px;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
    animation: fadeInc2 ease-in-out 1.7s forwards;
    color: rgb(255, 255, 255);
}

/*animation*/

@keyframes fadeInc1 {
    from{
        transform: translateX(-500px);
        filter: blur(20px);
    }
    to{
        transform: translateX(0px);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes fadeInc2 {
    from{
        transform: translateX(500px);
        filter: blur(20px);
    }
    to{
        transform: translateX(0px);
        filter: blur(0);
        opacity: 1;
    }
}
@keyframes fadeInc3 {
    from{
        transform: translateY(500px);
        filter: blur(20px);
    }
    to{
        transform: translateY(0px);
        filter: blur(0);
        opacity: 1;
    }
}

/* Responsive tweaks for smaller screens */
@media screen and (max-width: 768px) {

    body {
      grid-template-rows: auto;
    }
  
    header {
      width: 90%;
      font-size: 16px;
      padding: 10px;
      gap: 10px;
    }
  
    .container {
      margin: 20px 5%;
      height: auto;
      margin-bottom: 100px;
    }
  
    .top {
      grid-template-columns: 1fr;
      height: auto;
    }
  
    .container1,
    .container2 {
      height: auto;
      margin: 12px;
    }
  
    .about,
    .education-title,
    .hobbies-title,
    .work-info {
      font-size: 28px;
      margin-left: 12px;
    }
  
    .about-content,
    .education-content,
    .hobbies-content {
      font-size: 14px;
      margin-left: 12px;
    }
  
    .bottom {
      grid-template-columns: 1fr;
      height: auto;
    }
  
    .bottom-left {
      margin: 12px;
    }
  
    .bottom-right {
      margin: 12px;
      grid-template-rows: auto auto;
    }
  
    .work-content {
      grid-template-columns: 1fr 1fr;
      column-gap: 16px;
      margin: 12px;
    }
  
    .work-tech {
      height: 70px;
    }
  
    .icons {
      max-width: 50px;
      max-height: 50px;
    }

  }
  canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/* hobbies Table correction */
   .interest-box {
      background: #1e1e1e;
      border-radius: 12px;
      padding: 20px;
      text-align: center;
      cursor: default;
      text-decoration: none;
      color: white;
    }
/* 
    .interest-box:hover {
      transform: scale(1.05);
      background: #2c2c2c;
    } */

    .hobbies-content{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      align-items: center;
      justify-content: center;
}

/*Certifications Section */
.certifications , .play-game{
   background-color: rgb(15, 15, 15);
    margin: 16px;
    border-radius: 6px;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
    animation: fadeInc3 ease-in-out 2.0s forwards;
    color: rgb(255, 255, 255);
    padding-bottom: 10px;
    text-decoration: none;
    
}

.play-game{
    display: flex;
    align-items: center; 
    text-decoration: none;
    color: inherit;
    justify-content: center;
}


/* .certification-content
{
  text-align: center;
} */

.certi-name {
    font-size: 16px;         
    text-decoration: none;   
    font-weight: bold;
    display: inline-block;
    padding: 0px 16px; 
    color: #fff;        
    font-family: 'manrope';
    font-weight: 700;
    margin: 0 5%;
}

.cer {
    margin-bottom: 15px;
}

.certi-name:hover {
    color: #b2c1f0;               
    border-radius: 4px;  
    text-decoration: underline;     
}

/* Play Game Section */
.play-game{
    background-color: rgb(15, 15, 15);
    margin: 16px;
    border-radius: 6px;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
    animation: fadeInc3 ease-in-out 2.2s forwards;
    color: rgb(255, 255, 255);
    text-decoration: none;

}

.education-title{
    justify-content: center;
    align-items: center;
}
.game-info{
    font-size: 16px;
    font-family: 'manrope';
    font-weight: 700;
    margin: 16px;
    margin-left: 22px;
    text-align: center;
    color: rgb(255, 255, 255);
}
