*{  margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    outline: none;
    font-family: "Stack Sans Headline", sans-serif;
    scroll-behavior: smooth;
}
body{
    
    width: 100%;
}
header{
    position: fixed;
    top: 10px;
    left: 10%;
    width: 80%;
    background-color: rgb(187, 57, 53, .9) ;
    border-radius: 15px;
    padding: 0px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 1000;
}
.navbar ul {
    font-family: "Stack Sans Headline", sans-serif;
    font-weight: bold;
    font-size: 20px;
    list-style: none;    
    margin: 0px;
    padding: 15px;
    display: flex;
    justify-content: flex-end;
    border-radius: 15px;
}
.navbar li{
    margin: 0px 15px;
}
.navbar a{
    
    text-decoration: none;
    color: white;
    font-weight: 400;
    padding: 10px;
    display: block;
    
}
.navbar a:hover{
    text-decoration: underline black;
    font-weight: bolder;
    animation-name: hover-scale;
    animation-duration: .5s;
    animation-timing-function: ease;
    color: #EFECE3;
    transform: scale(130%);
    transition: 0.5s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    background-color: transparent;
    border: 3px solid transparent;
    border-radius: 15px;
    padding: 10px 20px;
    font-family: "Stack Sans Headline", sans-serif;
  }
.navbar .navname {
    font-size: 24px;
    font-weight: 400;
    color: white;
    text-decoration: underline black;
    transition: 0.5s ease;
    
}
.navbar .navname:hover {
    transform:scale(1.1);
}


/*4f1418*/
/*<--61a161-->*/
/*HOME CONTENT*/
/*HOME CONTENT*/
/*HOME CONTENT*/


.home .home-content h1{
    
    font-size: 6em;
    font-weight: 400;
    color: white;
    margin-bottom: 0px;
    
}
.home .home-content h3{
    font-size: 1.8em;
    font-weight: 450;
    color: rgb(0, 0, 0);
    margin-top: 0px;
    margin-bottom: 3%;
}
span{
    color: #EFECE3;
}
span.type-animation{
    color: #ffffff;
    animation-name: fadeIn;
    animation-duration: .5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.home{
    padding-top: 120px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    background-color: #4f1418;
    
}

.border{
    display: inline-flex;
    position: absolute;
    width: 400px;
    height: 400px;
    border: 5px dotted #EFECE3;
    border-radius: 50%;
    animation: border-img-turn 25s linear infinite;
}
.home img{
    display: flex;
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    max-width: 80vw;
}

@keyframes border-img-turn{
    from{transform: rotate(0deg);}
    
    to{transform: rotate(360deg);}
}
.home-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 70%;
    
}

/*SOCIALS*/
/*SOCIALS*/
/*SOCIALS*/

.socials{
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}
.socials a{
    width: 80px;
    height: 80px;
    border: 3px solid #EFECE3;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease ;
}
.socials a:hover {
    background-color: #d1e7e0;
    transform: scale(1.1);
    border: #4f1418 solid 4px;
    box-shadow: 0px 0px 10px #a33939;
    color: #bb3935;
    
  }
.socials a:hover i {
    
    color: #bb3935;
    
}
.socials i {
    font-size: 40px;
    color: #EFECE3;
  }

  
/*ab me*/

.abme{
    padding-top: 120px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    background-color: #ddd6b8;
    
}
.about-content{
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 6rem;
    
    
}
.abme img{
    display: flex;
    width: 500px;
    height: 500px;
    object-fit: cover;
    justify-content: right;
    max-width: 80vw;
}
.abme-text{
    flex: 1;
    max-width: 530px;
    padding: 2rem;
    border: 2px solid #4f1418;
    font-size: x-large;
    background-color: #bb393580;
}

.abme-text h1{
    text-align: center;
    padding-bottom: 1rem;
}

/*skills resume */
/*skills resume */
/*skills resume */
/*skills resume */
/*skills resume */
/*skills resume */

.skill-resume{
    padding-top: 120px;
    height: 120vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background-color: #ddd6b8;
}
.skills-title {
    font-size: 1.3rem;
    text-align: center;
}
.skill-resume i {
    font-size: 60px;      /* controls icon size */
    margin-bottom: 10px;
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Stack Sans Headline", sans-serif;
    border: 5px solid #4f1418;
    padding: 30px;
    border-radius: 10px;
    color:#4f1418;
}

.skill-item p {
    font-size: 1.3rem;
    margin: 0;
    font-weight: bold;
    color: black;
}
.skill-item i {
    transition: 0.3s ease;
}

.skill-item:hover  {
    transform: scale(1.15);
    color: #4f1418;
    background-color: white;
    transition: ease .4s;
}

