*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Pixelify Sans", sans-serif;
}

section {
  display: block;
  min-height: 100vh;  
  padding-top: 120px; 
  width: 100%; 
}

#homepage, #about, #project, #experience, #contact {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; 
  width: 100%;
}

#homepage {
  background-image: url('images/bg-5.jpg');
}

#about {
  background-color: #4F6A90;
}

#project {
  background-image: url('images/bg-4.jpg');
}

#experience {
  background-image: url('images/bg-dblue.jpg');
}

#contact {
  background-image: url('images/bg-18.jpg'); 
}

.container {
  width: 80%;
  margin-inline: auto;
}

.navbar {
  padding: 30px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #385175; 
  z-index: 1000;
  box-shadow: 0 8px 10px rgba(0,0,0,0.1);
}

.navbar-box {
  display: flex;
  justify-content: flex-end;
}

.menu-nav{
  display: flex;
  list-style: none;
  gap: 45px;
}

.menu-nav li a {
  text-decoration: none;
  color: #A3B4CC;
  transition: color 0.3s ease;
}

.navbar-box .menu-nav li a.active {
  color: #3880E4;
}

.button {
  list-style: none;
}

.button li a{
  font-size: 25px;
  text-decoration: none;
  background-color:#57749E;
  color:white;
  border: 3px solid #385175;
  padding: 5px;
  border-radius: 8px;
}

.button li a:hover {
  background-color:#385175;
}

.text-box1 {
  width: 100%;
  text-align: center;
  font-size: 40px;
  padding-top: 120px;
  color: #385175;
}

.namee {
  font-size: 20px ;
}

.heading {
  color: #88a7d2;
}

.heading h1 {
  font-size: 40px;
}
.heading p {
  font-size: 18px;
}

.about {
  padding-block: 50px;
}

.about-box h1 {
  color: #25364f;
  font-size: 30px;
  font-weight: bold;
}

.about-box{
  display: flex;
  align-items:flex-start;       
  gap: 40px;                 
  width: 100%;
  flex-wrap: wrap;
  padding: 40px 20px;
  line-height: 1.15;
  text-align: left;
  margin: 0;
}

.about-box .profile {
  width: 230px;
  height: auto;              
  object-fit: cover;
  flex-shrink: 0;   
  border: 3px dashed #385175;        
}

.text-box2 {
  display: flex;
  flex-direction: column; 
  justify-content: flex-start;
  margin-top: 0;
}

.text-box2 h2, .edu h2, .skills, .certi, .tbox p {
  font-size: 18px;
  color: #25364f;
}

.edu, .skills {
  flex-basis: 100%;
}

.certi li a {
  color: #25364f;
}

.certi li a:hover{
  color: #3880E4;
  transition: color 0.3s ease;
}

.text-box2 h1, .text-box2 h2 {
  margin: 0 0 4px 0;
}

.text-box2 p {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.6;
  font-family: "Jersey 15", sans-serif;
  background-color: #385175;
  color: #bed0e8;
  border: 3px solid #bed0e8;;
  padding: 15px;
  max-width: 850px;
  box-sizing: border-box;
}

.tbox {
  width: 100%;
  margin-top: 20px;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.tools-desc {
  color: #bed0e8;
}

.about-box .tools .tools-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #bed0e8;
  background-color: #385175;
  padding: 10px;
  border-radius: 5px;
  width: fit-content;
}

.about-box .tools .tools-box img {
  width: 40px;
  border-radius: 5px;
}

.project, .experience {
  padding-block: 50px;
}

.project-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.experience-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.project-box .box, .experience-box .box {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: rgba(185, 213, 240, 0.901);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1) ;
  border-radius: 10px;
}

.experience-box .box{
  background-color: rgba(237, 246, 255, 0.884);
}

.project-box .box img, .experience-box .box img{
  width: 330px;
  border-radius: 10px;
}

