/*
Theme Name: A L'EST
Theme URI: https://associationalest.fr/
Author: A L'EST
Description: Theme vitrine one-page pour l'association A L'EST, cree a partir de la maquette Tailwind.
Version: 1.0.11
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: alest
*/

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

body {
  font-family: "DM Sans", sans-serif !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.afu0 {
  animation: fadeUp 0.8s 0s ease both;
}

.afu1 {
  animation: fadeUp 0.8s 0.1s ease both;
}

.afu2 {
  animation: fadeUp 0.8s 0.2s ease both;
}

.afu3 {
  animation: fadeUp 0.8s 0.3s ease both;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.pillar-left-a1 {
  border-left: 4px solid #6db33f !important;
}

.pillar-left-a2 {
  border-left: 4px solid #f5c800 !important;
}

.pillar-left-a3 {
  border-left: 4px solid #2563a8 !important;
}

.alest-burger-line {
  background: #111;
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 1.5rem;
}

.alest-hero-title {
  font-size: clamp(2.45rem, 11vw, 4rem);
  max-width: 100%;
}

.alest-hero-copy {
  max-width: 32.5rem !important;
  text-wrap: balance;
}

@media (max-width: 767px) {
  .alest-hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .alest-hero-actions {
    align-items: center;
    flex-direction: column;
    width: 100%;
  }

  .alest-hero-actions a {
    width: min(100%, 270px);
  }

  .alest-hero-copy {
    max-width: 18rem !important;
  }
}

@media (max-width: 479px) {
  .alest-hero-title {
    font-size: clamp(1.7rem, 7.4vw, 2.1rem);
  }
}

.admin-bar .alest-site-nav {
  top: 32px;
}

.admin-bar .alest-mobile-nav {
  top: 96px;
}

@media (max-width: 782px) {
  .admin-bar .alest-site-nav {
    top: 46px;
  }

  .admin-bar .alest-mobile-nav {
    top: 110px;
  }
}
