body {
    font-family: raleway;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #0b0c10;
    color: #c5c6c7;
  overflow-x: hidden;
  }

  header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35rem;
    background-color: #1f2833;
    z-index: 1000;
    margin: 20px auto;
    border-radius: 40px;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 5px  #66fcf1;
    
  }

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  nav ul li {
    margin: 0 1rem;
  }

nav ul li a {
        text-decoration: none;
        color: #c5c6c7;
        font-weight: 600;
    
    }
    nav ul li a:hover {
        color: #66fcf1;

    }
.nav_item
{
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
.nav_item:hover
{
   
    transform: translate(0, -5px);
    transform-origin: center;
}
hr{
    border: 2px solid #45a29e;
    width: 50%;

}
/* ---------------------------------------------- Home -------- */

#home
{
    display: flex;
    justify-content:center;
    height: auto;
    color:#c5c6c7 ;
    padding: 1rem 0;
    margin: 5rem;
    padding-bottom: 7rem;
 gap:15rem;
}
#profile_pic{
    border-radius: 100%;
    border: 4px solid #333333;
    padding: 5px;
    transition: border 0.3s ease;
    margin: 1rem 0;
}
#profile_pic:hover{
    border: 4px solid #66fcf1;
    box-shadow: 0 0 10px 1px #66fcf1;
    padding: 5px;
    transition: border 0.3s ease;
}

#txt
{
    height: auto;
    width: 30%;
    margin: 1rem 0;
    gap: 1rem;
    box-shadow:  2px 2px 10px 0px #66fcf1;
    border-radius: 5%;
    padding: 10px;
}

.text-1
{
    font-size: large;
    color:#66fcf1;
}
#typed
{
   color: #66fcf1 ;
   font-weight: bold;
    font-size: 2rem; 
    text-shadow: 2px 0px 4px #000000; 
}

.btn
{
    margin:5rem 10px;
    background: none;
    font-size:medium;
    font-weight: bold;
    padding: 0.5rem 1rem;
    color: #c5c6c7;
    border: 2px solid #45a29e;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
    transition: background-color 0.3s ease;
}
.btn:hover
{
    color:#0b0c10;
    border: 2px solid #66fcf1;
    background-color:#66fcf1;
    transition: color 0.3s ease;
    transition: background-color 0.5s ease;
}
a
{
    text-decoration: none;
}
/* ---------------------------------------------- About -------- */
#about
{
    padding: 4rem 2rem 1rem 2rem;
    justify-content: center;
    height: auto;
    color:#c5c6c7 ;
    margin: 5rem 5rem 5rem 5rem;
    gap:15rem;
    transition: border 0.3s ease;
    box-shadow: 3px 3px 2px 0px #66fcf1;
    border-radius: 20px;
    text-align: left;
}

#about:hover
{
    
    box-shadow:  5px 5px 6px 0px #66fcf1;
    transition: border 0.3s ease;
}

#about h2
{
    text-align: center;
    font-size:800;
    width: 100%;
    margin: 3rem 0 1rem 0;
    gap: 1rem;
    color:#66fcf1;

}

main {
  padding-top: 80px; 
}
main h1 {
    margin-top: 4rem;
  font-size: 2rem;
  margin-bottom: 1rem;

}

/* ---------------------------------------------- Services ------------------------------------ */

#services
{ 
   margin:2rem;
    padding: 2rem 2rem 1rem 2rem;
    justify-content: center;
    height: auto;
    color:#66fcf1;
    margin: 5rem 5rem 5rem 5rem;
    gap:15rem;
    transition: border 0.3s ease;
    box-shadow: 3px 3px 2px 0px #66fcf1;
    border-radius: 20px;
    text-align: center;
}
#services img
{
    border-radius: 5%;
    border: 4px solid #333333;
    padding: 5px;
    transition: border 0.3s ease;
    margin: 1rem 0;
}

