/* Oscillate Animation */
@keyframes oscillate {
  0%, 100% {
    transform: translate(49px, 611px) translateY(-1.01604px);
  }
  50% {
    transform: translate(49px, 611px) translateY(-11.01604px);
  }
}

@keyframes textOscillate {
  0%, 100% {
    transform: translate(45px, 12px) rotate(-2deg);
  }
  50% {
    transform: translate(45px, 12px) rotate(2deg);
  }
}

/* Background */
.page-background {
  position: relative;
  z-index: -1;
}

.background-image {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  background-image: url('../assets/images/backgrounds/home.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Header Section */
.header-section {
  position: absolute;
  display: block;
  place-content: unset;
  align-items: unset;
  gap: 0px;
  padding: 0px;
  user-select: none;
  z-index: 10;
  opacity: 1;
  overflow: visible;
  clip: auto;
  will-change: transform;
  transition: transform 0.5s ease;
  transform: matrix(1, 0, 0, 1, 23, 31) rotate(-0.242585deg);
}

.header-section:hover {
  transform: matrix(1, 0, 0, 1, 23, 31) rotate(-0.242585deg) scale(1.02) rotate(1deg);
}

.greeting {
  position: absolute;
  display: block;
  font-size: 39px;
  font-weight: 400;
  font-family: 'DM Serif Display', serif;
  color: #000000;
  opacity: 0.56;
  text-align: left;
}

.name {
  position: absolute;
  display: block;
  font-size: 64px;
  font-weight: 400;
  font-family: 'DM Serif Display', serif;
  color: rgb(0, 0, 0);
}

/* About Section */
.about-section {
  position: absolute;
  display: block;
  place-content: unset;
  align-items: unset;
  gap: 0px;
  padding: 0px;
  user-select: none;
  opacity: 1;
  overflow: visible;
  clip: auto;
}

.about-section p {
  position: absolute;
  font-family: 'Nunito';
  color: rgb(0, 0, 0);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}

.about-section p:nth-child(2) {
  margin-top: 20px;
}

.about-section h1 {
  position: absolute;
  display: block;
  font-size: 42px;
  font-weight: 400;
  font-family: 'Bagel Fat One';
  color: rgb(0, 0, 0);
  margin: 0;
  margin-top: 20px;
}

.about-section h1::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: rgb(175, 175, 175);
  margin-top: 10px;
}

/* Navigation */
.navigation {
  position: absolute;
  display: block;
  place-content: unset;
  align-items: unset;
  gap: 0px;
  padding: 0px;
  user-select: none;
  opacity: 1;
  overflow: visible;
  clip: auto;
}

.nav-background {
  position: absolute;
  display: block;
  background-color: rgb(253, 203, 67);
  border: 3px solid rgb(224, 166, 16);
  border-radius: 9px;
}

/* Contact Section */
.contact-section {
  position: absolute;
  display: block;
  place-content: unset;
  align-items: unset;
  gap: 0px;
  padding: 0px;
  user-select: none;
  opacity: 1;
  overflow: visible;
  clip: auto;
  will-change: transform;
  animation: oscillate 2s ease-in-out infinite;
}

.contact-section h2 {
  position: absolute;
  font-size: 42px;
  font-weight: 400;
  font-family: 'Bagel Fat One';
  color: rgb(0, 0, 0);
  margin-bottom: 20px;
  margin: 0;
  text-align: center;
  animation: textOscillate 2s ease-in-out infinite;
}

.contact-section > p {
  position: absolute;
  font-size: 19px;
  font-weight: 400;
  font-family: 'Nunito';
  color: rgb(0, 0, 0);
  margin: 0;
  text-align: center;
}

.contact-links {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-row {
  display: flex;
  gap: 20px;
}

.contact-link {
  display: flex;
  width: 219px;
  height: 80px;
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
  transition: transform 0.3s ease;
}

.contact-link:hover {
  transform: scale(1.05) rotate(3deg);
}

.contact-link:active {
  transform: scale(0.9);
}

.contact-icon {
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.contact-icon img {
  position: absolute;
}

.contact-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10px;
}

.contact-platform {
  font-family: 'Bagel Fat One';
  font-size: 29px;
  font-weight: 400;
  color: rgb(255, 255, 255);
  margin-bottom: -6px;
}

.contact-handle {
  font-family: 'Nunito';
  font-size: 18px;
  font-weight: 400;
  color: rgb(255, 255, 255);
}

.contact-or {
  position: relative;
  width: 100%;
  height: 30px;
  font-size: 22px;
  font-weight: 400;
  font-family: 'Nunito';
  color: rgb(0, 0, 0);
  text-align: center;
  margin: 5px 0;
}

.contact-or::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 40%;
  height: 1px;
  background-color: rgb(150, 150, 150);
}

.contact-or::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 40%;
  height: 1px;
  background-color: rgb(150, 150, 150);
}

/* Decorations */
.decorations {
  position: absolute;
  width: 1727.25px;
  height: 903px;
  z-index: -1;
  pointer-events: none;
}

.decoration {
  position: absolute;
  display: block;
  overflow: visible;
  user-select: none;
  color: rgb(255, 255, 255);
  opacity: 1;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.hexagon {
  width: 242px;
  height: 242px;
  transform-origin: center center;
}

.hexagon svg polygon {
  fill: rgb(255, 255, 255);
  stroke: rgb(148, 168, 255);
  stroke-width: 10;
  stroke-linejoin: round;
}

.star {
  width: 197px;
  height: 197px;
  transform-origin: center center;
}

.star svg polygon {
  fill: rgb(255, 255, 255);
  stroke: rgb(148, 168, 255);
  stroke-width: 10;
  stroke-linejoin: round;
}

.square {
  width: 230px;
  height: 230px;
  transform-origin: center center;
}

.square svg rect {
  fill: rgb(255, 255, 255);
  stroke: rgb(148, 168, 255);
  stroke-width: 10;
}

/* Compass */
.compass {
  position: absolute;
  width: 165px;
  height: 156px;
}

.compass img:first-child {
  position: absolute;
  width: 140px;
  height: 133px;
}

.compass img:last-child {
  position: absolute;
  width: 75px;
  height: 70px;
  top: 43px;
  left: 47.5px;
  transform-origin: 35.2px 37.17px;
}

/* Snak */
.snak {
  position: absolute;
  width: 100px;
  height: 100px;
  transform: translate(470px, 22px) rotate(-0.970338deg);
  will-change: transform;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.snak:hover {
  transform: translate(470px, 22px) rotate(-0.970338deg) scale(1.1) rotate(10deg);
}

.snak.shrink {
  transform: translate(470px, 22px) rotate(-0.970338deg) scale(0.9);
}

.snak img {
  width: 100px;
  height: 100px;
}