header {
  position: relative;
  padding: 20px 0;
}
@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }
}
header .header-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  height: 100px;
}
@media (max-width: 768px) {
  header .header-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
  }
}
header .header-container .logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
header .header-container .logo-container .logo {
  display: block;
  flex: 1;
  max-width: 70px;
  height: auto;
}
header .header-container .menu-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  header .header-container .menu-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
}
header .header-container .menu-container .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
@media (max-width: 768px) {
  header .header-container .menu-container .menu {
    position: absolute;
    visibility: visible;
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #333333;
    padding: 0;
    margin: 0;
    padding-bottom: 10px;
    list-style: none;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.333);
    border-radius: 5px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
  }
  header .header-container .menu-container .menu.hidden {
    visibility: hidden;
    opacity: 0;
    transition: all 0s;
  }
}
header .header-container .menu-container .menu a {
  position: relative;
  margin: 0 10px;
  font-size: 1.2em;
  font-weight: 300;
  cursor: pointer;
  text-decoration: none;
}
@media (max-width: 768px) {
  header .header-container .menu-container .menu a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px;
    font-size: 1.5em;
    font-weight: 400;
  }
}
header .header-container .menu-container .menu a:hover::after {
  width: 100%;
  transform: translateX(-50%);
}
header .header-container .menu-container .menu a::after {
  content: "";
  position: absolute;
  display: block;
  bottom: -2px;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
  height: 2px;
  background: #fff;
  transition: width 0.2s;
}
@media (max-width: 768px) {
  header .header-container .menu-container .menu a::after {
    display: none;
  }
}
@media (max-width: 768px) {
  header .header-container .menu-container .menu a .header-menu-item {
    font-size: 1.2rem;
    margin: 0;
    text-decoration: underline;
    text-align: center;
    width: 100%;
  }
}
header .header-container .menu-container .hamburger {
  display: none;
}
header .header-container .menu-container .hamburger:active {
  background-color: transparent;
}
@media (max-width: 768px) {
  header .header-container .menu-container .hamburger {
    position: absolute;
    display: block;
    right: 0;
    top: 0;
    padding: 0;
    cursor: pointer;
    z-index: 999;
    margin: 0;
    border: none;
    background: transparent;
    outline: none;
    color: #fff;
    height: 70px;
  }
}
header .header-container .menu-container .hamburger .hamburger-icon {
  width: 35px;
  height: 20px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  opacity: 0.85;
}
@media (max-width: 768px) {
  header .header-container .menu-container .hamburger .hamburger-icon {
    height: 20px;
  }
}
header .header-container .menu-container .hamburger .hamburger-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 9px;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}
header .header-container .menu-container .hamburger .hamburger-icon span:nth-child(1) {
  top: -6px;
}
@media (max-width: 768px) {
  header .header-container .menu-container .hamburger .hamburger-icon span:nth-child(1) {
    top: 0px;
  }
}
header .header-container .menu-container .hamburger .hamburger-icon span:nth-child(2), header .header-container .menu-container .hamburger .hamburger-icon span:nth-child(3) {
  top: 4px;
}
@media (max-width: 768px) {
  header .header-container .menu-container .hamburger .hamburger-icon span:nth-child(2), header .header-container .menu-container .hamburger .hamburger-icon span:nth-child(3) {
    top: 10px;
  }
}
header .header-container .menu-container .hamburger .hamburger-icon span:nth-child(4) {
  top: 14px;
}
@media (max-width: 768px) {
  header .header-container .menu-container .hamburger .hamburger-icon span:nth-child(4) {
    top: 20px;
  }
}
header .header-container .menu-container .hamburger .hamburger-icon.open span:nth-child(1) {
  top: 4px;
  width: 0%;
  left: 50%;
}
@media (max-width: 768px) {
  header .header-container .menu-container .hamburger .hamburger-icon.open span:nth-child(1) {
    top: 10px;
  }
}
header .header-container .menu-container .hamburger .hamburger-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
header .header-container .menu-container .hamburger .hamburger-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
header .header-container .menu-container .hamburger .hamburger-icon.open span:nth-child(4) {
  top: 4px;
  width: 0%;
  left: 50%;
}
@media (max-width: 768px) {
  header .header-container .menu-container .hamburger .hamburger-icon.open span:nth-child(4) {
    top: 10px;
  }
}
@media (max-width: 768px) {
  header .header-container .filler {
    display: none;
  }
}

