:root {
  --paper: #e8e2d7;
  --ink: #1c1a17;
  --line: #292622;
  --muted: #4a453e;

  --accent: #4f3f42;
  --accent-soft: rgba(107, 99, 101, 0.13);
  --accent-warm: #8f7a6d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(39, 37, 34, 0.1) 1px, transparent 1px);
  background-size: 7px 7px;
  overflow-x: hidden;
  border: 28px solid #000;
  min-height: 100%;
  padding-top: 80px;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.portfolio-navbar {
  min-height: 80px;
  padding: 33px 35px 5px;

  background: linear-gradient(
    to bottom,
    #000 0,
    #000 28px,
    #e8e1d7 28px,
    #e8e1d7 100%
  );

  border-bottom: 2px solid #333;

  top: 0;
  left: 28px;
  right: 28px;

  z-index: 1030;
}

p {
  margin-top: 0;
}

.portfolio-navbar .navbar-brand {
  font-family: "Gaegu", monospace;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #333;
}

.portfolio-navbar .navbar-nav {
  gap: 10px;
}

.portfolio-navbar .nav-link {
  position: relative;
  padding: 8px 12px !important;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 1px;
  color: #333 !important;
  transition: color 0.25s ease;
}

.portfolio-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: #7a2638;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.portfolio-navbar .nav-link:hover {
  color: #7a2638 !important;
}

.portfolio-navbar .nav-link:hover::after,
.portfolio-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.portfolio-navbar .nav-link.active {
  color: #7a2638 !important;
}

.portfolio-navbar .navbar-toggler {
  border: 2px solid #333;
  border-radius: 8px;
  padding: 5px 8px;
}

.portfolio-navbar .navbar-toggler:focus {
  box-shadow: none;
}

.hero {
  position: relative;

  min-height: 620px;

  padding: 25px;

  display: flex;
  flex-direction: column;
  align-items: center;

  overflow: hidden;

  background: radial-gradient(
    circle at 50% 45%,
    rgba(122, 38, 56, 0.1),
    transparent 35%
  );
}

.hero-symbol {
  position: absolute;

  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;

  color: var(--ink);

  pointer-events: none;
  user-select: none;

  z-index: 2;
}

.hero-star {
  top: 160px;
  left: 14%;
  font-size: 14px;
  transform: rotate(12deg);
}

.hero-circle {
  top: 300px;
  right: 16%;
  font-size: 18px;
}
.hero-circle2 {
  top: 330px;
  left: 16%;
  font-size: 16px;
}

.hero-cross {
  top: 460px;
  left: 12%;
  font-size: 18px;
  transform: rotate(8deg);
}

.hero-star2 {
  top: 480px;
  right: 13%;
  font-size: 14px;
  transform: rotate(-10deg);
}

.hero-x {
  top: 180px;
  left: 86%;
  font-size: 15px;
  transform: rotate(15deg);
}

.hero > .section-label {
  width: 100%;
  align-self: stretch;
}

.eyebrow {
  margin: 15px 5px;

  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1.5;
}

.hero-greeting {
  margin-top: 85px;
}

.name + .eyebrow {
  margin-top: 2px;
}

.name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 8px;

  width: 100%;

  margin: 14px 0 35px;
}
.name h1.name-title {
  margin: 0;
  font-family: "Montserrat", sans-serif !important;
  font-size: 100px !important;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -6px;
  color: #0b0b0a;

  text-shadow:
    0 0 5px rgba(110, 110, 110, 0.25),
    0 0 12px rgba(110, 110, 110, 0.2),
    2px 3px 9px rgba(100, 100, 100, 0.22),
    -2px -2px 9px rgba(150, 150, 150, 0.18),
    3px 5px 16px rgba(90, 90, 90, 0.18);

  white-space: nowrap;
}
.name-dot {
  display: inline-block;
  margin: 0 5px;
  font-size: 28px;
  color: #7a2638;
  vertical-align: middle;
  transform: translateY(-6px) !important;
}

.name-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(25px);
  animation: letterReveal 1.2s ease forwards;
}

.name-title span:nth-child(1) {
  animation-delay: 0.2s;
}

.name-title span:nth-child(2) {
  animation-delay: 0.35s;
}

.name-title span:nth-child(3) {
  animation-delay: 0.5s;
}

