#contact {
  width: 85%;
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: var(--gothic-glow);
  border: var(--gothic-border);
  position: relative;
  margin: 40px auto;
  backdrop-filter: var(--backdrop-blur);
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 48%,
    rgba(15, 16, 17, 0.2) 50%,
    transparent 52%
  );
  pointer-events: none;
}

.contactLinks {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-left: -50px;
  padding-left: 100px;
}

.align_right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 300px;
}

.align_right a {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--text-color-bold);
  font-size: 1.4rem;
  padding: 15px 25px;
  background-color: rgba(0, 0, 0, 0.3);
  border: var(--gothic-border);
  transition: all var(--transition-speed) ease;
  letter-spacing: 1px;
  font-family: var(--font-bold) !important;
}

.align_right a:hover {
  background-color: rgba(0, 0, 0, 0.5);
  transform: translateX(10px);
  color: var(--text-color-highlight);
  box-shadow: var(--gothic-glow);
}

.align_right a img {
  height: 30px;
  transition: all var(--transition-speed) ease;
}

.align_right a:hover img {
  transform: scale(1.1);
}

.me_drawing {
  width: 40%;
  height: 500px;
  background-image: url(./images/me\ drawing.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all var(--transition-speed) ease;
  margin-left: -100px;
}

.me_drawing:hover {
  transform: scale(1.05);
}

@media (max-width: 1200px) {
  #contact {
    width: 95%;
  }

  .contactLinks {
    padding-left: 50px;
  }

  .me_drawing {
    width: 45%;
    margin-left: -50px;
  }
}

@media (max-width: 900px) {
  #contact {
    width: 100%;
    flex-direction: column-reverse;
    padding: 20px;
    margin: 0;
  }

  .contactLinks {
    width: 100%;
    margin-top: 20px;
    margin-left: 0;
    padding-left: 0;
    align-items: center;
  }

  .align_right {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    padding: 10px;
  }

  .align_right a {
    font-size: 0;
    padding: 0;
    min-width: unset;
    background: none;
    border: none;
    gap: 0;
  }

  .align_right a img {
    height: 45px;
  }

  .align_right a:hover {
    transform: translateY(-5px);
    box-shadow: none;
  }

  .me_drawing {
    width: 100%;
    height: 300px;
    margin-left: 0;
  }
}

@media (max-width: 360px) {
  .align_right {
    padding: 10px 0;
  }

  .align_right a img {
    height: 40px;
  }
}