.big-projects-cards {
  position: relative;
  margin-top: 20px;
}
.big-projects-cards .cards {
  position: relative;
}
.big-projects-cards .card {
  --hsl: var(--hue), var(--saturation), var(--lightness);
  border: 1px solid rgba(236, 239, 241, 0.2);
  border-radius: 15px;
  transition: 400ms background ease;
  will-change: background;
}
.big-projects-cards .overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  opacity: var(--opacity, 0);
  -webkit-mask: radial-gradient(25rem 25rem at var(--x) var(--y), #000 1%, transparent 50%);
  mask: radial-gradient(25rem 25rem at var(--x) var(--y), #000 1%, transparent 50%);
  transition: 400ms all ease;
  will-change: mask;
  z-index: 99;
}
@media (max-width: 768px) {
  .big-projects-cards .overlay {
    visibility: hidden;
  }
}
.big-projects-cards .overlay .card {
  background-color: hsla(var(--hsl), 0.15);
  border-color: hsla(var(--hsl), 1);
  box-shadow: 0 0 0 1px inset hsl(var(--hsl));
}
.big-projects-cards .card:hover {
  --lightness: 95%;
  background: hsla(var(--hsl), 0.1);
}
.big-projects-cards .cards-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .big-projects-cards .cards-inner {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 30px;
  }
}
.big-projects-cards .cards-inner .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 15px;
  transition: all 0.2s ease-in-out;
  height: 400px;
  border: 1px solid rgba(236, 239, 241, 0.2);
}
@media (max-width: 768px) {
  .big-projects-cards .cards-inner .card {
    height: 300px;
  }
}
.big-projects-cards .cards-inner .card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background-color: #313131;
  border-radius: 15px 15px 0 0;
  border-bottom: 1px solid rgba(236, 239, 241, 0.2);
  transition: all 0.2s ease-in-out;
}
.big-projects-cards .cards-inner .card .card-header .short {
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  .big-projects-cards .cards-inner .card .card-header .short {
    font-size: 0.6rem;
  }
}
.big-projects-cards .cards-inner .card .card-header:hover {
  background-color: #353535;
}
.big-projects-cards .cards-inner .card .card-body {
  position: relative;
  border-radius: 0 0 15px 15px;
  height: 100%;
  overflow: hidden;
}
.big-projects-cards .cards-inner .card .card-body .card-image {
  position: absolute;
  height: 100%;
  width: 100%;
  max-height: 100%;
  max-width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0 0 15px 15px;
  z-index: 1;
  transition: all 0.2s ease-in;
}
.big-projects-cards .cards-inner .card .card-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0 0 15px 15px;
  background: linear-gradient(170deg, rgba(12, 12, 12, 0.896) 0%, rgba(12, 12, 12, 0.897) 50%, rgba(12, 12, 12, 0.609) 100%);
  opacity: 0.9;
  z-index: 2;
  transition: all 200ms ease-in;
}
@media (max-width: 768px) {
  .big-projects-cards .cards-inner .card .card-body::before {
    opacity: 1;
  }
}
.big-projects-cards .cards-inner .card .card-body p {
  position: relative;
  margin: 0;
  padding: 20px;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.75em;
  letter-spacing: -0.4px;
  text-shadow: 0 0 10px rgb(0, 0, 0);
  z-index: 3;
}
@media (max-width: 768px) {
  .big-projects-cards .cards-inner .card .card-body p {
    font-size: 0.9em;
  }
}
.big-projects-cards .cards-inner .card .card-image img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.small-contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 150px;
  padding: 10px;
  z-index: 10;
}
@media (max-width: 768px) {
  .small-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
  }
}
.small-contact .small-projects-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  height: 540px;
}
.small-contact .small-projects-container .small-project {
  position: absolute;
  padding: 0 20px;
  height: 300px;
  background-color: #2c2c2c;
  border-radius: 12px;
  border: 1px solid rgb(212, 212, 212);
  cursor: pointer;
  transition: all 150ms ease-in;
}
.small-contact .small-projects-container .small-project:nth-child(1) {
  top: 240px;
  z-index: 4;
}
.small-contact .small-projects-container .small-project:nth-child(2) {
  top: 180px;
  z-index: 3;
}
.small-contact .small-projects-container .small-project:nth-child(3) {
  top: 120px;
  z-index: 2;
}
.small-contact .small-projects-container .small-project:nth-child(4) {
  top: 60px;
  z-index: 1;
}
.small-contact .small-projects-container .small-project:nth-child(5) {
  top: 0px;
  z-index: 0;
}
.small-contact .small-projects-container .small-project.clicked {
  transform: translateY(-200px);
}
.small-contact .small-projects-container .small-project:first-child {
  transform: none;
}
.small-contact .small-projects-container .small-project:hover:not(:first-child):not(.clicked) {
  transform: translateY(-20px);
}
.small-contact .small-projects-container .small-project .full {
  border-bottom: 1px solid rgb(212, 212, 212);
}
.small-contact .small-projects-container .small-project h2 {
  margin: 12px 0;
  letter-spacing: 0.1px;
}
.small-contact .small-projects-container .small-project p {
  margin: 10px 0;
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1.75em;
  letter-spacing: -0.4px;
  cursor: text;
}
@media (max-width: 768px) {
  .small-contact .small-projects-container .small-project p {
    font-size: 0.9em;
  }
}
.small-contact .contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .small-contact .contact {
    min-height: 540px;
  }
}
.small-contact .contact h1 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 3.8em;
  font-weight: 300;
  letter-spacing: -0.4px;
}
@media (max-width: 768px) {
  .small-contact .contact h1 {
    text-align: center;
    font-size: 4.5em;
  }
}
.small-contact .contact h2 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.4px;
}
@media (max-width: 768px) {
  .small-contact .contact h2 {
    text-align: center;
    margin-bottom: 30px;
  }
}
.small-contact .contact .image {
  margin: 0 auto;
  width: 265px;
}
.small-contact .contact .image img {
  width: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}
