/* Réinitialisation et styles de base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif; /* Police moderne */
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9; /* Fond légèrement gris */
}

.container {
    max-width: 1100px;
    margin: 40px auto; /* Espacement entre les sections */
    padding: 0 20px;
    text-align: center;
}

.container, .about-me-section {
  max-width: 1100px;
  margin: 40px auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  box-sizing: border-box;
}
.valeurs-grid {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}
.about-me-section {
  margin-top: 32px;
  margin-bottom: 0;
  padding-left: 20px;
  padding-right: 20px;
}
.about-me-content {
  padding-left: 0;
  padding-right: 0;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    font-size: 2.2rem;
    color: #2c3e50; /* Bleu marine foncé */
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: #3498db; /* Bleu clair pour les liens */
}

/* Section Héros (En-tête) */
.hero {
    position: relative; /* Pour positionner l'effet d'arrière-plan */
    /* background: linear-gradient(135deg, #6dd5ed, #2193b0);  On supprime le dégradé */
    color: #fff;
    min-height: 100dvh; /* Prend toute la hauteur visible, même sur mobile */
    min-height: 100vh;  /* Fallback pour anciens navigateurs */
    display: flex;
    flex-direction: column; /* Pour aligner logo et contenu */
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden; /* Pour contenir l'effet d'arrière-plan */
}

.hero-content {
    z-index: 1;
    /* margin-top: 20%;  Supprimez ou commentez cette ligne si elle existe */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* height: 100%; */ /* Supprimez ou commentez cette ligne si elle existe */
    /* justify-content: center; */ /* Supprimez ou commentez cette ligne si elle existe */
    position: relative; /* Ajouté pour un positionnement plus précis */
    top: -100px; /* Ajustez cette valeur pour remonter les textes */
}

.logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    margin-top: 0; /* Assurez-vous qu'il n'y a pas de marge supérieure indésirable */
}

/* Animation simple pour le titre */
.animated-title {
    animation: fadeInDown 1s ease-out;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
    overflow-wrap: break-word;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    margin-top: 2.5rem; /* Ajustez cette valeur pour l'espacement par rapport au titre */
}

.cta-button {
    display: inline-block;
    background-color: #ffffff; /* Blanc */
    color: #2EA8A8; /* Couleur personnalisée */
    padding: 12px 25px;
    border-radius: 25px; /* Boutons arrondis */
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; /* Transition pour effet hover et magnétique */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none; /* Assurez-vous qu'il n'y a pas de bordure par défaut */
    cursor: pointer; /* Curseur pointeur */
    margin-top: 5rem; /* Ajout ou modification de cette ligne */    
}

.cta-button:hover {
    background-color: #f1f1f1;
    color: #014f4f;
    /* Le transform est géré par JS pour l'effet magnétique, mais on garde un léger effet au cas où JS échoue */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12); /* Ombre un peu plus forte au survol */
}


/* Effet d'arrière-plan avec Spans */
.hero-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background-effect .bg-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: transform 0.2s ease-out; /* Transition douce pour l'effet souris */
    /* Tailles et positions initiales */
}
.shape1 { width: 100px; height: 100px; bottom: 10%; left: 15%; }
.shape2 { width: 150px; height: 150px; top: 20%; right: 10%; }
.shape3 { width: 80px; height: 80px; top: 50%; left: 5%; }

.hero-background-svg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background-svg-image .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Important pour couvrir l'espace */
}

/* Section Valeurs */
#valeurs {
  margin-top: -13px;
}
#valeurs h2 {
  margin-top: 0;
}
.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Grille responsive */
    gap: 30px; /* Espace entre les éléments */
    text-align: left;
}

.valeur-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Garde la transition CSS pour le survol simple */
}