.name-title span:nth-child(4) {
  animation-delay: 0.65s;
}

.name-title span:nth-child(5) {
  animation-delay: 0.8s;
}

.name-title span:nth-child(6) {
  animation-delay: 0.95s;
}

.name-title span:nth-child(7) {
  animation-delay: 1.1s;
}

.name-title span:nth-child(8) {
  animation-delay: 1.25s;
}

.name-title span:nth-child(9) {
  animation-delay: 1.4s;
}

.name-title span:nth-child(10) {
  animation-delay: 1.55s;
}

.name-title span:nth-child(11) {
  animation-delay: 1.7s;
}

@keyframes letterReveal {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.name-title-mobile {
  display: none;
}
.name-nickname {
  padding: 4px 10px;

  font-family: "Gaegu", cursive;
  font-size: 19px;
  line-height: 1;

  color: var(--ink);

  background: var(--accent-soft);

  transform: rotate(-2deg);
}

.hero-description {
  width: 100%;
  max-width: 900px;

  margin: 25px 0 45px;

  font-family: "Gaegu", cursive;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 2px;

  color: var(--ink);

  text-align: center;
}

.hero-card-container {
  width: min(850px, 90%);
  height: 470px;
  margin: 55px auto 30px;
  perspective: 1200px;
  z-index: 3;
}

.hero-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.hero-card-container:hover .hero-card {
  transform: rotateY(180deg);
}

.hero-card-front,
.hero-card-back {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 3px solid #333;
  border-radius: 25px;

  backface-visibility: hidden;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);

  overflow: hidden;
  box-sizing: border-box;
}

.hero-card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 35px;

  text-align: center;

  background: rgba(255, 255, 255, 0.7);
}

.hero-card-front .hero-greeting {
  margin-top: 0;
  margin-bottom: 15px;
}

.hero-card-front .name {
  margin: 5px 0 25px;
  gap: 12px;
}

.hero-card-front .name-title {
  font-size: 100px !important;
  letter-spacing: -6px;
}

.hero-card-front .eyebrow {
  margin: 10px 5px;
}

.hero-card-front .hero-description {
  max-width: 650px;
  margin: 15px 0 0;
}

.hero-card-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 40px;

  text-align: center;

  background: #24171b;

  color: white;

  transform: rotateY(180deg);
}

.card-back-small {
  margin-bottom: 20px;

  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 4px;
}

.hero-card-back h2 {
  margin: 0 0 35px;

  font-family: "Gaegu", cursive;
  font-size: 55px;
  font-weight: 700;
}

.hero-card-back .contact-button {
  margin: 0;
  padding: 12px 28px;

  background: #7a2638;
  color: #fff !important;

  border: 2px solid #7a2638;
  border-radius: 8px;

  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 1px;

  transition: all 0.25s ease;
}

.hero-card-back .contact-button:hover {
  background: transparent;
  color: #fff !important;
  border-color: #fff;
}

.hero-card-front .hero-greeting svg {
  width: 25px;
  height: 25px;
  margin: 0 5px;
  color: #7a2638 !important;
  fill: #7a2638 !important;
}

.scroll-indicator {
  width: 100%;
  max-width: 900px;

  padding-top: 10px;

  border-top: 1px solid var(--line);

  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.5px;

  text-align: center;
}

.projects {
  min-height: 600px;
  padding: 70px 25px 80px;

  background: radial-gradient(
    circle at 50% 20%,
    rgba(122, 38, 56, 0.1),
    transparent 35%
  );
}
.projects-title {
  margin: 0 0 55px;
  text-align: center;

  font-family: "Montserrat", sans-serif !important;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 10px;
  color: var(--ink);
  text-shadow:
    0 0 5px rgba(110, 110, 110, 0.25),
    0 0 12px rgba(110, 110, 110, 0.2),
    2px 3px 9px rgba(100, 100, 100, 0.22),
    -2px -2px 9px rgba(150, 150, 150, 0.18),
    3px 5px 16px rgba(90, 90, 90, 0.18);
}

.project {
  padding-top: 60px;
  padding-bottom: 60px;
}

.project-image {
  position: relative;

  width: 100%;
}

