.footer {
  background-color: #1c1c1c;
  color: #ffffff;
  text-align: center;
  padding: 60px 0 60px 0;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 20px;
}

.info-container {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 5px;
}

.info-title {
  font-size: 1.6rem;
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.2;
}

.footer-text {
  font-size: 1.8rem;
  font-family: var(--font-code);
  font-weight: 400;
  line-height: 1.2;
  color: #3dcfb6;
}

.footer-right {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.2;
  font-size: 1.6rem;
  opacity: 0.7;
  padding-left: 0;
  transition: all 0.3s ease;
}

.footer-logo {
  position: relative;
  width: 132px;
  height: 48px;
  overflow: hidden;
  cursor: pointer;
}

.footer-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 300ms ease-in;
}

.footer-solid {
  opacity: 1;
  z-index: 2;
}

.footer-outline {
  opacity: 0;
  z-index: 1;
}

/* Responsive Styles */

@media (max-width: 1600px) {
  .container {
    padding: 0 40px;
  }

  .hero-name h1 {
    font-size: 9rem;
    margin-top: -20px;
  }
}

@media (max-width: 1200px) {
  .container {
    padding: 0 40px;
  }
  h1 {
    font-size: 2.5rem;
  }
}

@media (hover: hover) {
  .footer-logo:hover .footer-solid {
    opacity: 0;
  }

  .footer-logo:hover .footer-outline {
    opacity: 1;
  }

  .footer-link::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #3dcfb6;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .footer-link:hover {
    color: #3dcfb6;
    opacity: 1;
  }

  .footer-link:hover::before {
    opacity: 1;
  }
  .mein-button:hover {
    background-color: gold;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 0;
  }

  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "left right"
      "center center";
    gap: 40px;
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 0;
  }

  .footer-left {
    grid-area: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-right {
    grid-area: right;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
  }

  .footer-center {
    grid-area: center;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
  }

  .footer-link {
    transition:
      transform 0.1s ease,
      opacity 0.1s ease;
  }

  .footer-link:active {
    transform: scale(0.95) translateY(2px);
    opacity: 0.7;
  }
}
