:root {
  --color-primary: #000000;
  --color-secondary: #ffffff;
  --color-tertiary: #f1f1f1;
  font-optical-sizing: auto;
}

body {
  font-size: 16px;
  overflow-x: hidden;
  overflow-y: scroll;
}

body::-webkit-scrollbar {
  display: block;
  width: 4px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background-color: #000000;
  border-radius: 999px;
  border-right: none;
  border-left: none;
}

body::-webkit-scrollbar-track-piece:end {
  background: transparent;
}

body::-webkit-scrollbar-track-piece:start {
  background: transparent;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

header>div {
  display: flex;
  gap: 24px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1224px;
  padding: 16px 0;
}

header>h1 {
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 600;
  line-height: clamp(48px, 6.5vw, 88px);
  letter-spacing: -0.015em;
}

header>h2 {
  font-size: clamp(32px, 2vw, 40px);
  font-weight: 600;
  line-height: clamp(32px, 7.5vw, 44px);
  letter-spacing: -0.015em;
}

header>h3 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: clamp(24px, 7.5vw, 32px);
  letter-spacing: -0.015em;
}

.header_text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.portfolioPage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 16px;
}

.portfolioCards {
  max-width: 1224px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.portfolioCard {
  display: flex;
  height: 340px;
  justify-content: center;
  align-items: flex-start;
  flex: 1 0 520px;
  border-radius: 36px;
  background: var(--bg-color);
  overflow: hidden;
}

.portfolioCardX.left {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  height: 100%;
  width: 50%;
}

.portfolioCardX.right {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: revert;
  justify-content: space-between;
  height: 100%;
  width: 50%;
}

.portfolioCardTags {
  display: flex;
  padding: 4px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 110px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -1.12px;
}

.portfolioCardContent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.portfolioCardTitle {
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  text-align: left;
}

.portfolioCardImage {
  width: 300px;
}

@media screen and (max-width: 480px) {
  body {
    background-color: lightgreen;
  }

  .portfolioCard {
    flex: 1 0 100%;
    width: 100%;
    position: relative;
    height: fit-content;
  }

  .portfolioCardTitle {
    text-align: center;
  }

  .portfolioCardX.left {
    align-items: center;
    width: 100%;
  }

  .portfolioCardX.right {
    display: none;
  }
}

.badge {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 40px;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.32px;
}

.badge_icons_wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 8px;
  width: 64px;
  height: 20px;
}

.badge_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #ffffff;
  overflow: hidden;
  border-radius: 50%;
  background-color: #f1f1f1;
  font-size: 8px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.06em;
  text-align: center;
  position: absolute;
  left: calc(var(--badge-num) * 24px);
}

.resume_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 0.5vw, 32px);
  border-radius: 36px;
  gap: 16px;
  background: #f7f7f7;
  flex: 1 0 100%;
}

.collapsible {
  background-color: #777;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

.active, .collapsible:hover {
  background-color: #555;
}

.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}

.projectPage {
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 36px 36px 36px;
  margin: 48px 48px 48px 48px;
  border-radius: 36px; /* Adjust the value for the desired roundness */
}

.projectPage>h1 {
  color: white;
  font-size: 40px;
  font-weight: 600;
  padding: 15px;
  text-align: center;
}

h2,
.projectPage>h2 {
  color: white;
  font-size: 24px;
  font-weight: 600;
  text-align: left;
}

.projectPage>h3 {
  color: white;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.projectPage>p {
  color: white;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  text-align: justify;
  margin-bottom: 20px;
}
