* {
  margin: 0;
}

header {
    background-color: white;
    padding: 5px 40px ;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }


body {
    font-family: 'Manrope', sans-serif;
    font-size: 1em;
    background-color: antiquewhite;
    margin: 0;
  }

  a {
    color: #242424;
    text-decoration: none;
  }

  a:hover {
    text-shadow: #FC0 1px 0 10px;
  }

footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

nav a {
  margin-left: 25px;
  margin-right: 25px;
}



main {
    padding-top: 30px;
    padding: 60px;
    padding-bottom: 40px;
  }

  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 450px; /* Un peu de hauteur pour que les Ã©lÃ©ments aient la place de bouger */
    padding-left: 25%;
    padding-right: 25%;
    flex-wrap: wrap;
    gap: 20px;
}

.container_prononciation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 25%;
  padding-right: 25%;
  flex-wrap: wrap;
  gap: 20px;
}


.indexelement1 {
background-image: url(kaysersberg1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position-y: 45%;

text-align: justify;
text-shadow: black 2px 2px;
letter-spacing: 1.5px;
color: white;
border: 2px solid black;
border-radius: 20px;
padding: 30px 20px 20px 20px;
width:600px;
height:2rem;
overflow:hidden;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Comic Sans MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;
    font-size: 1.25em;
}

.indexelement2 {
  background-image: url(vallee.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: 85%;
  text-align: justify;
  letter-spacing: 1.5px;
  color: white;
  border: 2px solid black;
  border-radius: 20px;
  padding: 30px 20px 20px 20px;
  width:600px;
  height:2rem;
  overflow:hidden;
      margin-left: auto;
      margin-right: auto;
      font-family: 'Comic Sans MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      text-align: center;
      font-size: 1.2em;
  }

  .indexelement3 {
    background-image: url(vallee2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 70%;
    text-align: justify;
    color: white;
    text-shadow: black 2px 2px;
    letter-spacing: 1.5px;
    border: 2px solid black;
    border-radius: 20px;
    padding: 30px 20px 20px 20px;
    width:600px;
    height:2rem;
    overflow:hidden;
        margin-left: auto;
        margin-right: auto;
        font-family: 'Comic Sans MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        text-align: center;
        font-size: 1.2em;
    }

    .indexelement4 {
      background-color: rgb(175, 208, 237);
      text-align: justify;
      color: black;
      border: 2px solid black;
      border-radius: 20px;
      padding: 30px 20px 20px 20px;
      width:600px;
      height:2rem;
      overflow:hidden;
          margin-left: auto;
          margin-right: auto;
          font-family: 'Comic Sans MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
          text-align: center;
          font-size: 1.2em;
      }

.accueil-introduction {
    display: flex;
    flex-direction:column;
    width: 50%;
    align-items: center;
    margin: auto;
  }

.annonce1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 250px;
  margin-right: 250px;
}

h1 {
    font-size: 4em;
    font-family: 'Dancing Script', cursive;

}

h2 {
    font-size: 2em;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

h3 {
  font-size: 2em;
  font-family: Comic Sans MS;
  text-align: center;
}


p {
    text-align: justify;
    line-height: 1.5em;
}

/* Texte dÃ©filant */
.messagedefilant {
  display: block;
  margin: 10px auto;
  padding: 0;
  overflow: hidden;
  position: relative;
  width: 80%;
  max-width: 1040px;
  height: 60px;
  font-family: Helvetica, Arial, Helvetica, sans-serif;
}
 
.messagedefilant div {
  position: absolute;
  min-width: 100%; /* au minimum la largeur du conteneur */
}
 
.messagedefilant div span, 
.messagedefilant div:after {
  position: relative;
  display: inline-block;
  font-size: 1.32rem;
  white-space: nowrap;
  top:0;
}
 
.messagedefilant div span {
  animation: defilement 20s infinite linear;
}
 

 
@keyframes defilement {
  0% { margin-left: 100%; }
  100% { margin-left: -100%; }
}
 
@keyframes defilement2 {
  0% { margin-left: 100%; }
  100% { margin-left: 0%; }
}


td, th {
    border: 1px solid black;
    padding: 10px;
}

table {
    border-collapse: collapse;
    margin: auto;
}

.partie-1 {
    background: linear-gradient(#e4e5e9ae, #f7f7fa);
    color: black;
    border: 2px solid black;
    border-radius: 50px;
    padding: 20px 30px;
    width:700px;
    height:2rem;
    transition:1s;
    overflow:hidden;
        margin-left: auto;
        margin-right: auto;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        text-align: center;
    }

.partie-2 {
    
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.partie-3 {
    font-size: 1.2em;
}


.partie-4{
    background: linear-gradient(#e4e5e9ae, #f7f7fa);
    color: black;
    border: 2px solid black;
    border-radius: 50px;
    padding: 20px 30px;
    width:700px;
    height:2rem;
    transition:1s;
    overflow:hidden;
        margin-left: auto;
        margin-right: auto;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        text-align: center;
}


input[id='chk1']:checked ~ div {height:auto;}
input[id='chk2']:checked ~ div {height:auto;}

input[type='submit'] {
  margin-top: 20px;
  font-size: 1em;
}



em {
  text-decoration: unterline;
}

.contact {
  text-align: center;
}


footer {
  background-color: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding-bottom: 40px;
  text-align: center;
  align-items: center;
}

.pied {
  text-align: center;
  margin-top: 2.5em;
  margin-left: auto;
  margin-right: auto;

}

section {
  margin-left: 10em;
  margin-right: 10em;
  line-height: 1.5em;
}

.anecdote {
  background-color:#efb7b7;
  color: black;
  border: 2px dotted black;
  border-radius: 20px;
  padding: 20px;
  width:800px;
  height:10rem;
  overflow:hidden;
      margin-left: auto;
      margin-right: auto;
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      text-align: justify;

}

.anecdote_bossue {
  background-color:#efb7b7;
  color: black;
  border: 2px dotted black;
  border-radius: 20px;
  padding: 20px;
  width:800px;
  height:15rem;
  overflow:hidden;
      margin-left: auto;
      margin-right: auto;
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      text-align: justify;

}

.anecdotehexe {
  background-color:#15e0e0;
  color: black;
  border: 2px dotted black;
  border-radius: 20px;
  padding: 20px;
  width:800px;
  height:16rem;
  overflow:hidden;
      margin-left: auto;
      margin-right: auto;
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      text-align: justify;
  
}

.villagedumois2 {
  background-color:#c4d7e0;
  color: black;
  border: 2px dotted black;
  border-radius: 20px;
  padding: 20px;
  width:500px;
  height:auto;
  overflow:hidden;
      margin-left: auto;
      margin-right: auto;
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      text-align: justify;

}

.bergheim {
  display: block;
  margin: auto;
}

.actualites {
  margin-top: 5em;
  margin-left: 26em;
  margin-right: 10em;
}

h4 {
  text-align: center;
}

footer {
  height: 40px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  position: bottom fixed;

  }



/*POUR MOBILES */






  @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    
    header {
      background-color: white;
      padding: 2px 5px ;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  
  
  body {
      font-family: 'Manrope', sans-serif;
      font-size: 1em;
      background-color: antiquewhite;
      margin: 0;
    }


main {
  padding-top: 30px;
  padding: 20px;
  padding-bottom: 40px;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 450px; /* Un peu de hauteur pour que les Ã©lÃ©ments aient la place de bouger */
  padding-left: 1%;
  padding-right: 1%;
  flex-wrap: wrap;
  gap: 20px;
}

.container_prononciation {
display: flex;
flex-direction: column;
justify-content: center;
padding-left: 25%;
padding-right: 25%;
flex-wrap: wrap;
gap: 20px;
}


.indexelement1 {
background-image: url(kaysersberg1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position-y: 45%;

text-align: justify;
text-shadow: black 2px 2px;
letter-spacing: 1.5px;
color: white;
border: 2px solid black;
border-radius: 20px;
padding: 30px 20px 20px 20px;
width:300px;
height:2rem;
overflow:hidden;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Comic Sans MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  text-align: center;
  font-size: 1em;
}

.indexelement2 {
background-image: url(vallee.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position-y: 85%;
text-align: justify;
letter-spacing: 1.5px;
color: white;
border: 2px solid black;
border-radius: 20px;
padding: 30px 20px 20px 20px;
width: 300px;
height:2rem;
overflow:hidden;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Comic Sans MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;
    font-size: 1.10em;
}

.indexelement3 {
  background-image: url(vallee2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: 70%;
  text-align: justify;
  color: white;
  text-shadow: black 2px 2px;
  letter-spacing: 1.5px;
  border: 2px solid black;
  border-radius: 20px;
  padding: 30px 20px 20px 20px;
  width: 300px;
  height:2rem;
  overflow:hidden;
      margin-left: auto;
      margin-right: auto;
      font-family: 'Comic Sans MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      text-align: center;
      font-size: 1.10em;
  }

  .indexelement4 {
    background-color: rgb(175, 208, 237);
    text-align: justify;
    color: black;
    border: 2px solid black;
    border-radius: 20px;
    padding: 30px 20px 20px 20px;
    width: 300px;
    height:2rem;
    overflow:hidden;
        margin-left: auto;
        margin-right: auto;
        font-family: 'Comic Sans MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        text-align: center;
        font-size: 1.10em;
    }

.accueil-introduction {
  display: flex;
  flex-direction:column;
  width: 40%;
  align-items: center;
  margin: auto;
}

.annonce1 {
display: flex;
align-items: center;
margin-left: 10px;
margin-right: 10px;
}

h1 {
  font-size: 3em;
  font-family: 'Dancing Script', cursive;

}

h2 {
  font-size: 1.8em;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

h3 {
font-size: 1.8em;
font-family: Comic Sans MS;
text-align: center;
}


p {
  text-align: justify;
  line-height: 1.5em;
}

/* Texte dÃ©filant */
.messagedefilant {
display: block;
margin: 1px auto;
padding: 0;
overflow: hidden;
position: relative;
width: 90%;
max-width: 300px;
height: 60px;
font-family: Helvetica, Arial, Helvetica, sans-serif;
}

.messagedefilant div {
position: absolute;
min-width: 100%; /* au minimum la largeur du conteneur */
}

.messagedefilant div span, 
.messagedefilant div:after {
position: relative;
display: inline-block;
font-size: 1.15rem;
white-space: nowrap;
top:0;
}

.messagedefilant div span {
animation: defilement 20s infinite linear;
}



@keyframes defilement {
0% { margin-left: 100%; }
100% { margin-left: -100%; }
}

@keyframes defilement2 {
0% { margin-left: 100%; }
100% { margin-left: 0%; }
}


td, th {
  border: 1px solid black;
  padding: 2px;
}

table {
  border-collapse: collapse;
  margin: auto;
}

.partie-1 {
  background: linear-gradient(#e4e5e9ae, #f7f7fa);
  color: black;
  border: 2px solid black;
  border-radius: 50px;
  padding: 20px 30px;
  width:320px;
  height:2rem;
  transition:1s;
  overflow:hidden;
      margin-left: auto;
      margin-right: auto;
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      text-align: center;
  }

.partie-2 {
  
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.partie-3 {
  font-size: 1em;
}


.partie-4{
  background: linear-gradient(#e4e5e9ae, #f7f7fa);
  color: black;
  border: 2px solid black;
  border-radius: 50px;
  padding: 20px 30px;
  width:320px;
  height:2rem;
  transition:1s;
  overflow:hidden;
      margin-left: auto;
      margin-right: auto;
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      text-align: center;
}


input[id='chk1']:checked ~ div {height:auto;}
input[id='chk2']:checked ~ div {height:auto;}

input[type='submit'] {
margin-top: 20px;
font-size: 1em;
}



em {
text-decoration: unterline;
}

.contact {
text-align: center;
}


footer {
background-color: white;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
text-align: center;
padding-bottom: 40px;
text-align: center;
align-items: center;
}

.pied {
text-align: center;
margin-top: 2.5em;
margin-left: auto;
margin-right: auto;

}

section {
margin-left: 5%;
margin-right: 5%;
line-height: 1.5em;
}

.anecdote {
background-color:#efb7b7;
color: black;
border: 2px dotted black;
border-radius: 20px;
padding: 10px;
width:345px;
height:300px;
overflow:hidden;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: justify;

}

.anecdote_bossue {
  background-color:#efb7b7;
  color: black;
  border: 2px dotted black;
  border-radius: 20px;
  padding: 10px;
  width:345px;
  height:460px;
  overflow:hidden;
      margin-left: auto;
      margin-right: auto;
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      text-align: justify;
  
  }

  .anecdotehexe {
    background-color:#efb7b7;
    color: black;
    border: 2px dotted black;
    border-radius: 20px;
    padding: 10px;
    width:345px;
    height:460px;
    overflow:hidden;
        margin-left: auto;
        margin-right: auto;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        text-align: justify;
    
  }


.villagedumois2 {
background-color:#c4d7e0;
color: black;
border: 2px dotted black;
border-radius: 20px;
padding: 20px;
width:500px;
height:auto;
overflow:hidden;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: justify;

}

.bergheim {
display: block;
margin: auto;
}

.actualites {
margin-top: 5em;
margin-left: 26em;
margin-right: 10em;
}

h4 {
text-align: center;
}
    }