/* 
Background	rgb(8, 12, 18)
Cards / panels	rgb(17, 28, 39)
Cyan accent	rgb(35, 223, 255)
Main text	rgb(239, 250, 255)
Secondary text	rgb(172, 191, 205)
Borders	rgb(37, 59, 75)
Text on cyan buttons	rgb(8, 12, 18)
 */
body{
    background-color: rgb(8, 12, 18);
}

.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgb(37, 59, 75);
    position: sticky;
    top: 0;
    background-color: rgb(8, 12, 18);
}

.nav-links a{
    padding: 20px;
    text-decoration: none;
    color: rgb(172, 191, 205);
    padding-bottom: 10px;
    font-size: 25px;
}
.nav-links a:hover{
    color: rgb(35, 223, 255);
    border-bottom: 2px solid rgb(35, 223, 255);
    border-bottom-left-radius: 5%;
    border-bottom-right-radius: 5%;
}
.nav-icons img {
    right: 200px;
    width: 35px;
    height: 35px;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.intro-box{
    display: flex;
    border-bottom: 1px solid rgb(37, 59, 75);
    justify-content: space-evenly;
    align-items: center;
}

.intro-txt{
    color: rgb(172, 191, 205);
    max-width: 60%;
    margin-left: 110px;
    justify-content: flex-start;
}
.intro-photo img{
    height: 350px;
    width: 650px;
    margin-right: 110px;
}
.main h1,
.title h1,
.intro-txt h1{
    color: rgb(239, 250, 255);
    font-size: 80px;
    margin: 0 0 18px;
}
.intro-txt p{
    font-size: 20px;
}
span{
    color: rgb(35, 223, 255);
}
.download,
.intro-btns{
    margin: 30px;
    margin-left: 0;
}
.download a,
.intro-btns a{
    width: 250px;
    padding: 22px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
}
.download a,
.project-btn{
    background-color: rgb(35, 223, 255);
    color: rgb(8, 12, 18);
    font-size: 22px;
}
.github-btn{
    border: 2px solid rgb(35, 223, 255);
    color: rgb(239, 250, 255);
    font-size: 22px;
}

.project-btn:hover{
    background-color: rgb(115, 232, 252);
}
#about-btn:hover,
.github-btn:hover{
    background-color: rgb(41, 62, 93);
    border: 2px solid rgb(115, 232, 252);
}

.projects-box{
    padding-inline: 110px;
    border-bottom: 1px solid rgb(37, 59, 75);
}

.project-txt-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-txt h1{
    color: rgb(239, 250, 255);
    font-size: 50px;
}
.main a,
.project-txt-box a{
    color: rgb(35, 223, 255);
    text-decoration: none;  
    font-size: 22px; 
}

.main a:hover,
.info-boxes a:hover,
.project-txt-box a:hover{
    color: rgb(129, 231, 249);
    border-bottom: 2px solid rgb(129, 231, 249);
}
.projects{
    display: flex;
    justify-content: space-evenly;
}
.project1{
    background-color: rgb(17, 28, 39);
    border: 1px solid rgb(37, 59, 75);
    max-width: 30%;
    border-radius: 8px;
    margin-bottom: 25px;
}
.projects img{
    display: block;
    width: 90%;
    height: 150px;
    margin-inline: auto;
    margin-top: 20px;
}
.main h2,
.info-boxes h2,
.p1-txt h2{
    color: white;
}
.p1-txt{
    color: rgb(172, 191, 205);
    margin-left: 20px;
}
.p1-skills{
    color: rgb(172, 191, 205);
    margin-left: 20px;
    display: flex;
    gap: 20px;
}

.project-skills p,
.project-experience p,
.p1-skills p{
    background-color: rgb(26, 42, 54);
    color: rgb(35, 223, 255);
    border-radius: 999px;
    padding: 9px;
    max-width: max-content;
}

.info-box {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 40px 145px 25px;
  border-bottom: 1px solid rgb(37, 59, 75);
}

.info-boxes {
  flex: 1;
  min-width: 0;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgb(17, 28, 39);
  border: 1px solid rgb(37, 59, 75);
  border-radius: 8px;
  color: rgb(172, 191, 205);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-boxes h2 {
  margin: 0 0 20px;
  color: white;
}

.projects-container,
.contact-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.projects-container p {
  margin: 0;
}

.projects-container img,
.contact-links img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.projects-container {
  justify-content: flex-start;
}

.project-tags {
  display: flex;
  gap: 10px;
  margin-left: auto;
}


.info-boxes a {
  color: rgb(35, 223, 255);
  text-decoration: none;
}
.status {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.in-progress {
  color: rgb(65, 210, 130);
}

.ongoing {
  color: rgb(35, 223, 255);
}
.project-text p,
.main-column p,
.credits,
.title,
.planned {
  color: rgb(172, 191, 205);
}
#about-btn{
    border: 2px solid rgb(35, 223, 255);
    color: rgb(35, 223, 255);
    width: 35%;
    text-align: center;
    border-radius: 8px;
    padding: 15px;
}

.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: 10px;
}
.res-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: 10px;
    border-top: 2px solid rgb(37, 59, 75);
    margin-top: 10px;
}