.small-contact .contact .clicker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 20px;
}
.small-contact .contact .clicker .icon {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.small-contact .contact .clicker .icon img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}
.small-contact .contact .clicker .resume {
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 35px;
  outline: none;
  text-decoration: none;
  border: 1px solid rgb(212, 212, 212);
  background-color: rgb(253, 253, 253);
  color: rgb(24, 24, 24);
  font-size: 1.2em;
  font-weight: 400;
  letter-spacing: -0.4px;
  cursor: pointer;
  transition: all 150ms ease-in;
}
.small-contact .contact .clicker .resume:hover {
  background-color: rgb(24, 24, 24);
  color: rgb(253, 253, 253);
}

.full {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  --clip-size: 8px;
}
.full.small {
  gap: 5px;
  --clip-size: 6px;
}
.full .title h2 {
  font-size: 1.35em;
  font-weight: 500;
}
@media (max-width: 768px) {
  .full .title h2 {
    font-size: 0.9em;
  }
}
.full .link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
  width: 20px;
  opacity: 0.7;
}
.full .link:hover {
  opacity: 0.9;
}

.hero {
  padding: 60px 0;
  position: relative;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 20px;
  }
}
.hero .hero-text {
  display: inline-block;
}
@media (max-width: 768px) {
  .hero .hero-text {
    width: 100%;
  }
}
.hero .hero-text h1 {
  margin: 10px 0;
  font-size: 108px;
  font-weight: 700;
  color: #d9dfe3;
}
@media (max-width: 768px) {
  .hero .hero-text h1 {
    text-align: center;
    font-size: 64px;
  }
}
.hero .hero-text h3 {
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  color: #b7b7b7;
  font-family: "Roboto Mono", monospace;
}
@media (max-width: 768px) {
  .hero .hero-text h3 {
    text-align: center;
    font-size: 18px;
  }
}
.hero .hero-text::before {
  content: "";
  display: block;
  width: 200px;
  height: 4px;
  margin: 20px 0;
  background-color: #d9dfe3;
}
@media (max-width: 768px) {
  .hero .hero-text::before {
    width: 100%;
  }
}
.hero .skills-scatter {
  margin-top: 80px;
  position: relative;
  height: 300px;
}
@media (max-width: 768px) {
  .hero .skills-scatter {
    margin-top: 40px;
    height: 180px;
  }
}
.hero .skills-scatter .skill {
  position: absolute;
  top: var(--y);
  left: var(--x);
  font-size: var(--size);
  opacity: 0;
  scale: 1;
  animation: fadeIn 0.8s ease-out forwards;
  transition: opacity 0.3s ease-in-out;
}
@media (max-width: 768px) {
  .hero .skills-scatter .skill {
    font-size: max(var(--size) * 0.4, 12px);
  }
}
.hero .skills-scatter .skill:nth-child(1) {
  animation-delay: 0.08s;
}
.hero .skills-scatter .skill:nth-child(2) {
  animation-delay: 0.16s;
}
.hero .skills-scatter .skill:nth-child(3) {
  animation-delay: 0.24s;
}
.hero .skills-scatter .skill:nth-child(4) {
  animation-delay: 0.32s;
}
.hero .skills-scatter .skill:nth-child(5) {
  animation-delay: 0.4s;
}
.hero .skills-scatter .skill:nth-child(6) {
  animation-delay: 0.48s;
}
.hero .skills-scatter .skill:nth-child(7) {
  animation-delay: 0.56s;
}
.hero .skills-scatter .skill:nth-child(8) {
  animation-delay: 0.64s;
}
.hero .skills-scatter .skill:nth-child(9) {
  animation-delay: 0.72s;
}
.hero .skills-scatter .skill:nth-child(10) {
  animation-delay: 0.8s;
}
.hero .skills-scatter .skill:nth-child(11) {
  animation-delay: 0.88s;
}
.hero .skills-scatter .skill:nth-child(12) {
  animation-delay: 0.96s;
}
.hero .skills-scatter .skill:nth-child(13) {
  animation-delay: 1.04s;
}
.hero .skills-scatter .skill:nth-child(14) {
  animation-delay: 1.12s;
}
.hero .skills-scatter .skill:nth-child(15) {
  animation-delay: 1.2s;
}
.hero .skills-scatter .skill:nth-child(16) {
  animation-delay: 1.28s;
}
.hero .skills-scatter .skill:nth-child(17) {
  animation-delay: 1.36s;
}
.hero .skills-scatter .skill:nth-child(18) {
  animation-delay: 1.44s;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(150px);
  }
  100% {
    opacity: var(--opacity);
    transform: translateY(0);
  }
}
.hero .skills-scatter .skill div {
  white-space: nowrap;
  transition: transform 0.2s ease-in-out;
  cursor: default;
}
.hero .skills-scatter .skill div:hover {
  transform: scale(1.05);
}