.project-image::before {
  content: "";

  position: absolute;
  inset: 10px;

  border-radius: 20px;

  background: #6c63ff;

  filter: blur(25px);

  opacity: 0.18;

  z-index: 0;
}

.project-image img {
  position: relative;

  z-index: 1;

  display: block;

  width: 100%;
  height: auto;

  border: 3px solid #333;
  border-radius: 20px;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.project-image img:hover {
  transform: translateY(-4px);

  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.project-description {
  padding: 10px 5%;

  text-align: left;
}

.project-number {
  margin-bottom: 20px;

  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;

  color: var(--ink);
}

.project-description h2 {
  margin: 0 0 25px;

  font-family: "Montserrat", sans-serif !important;
  font-size: 52px;
  font-weight: 700;
  line-height: 0.95;

  color: var(--ink);
}

.project-description > p:not(.project-number) {
  max-width: 500px;

  margin-bottom: 0;

  font-family: "Gaegu", cursive;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;

  color: var(--muted);

  text-align: left;
}

.btn-preview {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 44px;

  padding: 11px 22px;

  margin-top: 22px;

  background: var(--ink);
  color: #ffffff;

  border: 1px solid var(--ink);
  border-radius: 999px;

  text-decoration: none;

  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.btn-preview:hover {
  background: transparent;

  color: var(--ink);

  transform: translateY(-2px);
}

.btn-preview:active {
  transform: translateY(0);
}

.portfolio-footer {
  padding: 80px 25px 35px;

  background: radial-gradient(
    circle at 50% 15%,
    rgba(122, 38, 56, 0.12),
    transparent 38%
  );
}

.footer-contact-box {
  max-width: 1100px;
  min-height: 280px;

  margin: 0 auto;
  padding: 50px 50px;

  background: rgba(255, 255, 255, 0.7);

  border: 3px solid #333;
  border-radius: 25px;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.12),
    0 2px 5px rgba(0, 0, 0, 0.08);
}

.footer-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #7a2638;
}

.footer-title {
  font-family: "Montserrat", sans-serif !important;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}

.footer-text {
  max-width: 650px;

  font-family: "Gaegu", cursive;
  font-size: 17px;
  line-height: 1.25;
  color: var(--ink);
}

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

.footer-details {
  margin-top: 45px;
}

.footer-email {
  margin-bottom: 22px;

  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  letter-spacing: 1px;

  color: var(--ink);
  text-decoration: none;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-email:hover {
  color: #7a2638;
  transform: translateY(-2px);
}

.footer-socials {
  gap: 22px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  color: #7a2638;
  text-decoration: none;

  border: 2px solid transparent;
  border-radius: 50%;

  transition:
    transform 0.3s ease,
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.footer-socials svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.footer-socials a:hover {
  color: #fff;

  background: #7a2638;
  border-color: #7a2638;

  transform: translateY(-7px) rotate(-5deg) scale(1.12);

  box-shadow:
    0 8px 18px rgba(122, 38, 56, 0.3),
    0 0 0 6px rgba(122, 38, 56, 0.08);
}

.footer-copyright {
  margin-top: 45px;

  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;

  color: #555;
}
.footer-copyright a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-copyright a:hover {
  color: #7a2638;
}

.about-section {
  position: relative;
  min-height: 620px;
  padding: 25px;
  overflow: hidden;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(122, 38, 56, 0.1),
    transparent 35%
  );
}

.about-section .row {
  width: 100%;
  min-height: 570px;
  margin-left: 0;
  margin-right: 0;
}

.about-section .col-lg-6 {
  padding-left: 0;
  padding-right: 0;
}

.about-section-content {
  padding: 25px 0;
}

.about-section h1 {
  font-size: 92px;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 600;
  margin-top: 3px;
}

.about-section h2 {
  margin-top: 25px;
  font-size: 18px;
  font-family: "IBM Plex Mono", serif;
}

.about-section h3 {
  font-size: 16px;
  font-family: "IBM Plex Mono", serif;
  letter-spacing: 1px;
  margin-top: 6px;
}

.about-section p {
  font-family: "Gaegu", cursive;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 2px;
}

.name-row {
  display: flex;
  align-items: baseline;
  gap: 15px;
  position: relative;
  left: -8px;
}

.name-row h1 {
  margin: 0;
  padding: 0;
}

.name-nickname1 {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  font-family: "Gaegu", cursive;
  font-size: 19px;
  line-height: 1;
  color: var(--ink);
  background: var(--accent-soft);
  transform: rotate(-2deg);
}
.about-section .col-lg-6:last-child {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-left: 0;
}
.about-image {
  position: relative;
  transform: translateX(15px);
  z-index: 1;
  display: block;
  width: 88%;
  height: auto;
  border: 5px solid #333;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}
.work-section-container {
  position: relative;
  min-height: 620px;
  padding: 25px;
  overflow: hidden;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(122, 38, 56, 0.1),
    transparent 35%
  );
}
.work-section-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px;
}
.work-section-content h1 {
  font-size: 56px;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 700;
  margin-top: 3px;
  margin-bottom: 56px;
  text-align: center;
  letter-spacing: 3px;
}
.work-section-content .row {
  width: 100%;
  row-gap: 50px;
}
.work-section-content .col-lg-6 {
  text-align: center;
}
.work-image {
  width: 550px;
  height: 450px;
  max-width: 100%;
  display: block;
  margin: 0 auto 20px;
  border: 3px solid #333;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  object-fit: cover;
}
.work-section-content h3 {
  margin-bottom: 8px;
  font-family: "Gaegu", cursive;
  font-size: 38px;
}
.work-section-content p {
  font-family: "IBM Plex Mono", serif;
  font-size: 14px;
  margin-bottom: 0;
}
.contact-section-container {
  position: relative;
  flex: 1;
  min-height: auto;
  padding: 25px 25px 10px;

  background: radial-gradient(
    circle at 50% 45%,
    rgba(122, 38, 56, 0.1),
    transparent 35%
  );
}

.contact-section-content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 35px 25px;
}

