/*
Theme Name: Le futur a déjà commencé THEME
Theme URI: https://monurlpersonnel.com/mesthemes
Author: Prenom NOM
Author URI: https://monurlpersonnel.com
Description: Le thème développer pour LFADC
Version: 0.1
Tags: simple, facile, sans danger, base pour la suite
*/

@tailwind base;

* {
  font-family: 'Montserrat', sans-serif;
}

body {
  color: var(--text-body);
  --sb-track-color: #BDE0D8;
  --sb-thumb-color: #1f8a70;
  --sb-size: 11px;
}

body h2 {
  font-size: 1.625rem;
}

body h3 {
  font-size: 1.5rem;
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 4px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 2px;
}

@keyframes slide-fade-in {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animBanner {
  animation: slide-fade-in 1s ease-out;
}

.underlineAnimation {
  text-decoration: none;
  color: #B85227;
  display: inline-block;
  position: relative;
}

.underlineAnimation:after {    
  background: none repeat scroll 0 0 transparent;
  bottom: 2px;
  content: "";
  display: block;
  height: 1.5px;
  left: 0%;
  position: absolute;
  background: #B85227;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

.underlineAnimation:hover:after { 
  width: 100%; 
  left: 0; 
}


header {
  background-color: #ffffff;
  transition: padding-bottom 0.4s ease;
  padding-bottom: 0px;
  font-family: 'Montserrat', sans-serif;
}

.all_menu ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.all_menu li {
  padding: 0 8px;
}

.all_menu .submenu {
  display: none;
  position: absolute;
  z-index: 1000;
  background-color: #fff;
  padding-left: 8px;
  padding-right: 8px;
  transform: translateX(-11px);
}

.all_menu #menu-header>li>a {
  font-size: 0.97rem;
}

.all_menu #menu-header>li:last-child {
  background: #EF8731;
  padding: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 10px;
  box-shadow: 2px 2px 6px 1px rgba(0, 0, 0, 0.15);
}

.all_menu #menu-header>li:last-child>a {
  color: #ffffff;
}

.all_menu li:hover .submenu {
  display: block;
}

.all_menu .submenu li {
  display: block;
  width: 100%;
  padding: 3px;
}

.all_menu .submenu li:first-child {
  padding-top: 15px;
}

.all_menu li>a {
  color: #00425A;
}

.all_menu .submenu li>a {
  font-size: 1rem;
}

.all_menu>div {
  margin-right: 0.7em;
}

.all_menu>div a {
  color: #00425A;
}

.all_menu2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #FDF7F1;
}

.all_menu2 ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.all_menu2 li {
  padding: 0 8px;
}

.all_menu2 .submenu {
  display: none;
  position: absolute;
  z-index: 1000;
  background-color: #fff;
  padding-left: 8px;
  padding-right: 8px;
  transform: translateX(-11px);
}

.all_menu2 #menu-header>li>a {
  font-size: 0.97rem;
  color: #00425A;
}

.all_menu2 #menu-header>li:last-child {
  background: #EF8731;
  padding: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 10px;
  box-shadow: 2px 2px 6px 1px rgba(0, 0, 0, 0.15);
}

.all_menu2 #menu-header>li:last-child>a {
  color: #ffffff;
}

.all_menu2 li:hover .submenu {
  display: block;
}

.all_menu2 .submenu li {
  display: block;
  width: 100%;
  padding: 3px;
}

.all_menu2 .submenu li:first-child {
  padding-top: 15px;
}

.all_menu2 li>a {
  color: #00425A;
}

.all_menu2 .submenu li>a {
  font-size: 1rem;
}

.all_menu2>div {
  margin-right: 0.7em;
}

.all_menu2>div a {
  color: #00425A;
}

.hamburger-btn {
  display: none;
}

.mobmenu-right-bt {
  right: 11px !important;
  top: 27px !important;
}

#mobmenuright {
  margin-top: 20px !important;
}

#mobmenuright>li>a {
  font-family: 'Dela Gothic One', 'sans-serif' !important;
  font-size: 1.125rem !important;
}

#mobmenuright>li li>a {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  font-size: 1rem !important;
}

#mobmenuright>li li:last-child>a {
  padding-bottom: 0.75rem !important;
}

.menu-icon svg {
  height: 1em;
  width: 1em;
  position: relative;
  left: 1.1em;
  top: 0.3em;
}