.about-me {
  padding: 60px 0;
}
@media (max-width: 768px) {
  .about-me {
    padding: 0;
    padding-bottom: 10px;
  }
}
.about-me .about-section p {
  font-size: 24px;
  font-weight: 400;
  color: #b7b7b7;
  line-height: 2;
  letter-spacing: -0.4px;
}
@media (max-width: 768px) {
  .about-me .about-section p {
    font-size: 18px;
  }
}

footer {
  margin-top: 120px;
  background-color: #151515;
}
footer .footer-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  height: 200px;
}
@media (max-width: 768px) {
  footer .footer-link {
    gap: 20px;
    height: 125px;
  }
}
footer .footer-link .icon {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transition: all 0.2s ease;
}
footer .footer-link .icon:hover {
  scale: 1.1;
}
footer .footer-link .icon img {
  width: 45px;
  height: 45px;
  object-fit: cover;
}
@media (max-width: 768px) {
  footer .footer-link .icon img {
    width: 30px;
    height: 30px;
  }
}

:root {
  --clip-size: 8px;
}

* {
  color: #dbdbdb;
  font-family: "Raleway", sans-serif;
  box-sizing: border-box;
}
*::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #1f1f1f, #151515);
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-container {
  max-width: 1100px;
  width: 100%;
  padding: 0 1em;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .page-container {
    padding: 0;
    width: 90vw;
  }
}

.footer {
  background-color: black;
}

.gg-link {
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: rotate(-45deg) scale(var(--ggs, 1));
  width: var(--clip-size);
  height: calc(var(--clip-size) * 0.25);
  background: currentColor;
  border-radius: calc(var(--clip-size) * 0.5);
}
.gg-link::after, .gg-link::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  border-radius: calc(var(--clip-size) * 0.375);
  width: calc(var(--clip-size));
  height: calc(var(--clip-size) * 1.25);
  border: calc(var(--clip-size) * 0.25) solid;
  top: calc(var(--clip-size) * -0.5);
}
.gg-link::before {
  border-right: 0;
  border-top-left-radius: calc(var(--clip-size) * 5);
  border-bottom-left-radius: calc(var(--clip-size) * 5);
  left: calc(var(--clip-size) * -0.75);
}
.gg-link::after {
  border-left: 0;
  border-top-right-radius: calc(var(--clip-size) * 5);
  border-bottom-right-radius: calc(var(--clip-size) * 5);
  right: calc(var(--clip-size) * -0.75);
}