.valeur-item:hover {
     transform: translateY(-5px); /* Le JS d'animation au scroll peut surcharger ceci initialement */
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.valeur-item .icon {
    width: 80px; /* Taille des icônes */
    height: 80px;
    color: #3498db; /* Couleur des icônes */
    margin-bottom: 1rem;
}


.valeur-item h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Section Portfolio */
#portfolio {
    background-color: #ffffff; /* Fond blanc pour cette section */
    padding-top: 40px;
    padding-bottom: 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative; /* Pour le positionnement de l'overlay */
    overflow: hidden; /* Cache le débordement de l'overlay */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer; /* Indique qu'on peut cliquer (même si pas de lien ici) */
     transition: transform 0.3s ease, box-shadow 0.3s ease; /* Ajouté pour cohérence avec valeur-item */
}

.portfolio-item:hover {
     transform: translateY(-5px); /* Effet similaire aux valeurs */
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.portfolio-item img {
    display: block; /* Supprime l'espace sous l'image */
    width: 100%;
    height: auto;
    transition: transform 0.4s ease; /* Transition pour le zoom */
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.85); /* Fond semi-transparent */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Caché par défaut */
    transition: opacity 0.4s ease;
    text-align: center;
    padding: 20px;
}

/* Modifié pour que le hover de l'item déclenche le zoom et l'overlay */
.portfolio-item:hover img {
    transform: scale(1.1); /* Zoom léger sur l'image au survol */
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1; /* Affiche l'overlay au survol */
}

.portfolio-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.portfolio-overlay p {
    font-size: 1rem;
    margin-bottom: 0;
}


/* Section Contact */
.contact-section {
     background-color: #f4f7f6; /* Fond légèrement différent */
     padding: 50px 20px;
     border-radius: 8px;
     margin-top: 40px;
}

#contact-form {
    max-width: 600px;
    margin: 2rem auto 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit; /* Utilise la police du body */
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #3498db; /* Change la couleur de la bordure au focus */
    outline: none; /* Supprime l'outline par défaut */
}

.form-group textarea {
    resize: vertical; /* Permet le redimensionnement vertical */
    min-height: 120px;
}

#contact-form .cta-button {
    background-color: #2EA8A8; /* Vert pour l'envoi */
    color: #fff;
    /* border: none; déjà défini dans .cta-button */
    /* cursor: pointer; déjà défini dans .cta-button */
    width: 100%; /* Bouton pleine largeur */
    font-size: 1.1rem;
    margin-top: 1rem;
    /* La transition est héritée de .cta-button */
}

#contact-form .cta-button:hover {
    background-color: #024a4a; /* Vert plus foncé au survol */
    /* Le transform est géré par JS pour l'effet magnétique, mais on garde un léger effet au cas où JS échoue */
    transform: translateY(-2px);
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12); /* Ombre un peu plus forte au survol */
}


/* Styles pour les animations au défilement (ScrollReveal) */
.animate-on-scroll {
    opacity: 0; /* Commence invisible */
    transform: translateY(30px); /* Commence légèrement décalé vers le bas */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1; /* Devient visible */
    transform: translateY(0); /* Revient à sa position normale */
}


/* Footer */
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.9rem;
    height: 56px;
}

