*{
  text-decoration: none;
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  font-family: Helvetica;
}



/* Animation Section */

.autoShow{
  animation: text-appear both;
  animation-timeline: view();
  animation-range: entry 20% cover 100vh;
}

@keyframes text-appear {
  from{
    opacity: 0;
    transform: translateY(100px);
  }

  to{
    opacity: 1;
    transform: translateY(0);
  }
}


.imageReveal{
  animation: imageReveal both;
  animation-timeline: view(10% 5%);
}

@keyframes imageReveal {
  from{
    filter: saturate(0) contrast(4), brightness(.1), blur(5px);
    opacity: 0;
    scale: .95;
    translate: 0 4rem;
  }

  to{
    filter: none;
    opacity: 1;
    scale: none;
    translate: 0 0;
  }
}

.fadeUp{
  animation: fadeUp forwards;
  animation-timeline: view();
}

@keyframes fadeUp {
  from{
    opacity: 0;
    transform: translateY(10px) scale(0.5);
  }

  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


.slideInLeft{
  animation: slideInLeft 0.5s ease-in;
  animation-timeline: view();
  animation-range: entry 5% cover 80vh;
}

@keyframes slideInLeft {
  from{
    transform: translateX(-300px);
  }

  to{
    transform: translateX(0);
  }
}

.slideInRight{
  animation: slideInRight 0.5s ease-in;
  animation-timeline: view();
  animation-range: entry 5% cover 80vh;
}

@keyframes slideInRight {
  from{
    transform: translateX(300px);
  }

  to{
    transform: translateX(0);
  }
}

.slideInUp{
  animation: slideInUp 0.5s ease-in;
  animation-timeline: view();
  animation-range: entry 5% cover 80vh;
}

@keyframes slideInUp {
  from{
    transform: translateY(300px);
  }

  to{
    transform: translateX(0);
  }
}

/* Animation End */

html{
  scroll-behavior: smooth;
}

section{
  padding-top: 4rem;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

hr{
  margin: 20px 0 20px 0;
}

img{
  display: block;
  max-width: 100%;
}

.top-nav {
  background-color: rgba(17, 24, 39, 1);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0px 30px 0px 40px;
  height: 85px;
  z-index: 100;
  position: fixed;
  width: 100%;
}

.left-items {
  margin-right: auto;
}

.right-items{
  display: none;
}

#right-bars{
  color: white;
  background-color:  rgba(17, 24, 39, 1);
  border-style: none;
}

#right-bars:hover{
  color: rgb(255, 204, 0); 
}

#right-bars:active{
  color: rgb(255, 204, 0); 
}



.name {
  text-transform: capitalize;
  color: white; 
  margin: 0; 
  padding: 0; 
  font-weight: bold;
  white-space: nowrap;
}

.name span {
  color: rgb(255, 204, 0); 
}


.mobile-nav{
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 5rem;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: rgba(17, 24, 39, 1);
  z-index: 999;
}

.mobile-nav-menu{
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.mobile-nav-link{
  font-size: 1.5rem;
  text-decoration: flex;
  font-weight: bolder;
  color: white;
  letter-spacing: 0.05rem;
  transition: color 0.3s;
}

.mobile-nav-link:hover{
  color: rgb(255, 204, 0);
}



#home{
  background-color: rgba(17, 24, 39, 1);
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;

  img {
    border-radius: 20px;
    border: 2px solid #ddd;
    margin-bottom: 15px;
  }

  .home_name {
    margin-bottom: 10px;
    color: rgb(255, 204, 0);
    font-weight: bold;
  }

  .home_role {
    margin-bottom: 20px;
    color: white;
  }

  .home_description {
    line-height: 1.6;
    color: rgb(107, 113, 126);
    max-width: 80%; 
  }

  .home_contact-btn {
    background-color: rgb(185, 139, 0); 
    color: black; 
    padding: 10px 20px; 
    border: none;
    border-radius: 5px; 
    cursor: pointer; 
    margin-top: 20px; 
    font-weight: bold;
  }

  .home_contact-btn:hover {
    background-color: rgb(223, 180, 7); 
  }


}

