header {
  min-height: 64px;
  position: relative;
  /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2); */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: white;
  z-index: 3;
}

header div {
  flex: 1;
}

.container-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 0 1.5rem;
}

.ham {
  display: none;
  cursor: pointer;
}

.container-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link {
  padding: 0 1rem;
  font-size: 1.2rem;
  white-space: nowrap;
  position: relative;
}

.link:hover {
  color: #d201a9;
  transition: all 0.5s;
}

/*.link::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 90%;
  transform: translateX(-50%);
  width: 0px;
  height: 4px;
  border: none;
  border-radius: 10px;
  background-color: black;
  transition: all 0.25s;
  transform-origin: top;
}

.link:hover::after {
  width: 30px;
}*/

.container-sign-up {
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: end;
  white-space: nowrap;
}

.login {
  padding: 0 1rem;
  font-size: 1.2rem;
}

.login:hover {
  text-decoration: underline;
}

@media (width < 1300px) {
  header {
    padding: 1rem 0;
    gap: 5px;
  }

  .ham {
    display: flex;
    position: absolute;
    right: 1rem;
    align-content: center;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }

  .container-links {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: calc(100vh - 60px);
    width: 100vw;
    background-color: white;
    top: 60px;
    left: 100%;
    padding-top: 1rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.83, -0.01, 0.41, 1.07);
  }

  .link {
    display: block;
    text-align: center;
    font-size: 1.3rem;
    width: max(25vw, 200px);
    padding: 1rem 0;
    border-radius: 20px;
    background: linear-gradient(
      to right bottom,
      rgba(204, 240, 255, 1),
      rgba(247, 235, 255, 1)
    );
    transition: background 0.25s;
  }

  .link:hover {
    background: linear-gradient(
      to right bottom,
      rgba(204, 240, 255, 1),
      rgba(255, 235, 239, 1),
      rgba(247, 235, 255, 1)
    );
  }

  .link::after {
    display: none;
  }

  .container-sign-up {
    position: fixed;
    background-color: white;
    width: 100vw;
    justify-content: center;
    left: 100%;
    transition: all 0.5s cubic-bezier(0.83, -0.01, 0.41, 1.07);
  }

  .menu-shown {
    left: 0;
  }
}

footer {
  --side-padding: 1.5rem;
  background-color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  justify-content: center;
}

footer .row-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem var(--side-padding);
}

footer .row-1 div {
  flex: 1;
}

.container-logo.foot {
  transform: none;
  align-items: flex-start;
  padding: 0;
}

.container-socials {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1rem;
}

.social-links:hover i {
  opacity: 0.8;
}

.social-links i {
  font-size: 2.2rem;
  color: var(--col-text-heading);
}

.wrapper-mail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wrapper-mail h3 {
  color: var(--col-text-heading);
  font-size: 1.3rem;
  font-weight: 500;
}

.wrapper-mail p {
  font-size: 1.2rem;
  text-align: center;
}

.wrapper-mail p a:hover {
  text-decoration: underline;
}

footer .row-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid rgba(128, 128, 128, 0.5);
  padding: 1rem var(--side-padding);
}

footer .row-2 p,
footer .row-2 p a {
  color: rgb(92, 92, 92);
}

footer {
  & p {
    text-align: left;
  }
  & p.wrapper-policies {
    text-align: right;
  }
  & a.terms {
    white-space: nowrap;
  }
}

@media (width < 720px) {
  footer {
    padding: 1rem 0 0 0;
    font-size: 12px;
  }

  footer .row-1 {
    flex-direction: column;
    text-align: center;
    line-height: 1.5rem;
  }

  .container-socials {
    padding: 1rem 0;
  }

  .foot {
    display: none;
  }
}
