:root{
    --majorcolor: #115D33;
    --writingcolor: #8DD06C;

}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    font-family: verdana, arial, sans-serif;
    font-size: 10pt;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
}
main {
  flex: 1;
}

h1 {
    color: var(--writingcolor);
}

h2 {
    direction: ltr;
    size-adjust: auto;
    position: center;
    text-align: center;
    
}



/* ---------------- NAVIGATION TOPBAR ---------------- */

.topbar a {
    margin-top: 40px;
}
.topbar a:link {
    text-decoration: none;
}

.topbar * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.topbar nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: var(--majorcolor);
    z-index: 1000;
}

.topbar .logo {
    font-family: sans-serif;
    font-weight: bolder;
    font-size: 26px;
    color: white;
    text-decoration: none;
    line-height: 80px;
    margin-left: 20px;
    text-align: center;
}

.topbar nav ul {
    float: right;
    margin-right: 20px;
    background-color: var(--majorcolor);
}

.topbar nav ul li {
    font-family: sans-serif;
    display: inline-block;
    font-size: 19px;
    line-height: 80px;
    padding: 0 15px;
}

.topbar nav ul li a {
    text-decoration: none;
    color: white;
}
.topbar nav ul li a:hover {
    color: #fcfcfc;
}

.topbar button {
    position: absolute;
    top: 50%;
    right: 20px;
    outline: none;
    border: 1px solid var(--writingcolor);
    color: var(--writingcolor);
    transform: translateY(-50%);
    background-color: transparent;
    width: 80px;
    height: 40px;
    font-size: 20px;
    font-weight: bolder;
    display: none;
}

/* ----------- Responsive menu ----------- */
@media (max-width: 1200px) {
    .topbar button {
        margin-right: 20px;
        display: block;
    }

    .topbar nav ul {
        position: absolute;
        top: 80px;
        width: 100%;
        display: none;
        padding: 20px 10px;
        background: var(--majorcolor);
        border-top: 1px solid #228B22;
    }

    .topbar nav ul li {
        display: block;
        text-align: center;
    }

    .topbar nav ul.show {
        display: block;
    }
}
@media (max-width: 420px) {
    
    .topbar .logo {
        display: none;
    }
    .topbar .imageLogo{
        width: 100px;
        height: 100px;
    }
}

.content{
    display: grid;
    place-items: center;
    align-content: center;
    font: candara;
    margin-top: 60px;
    overflow: hidden;


    
    .hero {
        position: relative;
        height: 100vh;
        width: 100%;
        overflow: hidden;
    }


    .garde {
        height: 100vh;
        width: 100%;
        display: block;
        object-fit: cover;
        max-width: 100%;
    }
    
    section{
        display: grid;
        place-items: center;
        align-content: center;
        min-height: 100vh;
        }

    

            

    .overlay-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Centrage parfait */
        
        max-width: 1000px;

        font-size: 14vmin;
        font-family: 'Brush Script MT', cursive;
        text-align: center;
        color: #8dd06c;

        background-color: rgba(0, 0, 0, 0.5);
        padding: 10px 15px;
        border-radius: 25px;

        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);

        pointer-events: none; /* optionnel : pour éviter les clics sur le texte */
    }




    a {
        color: #228B22;
        text-decoration: none;
        text-align: center;
    }

    a:hover {
        text-decoration: underline;
    }

    .important {
        color: red;
        font-weight: bold;
        font-size: 18px;
        margin-top: 30px;
    }

    .highlight {
        max-width: 90%;
        background-color: #8DD06C;
        padding: 10px;
        border-radius: 8px;
        margin: 20px 0;
    }
    
    .hidden{
        opacity: 0;
        filter:blur(5px);
        transform: translateX(-100%);
        transition: all 2s;
    }
    .show{
        filter:blur(0);
        transform: translateX(0);
        opacity: 1;
    }
    .where{
        /*background-color: #edba836f;*/
        background-image: url('images/aout_2025.jpg');
        background-repeat: no-repeat;
        background-position: center center;        background-size: cover; 
        width: 100%;
        height: 100vh;
        width: 100%;
        display: block;
        object-fit: cover;
        max-width: 100%;
    }
    .when{
        /*background-color: #edba836f;*/
        background-image: url('images/IMG_9363.jpeg');
        background-repeat: no-repeat;
        background-position: center center;        background-size: cover; 
        width: 100%;
        height: 100vh;
        width: 100%;
        display: block;
        object-fit: cover;
        max-width: 100%;
    }
    .form{
        background-color: #edba83;
        width: 100%;
        direction: ltr;
        size-adjust: auto;
        position: center;
    }
    
}
.inscrit{
    
    background-color: #ffffff;
    background-size: cover;
    background-attachment: fixed;
    h2{
        color: #8dd06c;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 10px 15px;
        border-radius: 25px;

        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);

        pointer-events: none; /* optionnel : pour éviter les clics sur le texte */
    }
}
.pricing-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 1.5em;
}

.price-box {
  background-color: #f8f8f8;
  border: 2px solid #4cbb17;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.2s;
}

.price-box:hover {
  transform: scale(1.03);
}

.price-box h3 {
  color: #228b22;
  margin-bottom: 0.5em;
}

.price {
  font-size: 1.5em;
  font-weight: bold;
  color: #000000;
  margin: 0.3em 0;
}

@media (max-width: 600px) {
  .price-box {
    width: 100%;
  }
}

.disclaimer{
    margin-top: 2em; 
    padding: 1em; 
    background-color: #fff3cd; 
    border: 1px solid #ffeeba; 
    border-radius: 8px;
    font-size: 1.1em; 
    color: #856404; 
    text-align: center;
}

.center{
    background-color: #f8f8f8;
    border: 2px solid #4cbb17;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s
}
.vide{
    width:auto;
    height: 5vh;
}


footer {
  background-color: #f2f2f2;
  position: relative;
  bottom:   auto;
  padding: 20px;
  text-align: center;
  font-size: 1em;
  color: #333;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}


.footer-item {
  margin: 5px 10px;
}

footer a {
  color: #c00;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
}

.margin{
    height: 80px;
}