.contact-section-content h1 {
  font-size: 60px;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
}

.contact-intro {
  max-width: 650px;
  margin: 0 auto 55px;
  text-align: center;
  font-family: "IBM Plex Mono", serif;
  font-size: 15px;
  line-height: 1.7;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.contact-card {
  min-height: 190px;
  padding: 30px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  text-decoration: none;

  border: 3px solid #333;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.45);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.contact-card svg {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: #7a2638 !important;
  fill: #7a2638 !important;
}

.contact-card h3 {
  margin-bottom: 8px;
  font-family: "Gaegu", cursive;
  font-size: 36px;
  color: #333;
}

.contact-card p {
  margin: 0;
  font-family: "IBM Plex Mono", serif;
  font-size: 13px;
  color: #555;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.75);
}

.contact-card:hover svg {
  transform: scale(1.1);
}
.contact-footer {
  margin-top: 25px !important;
  margin-bottom: 20px !important;
}

@media (max-width: 991px) {
  .hero {
    min-height: 560px;

    padding: 25px;
  }

  .hero-greeting {
    margin-top: 65px;
  }

  .eyebrow {
    font-size: 14px;
  }

  .name {
    margin: 25px 0 30px;
  }

  .name-nickname {
    font-size: 17px;
  }

  .hero-description {
    max-width: 500px;

    margin-top: 25px;

    font-size: 17px;
  }

  .hero .contact-button {
    margin-top: 5px;
    margin-bottom: 30px;
  }

  .projects {
    padding: 35px 25px 70px;
  }

  .projects .section-label {
    margin-bottom: 30px;
  }

  .project {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .project-description {
    padding: 20px 0;
  }

  .project-number {
    font-size: 11px;

    margin-bottom: 18px;
  }

  .project-description h2 {
    font-size: 48px;

    margin-bottom: 22px;
  }
  .projects-title {
    font-size: 34px;
    margin-bottom: 8px;
  }

  .project-description > p:not(.project-number) {
    font-size: 19px;

    line-height: 1.3;
  }

  .about-section {
    padding: 20px;
  }
  .about-section .row {
    min-height: auto;
  }
  .about-section-content {
    padding: 20px;
  }
  .about-section h1 {
    font-size: 72px;
  }
  .name-row {
    gap: 10px;
  }
  .about-image {
    width: 80%;
    transform: translateX(0);
    margin: 30px auto 0;
  }
  .work-section-container {
    padding: 20px;
  }
  .work-section-content {
    padding: 20px;
  }
  .work-section-content h1 {
    font-size: 46px;
    margin-bottom: 40px;
  }
  .work-image {
    width: 100%;
    max-width: 550px;
    height: auto;
  }
  .work-section-content h3 {
    font-size: 32px;
  }
  .contact-section-content {
    padding: 30px 20px;
  }

  .contact-section-content h1 {
    font-size: 48px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .contact-card {
    min-height: 160px;
  }
  .footer-title {
    font-size: 24px;
    text-align: center;
  }
}
@media (max-width: 1151px) and (min-width: 992px) {
  .work-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
  }
}

@media (max-width: 767px) {
  .top-bar {
    padding: 15px 20px;

    font-size: 10px;
  }

  .hero {
    min-height: 520px;

    padding: 20px;
  }
  .hero-symbol {
    display: none;
  }

  .section-label {
    font-size: 10px;

    white-space: nowrap;
  }

  .hero-greeting {
    margin-top: 50px;
  }

  .eyebrow {
    font-size: 11px;

    line-height: 1.4;
  }

  .hero-greeting i {
    font-size: 22px !important;
  }

  .name {
    gap: 6px;

    margin: 22px 0 28px;
  }

  .name-nickname {
    font-size: 15px;
  }

  .hero-description {
    max-width: 320px;

    margin: 20px 0 30px;

    font-size: 16px;

    line-height: 1.25;

    letter-spacing: 1px;
  }

  .hero .contact-button {
    align-self: center;

    margin: 5px auto 30px;
  }
  .hero-card-container {
    width: 92%;
    height: 390px;
    margin-top: 15px;
  }

  .hero-card-front,
  .hero-card-back {
    border-radius: 20px;
    padding: 25px;
  }

  .hero-card-front .eyebrow {
    font-size: 13px;
    letter-spacing: 1.5px;
  }

  .hero-card-front .hero-description {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .hero-card-back h2 {
    font-size: 40px;
  }

  .scroll-indicator {
    max-width: 100%;

    padding-top: 8px;

    font-size: 9px;
  }

  .projects {
    padding: 25px 20px 60px;
  }

  .projects .section-label {
    margin-bottom: 20px;
  }

  .projects-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .project {
    padding-top: 25px;
    padding-bottom: 15px;
  }

  .project-image {
    display: block;

    margin-bottom: 10px;
  }

  .project-image img {
    border-width: 2px;

    border-radius: 15px;
  }

  .project-description {
    width: 100%;

    padding: 10px 0;

    text-align: center !important;
  }

  .project-number {
    margin-bottom: 15px;

    font-size: 10px;

    text-align: center !important;
  }

  .project-description h2 {
    margin-bottom: 20px;

    font-size: 38px;

    line-height: 1;

    text-align: center !important;
  }

  .project-description > p:not(.project-number) {
    max-width: 340px;

    margin-left: auto;
    margin-right: auto;

    font-size: 17px;

    line-height: 1.3;

    text-align: center !important;
  }

  .project-description .btn-preview {
    margin-top: 20px;
  }
  .about-section {
    padding: 15px;
  }
  .about-section-content {
    padding: 15px;
  }
  .about-section h1 {
    font-size: 58px;
    line-height: 1;
  }
  .about-section h2 {
    font-size: 17px;
  }
  .about-section h3 {
    font-size: 15px;
    line-height: 1.4;
  }
  .about-section p {
    font-size: 18px;
    line-height: 1.3;
  }
  .name-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .name-row h1 {
    margin: 0;
  }
  .name-nickname1 {
    font-size: 18px;
    margin: 0;
  }
  .btn-preview {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 35px;
  }
  .about-section .col-lg-6:last-child {
    justify-content: center;
  }
  .about-image {
    width: 90%;
    transform: translateX(0);
    margin: 10px auto 20px;
  }
  .work-section-container {
    padding: 15px;
  }
  .work-section-content {
    padding: 15px;
  }
  .work-section-content h1 {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 35px;
  }
  .work-section-content .row {
    row-gap: 40px;
  }
  .work-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
  }
  .work-section-content h3 {
    font-size: 28px;
  }
  .work-section-content p {
    font-size: 13px;
    line-height: 1.4;
  }
  .contact-section-container {
    padding: 15px;
  }

  .contact-section-content {
    padding: 20px 10px;
  }

  .contact-section-content h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  .contact-intro {
    font-size: 13px;
    margin-bottom: 40px;
  }

  .contact-cards {
    gap: 18px;
  }

  .contact-card {
    min-height: 145px;
    padding: 25px 15px;
    border-radius: 15px;
  }

  .contact-card i {
    font-size: 32px;
  }

  .contact-card h3 {
    font-size: 30px;
  }

  .contact-card p {
    font-size: 12px;
  }
  .footer-title {
    font-size: 20px;
    text-align: center;
  }
  .portfolio-footer {
    padding: 25px 20px 25px;
  }
}

@media (max-width: 921px) {
  .hero-card-front .name-title {
    display: none !important;
  }

  .hero-card-front .name-title-mobile {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "Montserrat", sans-serif;
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 4px;

    color: #0b0b0a;
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .hero-card-container {
    width: 94%;
    height: 400px;
  }

  .hero-card-front {
    padding: 20px 8px;
  }

  .hero-card-front .name {
    width: 100%;
    margin: 5px 0 25px;
    gap: 0;
  }

  .hero-card-front .name-title {
    width: 100%;
    font-size: 43px !important;
    letter-spacing: -5px;
    white-space: nowrap;
    text-align: center;
  }

  .hero-card-front .name-title span {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  .hero-card-front .name-dot {
    margin: 0 1px;
    font-size: 12px;
    transform: translateY(-2px) !important;
  }
  .hero-card-front .name-title-mobile {
    font-size: 34px;
    letter-spacing: 4px;
  }

  .hero-card-front .hero-description {
    width: 100%;
    max-width: 95%;
    font-size: 13px;
    letter-spacing: 0.5px;
  }

  .hero-card-back h2 {
    font-size: 34px;
  }

  .projects {
    padding-left: 15px;
    padding-right: 15px;
  }
  .projects-title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .project-description > p:not(.project-number) {
    font-size: 16px;
  }
  .about-section {
    padding: 10px;
  }
  .about-section-content {
    padding: 10px;
  }
  .about-section h1 {
    font-size: 48px;
  }
  .about-section h2 {
    font-size: 16px;
  }
  .about-section h3 {
    font-size: 14px;
  }
  .about-section p {
    font-size: 17px;
  }
  .name-nickname1 {
    font-size: 17px;
  }
  .about-image {
    width: 95%;
  }
  .work-section-container {
    padding: 10px;
  }
  .work-section-content {
    padding: 10px;
  }
  .work-section-content h1 {
    font-size: 30px;
    margin-bottom: 30px;
  }
  .work-image {
    border-width: 3px;
    border-radius: 12px;
  }
  .work-section-content h3 {
    font-size: 25px;
  }
  .work-section-content p {
    font-size: 12px;
  }
  .footer-title {
    font-size: 22px;
    padding: 5px 5px;
    text-align: center;
  }
}
@media (max-width: 991px) {
  .portfolio-navbar .navbar-toggler {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;

    width: 44px !important;
    height: 38px !important;

    padding: 5px 8px !important;

    border: 2px solid #333 !important;
    border-radius: 8px;

    background: #e8e1d7 !important;
    opacity: 1 !important;

    transition:
      border-color 0.25s ease,
      transform 0.25s ease;
  }

  .portfolio-navbar .navbar-toggler:hover {
    border-color: #7a2638 !important;
    transform: rotate(-2deg);
  }

  .portfolio-navbar .navbar-toggler .hamburger-line {
    display: block !important;

    width: 22px !important;
    height: 2px !important;

    min-width: 22px;
    min-height: 2px;

    margin: 0 !important;
    padding: 0 !important;

    background: #333 !important;

    border: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;

    transition:
      width 0.25s ease,
      background-color 0.25s ease,
      transform 0.25s ease;
  }

  .portfolio-navbar .navbar-toggler:hover .hamburger-line {
    background: #7a2638 !important;
  }

  .portfolio-navbar .navbar-toggler:hover .hamburger-line:nth-child(1) {
    width: 16px !important;
  }

  .portfolio-navbar .navbar-toggler:hover .hamburger-line:nth-child(3) {
    width: 16px !important;
  }

  .portfolio-navbar .navbar-toggler:focus {
    box-shadow: none !important;
  }
}