footer h3 {
    margin: 0;
    padding: 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.footer-main {
  text-align: center;
  flex: 1 1 auto;
}

.footer-legal-link {
  color: #2EA8A8;
  text-decoration: underline;
  font-size: 0.98em;
  margin-left: 2em;
  white-space: nowrap;
}

.footer-bar {
  position: relative;
  background-color: #2c3e50;
  color: #ecf0f1;
  height: 56px;
  width: 100%;
  margin-top: 40px;
  font-size: 0.9rem;
  display: block;
}

.footer-main {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: nowrap;
}

.footer-legal-link {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #2EA8A8;
  text-decoration: underline;
  font-size: 0.98em;
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .valeurs-grid, .portfolio-grid {
        grid-template-columns: 1fr; /* Une colonne sur mobile */
    }
    /* Désactiver l'effet parallaxe sur mobile peut être une bonne idée pour les performances */
    .hero-background-effect .bg-shape {
        /* display: none; */ /* Décommentez si vous voulez cacher sur mobile */
    }
}

@media (max-width: 480px) {
  .hero h1.animated-title {
    font-size: 2.3rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    display: block;
    max-width: 95vw;
    margin-left: auto;
    margin-right: auto;
    hyphens: none !important;
  }
  .typewriter {
    animation: none !important;
    border-right: none !important;
    white-space: normal !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100vw !important;
    display: block !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    margin-top: 0;
    hyphens: none !important;
  }
  .hero-content {
    max-width: 100vw;
    overflow: visible;
    top: -50px;
    gap: 0;
  }
}
@media (max-width: 400px) {
  .animated-title {
    font-size: 1.3rem;
  }
}

/* Typewriter effect */
header.hero .hero-content .typewriter {
    color: #fff;
    font-family: monospace;
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: 
        typing-animation 3.5s steps(40, end), /* Changement ici */
        blink-caret .75s step-end infinite;
    font-size: 1.3rem; /* Keep the size consistent with .subtitle */
    font-weight: 300; /* Keep the weight consistent */
}

@keyframes typing-animation { /* Changement de nom ici */
    from { width: 0 }
    to { width: 75% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange; }
}

/* Ajout : Correction paysage mobile */
@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hero-content {
    top: 0 !important;
    margin-top: 0 !important;
  }
}