#services-div
{
    color: #c5c6c7;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}
.service-box
{
    text-align: center;
    padding: 1rem 1rem 2rem 1rem;
    margin: 1rem;
    border: 2px solid #45a29e;
    border-radius: 10px;
    transition: border 0.3s ease;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.service-box:hover
{
    transform: scale(1.02);
    border: 2px solid #66fcf1;
    transition: border 0.3s ease;
    transition: transform 0.3s ease;
}

/*-------------------------- PROJECTS -------------------------*/
#projects
{
    height: auto;
    margin:2rem;
    padding: 3rem 2rem 4rem 2rem;
    justify-content: center;
    height: auto;
    color:#66fcf1;
    margin: 5rem 5rem 5rem 5rem;
    gap:15rem;
    transition: border 0.3s ease;
    border-radius: 20px;
    text-align: center;
}
#project-list
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    margin: 2rem;
}

.project-box
{
    color: #c5c6c7;
    height: 15rem;
    width: 15rem;
    padding: 5rem;
    border-radius: 2%;
    transition: transform 0.3s ease;
    box-shadow: inset 0 0 10px #45a29e;
    border: 2px solid #45a29e;
}

.project-box:hover
{
    border: 2px solid #66fcf1;
    box-shadow: inset 0 0 10px #66fcf1;
    transition: border 0.3s ease;
    transform: translate(0, -10px);
    transition: box-shadow 0.3s ease;
    transition: transform 0.3s ease;
}
.project-box h2
{
    color: #66fcf1;
    font-size: 2rem;
    margin: 1rem;
}

#btn-1
{
   background-color: #66fcf1;
   color: #0b0c10;
    border: 2px solid #66fcf1;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
    transition: background-color 0.3s ease;
    font-size: large;
}
#btn-1:hover
{
    transform: translate(0, -5px);
    color:#66fcf1;
    border: 2px solid #66fcf1;
    background-color:#0b0c10;
    transition: color 0.3s ease;
    transition: background-color 0.5s ease;
}


/*---------------------------------- CONTACT ---------------------------------*/
#contact
{
    height: auto;
    margin:2rem;
    padding: 1rem 2rem 4rem 2rem;
    justify-content: center;
    height: auto;
    color:#66fcf1;
    margin: 5rem 5rem 5rem 5rem;
    gap:15rem;
    transition: border 0.3s ease;

    border-radius: 20px;
    text-align: center;
}
#contact-div
{
   
    gap: 5rem;
    margin: 2rem;
    color: #c5c6c7;
}

.fa
{
    color: #45a29e;
    font-size: 2rem;
    margin: 1rem;
    transition: transform 0.3s ease;
}
.fa:hover
{
    color: #66fcf1;
    transform: translate(0, -5px);
    transition: transform 0.3s ease;
}
#contact-div h3
{
    color: #66fcf1;
    font-size: 1.5rem;
    margin: 1rem;
}
#contact p
{
    text-align: center;
    width: 50%;
    margin: 1rem auto;
}


/*---------------------------------- FOOTER ---------------------------------*/

footer
{
    background-color: #1f2833;
    color: #c5c6c7;
    text-align: center;
    padding:5px;
   margin-top: 2rem;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px  #66fcf1;
}
footer a
{
    color: #66fcf1;
    text-decoration: none;
    display: flex;
    justify-content: end;
    align-items: center;
}



/* ---------------------------------------------- Media Queries ------------------------------------ */


@media screen and (max-width: 1200px) 
{
    header {
      visibility: hidden;
    }
   
    #home {
      flex-direction: column;
      gap: 2rem;
      margin: 3rem 1rem;
    }
    #txt {
      width: 80%;
    }
    #project-list, #services-div {
      flex-direction: column;
      gap: 2rem;
    }
    .service-box {
      max-width: 80%;
    }
    #txt {
      width: 50%;
    }
  }
  
  @media screen and (max-width: 768px) 
  {
    header {
      width: 100%;
      padding: 0.5rem 0;
    }
    #home {
      margin: 2rem 1rem;
      padding-bottom: 3rem;
    }
    #txt {
      width: 100%;
    }
    .project-box, .service-box {
      width: 100%;
      height: auto;
    }
    #contact p {
      width: 80%;
    }
    .service-box {
      max-width: 100%;
    }
  }
  
  @media screen and (max-width: 480px) {
    header 
    {
      width: 100%;
      padding: 0.5rem;
    }
    #home {
      margin: 1rem;
      padding-bottom: 2rem;
    }
    #txt {
      width: 100%;
      padding: 5px 0 20px 0;
      box-shadow: none;
    }
    #about, #services, #projects, #contact {
      box-shadow: none;
      padding: 0rem;
      margin: 20px;
    }
    .project-box, .service-box {
      width: 90%;
      height: auto;
      padding: 2rem;
    }
    .service-box img {
      width: 90%;
    }
    #contact p {
      width: 100%;
    }
    .btn {
      width: 100%;
    }
    .service-box {
      padding: 1rem;
    }
    main {
        padding-top: 0px;
    }
  }