.top-btn a{
    color: rgb(35, 223, 255);
}

html {
  scroll-behavior: smooth;
}

.title-box{
    margin-inline: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resume-grid{
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    margin-inline: 110px;
    
}
.main-column{
    min-width: 65%;
}

.main h3,
.resume-grid h1,
.resume-grid h3{
    color: white;
}
.side-column{
    min-width: 34.3%;
}
.side-column p{
    color: white;
}
.education-box,
.work-experince-box,
.project-experience-box{
    background-color: rgb(17, 28, 39);
    border-radius: 20px;
    padding: 5px;
    margin-bottom: 10px;
    border: 2px solid rgb(37, 59, 75);
}
.working-on,
.education,
.project-experience,
.work-exp {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-block: 16px;
    border-bottom: 1px solid rgb(37, 59, 75);
}

.working-on img,
.education img,
.project-experience img,
.work-exp img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid rgb(37, 59, 75);
    border-radius: 8px;
}

.working-on p,
.education p,
.project-experience p,
.work-exp p {
  margin-left: auto;
  margin-right: 20px;
}
.working-on:last-child,
.education:last-child,
.project-experience:last-child,
.work-exp:last-child {
  border-bottom: none;
}

.education-box{
    margin-bottom: 30px;
}

.tech-skills {
  padding: 24px;
}

.skills {
  margin-top: 24px;
}

.skills h3 {
  margin: 0 0 12px;
  color: rgb(172, 191, 205);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tech-skills .skills-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.skill-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 8px;
  background-color: rgb(13, 23, 32);
  border: 1px solid rgb(37, 59, 75);
  border-radius: 10px;
}

.tech-skills .skill-box img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.tech-skills .skill-box p {
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  color: rgb(239, 250, 255);
  font-size: 14px;
  text-align: center;
}

.working-on-box,
.tech-skills {
    background-color: rgb(17, 28, 39);
    border-radius: 20px;
    padding: 5px;
    margin-bottom: 10px;
    padding-left: 10px;
    min-height: 47.5%;
    border: 2px solid rgb(37, 59, 75);

}

.main{
    display: flex;
    flex-direction: column;
    margin-inline: 110px;
}

.projects-project{
    display: flex;
    align-items: center;
    border-radius: 20px;
    padding: 5px;
    margin-bottom: 10px;
    border-bottom: 2px solid rgb(37, 59, 75);
    border-right: 1px solid rgb(37, 59, 75);
    gap: 28px;
    padding: 20px; 
}
.projects-project img{
    width: 600px;
    height: 250px;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid rgb(37, 59, 75);
    border-radius: 8px;
}

.project-text {
  flex: 1;
}

.project-text h2{
    font-size: 40px;
}
.project-text p{
    font-size: xx-large;
}

.project-skills{
    display: flex;
    justify-content: start;
    gap: 20px;
}






@media (max-width: 800px) {
  /* Include padding and borders within widths */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  body {
    margin: 0;
  }

  /* Navigation */
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    z-index: 100;
  }

  .nav-links,
  .nav-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 18px;
    padding: 10px;
  }

  .nav-icons img {
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 8px;
  }

  /* Intro: text above photo */
  .intro-box {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px 20px;
  }

  .intro-txt {
    max-width: 100%;
    margin: 0;
  }

  .intro-photo img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .intro-txt h1,
  .main h1,
  .title h1 {
    font-size: 44px;
  }

  .intro-txt p {
    font-size: 16px;
    line-height: 1.6;
  }

  .intro-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0 0;
  }

  .intro-btns a {
    width: 100%;
  }

  /* Homepage project cards */
  .projects-box {
    padding-inline: 20px;
  }

  .project-txt-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-block: 24px;
  }

  .project-txt h1 {
    font-size: 32px;
    margin: 0;
  }

  .projects {
    flex-direction: column;
    gap: 20px;
  }

  .project1 {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
  }

  .projects img {
    height: auto;
  }

  .p1-txt {
    margin-inline: 20px;
  }

  .p1-skills,
  .project-skills,
  .project-tags {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* About, current projects, and contact cards */
  .info-box {
    flex-direction: column;
    padding: 24px 20px;
  }

  .info-boxes {
    width: 100%;
    height: auto;
  }

  #about-btn {
    width: auto;
  }

  /* Shared page spacing */
  .main,
  .title-box,
  .resume-grid {
    margin-inline: 20px;
  }

  .title-box {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Resume columns */
  .resume-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .main-column,
  .side-column {
    width: 100%;
    min-width: 0;
  }

  .tech-skills,
  .working-on-box {
    min-height: 0;
    height: auto;
  }

  /* Projects page */
  .projects-project {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .projects-project img {
    width: 100%;
    height: auto;
    max-height: 220px;
  }

  .project-text h2 {
    font-size: 28px;
  }

  .project-text p {
    font-size: 16px;
  }

  /* Footer */
  .footer,
  .res-footer {
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
    margin-inline: 0;
  }
}