.resume-download {
    width: 80%;
    margin: 20px auto;
}

.resume-download a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background-color: #4f1418;     /* your theme color */
    color: white;
    text-decoration: none;

    padding: 12px;                 /* small height */
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;

    transition: 0.3s ease;
}

.resume-download a:hover {
    background-color: #6c1e23;
    transform: scale(1.03);
}

.resume-download i {
    font-size: 1.3rem;
}

/* PROJECTS TITLE */
.projects-title h2 {
    margin-top: 40px;
    font-size: 2rem;
    text-align: center;
    color: #4f1418;
    text-decoration: underline;
  }
  
  /* PROJECT GRID */
  .project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    width: 80%;
    margin-top: 20px;
  }
  
  /* PROJECT CARD */
  .project-card {
    width: 230px;
    display: block;
    cursor: pointer;
    background: #f6f0d8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-align: center;
    transition: 0.3s ease;
    text-decoration: none;
    color: black;
  }
  
  .project-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  
  .project-card h3 {
    margin: 12px;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  }
  
  /* MODAL BASE (hidden) */
  .project-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  
  /* SHOW MODAL ON :target */
  .project-modal:target {
    display: flex;
  }
  
  /* MODAL CONTENT */
  .project-modal-content {
    background: #f6f0d8;
    padding: 20px;
    border-radius: 12px;
    max-width: 380px;
    width: 90%;
    position: relative;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  }
  
  .project-modal-content h3 {
    margin-top: 0;
    color: #4f1418;
  }
  
  .modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 28px;
    text-decoration: none;
    color: #000;
  }
  

/* CONTACT SECTION */
.contact-section {
    height: 62vh;
    background-color: #4f1418;
    padding-top: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .contact-section h1 {
    font-size: 2.2rem;
    color: #ddd6b8;
    text-decoration: underline;
    padding-bottom: 1rem;
  }
  
  .contact-container {
    width: 80%;
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }
  
  /* LEFT SIDE TEXT */
  .contact-info {
    flex: 1;
    font-size: 1.2rem;
    color: #ddd6b8;
    text-align: center;
    padding-top: 3rem;
    
  }
  
  .contact-info a {
    color: #ddd6b8;
    font-weight: bold;
    text-decoration: underline;
  }
  
  /* FORM */
  .contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #bb3935;
    background-color: #f6f0d8;
    font-family: "Stack Sans Headline", sans-serif;
    font-size: 1rem;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: #bb3935;
  }
  
  /* SUBMIT BUTTON */
  .contact-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  
    background-color: #bb3935;
    color: white;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 10px;
    border: none;
  
    cursor: pointer;
    transition: 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #eb4f49;
    transform: scale(1.05);
  }
  

/* ========= MOBILE / TABLET LAYOUT ========= */
@media (max-width: 900px) {

    /* Header spans full width on small screens */
    header {
      top: 0;
      left: 0;
      width: 100%;
      border-radius: 0;
    }
  
    .navbar {
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
  
    .navbar ul {
      justify-content: center;
      flex-wrap: wrap;
      padding: 8px;
      font-size: 16px;
    }
  
    /* HOME SECTION */
    .home {
      flex-direction: column;
      height: auto;
      padding: 140px 20px 60px;  /* room for fixed header */
      gap: 40px;
      text-align: center;
    }
  
    .home .home-content {
      max-width: 100%;
    }
  
    .home .home-content h1 {
      font-size: 3rem;
    }
  
    
    .border {
      width: 250px;
      height: 250px;
      display: none;
    }
  
    /* ABOUT ME */
    .abme {
      height: auto;
      padding: 140px 20px 60px;
    }
  
    .about-content {
      flex-direction: column-reverse;
      gap: 30px;
      text-align: center;
    }
  
    .abme img {
      width: 80vw;
      max-width: 350px;
      height: auto;
    }
  
    .abme-text {
      max-width: 100%;
      font-size: 1rem;
    }
  
    /* SKILLS / RESUME / PROJECTS */
    .skill-resume {
      height: auto;
      padding: 140px 20px 60px;
    }
  
    .skills-container {
      gap: 20px;
    }
  
    .skill-item {
      width: 45%;
      max-width: 220px;
      padding: 20px;
    }
  
    .project-grid {
      width: 100%;
      gap: 20px;
    }
  
    .project-card {
      width: 80%;
      max-width: 320px;
    }
  
    /* CONTACT */
    .contact-section {
      height: auto;
      padding: 140px 20px 60px;
    }
  
    .contact-container {
      flex-direction: column;
      gap: 20px;
    }
  }
  