.menu-icon2 svg {
  height: 1em;
  width: 1em;
  position: relative;
  left: 2em;
  top: 0.3em;
}

.menu-icon3 svg {
  height: 1em;
  width: 1em;
  position: relative;
  left: 0.3em;
  top: 0.3em;
}

.menu-icon3>a {
  display: grid;
  grid-template-columns: 122px 25px;
}

.menu-icon2>a {
  display: grid;
  grid-template-columns: 75px 40px;
}

.menu-icon>a {
  display: grid;
  grid-template-columns: 75px 25px;
}

.header {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.header>.img_logo {
  grid-area: 1 / 1 / 2 / 2;
}

.header>.all_menu {
  grid-area: 1 / 2 / 2 / 6;
}
	
				
footer a:hover {
  color: #EF8731 !important;
}

#menu-footer,
#menu-footer2,
#menu-footer3,
#menu-footer4 {
  margin-bottom: 0;
}

#menu-footer>li>a,
#menu-footer2>li>a,
#menu-footer3>li>a,
#menu-footer4>li>a {
  color: #FFFFFF;
  /* Couleur du texte par défaut */
  transition: color 0.3s ease;
}

#menu-footer>li>a:hover,
#menu-footer2>li>a:hover,
#menu-footer3>li>a:hover,
#menu-footer4>li>a:hover {
  color: #FFFFFF;
  /* Couleur du texte au survol */
}

/* Media query pour les tailles d'écran spécifiées */
@media (max-width: 424px) {

  #menu-footer>li>a,
  #menu-footer2>li>a,
  #menu-footer3>li>a,
  #menu-footer4>li>a {
    font-size: 0.875rem;
    /* Taille pour mobile (14px) */
  }
}

@media (min-width: 425px) and (max-width: 767px) {

  #menu-footer>li>a,
  #menu-footer2>li>a,
  #menu-footer3>li>a,
  #menu-footer4>li>a {
    font-size: 1rem;
    /* Taille pour mobile (16px) */
  }
}

.shadow-border {
  border: 1.5px solid #00425A;
}

div.shadow-border {
  position: relative;
}

div.shadow-border::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #1F8A70;
  opacity: 0;
  transition: opacity 0.3s ease;
}

div.shadow-border:hover::after {
  opacity: 0.9;
}

.bgPartenaires::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(158, 208, 255, 0.8);
  /* Adjust the last value to change the opacity */
}


.evenement p {
  margin-bottom: 1.5rem;
}

.evenement h1 {
  font-weight: bold;
  font-size: 2rem;
  /* Taille pour laptop (32px) */
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.evenement h2 {
  font-weight: bold;
  font-size: 1.625rem;
  /* Taille pour laptop (26px) */
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.evenement h3 {
  font-weight: bold;
  font-size: 1.5rem;
  /* Taille pour laptop (24px) */
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.evenement h4 {
  font-weight: bold;
  font-size: 1.375rem;
  /* Taille pour laptop (22px) */
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.evenement h5 {
  font-weight: bold;
  font-size: 1.125rem;
  /* Taille pour laptop (18px) */
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.evenement figcaption {
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Media query pour .evenement figcaption */
@media (max-width: 767px) {
  .evenement h1 {
    font-size: 1.6rem;
    /* Taille pour mobile (25.6px) */
  }

  .evenement h2 {
    font-size: 1.375rem;
    /* Taille pour mobile (22px) */
  }

  .evenement h3 {
    font-size: 1.2rem;
    /* Taille pour mobile (19.2px) */
  }

  .evenement h4 {
    font-size: 1.125rem;
    /* Taille pour mobile (18px) */
  }

  .evenement h5 {
    font-size: 0.9rem;
    /* Taille pour mobile (14.4px) */
  }
}

.dropShadowEvenement {
  top: 0px;
  position: relative;
  text-decoration: none;
  z-index: 5;
  overflow: hidden;

  &:hover {
    transition: all 0.2s ease-out;
    box-shadow: 10px 10px 20px rgba(239, 135, 49, 0.5);
    top: -10px;
    border: 2px solid #1F8A70;
  }
}

article:hover .image-container {
  filter: brightness(50%);
}

.resp-accordion {
  font-weight: 600;
}

@tailwind components;
@tailwind utilities;