#about{
  background-color: rgba(2, 6, 23, 1);
  color: white;
  
  .about-content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .about-title{
    margin-top: 40px;
    color: rgb(223, 180, 7);
    text-align: center;
  }

  .about-description{
    line-height: 1.6;
    color: rgb(186, 189, 195);
    margin-bottom: 0.5rem;

  }

  .about-subtitle{
    margin-top: 0.5rem;
    text-align: center;
    color: rgb(186, 189, 195);
  }

  .about-table{
    line-height: 4rem;
    text-align: center;
    margin: 2.5rem 0 6rem 0;
  }

  .about-list{
    font-weight: bold;
  }

}

#projects{
  background-color: rgba(17, 24, 39, 1);
  text-align: center;

  .project-tiles{
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    padding-bottom: 2rem;
    transition: transform 0.3s ease;
  }
  
  .tile{
    display: none;
    flex-direction: column;
    align-items: center;
    /* gap: 10px; */
    background-color: rgb(33, 41, 59);
    padding: 2rem;
    border-radius: 1.5rem;
    margin-top: 2rem;
    max-width: 450px;
  }


  .slider-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;

  }

  .tile.active{
    display: flex;

  }
  
  .project_title {
    margin-top: 35px;
    color: rgb(255, 204, 0);
  }
  
  .project_description {
    line-height: 1.6;
    color: rgb(107, 113, 126);
    padding-left: 2rem;
    padding-right: 2rem; 
  }

  .project-nav-btn{
    color: black;
    margin: 6px;
    padding: 6px;
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(107, 113, 126);
    border: none;

  }

  .project-nav-btn i{
    font-size: 1.25rem;
  }

  .project-nav-btn:hover{
    background-color: rgba(17, 24, 39, 1);
    transition: 0.5s ease;
    border:  1px solid white;
  }

  .project-nav-btn:hover i{
    color: rgb(107, 113, 126);
    transition: 0.5s ease;
  }

  .project-site-btn {
    background-color: rgb(185, 139, 0); 
    color: black; 
    padding: 10px 20px; 
    border: none;
    border-radius: 5px; 
    cursor: pointer; 
    margin-top: 20px; 
    font-weight: bold;
  }

  .project-site-btn:hover {
    background-color: rgb(223, 180, 7); 
  }

  .project-heading{
    color: white;
  }

  .project-info{
    line-height: 1.6;
    color: rgb(107, 113, 126);
  }
}

#contacts{
  background-color: rgba(2, 6, 23, 1);

  .contact-page{
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 30px;
  }

  .heading {
      color: white; 
      font-weight: bold;
      white-space: nowrap;
    }
    
    .heading span {
      color: rgb(255, 204, 0);
    }
    
    
  .info-title {
    color: white;
    font-weight: lighter; 
  }

  .description{
    line-height: 1.6;
    color: rgb(107, 113, 126);
    text-align: center;
  }

  form{
    display: flex;
    flex-direction: column;
    gap: 10px;

  }

  input{
    background-color: #1F2937;
    color: white;
    overflow: visible;
    border: none;
    padding: 10px;
    text-align: left;
    border-radius: 5px;
    box-sizing: border-box;
  }

  textarea{
    background-color: #1F2937;
    color: white;
    overflow: visible;
    border: none;
    padding: 10px;
    text-align: left;
    border-radius: 5px;
    box-sizing: border-box;
  }

  .contact-btn {
    background-color: rgb(185, 139, 0); 
    color: black;
    padding: 10px 20px; 
    border: none; 
    border-radius: 5px; 
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px; 
    font-weight: bold;
    text-align: center;
    
    
  }

  .contact-btn:hover{
    background-color: rgb(223, 180, 7); 
    font-size: 17px;
  }

}

