/* global styles */
html {
    scroll-behavior: smooth;
        scroll-margin-top: 60px; 
}
body {
    text-align: center;
    color: #382306;
    background-color: #f5dba9;
padding-top: 50px;
}
#menusmart
{
display: none;
}
#menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
background: rgb(143,74,197);
background: linear-gradient(90deg, #0b3b0b 0%, #2e7d32 35%, #81c784 70%, #c8e6c9 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    
}

#menu a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    font-weight: bold;
    color: black;
}
#menu a {
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

#menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #382306;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
#menu a:hover {
    
    color: #f5dba9;
    text-decoration: underline;
}
.logopage {
    width: 320px;
    height: 320px;
}

.error {
    color: red;
    font-weight: bold;
    font-size: 1.5em;
}
#kesako
{
    border: 2px solid #382306;
    border-radius: 8px;
    width: 60%;
    padding:20px;
    margin-left:auto;
    margin-right: auto;
    margin-bottom: 20px;
    background: #fff8ee; /* Ton sur le beige clair */
    scroll-margin-top: 60px; /* Ajustez cette valeur si nécessaire */
    text-align: left;
}
#kesako h1
{
text-align: center;
}
#kesako ul
{
list-style-type: disc;
padding-left: 10px;
}
#kesako input
{
align: center;
margin-left: auto;
margin-right: auto;
font-size: 20px;
}
#inscription
{
    border: 2px solid #382306;
    border-radius: 8px;
    width: 60%;
    padding:20px; 
    margin-left:auto;
    margin-right: auto;
    background: #fff8ee; /* Ton sur le beige clair */
    scroll-margin-top: 60px; /* Ajustez cette valeur si nécessaire */

}
#dates
{
scroll-margin-top: 60px; /* Ajustez cette valeur si nécessaire */
}
h1, h2, p, a {
    color: #382306;
}

input[type=submit] {
    display: inline-block;
    background: #41672b;
    border-radius: 5px;
    border: 3px solid #cccccc;
    color: #f4dba9;
    text-align: center;
    font-size: 28px;
    padding: 10px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 20px;
}

input, select, textarea {
    text-align: center;
    font-family: inherit;
    font-size: 150%;
}

/* Responsive list reset */
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.affichephone {
    display: none;
}

/* -- Calendrier -- */
.calendar {
    max-width: 400px;
    margin: 20px auto;
    padding: 15px;
    border: 2px solid #382306;
    border-radius: 8px;
    background: #fff8ee; /* Ton sur le beige clair */
}

.calendar h2{
    text-align: center;
    margin-bottom: 10px;
    color: #382306;
    font-size: 1.5rem;
}
.calendar p{
    text-align: center;
    margin-bottom: 10px;
    color: #382306;
    font-size: 1.2rem;
}
.calendar ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.calendar ul li {
    background: #41672b; /* même vert que bouton */
    color: #f5dba9;      /* beige clair */
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

/*--.calendar ul li:hover {
    transform: scale(1.05);
}--*/

#social-share a {
  text-align: center;
  font-size: 4em;
  color:#41672b;
}


@media screen and (max-width: 1200px) {
    body {
        
    }

    .logopage {

    }

    input[type=submit] {
        font-size: 2em;
    }

    .affiche {
        width: 100%;
    }
    #menu
{
display: none;
}
#menusmart 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
background: rgb(143,74,197);
background: linear-gradient(90deg, #0b3b0b 0%, #2e7d32 35%, #81c784 70%, #c8e6c9 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
    #menusmart a {
    
    text-decoration: none;
    margin: 5px;
    font-size: 25px;
    font-weight: bold;
    color: black;
}

#inscription
{
    border: 2px solid #382306;
    border-radius: 8px;
    width: auto;
    max-width: 600px;
    padding:20px;
    margin-left:auto;
    margin-right: auto;
    background: #fff8ee; /* Ton sur le beige clair */
    scroll-margin-top: 60px; /* Ajustez cette valeur si nécessaire */

}
#kesako
{
    border: 2px solid #382306;
    border-radius: 8px;
    width: auto;
    max-width: 600px;
    padding:20px;
    margin-left:auto;
    margin-right: auto;
    margin-bottom: 20px;
    background: #fff8ee; /* Ton sur le beige clair */
    scroll-margin-top: 60px; /* Ajustez cette valeur si nécessaire */
    text-align: left;
}
#kesako h1
{
text-align: center;
}
#kesako ul
{
list-style-type: disc;
padding-left: 10px;
}
input, select, textarea {
    text-align: center;
    font-family: inherit;
    font-size: 150%;
    width: 90%;
}
    .calendar {
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    border: 2px solid #382306;
    border-radius: 8px;
    background: #fff8ee; /* Ton sur le beige clair */
}
    .calendar h2 {
    text-align: center;
  
    color: #382306;
    font-size: 2.5rem;
}
    .calendar p{
    text-align: center;
  
    color: #382306;
    font-size: 1.5rem;
}

}

