/**
 * @file
 * The footer components.
 *
 * It includes styles for the footer itself and its
 * components.
 */

/**
 * Global footer rules
 */

.main__footer {
  margin-top: auto;
  background-color: #231D0A;
  color: var(--color-white);
  padding-top: 75px;
  padding-bottom: 40px;
}

/**
* Main Footer
*/

#block-racing-equipe-vidal-footer {
  display:flex;
  flex-direction: column;
  margin: 32px 0;
}


.footer__brand {
  font-size: 32px;
  font-style: italic;
  font-weight: 900;
  text-align: center;
  line-height: 40px;

  a:hover {
    text-decoration: none;
  }
}

.footer-contact {
  display:flex;
  flex-direction: column;
  align-items: center;

  .contacts {
    display:flex;
    flex-direction: column;
    align-items: center;
    gap:16px;

    p {
      font-size: 32px;
      font-weight: 700;
      line-height: 62px; /* 193.75% */
    }
    .phone {
      position: relative;
    }
    .phone::before {
      position:absolute;
      content: "";
      display: block;
      width: 16px;
      height: 16px;
      background-image: url("../../images/Phone.png");
      background-repeat: no-repeat;
      background-size: contain;
      left: -24px;
      top: 50%;
      transform: translateY(-50%);
    }

    .mail {
      position:relative;
    }
    .mail::before {
      position:absolute;
      content: "";
      display: block;
      width: 20px;
      height: 16px;
      background-image: url("../../images/Mail.png");
      background-repeat: no-repeat;
      background-size: contain;
      left: -28px;
      top: 50%;
      transform: translateY(-50%);
    }

    .reseaux-sociaux{
      display: flex;
      flex-direction: row;
      gap:16px;

      .facebook::after {
        content: "";
        display: block;
        width: 32px;
        height: 35px;
        background-image: url("../../images/facebook.png");
        background-repeat: no-repeat;
        background-size: contain;
      }

      .instagram::after {
        content: "";
        display: block;
        width: 32px;
        height: 35px;
        background-image: url("../../images/insta.png");
        background-repeat: no-repeat;
        background-size: contain;
      }
    }
  }
}

.footer-text {
  text-align: center;
}

@media all and (min-width: 600px) {

  .footer-contact {
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap:16px;
    flex-shrink: 0;

    .photo {
      flex-shrink: 0;
    }

    .contacts {
      margin-left: 32px;
      align-items: start;
      h2 {
        margin: 16px 0;
      }
      p {
        margin: 0;
      }
      .phone,
      .mail {
        margin-left: 30px;
      }
    }
  }
}

@media all and (min-width: 1000px) {
  .footer__brand{
    text-align: left;
    font-size: 48px;
  }
}
@media all and (min-width: 1200px) {
  #block-racing-equipe-vidal-footer {
    display:flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    margin: 85px 0;
  }
  .footer-text {
    text-align: start;
  }
}



/*
Menu Pied de page
*/

#block-racing-equipe-vidal-pieddepage .menu {
  display: flex;
  flex-direction: column;
  align-items: center;

  .menu__item{
    margin-bottom: 32px;
    a{
      color: var(--color-white);
    }
  }
}

@media all and (min-width: 1000px) {
  #block-racing-equipe-vidal-pieddepage .menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
}