footer{
  width: 100%;
  text-align: center;
  background-color: rgba(17, 24, 39, 1);
  padding: 0.75rem 0 0.75rem 0;
  
}

.footer-info{
  color: rgb(107, 113, 126);
  margin-top: 0.5rem;
}

.social-links{
  display: flex;
  justify-content: center;
}

.social-links a{
  color: black;
  margin: 6px;
  padding: 6px;
  text-decoration: none;
  border-radius: 50%;
  background-color: rgb(107, 113, 126);
}


.social-links a i{
  font-size: 1em;
}

.social-links a:hover{
  background-color: rgba(17, 24, 39, 1);
  transition: 0.5s ease;
}

.social-links a:hover i{
  color: rgb(107, 113, 126);
  transition: 0.5s ease;
}

@media screen and (max-width: 767px) {
  
.name {
    font-size: 25px; 

  }

  img {
    width: 16rem;
    height: 16rem;
    padding: 12px;
    margin-bottom: 15px;
    margin-top: 30px;
  }

  .home_name {
    font-size: 24px;

  }

  .home_role {
    font-size: 25px;
  }

  .home_description {
    font-size: 16px;
  }

  .home_contact-btn {
    font-size: 14px; 
  }

  .home_contact-btn:hover {
    font-size: 16px;
  }

  .about-title{
    margin-top: 35px;
    font-size: 2rem;
  }

  .about-description{
    font-size: 17px;
    text-align: center;

  }

  .about-subtitle{
    font-size: 1.5rem;
  }


  .about-list{
    font-size: 1rem;
    font-weight: bold;
  }



  .project_title {
    margin-top: 35px;
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .project-heading{
    font-size: 17px;
  }
  
  .project_description {
    font-size: 18px;
  }

  
  .slider-container{
    justify-content: center;
    align-items: center;
    flex-direction: column;

  }

  .onMobileView{
    display: flex;
    flex-direction: row;
    gap: 2rem;
  }

  .removeScreenbtn{
    display: none;
  }
  
  .project-site-btn {
    font-size: 14px; 
  }


  .project-site-btn:hover {
    font-size: 15px;
  }

  .project-img{
    border-radius: 20px;
    border: 2px solid #ddd;}
    /* 
    height: 13rem;
    width: 13rem;
    padding: 12px;
    margin-bottom: 15px;
    margin-top: 30px;
  } */

  .project-info{
    font-size: 16px;
    padding-left: 0.125rem;
    padding-right: 0.125rem; 
  }

  .heading {
      font-size: 2rem;
      margin: 16px 0px 20px 0px;
    }
    
  .info-title {
    font-size: 18px;
  }

  .description{
    font-size: 17px;
    width: 80%;
  }


  input{
    min-width: 5rem; 
    font-size: 16px;
  }

  textarea{
    min-width: 5rem; 
    font-size: 16px;
    padding: 5px 0 5px 0;
  }

}

@media screen and (min-width: 768px) and (max-width: 1280px) {
  #home{
    height: 100vh;
  }
  
  .right-items {
    display: flex;
    gap: 40px;
    flex-shrink: 50px;
  }


  .right-items a {
    color: white; 
    text-decoration: none; 
    font-size: 20px; 
    transition: color 0.3s ease;
  }

  .right-items a:hover {
    color: rgb(255, 204, 0); 
  }

  .right-items a:active{
    color: rgb(255, 204, 0);
  }

  #right-bars{
    display: none;
  }

  .name {
    font-size: 26px; 
  }

  img {
    width: 14rem;
    height: 14rem;
    padding: 12px;
    margin-bottom: 15px;
    margin-top: 130px;
  }

  .home_name {
    font-size: 28px;

  }

  .home_role {
    font-size: 35px;
  }

  .home_description {
    font-size: 20px;
  }

  .home_contact-btn {
    font-size: 18px; 
  }

  .home_contact-btn:hover {
    font-size: 20px;
  }


  .about-title{
    font-size: 2.5rem;
  }

  .about-description{
    font-size: 20px;
    text-align: center;

  }

  .about-subtitle{
    font-size: 2rem;
  }

  .about-list{
    font-size: 1.25rem;
  }

  .project_title {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .project_description {
    font-size: 20px;
  }
  
  .project-site-btn {
    font-size: 19px; 
  }


  .project-site-btn:hover {
    font-size: 21px;
  }

  .project-img{
    height: 15rem;
    width: 15rem;
  }

  
  .project-heading{
    font-size: 22px;
  }

  .project-img{
    height: 13rem;
    width: 13rem;
    padding: 12px;
    margin-bottom: 15px;
    margin-top: 30px;
    border-radius: 20px;
    border: 2px solid #ddd;
  }

  .project-info{
    font-size: 18px;
    padding-left: 0.125rem;
    padding-right: 0.125rem; 
  }

  .onMobileView{
    display: none;
  }

  .tile:hover{
    transition: transform 0.2s ease;
    transform: scale(1.05);
  }

  .heading {
      font-size: 2.15rem;
      margin: 16px 0px 20px 0px;
    }
    
  .info-title {
    font-size: 20px;
  }

  .description{
    font-size: 18px;
    width: 80%;
  }


  input{
    width: 20rem; 
    font-size: 14px;
  }


}

@media screen and (min-width: 1281px) and (max-width: 1920px) {

  #home{
    height: 100vh;
  }
  
  .right-items {
    display: flex;
    gap: 40px;
    flex-shrink: 50px;
  }


  .right-items a {
    color: white; 
    text-decoration: none; 
    font-size: 23px; 
    transition: color 0.3s ease;
  }

  .right-items a:hover {
    color: rgb(255, 204, 0); 
  }

  .right-items a:active{
    color: rgb(255, 204, 0);
  }

  #right-bars{
    display: none;
  }

  .name {
    font-size: 29px; 
  }

  img {
    width: 17rem;
    height: 17rem;
    padding: 12px;
    margin-bottom: 15px;
    margin-top: 130px;
  }

  .home_name {
    font-size: 28px;

  }

  .home_role {
    font-size: 35px;
  }

  .home_description {
    font-size: 20px;
  }

  .home_contact-btn {
    font-size: 18px; 
  }

  .home_contact-btn:hover {
    font-size: 20px;
  }


  .about-title{
    font-size: 2.5rem;
  }

  .about-description{
    font-size: 20px;
    text-align: center;

  }

  .about-subtitle{
    font-size: 2rem;
  }

  .about-list{
    font-size: 1.25rem;
  }

  .project_title {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .project-img{
    height: 13rem;
    width: 13rem;
    padding: 12px;
    margin-bottom: 15px;
    margin-top: 30px;
    border-radius: 20px;
    border: 2px solid #ddd;
    margin-bottom: 15px;
  }

  .project_description {
    font-size: 20px;
  }
  
  .project-site-btn {
    font-size: 19px; 
  }

  .onMobileView{
    display: none;
  }

  .project-site-btn:hover {
    font-size: 21px;
  }

  .project-img{
    height: 15rem;
    width: 15rem;
  }

  
  .project-heading{
    font-size: 22px;
  }

  .project-info{
    font-size: 18px;
    padding-left: 0.125rem;
    padding-right: 0.125rem; 
  }

  .tile:hover{
    transition: transform 0.2s ease;
    transform: scale(1.05);
  }

  .heading {
      font-size: 2.15rem;
      margin: 16px 0px 20px 0px;
    }
    
  .info-title {
    font-size: 20px;
  }

  .description{
    font-size: 18px;
    width: 80%;
  }


  input{
    width: 20rem; 
    font-size: 14px;
  }
}

