@import "variables.css";

/* Footer konténer */
.footer {
  margin-top: 50px;
  position: relative;
  bottom: 0;
  left: 0;
  max-width: 100%;
  background-color: #000;
  color: #fff;
  padding-top: 70px;
  padding-bottom: 20px;
  text-align: center;
}

hr.line {
  border: 0.5px solid #fff;
  border-radius: 5px;
  width: 80%;
}

/* Láthatóvá válás állapota */
.footer.visible {
  opacity: 1;
  visibility: visible;
}

/* Egyéb stílusok az elrendezéshez */
.footer-content {
  position: relative;
  margin: auto;
  max-width: 80%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 30px;
  padding-bottom: 20px;
  justify-content: space-between;
}

.logo {
  margin-top: auto;
  margin-bottom: auto;
}

.logo img {
  width: 130px;
}

.contact-policies {
    margin-left: 40px;
    margin-right: 40px;
  align-self: center;
  display: flex;
  justify-content: space-between;
}

.simple-logo {
  margin-top: auto;
  margin-bottom: auto;
}

.simple-logo a img {
    height: 130px
}

.contact {
  margin-top: auto;
  margin-right: 30px;
}

.contact h4 {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--primary-color);
}

.contact p,
.contact a {
  margin: 15px 0;
  color: #fff;
  text-decoration: none;
}

.policies {
  margin-top: auto;
}

.policies a {
  align-items: center;
  display: block;
  margin: 15px 0;
  color: #fff;
  text-decoration: none;
  font-size: 1em;
}

.policies a:hover {
  text-decoration: underline;
}

.social {
  text-align: center;
  margin-top: 50px;
}

.follow {
  font-weight: bold;
}

.follow-us {
  color: var(--primary-color);
  text-decoration: underline;
}

.social-icons {
  margin-top: 25px;
  margin-bottom: 20px;
}

.social-icons a img {
  width: 30px;
  margin: 0 10px;
  transition: transform 0.3s;
}

.social-icons a img:hover {
  transform: scale(1.2);
}


@media (max-width: 900px) {
  .footer-content {
    width: fit-content;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    gap: 30px;
  }
  .contact-policies {
    flex-direction: column;
    align-self: flex-start;
    position: relative;
    left: auto;
    gap: 40px;
  }
  hr.line {
    opacity: 0;
  }
  .social {
    margin-top: 10px;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
  }
  .follow {
    word-wrap: normal;
  }
  .simple-logo {
      margin: auto;
  }
  .logo {
      margin-bottom: 20px;
      margin-left: auto;
      margin-right: auto;
  }
}
