body {
  background-color: #45454f;
  color: rgb(240, 240, 240);
  font-family: Lato, sans-serif;
  font-size: 16px;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  text-align: center;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.tabs {
  position: absolute;
  display: flex;
  top: 30px;
  right: 200px;
  gap: 10px;
}

.tab-button {
  color: rgb(120, 120, 120);
  font-size: 18px;
  font-weight: bold;
  padding: 12px;
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.1s;
  z-index: 10;
}

.tab-button:hover {
  color: rgb(180, 180, 180);
}

.tab-button.active {
  color: rgb(220, 220, 220);
  text-decoration-line: underline;
  text-decoration-color: rgb(220, 220, 220);
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}

.tab-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tab-content.active {
  opacity: 1;
}

.section-main-box {
  padding: 120px 120px;
}

.scroll-container {
  overflow-x: auto;
  padding-right: 120px;
}

.section-body,
.section-header {
  text-align: left;
  width: 100%;
  max-width: 850px;
  box-sizing: border-box;
}

.section-header {
  margin-bottom: 40px;
}

.text-clickable {
  font-family: Lato, sans-serif;
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: rgb(140, 140, 140);
  font-size: 16px;
  line-height: 1.6;
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.1s;
}

.large-text {
  font-size: 18px;
  font-weight: bold;
}

.xl-large-text {
  font-size: 22px;
  font-weight: bold;
}

.text-clickable:hover {
  color: rgb(240, 240, 240) !important;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.contact-image {
  width: 32px;
  height: 32px;
  margin-right: 16px;
}

.art-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 1200px;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}

.art-image {
  width: auto;
  height: auto;
  max-width: 596px;
  max-height: 456px;
  border-radius: 6px;
}

.project {
  border-radius: 18px 18px 14px 14px;
  margin-bottom: 16px;
}

.project-large {
  width: 1200px;
  height: 516px;
}

.project-medium {
  width: 1200px;
  height: 292px;
}

.project-small {
  width: 630px;
  height: 292px;
}

.card-header-container {
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 4px;
  border-radius: 14px 14px 0 0;
}

.card-header {
  margin: 0;
  font-size: 20px;
}

.card-date {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  margin: 0;
  font-size: 14px;
  color: rgb(240, 240, 240);
}

.card-body {
  display: flex;
  flex-direction: row;
  padding-right: 16px;
  gap: 16px;
}

.project-text-column {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
}

.list-section {
  display: flex;
  flex-direction: column;
}

.list-section p {
  margin-top: 8px;
  margin-bottom: 0;
  margin-left: 0;
  font-weight: bold;
  align-self: flex-start;
}

.list-section ul {
  list-style: none;
  padding-left: 8px;
  margin-top: 8px;
  list-style-position: inside;
  align-self: flex-start;
  text-align: left;
}

.list-section li {
  display: flex;
  align-items: flex-start;
}

.list-section li::before {
  position: relative;
  bottom: -5px;
  content: "•";
  font-size: 12px;
  margin-right: 8px;
  flex-shrink: 0;
  line-height: normal;
}

.project-text {
  text-align: left;
  word-wrap: break-word;
}

.card-text-content {
  flex: 1;
}

.card-links {
  display: flex;
  align-self: center;
  gap: 16px;
  margin-bottom: 8px;
}

.card-links a {
  font-weight: bold;
}

.project-images {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  text-align: left;
  padding-left: 16px;
  padding-top: 16px;
}

.project-images-large,
.project-images-medium {
  max-width: 772px;
  flex-shrink: 0;
}

.project-images-small {
  max-width: 400px;
}

.card-image {
  width: 380px;
  height: auto;
  border-radius: 6px;
}

footer {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  padding: 0 60px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #3a3a3a;
  color: rgb(200, 200, 200);
  box-sizing: border-box;
}

.footer-left {
  white-space: nowrap;
}

.footer-right {
  display: flex;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
}

.footer-tab {
  flex-shrink: 0;
  color: rgb(140, 140, 140);
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.1s;
}

.footer-tab:hover {
  flex-shrink: 0;
  color: rgb(240, 240, 240);
}

@media (max-width: 1023px) {
  .section-main-box {
    padding: 80px 16px;
  }

  .section-header,
  .section-body {
    width: 100%;
    max-width: none;
    padding: 0 16px;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .tabs {
    top: 16px;
    right: 16px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .tab-button {
    font-size: 16px;
    padding: 8px;
  }

  .contact-image {
    padding-left: 16px;
  }

  .art-projects {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .art-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
  }

  .project-large,
  .project-medium,
  .project-small {
    width: 100%;
    height: auto;
  }

  .card-body {
    flex-direction: column;
    padding-right: 8px;
    gap: 8px;
  }

  .project-images {
    padding-left: 8px;
    padding-top: 8px;
    justify-content: center;
  }

  .project-images-large,
  .project-images-medium,
  .project-images-small {
    max-width: 100%;
    flex-shrink: 1;
  }

  .card-image {
    width: 100%;
    height: auto;
  }

  .project-text {
    width: 100%;
    padding-left: 8px;
  }

  .project-text-column {
    padding: 0 8px;
  }

  .list-section p {
    margin-left: 8px;
  }

  footer {
    flex-direction: column;
    justify-content: center;
    padding: 16px;
    height: auto;
    gap: 8px;
  }

  .footer-right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
}