body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    color: white;
}
header img {
    height: 50px;
}
header button {
    background-color: #047957;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

header button:hover {
    background-color: #0d8a6d;
}

header nav {
  display: flex;
  justify-content: center;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu-item {
  text-decoration: none;
  color: black;
  padding: 15px 20px;
  position: relative;
  transition: color 0.3s;
}

.menu-item:hover {
  color: #047957;
}

.menu-item::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #047957;
  transition: width 0.3s;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.menu-item:hover::after {
  width: 100%;
  left: 0;
  transform: translateX(0);
}

.presentation {
  display: flex;
  justify-content: justify;
  text-align: justify;
  align-items: center;
  flex-direction: column;
  margin-top: 50px;
  background-color: #047957;
  border-radius: 20px;
  padding: 20px;
  width: 87%;
  margin: 10px auto;
  text-align: center;
  color: white;
  font-size: 20px;
  font-weight: bold;
  filter: drop-shadow(0 0 1rem white);
}

.presentation h1 {
  font-size: 50px;
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
}

.presentation p {
  font-size: 20px;
  color: white;
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
}

.hidden-text{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}


footer {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 10px 20px;
    background-color: white;
}

/* Accueil.html */
.welcome-section {
    height: 100vh;
    background: linear-gradient(rgba(211, 211, 211, 0.5), rgba(211, 211, 211, 0.5)), url('../files/gobelinWelcome.png') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); 
}

.welcome-bubble {
  background: url('../files/gobelinWelcome-2.png') no-repeat center center/cover;
  width: 400px;
  height: 300px;
  display: flex;
  position: relative;
  justify-content: center;
  align-self: center;
}

.welcome-bubble:hover .speech-bubble{
  opacity: 1;
  -webkit-animation: move 3s;
  animation: move 3s;
}

.speech-bubble {
	position: relative;
	background: white;
	border-radius: .4em;
  width: 400px;
  height: 150px;
  bottom: 75%;
  justify-content: center;
  align-self: center;
  opacity: 0;
}

.speech-bubble:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 10px;
	border: 20px solid transparent;
	border-top-color: white;
	border-bottom: 0;
	margin-left: -20px;
	margin-bottom: -20px;
}



.speech-bubble p {
  padding: 10px;
  font-size: 20px;
  color: #047957;
  text-align: center;
  justify-content: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
  font-size: 25px;
  font-weight: bold;
  position: relative;
  top: 50%;
  transform: translateY(-70%);
}

@keyframes move {
  from {
    margin-left: 100%;
    width: 300%; 
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}
            
@-webkit-keyframes move {
  from {
    margin-left: 100%;
    width: 300%; 
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}
/* End of Accueil.html */

/* Assemblée.html */
.assemblee-section {
  height: 100vh;
  background: linear-gradient(rgba(211, 211, 211, 0.5), rgba(211, 211, 211, 0.5)), url('../files/gobelinTable.png') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5); 
}

.assemblee-bubble {
background-color: rgba(256, 256, 256, 0.8);
border-radius: 44% 56% 53% 47% / 56% 37% 63% 44%;
width: 700px;
height: 450px;
display: flex;
position: relative;
justify-content: center;
align-self: center;
animation: border-move 30s linear infinite forwards;
filter: drop-shadow(0 0 1rem white);
}

.assemblee-title {
transform: translate(-50%, -50%);
top: 50%;
left: 60%;
display: block;
position: absolute;
max-width: 225px;
}

.assemblee-text {
transform: translateX(-50%) rotate(-8deg);
display: block;
float: left;
left: 15%;
position: relative;
font-size: 60px;
color :#047957;
align-self: center;
text-transform: uppercase;
}

.assemblee-text span {
transform: skew(-10deg);
display: block;
float: left;
text-shadow: #533d4a 1px 1px, #533d4a 2px 2px, #533d4a 3px 3px, #533d4a 4px 4px, #533d4a 5px 5px, #533d4a 6px 6px;
min-width: 10px;
min-height: 10px;
position: relative;
}

.card {
  border-radius: 8px;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
  padding: 20px;
  margin: 10px;
  float: left;
  position: relative;
  overflow: hidden;
}

.parchemin {
  font-family: 'Tangerine', cursive;
  text-align: justify;
  background-image: url("../files/parchemin.png");
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 2.5/1;
  padding: 40px;
  max-width: 500px;
  min-width: 350px;
  width: auto;
}

.card-content {
  transform: translate(0, -10%);
  overflow: scroll;
  margin: 10px;
  position: relative;
  z-index: 1;
  height: 100%;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
/* End of Assemblée.html */

/* Actualité.html */
.actualite-section {
  height: 100vh;
  background: linear-gradient(rgba(211, 211, 211, 0.5), rgba(211, 211, 211, 0.5)), url('../files/actualite.png') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5); 
}

.actualite-bubble {
background-color: rgba(256, 256, 256, 0.8);
border-radius: 44% 56% 53% 47% / 56% 37% 63% 44%;
width: 700px;
height: 450px;
display: flex;
position: relative;
justify-content: center;
align-self: center;
animation: border-move 30s linear infinite forwards;
filter: drop-shadow(0 0 1rem white);
}

.actualite-title {
transform: translate(-50%, -50%);
top: 50%;
left: 60%;
display: block;
position: absolute;
max-width: 225px;
}

.actualite-text {
transform: translateX(-50%) rotate(-8deg);
display: block;
float: left;
left: 15%;
position: relative;
font-size: 60px;
color :#047957;
align-self: center;
text-transform: uppercase;
}

.actualite-text span {
transform: skew(-10deg);
display: block;
float: left;
text-shadow: #533d4a 1px 1px, #533d4a 2px 2px, #533d4a 3px 3px, #533d4a 4px 4px, #533d4a 5px 5px, #533d4a 6px 6px;
min-width: 10px;
min-height: 10px;
position: relative;
}
/* End of Actualité.html */

/* Tresorie.html */
.tresorie-section {
  height: 100vh;
  background: linear-gradient(rgba(211, 211, 211, 0.5), rgba(211, 211, 211, 0.5)), url('../files/tresorie.png') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5); 
}

