@import url("https://fonts.googleapis.com/css2?family=SUSE+Mono:ital,wght@0,100..800;1,100..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #232323;
  color: #ffffff;
  margin: 60px 100px 0;
  font-family: "SUSE Mono", sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 40px;
}

header > div {
  color: #999;
  border-right: 1px solid #666;
  padding-right: 75px;
  height: 40px

}

header > div {
  color: #999;
}

a {
  color: antiquewhite;
}

.white {
  color: antiquewhite;
}

.hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}

.hero img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #999;
  object-position: center top;
}

h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
}

h2 {
  font-size: 20px;
  font-weight: normal;
  color: #999;
  margin-top: 5px;
}

section {
  margin: 50px 0;
}

section label {
  display: block;
  margin-bottom: 30px;
  color: #777;
  justify-content: center;
}

section p {
  font-size: 18px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.skill-item {
  display: flex;
  justify-content: center;
  align-items: center;
  background: antiquewhite;
  color: #232323;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 500;
  transition: transform 0.25s ease, background-color 0.25s ease,
    color 0.25s ease;
}

.skill-item:hover {
  transform: translateY(-4px) scale(1.05) !important;
  background-color: #ffffff;
  color: #000000;
  cursor: pointer;
}

.experience {
  padding: 40px 0;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}

.timeline {
  margin-top: 10px;
}

.exp-item {
  display: flex;
  gap: 50px;
}

.exp-item > p {
  white-space: nowrap;
}
.exp-title {
  display: inline-block;
  background: antiquewhite;
  color: #232323;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

ul {
  font-size: 18px;
}

.projects {
  margin: 40px 0;
}

.project {
  display: flex;
  margin: 30px 0;
  gap: 30px;
}

.projectName {
  font-size: 24px;
}

.projectDescription {
  width: 50vw;
  text-align: justify;
  margin: 30px 0;
}

.projectImg {
  height: 300px;
  width: 500px;
  background-color: #ffffff;
  border-radius: 10px;
}

.projectImg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.Btn {
  background-color: antiquewhite;
  padding: 5px 10px;
  display: inline-block;
  border-radius: 2px;
  text-decoration: none;
  color: #232323;
  margin: 20px 0;
}

footer {
  text-align: center;
  border-top: 1px solid #666;
  padding: 30px 0;
}

@media (max-width: 1024px) {
  body {
    margin: 40px 40px 0;
  }

  .hero img {
    width: 130px;
    height: 130px;
  }

  .projectImg {
    width: 350px;
    height: 230px;
  }

  .projectDescription {
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    margin: 30px 25px 0;
  }

  header {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 30px 0;
  }

  .hero img {
    width: 140px;
    height: 140px;
  }

  .exp-item {
    flex-direction: column;
    gap: 20px;
  }

  .project {
    flex-direction: column;
    gap: 20px;
  }

  .projectImg {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    margin: 20px 15px 0;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 16px;
  }

  section p,
  ul {
    font-size: 16px;
  }

  .hero img {
    width: 120px;
    height: 120px;
  }

  .skill-item {
    font-size: 14px;
  }

  .projectName {
    font-size: 20px;
  }

  .projectDescription {
    margin: 20px 0;
  }

  .Btn {
    padding: 5px 8px;
    font-size: 14px;
  }
}


