/*  Modal      */

.close-modal {
  align-items: flex-end;
}

.modal-overlay {
  width: 100%;
  height: 100%;

  background-color: rgba(0, 0, 0, 0.7);

  position: fixed;
  top: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  z-index: 999;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

#form-login h2,
#form-subscribe h2 {
  margin-bottom: 3rem;
}

#form-login,
#form-subscribe {
  display: none;
}

#form-login.visible,
#form-subscribe.visible {
  display: block;
}

.modal {
  background: #f0f2f5;
  padding: 2.4rem;
  width: 90%;
  max-width: 500px;
  position: relative;
  z-index: 1;
  text-align: center;
  border-radius: 5px;
}

/*  Login     */

.button.login {
  margin-left: 0;
  width: 100%;
}

.login-mail {
  text-align: start;
  margin-top: 0.8rem;
}

.subscribe {
  color: var(--color-secondary);
  transition: 0.2s;
}

.subscribe:hover {
  color: var(--color-secondary-dark);
  cursor: pointer;
}

.forgoto-password:hover {
  cursor: pointer;
  transition: all 0.5s;
  filter: brightness(80%);
}

.login-social-media {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.subscribe-social-media {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe-social-media .button.facebook {
  margin-right: 0;
}

.button.facebook {
  margin-left: 0px;
  background: #3b5998;
  width: 70%;
  text-align: center;
  align-items: center;
  margin-right: 10px;
}

.button.facebook .material-icons {
  margin-right: 0.4rem;
}

.button.google {
  margin-left: 0px;
  background: #dd4b39;
  width: 70%;
  text-align: center;
  align-items: center;
}
.button.google img {
  margin-right: 0.4rem;
}
.button.email {
  margin-left: 0px;
  width: 70%;
  text-align: center;
  align-items: center;
  margin-bottom: 5rem;
}
.close-modal {
  position: relative;
  cursor: pointer;
}

.form-subscribe {
  display: relative;

  /* transform: translate(14%, 10%); */
  width: 100%;
}

.button.facebook:hover {
  background-color: #0b40b3;
}

.button.google:hover {
  background-color: #ec2106;
}