.tresorie-bubble {
background-color: rgba(256, 256, 256, 0.8);
border-radius: 44% 56% 53% 47% / 56% 37% 63% 44%;
width: 700px;
height: 450px;
display: flex;
position: relative;
justify-content: center;
align-self: center;
animation: border-move 30s linear infinite forwards;
filter: drop-shadow(0 0 1rem white);
}

.tresorie-title {
transform: translate(-50%, -50%);
top: 50%;
left: 60%;
display: block;
position: absolute;
max-width: 225px;
}

.tresorie-text {
transform: translateX(-50%) rotate(-8deg);
display: block;
float: left;
left: 15%;
position: relative;
font-size: 60px;
color :#047957;
align-self: center;
text-transform: uppercase;
}

.tresorie-text span {
transform: skew(-10deg);
display: block;
float: left;
text-shadow: #533d4a 1px 1px, #533d4a 2px 2px, #533d4a 3px 3px, #533d4a 4px 4px, #533d4a 5px 5px, #533d4a 6px 6px;
min-width: 10px;
min-height: 10px;
position: relative;
}
/* End of Tresorie.html */

/* Communautee.html */
.communautee-section {
  height: 100vh;
  background: linear-gradient(rgba(211, 211, 211, 0.5), rgba(211, 211, 211, 0.5)), url('../files/gobelinsCommunity.png') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5); 
}

.communautee-bubble {
background-color: rgba(256, 256, 256, 0.8);
border-radius: 44% 56% 53% 47% / 56% 37% 63% 44%;
width: 700px;
height: 450px;
display: flex;
position: relative;
justify-content: center;
align-self: center;
animation: border-move 30s linear infinite forwards;
filter: drop-shadow(0 0 1rem white);
}

.communautee-title {
transform: translate(-50%, -50%);
top: 50%;
left: 60%;
display: block;
position: absolute;
max-width: 225px;
}

.communautee-text {
transform: translateX(-50%) rotate(-8deg);
display: block;
float: left;
left: 15%;
position: relative;
font-size: 60px;
color :#047957;
align-self: center;
text-transform: uppercase;
}

.communautee-text span {
transform: skew(-10deg);
display: block;
float: left;
text-shadow: #533d4a 1px 1px, #533d4a 2px 2px, #533d4a 3px 3px, #533d4a 4px 4px, #533d4a 5px 5px, #533d4a 6px 6px;
min-width: 10px;
min-height: 10px;
position: relative;
}

/* End of Communautee.html */

/* Rejoindre.html */

.rejoindre-section {
  height: 100vh;
  background: linear-gradient(rgba(211, 211, 211, 0.5), rgba(211, 211, 211, 0.5)), url('../files/GobelinsWantYou.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5); 
}

legend{
  text-align: left;
  background-color: #4CAF50; 
  padding: 5px; 
  border-radius: 10px; 
}

input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px; 
  border: 1px solid #ccc; 
  border-radius: 5px;
  box-sizing: border-box; 
  font-size: 16px; 
}


button {
  background-color: #047957; 
  color: white; 
  padding: 10px 15px; 
  border: none; 
  border-radius: 5px; 
  cursor: pointer; 
  font-size: 18px; 
  transition: background-color 0.3s; 
}

button:hover {
  background-color: #0d8a6d; 
}

#rejoindre-main{
  width: 40%;
  padding: 2rem;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.8);
  opacity: 0.5;
  animation: animation 1s;
}

#rejoindre-main:hover{
  opacity: 1;
  transition: 0.3s;
}

#rejoindre-main h1{
  font-size: 4rem;
  text-align: center;

}

#join-form {
  display: none;
}

#rejoindre-main:hover #join-form{
  display: block;
}

@keyframes animation {
  0% { opacity: 0; transform: scale(0.25); color: black; }
  85% { opacity: 1; transform: scale(1.1); color: black; }
  100% { transform: scale(1); color: black; }
}
/* End of Rejoindre.html */

/* Apropos.html*/

.container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile img {
  width: 150px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 5px solid #fff;
}

.profile p {
  text-align: center;
}

@media (max-width: 600px) {
  .container {
      flex-direction: column;
  }
}

section {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

@media (max-width: 600px) {
  section {
      flex-direction: column;
  }
}

/* End of Apropos.html */