.about-me-section {
  width: 100%;
  max-width: 1100px;
  margin: 32px auto 0 auto;
  padding: 0 20px;
}
.about-me-banner {
  background: #2EA8A8;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1.1rem 2rem;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 2px 12px rgba(44,62,80,0.07);
  transition: background 0.2s;
  user-select: none;
}
.about-me-banner:hover {
  background: #219393;
}
.about-me-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(.4,0,.7,1);
}
.about-me-section.open .about-me-arrow {
  transform: rotate(180deg);
}
.about-me-content {
  background: #fff;
  color: #222;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.07);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
 /* transition: max-height 1.1s cubic-bezier(.4,0,.7,1), opacity 1.1s 0.2s cubic-bezier(.4,0,.7,1), padding 1.1s cubic-bezier(.4,0,.7,1);*/
  transition: max-height 1.1s cubic-bezier(.4,0,.9,1), opacity 1.1s 0.2s cubic-bezier(.4,0,.9,1), padding 1.1s cubic-bezier(.4,0,.9,1);
  padding: 0 2rem;
}
.about-me-section.open .about-me-content {
  max-height: none;
  opacity: 1;
  padding: 1.5rem 2rem 2rem 2rem;
}
.about-me-content.closing {
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(.4,0,.9,1);
}
.about-me-content-inner {
  opacity: 1;
  transition: opacity 1.4s cubic-bezier(.9,0,.9,1);
}
.about-me-content-inner.closing {
  opacity: 0;
}
@media (max-width: 600px) {
  .about-me-banner, .about-me-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.about-me-flex {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.about-me-text {
  flex: 2 1 0;
  font-size: 1rem;
}
.about-me-photo {
  flex: 1 1 0px;
  max-width: auto;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.about-me-photo img {
  max-width: 180px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.10);
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
}
.about-me-photo img:hover {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 6px 24px rgba(44,62,80,0.16);
}
@media (max-width: 800px) {
  .about-me-flex {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .about-me-photo {
    width: 100%;
    justify-content: center;
  }
  .about-me-photo img {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Loader style */
#loader {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 1.5s cubic-bezier(0.4,0,0.2,1), opacity 1.5s cubic-bezier(0.4,0,0.2,1);
}
#loader.fade-out {
    opacity: 0;
    background: transparent;
    pointer-events: none;
    transition-duration: 3s;
}
.loader-text {
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    animation: loader-scale 1.2s cubic-bezier(0.4,0,0.2,1) infinite alternate;
    text-transform: uppercase;
    transition: transform 1.5s cubic-bezier(0.4,0,0.2,1), opacity 1.5s cubic-bezier(0.4,0,0.2,1);
}
#loader.fade-out .loader-text {
    transform: scale(1.25) translateY(-40px);
    opacity: 0;
}
.fade-greet {
    animation: greet-fade 0.28s;
}
@keyframes loader-scale {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.12); opacity: 0.7; }
}
@keyframes greet-fade {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}
#scrollToTop {
  position: fixed;
  right: 2.2rem;
  bottom: 6.5rem;
  z-index: 999;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
  transform: translateY(30px) scale(0.92);
  box-shadow: 0 4px 24px #2ea8a855;
  border-radius: 50%;
  padding: 0;
  width: 44px;
  height: 44px;
}
#scrollToTop svg {
  display: block;
  width: 44px;
  height: 44px;
}
#scrollToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
#scrollToTop:active {
  transform: scale(0.96);
}
#scrollToTop:hover {
  transform: scale(1.13);
}
.contact-form-wrapper {
  position: relative;
  width: 100%;
  min-height: 380px; /* valeur par défaut, ajustée dynamiquement */
}
.contact-form-wrapper.show-confirmation {
  display: flex;
  align-items: center;
  justify-content: center;
}
#form-confirmation {
  display: none;
  margin-top: 1em;
  color: #2EA8A8;
  font-weight: bold;
  text-align: center;
  font-size: 1.2em;
  animation: confirm-fade-zoom 0.7s cubic-bezier(.4,0,.2,1);
  max-width: 420px;
  width: 100%;
}
@keyframes confirm-fade-zoom {
  0% { opacity: 0; transform: scale(0.8); }
  60% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1.1em;
  box-sizing: border-box;
  margin-top: 8px;
  margin-bottom: 18px;
  transition: border-color 0.2s;
}
input[type="tel"]:focus {
  border-color: #2EA8A8;
  outline: none;
}
.required {
  color: #2EA8A8;
  font-size: 1em;
  margin-left: 2px;
  vertical-align: super;
}
.form-note {
  font-size: 0.89em;
  color: #888;
  margin-bottom: 10px;
  display: block;
}
input::placeholder, textarea::placeholder {
  font-size: 0.97em;
  color: #b0bfc7;
  opacity: 0.8;
}
.about-me-banner.animate-on-scroll {
  will-change: opacity, transform;
  z-index: 1;
}
.about-me-banner.animate-on-scroll.is-visible {
  animation: fadeInUp 1.1s cubic-bezier(.4,0,.2,1) both;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.about-me-section, .about-me-content {
  overflow: visible !important;
}
.about-me-banner-text.animate-on-scroll.is-visible {
  animation: fadeInUp 1.1s cubic-bezier(.4,0,.2,1) both;
}
.about-me-section.open .about-me-banner,
.about-me-section.open .about-me-banner:hover,
.about-me-section.open .about-me-banner:focus {
  background: #2EA8A8;
  cursor: default;
}
.scroll-down-indicator {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
  display: flex;
  justify-content: center;
  width: 100%;
}
.scroll-down-arrow {
  font-size: 3rem;
  color: #2EA8A8;
  animation: bounce-down 1s infinite;
  opacity: 0.85;
  user-select: none;
}
@keyframes bounce-down {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(16px);}
}
@media (max-width: 480px) {
  .scroll-down-indicator {
    display: none;
  }
}

@media (max-width: 900px) {
  .typewriter {
    animation: none !important;
    border-right: none !important;
    white-space: normal !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 95vw !important;
    display: block !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin-top: 0;
    hyphens: none !important;
    text-align: center !important;
  }
}

@media (max-width: 900px) and (min-width: 480px) {
  .hero h1,
  .hero h1.animated-title {
    font-size: 2.1rem;
    max-width: 95vw;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .subtitle,
  .hero .typewriter {
    font-size: 1.05rem;
    max-width: 90vw;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@keyframes float-updown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero h1,
.hero h3.subtitle {
  animation: float-updown 4s ease-in-out infinite;
  will-change: transform;
}

@media (max-width: 600px) {
  .footer-bar {
    height: auto;
    padding: 12px 0 24px 0;
  }
  .footer-main,
  .footer-legal-link {
    position: static;
    display: block;
    transform: none;
    text-align: center;
    margin: 0 auto 0.5em auto;
  }
}