/* Supprimer les marges par défaut */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #3367a1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 0;
    z-index: 1000; 
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin: 0 20px;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    padding: 10px 30px;
    display: block;
    transition: background-color 0.3s ease;
}

.navbar a:hover {
    background-color: rgba(10, 6, 247, 0.2);
}

body {
    padding-top: 60px; 
}

.background {
    display: flex;
    width: 100%; 
    height: 100vh; 
}

.text-side {
    width: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background: rgba(0, 0, 0, 0.5); 
    text-align: center;
    position: relative;
    height: 100%; 
}

.content {
    z-index: 1; 
    max-width: 80%; 
}

.content h1 {
    font-size: 3rem;
    margin: 0.5rem 0;
}

.content p {
    font-size: 1.2rem;
    margin: 1rem 0;
}

/* Boutons */
.buttons a {
    text-decoration: none;
    color: white;
    background: #4169E1; 
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.buttons a:hover {
    background: #3657a1;
}

.activities-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f8f8f8;
}

.activities-section h2 {
    font-size: 2.5rem;
    margin: 1.5rem 0;
}

.activities-section p {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.activities-section .buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
}

.activities-section .buttons a {
    text-decoration: none;
    color: white;
    background: #4169E1;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.activities-section .buttons a:hover {
    background: #3657a1; 
}

/* Conteneur du carrousel */
.carrousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

.carrousel {
    display: flex;
    transition: transform 1s ease-in-out;
}

.carrousel-item {
    min-width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carrousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background .text-side,
.background .image-side {
    height: 100vh; 
}

.image-side img {
    height: 100%; 
    object-fit: cover; 
}

#rooms .image-side img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

#rooms .image-side {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}  

/*nav bar*/
/* #checkbox {
    display: none;

  }
  
  .toggle {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition-duration: .5s;
  }
  
  .bars {
    width: 100%;
    height: 4px;
    background-color: rgb(176, 92, 255);
    border-radius: 4px;
  }
  
  #bar2 {
    transition-duration: .8s;
  }
  
  #bar1,#bar3 {
    width: 70%;
  }
  
  #checkbox:checked + .toggle .bars {
    position: absolute;
    transition-duration: .5s;
  }
  
  #checkbox:checked + .toggle #bar2 {
    transform: scaleX(0);
    transition-duration: .5s;
  }
  
  #checkbox:checked + .toggle #bar1 {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: .5s;
  }
  
  #checkbox:checked + .toggle #bar3 {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: .5s;
  }
  
  #checkbox:checked + .toggle {
    transition-duration: .5s;
    transform: rotate(180deg);
  } */


/* Responsive */
@media screen and (max-width : 800px) {
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #3367a1;
    font-size: 10px;
} 

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 0;
    z-index: 1000;
}

#home .image-side img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

#home .text-side {
    width: 175%; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background: rgba(0, 0, 0, 0.5); 
    text-align: center;
    position: relative;
    height: 100%; 
}
/*sub nav bar*/



/* Boutons */
.buttons a {
    text-decoration: none;
    color: white;
    background: #4169E1; 
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1.5rem;
    transition: background 0.3s ease;
}

.activities-section .buttons a {
    text-decoration: none;
    color: white;
    background: #4169E1;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1.5rem;
    transition: background 0.3s ease;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 1.6rem;
    padding: 10px 2px;
    display: block;
    transition: background-color 0.3s ease;
}

}