* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Space Grotesk", sans-serif;
  transition: 0.3s;
}

:root {
    scroll-behavior: smooth;
  --primary-color: #0b6e4f;
  --secondary-color: #161a1d;
}

img {
  max-width: 100%;
}

.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}
.align-items-center {
  align-items: center;
}
.content-width {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 14px;
}

.cta-container {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta {
  background-color: var(--primary-color);
  color: white !important;
}
.cta-outline:hover {
  color: var(--primary-color);
}
.cta,
.cta-outline {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  font-size: 17px;
  font-weight: 600;
  font-family: Inter, sans-serif;
  color: var(--secondary-color);
}

a {
  text-decoration: none;
}

body {
  background-color: rgb(246, 244, 239);
  font-size: 17px;
  line-height: 1.6;
}

h1 {
  font-size: 64px;
  line-height: 1.05;
}

h2 {
  font-size: 36px;
  margin-bottom: 36px;
}
h3 {
  font-size: 22px;
}

/* navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 40px;
  position: relative;
}

.navbar .logo {
  font-weight: 700;
  font-size: 20px;
  color: black;
}
.navbar .menu-btn {
  background-color: transparent;
  border: none;
  font-size: 20px;
  border: 1px solid black;
  padding: 5px;
  display: none;
  cursor: pointer;
}
.navbar .links-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar .links-container .links {
  color: gray;
  padding: 6px;
}
.navbar .logo:hover,
.navbar .links-container .links:hover {
  color: var(--primary-color);
}

/* header */
header {
  padding: 40px 0;
}
header .p1 {
  margin-bottom: 30px;
  font-size: 14px;
  font-family: "JetBrains Mono", monospace;
  color: var(--primary-color);
}
header h1 {
  max-width: 800px;
}
header .p2 {
  margin-top: 30px;
  max-width: 600px;
}
header .cta-container {
  margin-top: 30px;
}

/* work */
#work {
  padding: 60px 0 80px;
}

#work .work-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
#work .work-container .work-card {
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
}
#work .work-container .work-card .img-con img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
#work .work-container .work-card .content {
  padding: 24px;
}
#work .work-container .work-card .content h3 {
  margin-bottom: 8px;
}
#work .work-container .work-card .content .details {
  margin-bottom: 16px;
}
#work .work-container .work-card .content .tools {
  margin-bottom: 18px;
  font-size: 14px;
  font-family: "JetBrains Mono", monospace;
}
#work .work-container .work-card .content .links {
  color: var(--secondary-color);
  font-weight: 500;
}
#work .work-container .work-card .content .links:hover {
  color: var(--primary-color);
}

/* skills */
#skills {
  padding: 80px 0;
  background-color: black;
}
#skills .section-heading {
  margin-bottom: 30px;
}
#skills .section-tag,
#education .section-tag {
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(127, 214, 180);
  font-family: "JetBrains Mono", monospace;
}
#skills h2,
#education h2 {
  color: white;
}
#skills .skills-con {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
#skills .skill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px 22px;
}
#skills .skill-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(127, 214, 180, 0.12);
  color: rgb(127, 214, 180);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
  font-family: "JetBrains Mono", monospace;
}
#skills .skills-con h3 {
  color: rgb(127, 214, 180);
  font-size: 22px;
  margin-bottom: 12px;
}
#skills .skills-con p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
}
#skills .skill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#skills .skill-list li {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-family: "JetBrains Mono", monospace;
}

#education {
  padding: 80px 0 90px;
  background: #f1eee8;
}
#education .section-heading {
  margin-bottom: 30px;
}
#education h2 {
  color: var(--secondary-color);
}
#education .education-con {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
#education .edu-card {
  background: white;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
#education .edu-year {
  font-size: 13px;
  color: var(--primary-color);
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 12px;
}
#education .edu-card h3 {
  margin-bottom: 12px;
}
#education .edu-degree {
  font-size: 15px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 12px;
}

/* contact */
#contact {
  padding: 90px 0;
}
#contact .content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
#contact .content h2 {
  margin-bottom: 0;
}
#contact .content .links-con {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
#contact .content .links-con a {
  font-weight: 600;
  color: var(--secondary-color);
}

/* footer */
footer {
  padding-bottom: 40px;
}
footer p {
  font-size: 16px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 54px;
  }
  .navbar .menu-btn {
    display: inline-block;
  }

  .navbar .links-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    /* gap: 16px; */
    background-color: white;
    padding: 14px;
    transition: .2s;
    opacity: 0;
    display: none;
  }

  .navbar .links-container.visible {
    display: flex;
  }
  .navbar .links-container.fadeIn {
    opacity: 1;
  }

  .navbar .links-container .links {
    font-size: 19px;
  }

  #work .work-container,
  #skills .skills-con {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  #work .work-container,
  #skills .skills-con {
    grid-template-columns: 1fr;
  }
}
/* font-family: "Space Grotesk", sans-serif; */

/* "JetBrains Mono", monospace */

/* Inter, sans-serif */