.project-box .project-desc {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.experience-box .experience-desc {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-box h2, .experience-box h2 {
  color: #344866;
  font-weight: bold;
}

.project-box .project-desc p, .experience-box .experience-desc p {
  line-height: 1.3;
  margin-top: 10px;
  margin-bottom: 20px;
  color: #4F6A90;
  font-family: "Jersey 15", sans-serif;
  font-size: 18px;
}

.project-box .project-desc .project-btn {
  margin-top: auto; 
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.project-box .project-desc .project-btn a {
  background-color:#57749E;
  color:white;
  border: 3px solid #385175;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

.project-box .project-desc .project-btn a:hover {
  background-color:#385175;
}

.contact-content {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  gap: 20px; 
  margin-top: 20px;
  width: 100%;
}

.contact-content img {
  max-width: 600px;
  border-radius: 10px;
  width: 100%;
  height: auto;
}

.social {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.social a i {
  font-size: 60px;
  color: #88a7d2;
  transition: transform 0.3s;
}

.social a i:hover {
  transform: scale(1.2);
}

.username {
  font-size: 20px;
  font-family: "Pixelify Sans", sans-serif;
  color: #88a7d2;
}

footer {
  background-color: #344866;
  margin-top: -10px;
  padding: 20px;
  display: flex;
  justify-content: center;
  color: #A3B4CC;
}

footer p, footer span {
  font-family: "Jersey 15", sans-serif;
}

footer span {
  font-weight: bold;
}


@media (max-width: 1470px) {
  .text-box2 p {
    font-size: 19px;
    max-width: 700px;
    height: 230px;
  }
}

@media (max-width: 1420px) {
  .experience-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
  }
}

@media (max-width: 1292px) {
   .container{
    width: 90%;
  }

  .about .about-box {
    flex-direction: column; 
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .about-box img {
    width: 150px;
    height: auto;
  }
}

@media (max-width: 992px) {
  .menu-nav {
    gap: 25px;
  }
  .menu-nav li a {
    font-size: 0.9rem;
  }

  .container{
    width: 90%;
  }

  .about .about-box {
    flex-direction: column; 
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .about-box img {
    width: 150px;
    height: auto;
  }

}

@media (max-width: 768px) {
  .about-box {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px 10px;
  }

  .about-box img{
    width: 150px;
  }

  .text-box2 {
    align-items: center;         
    margin-top: 0;
  }

  .text-box2 h1 {
    font-size: 22px;             
  }

  .text-box2 h2 {
    font-size: 16px;
  }

  .text-box2 p {
    max-width: 90%;               
    font-size: 16px;             
    padding: 10px;               
    margin-top: 6px;              
  }

  .project-box, .experience-box {
    grid-template-columns: 1fr;
  }

  .contact-content {
    flex-direction: column; 
    align-items: center;
  }

  contact-content img {
    max-width: 400px;
    border-radius: 10px;
  }

  .tbox {
    text-align: center;
  }

  .tools {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px; 
    justify-content: center; 
  }

  .about-box .tools .tools-box {
    width: auto; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    text-align: center;
    aspect-ratio: 1 / 1; 
    min-width: 80px; 
  }
  
  .about-box .tools .tools-box img {
    width: 60%; 
    height: auto;
    margin-bottom: 5px;
  }
    
  .about-box .tools .tools-box .tools-desc {
    font-size: 10px; 
  }
}

@media (max-width: 600px) {
  .navbar-box {
    justify-content: center; 
  }

  .menu-nav {
    gap: 15px;
  }

  .menu-nav li a {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px){

 .text-box1 .porto {
    font-size: 38px;
  }

  .text-box1 .namee {
    font-size: 12px;
  }

  .button li a{
    font-size: 15px;
    padding: 2px;
  }

  .about-box img {
    width: 170px;
  }

  .text-box2 .h1{
    font-size: 15px;
  }
   .text-box2 h2 {
    font-size: 14px;
  }

  .text-box2 p {
    font-size: 14px;
    padding: 8px;
  }
}










