/* color / police */

/* 
    MARRON CLAIR #AD8966 ( Paléolithique )
    MARRON FONCE #5B4D43 ( Néolithique )
    JAUNE #C8A65E ( Age des métaux )
    ROSE #B67979 ( Histoire vivante )
    BLEU #AEC1B7 ( Fond )
    GRIS #D0C7C0 ( Fond )

    Montserrat classique ( texte )
    Kollektif ( titres )
    Aileron ( sous titres )

*/

:root {
    --light-brown : #AD8966;
    --dark-brown : #5B4D43  ;
    --yellow : #C8A65E ;
    --pink : #B67979 ;
    --blue : #AEC1B7 ;
    --grey : #D0C7C0 ;
    --cream : #F5FFFA ;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--cream);
}

p {
    color: var(--dark-brown);
    font-size: 20px;
}

.description {
    width: 50%;
    padding-left: 20px;
    padding-right: 20px;
    white-space: pre-wrap;
    text-align: justify;
}

.separation {
    position: relative;
    width: 50%;
    height: 1px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: var(--blue);
}

/* Slider img */


.slider{
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.slides {
    width: 500%;
    height: 100%;
    display: flex;
}

.slides input {
    display: none;
}

.slide{
    width: 20%;
    transition: 2s;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navigation-manual {
    position: absolute;
    width: 100%;
    margin-top: -60px;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.manual-btn {
    border: 3px solid var(--dark-brown);
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: 1s;
}

.manual-btn:not(:last-child) {
    margin-right: 40px;
}

.manual-btn:hover {
    background: var(--blue);
}

#radio1:checked ~ .first {
    margin-left: 0;
}

#radio2:checked ~ .first {
    margin-left: -20%;
}

#radio3:checked ~ .first {
    margin-left: -40%;
}

.navigation-auto {
    position: absolute;
    display: none;
    width: 800px;
    justify-content: center;
    margin-top: 460px;
}

.navigation-auto div {
    border: 2px solid green;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}

.navigation-auto div:not(:last-child) {
    margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1 {
    background: red;
}

#radio2:checked ~ .navigation-auto .auto-btn1 {
    background: red;
}

#radio3:checked ~ .navigation-auto .auto-btn1 {
    background: red;
}



/* navbar */

nav {
    text-align: center;
    position: fixed;
    top: 0;
    gap: 0;
    z-index: 10;
}

.menu {
    position: relative;
    top: 10px;
    display: flex;
    top: 10px;
    font-size: 25px;
}

.separation-menu-container {
    width: 0.5px;
    height: 40px;
    position: relative;
    background-color: var(--light-brown);
}

.separation-menu {
    width: 0.5px;
    height: 20px;
    top: 10px;
    position: relative;
    background-color: var(--cream);
}

.menu > li {
    list-style-type: none;
    font-size: 20px;
    float: left;
    color: var(--cream);
    padding-left: 20px;
    padding-right: 20px; 
    min-width: 140px;
    height: 40px;
    line-height: 40px;
    background: var(--light-brown);
    cursor: pointer;
}

.sub-menu {
    transform: scale(0);
    transform-origin: top center;
    transition: all 300ms ease-in-out;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sub-menu li {
    list-style-type: none;
    width: 100%;
    font-size: 17px;
    left: -20px;
    width: calc(100% + 40px);
    position: relative;
    background: var(--light-brown);
    padding: 8px 0px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(0);
    transform-origin: top center;
    transition: all 300ms ease-in-out;
}

.sub-menu li:last-child {
    border-bottom: 0;
}

.sub-menu li:hover {
    background: var(--dark-brown);
}

.menu > li:hover .sub-menu li {
    transform: scale(1);
}

.menu > li:hover .sub-menu {
    transform: scale(1);
}

nav img {
    max-height: 225px;
    /* background: #D0C7C090; */
    background-color: transparent;
    transition: max-height 0.4s ease;
}

.scrolled .logo {
    max-height: 80px; /* Hauteur de l'image lorsque la page est défilée */
}

/* footer */

footer {
    display: flex;
    flex-direction: column;
    color:#f0f9ff;
    background-color:#282d32;
    padding: 50px 0;
    width: 100%;
    align-items: center;
}

footer h3, footer div h3 {
    margin-top:0;
    margin-bottom:12px;
    font-weight:bold;
    font-size:18px;
}

footer div ul {
    padding:0;
    list-style:none;
    line-height:1.6;
    font-size:16px;
    margin-bottom:0;
}

footer div ul a {
    opacity: 0.6;
    text-decoration: none;
    color: inherit;
}

footer div ul a:hover {
    opacity:0.8;
}

.copyright {
    text-align:center;
    padding-top:24px;
    opacity:0.3;
    font-size:13px;
    margin-bottom:0;
}

.col-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10%;
    align-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.about, .services {
    display: flex;
    text-align: center;
    flex-direction: column;
}

.social-icon-container img {
    max-width: 60px;
    opacity: 0.6;
    padding: 5px;
    filter: invert(1) sepia(1) saturate(10000%) hue-rotate(180deg);
}

.social-icon-container img:hover {
    opacity: 0.8;
}

.social-icon-container {
    display: flex;
    width: 100%;
    gap: 2%;
    align-items: center;
    justify-content: center;
    align-content: center;
}

/* bandeau */

.bandeau {
    width: auto;
    height: 175px;
    margin-top: 50px;
    margin-left: 150px;
}

/* menu */


.choix-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: center;
    cursor: pointer;
    position: relative;
    gap: 40px;
}

.choix-container a {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--blue);
    border-radius: 5px;
}

.choix-container h3 {
    position: relative;
    z-index: 1;
    padding-bottom: 5px;
    padding-top: 5px;
}

.choix-container h3 {
    z-index: 4;
    background-color: var(--cream);
}

.choix-container div:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    pointer-events: none; 
    z-index: 2;
    border-radius: 5px;
}

.img-menu-container {
    width: 200px;
    height: 200px;
}

.img-menu-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* activity container */

.activityContainer {
    width: 70%;
    background-color: var(--cream);
    height: min-content;
}

.titleContainer {
    padding: 35px;
    padding-top: 40px;
    color: var(--cream);
}

.titleContainer h2 {
    margin-bottom: 10px;
    font-size: 50px;
    max-width: 60%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.titleContainer h3 {
    font-size: 25px;
    max-width: 60%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-transform:uppercase;
}

.contentContainer {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    color: var(--dark-brown);
}

.activityCollumn {
    width: 60%;
    height: min-content;
}

.containerTop {
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 25px;
    padding-bottom: 25px;
    width: 100%;
}

.containerTop p {
    font-size: 20px;
    margin-bottom: 20px;
    white-space: pre-wrap;
    text-align: justify;
}

.containerTop em {
    font-style: italic;
    font-size: 20px;
}

.containerBottom {
    width: 100%;
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.contentContainer h3 {
    width: 100%;
    background-color: var(--blue);
    font-size: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
}

ul.bullets {
    list-style-type: disc; /* disc est la valeur par défaut pour les bullet points */
    padding-left: 20px; /* Ajoute un padding pour l'indentation */
}

.contentContainer ul {
    font-size: 20px;
    margin-top: 20px;
}

.rightContent {
    margin-top: 25px;
    width: 30%;
    margin-right: 10%;
    background-color: var(--blue);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    height: min-content;
}

.tarifPlus ul{
    font-style: italic;
    font-size: 15px;
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.rightContent em{
    text-transform: uppercase;
    font-style: inherit;
    font-size: 20px;
}

.tarifPlus p{
    text-align: center;
    font-size: 15px;
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 5px;
}

.imageContainer {
    width: 100%;
    padding: 4%;
    transform: translateY(-55%);
    background-color: var(--cream);
}

.imageContainer img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.imageContainerMusee {
    width: 100%;
    padding: 4%;
    background-color: var(--cream);
    margin-bottom: 20px;
}

.imageContainerMusee img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}


/* Tarifs centre */

.tarifsGlobalContainer {
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--cream);
    background-color: var(--dark-brown);
}

.tarifsGlobalContainer h2 {
    font-size: 25px;
    padding-top: 20px;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.tarifsContainer {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

.priceContainer {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.priceContainer div {
    border-bottom: var(--cream) 1px solid;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.priceContainer div:last-child {
    border: none;
}

.priceContainer p {
    color: var(--cream);
}

.variableContainer .firstTitle {
    margin-top: 0;
}

.variableContainer p {
    color: var(--cream);
}


/* boutons navigation activités */

.activity-buttons button {
    border: solid 2px var(--grey);
    color: var(--cream);
    padding: 10px;
    font-size: 20px;
    border-radius: 5px;
}

.activity-buttons button:hover {
    filter:brightness(75%);
    cursor: pointer;
}

.activity-buttons {
    max-width: 50%;
    text-align: center;
}

/* accueil */

.presentation {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.presentation h2 {
    padding-bottom: 15px;
    color: var(--dark-brown);
    font-size: 45px;
    font-weight: bold;
    max-width: 50%;
}

.presentation p {
    font-size: 25px;
    white-space: pre-line;
}

.presentation ul {
    font-size: 25px;
    color: var(--dark-brown);
    text-align: justify;
    align-items: flex-start;
}

  .button {
    display: inline-block;
    border-radius: 4px;
    background-color: var(--dark-brown);
    border: none;
    color: var(--cream);
    text-align: center;
    font-size: 28px;
    padding: 20px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
  }
  
  .button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }
  
  .button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
  }
  
  .button:hover span {
    padding-right: 25px;
  }
  
  .button:hover span:after {
    opacity: 1;
    right: 0;
  }

/* contact form */

.contactContainer {
    flex-direction: column;
    display: flex;
    width: 50%;
}

.contactContainer form {
    flex-direction: column;
    display: flex;
}

.contactContainer .top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 5%;
}


.contactContainer .user-box input:focus ~ label,
.contactContainer .user-box input:valid ~ label,
.contactContainer .user-box textarea:focus ~ label,
.contactContainer .user-box textarea:valid ~label,
.top .user-box input:focus ~ label,
.top .user-box input:valid ~ label {
  top: -20px;
  left: 0;
  color: var(--yellow);
  font-size: 12px;
}

.contactContainer .user-box label {
    position: absolute;
    top:0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: var(--dark-brown);
    pointer-events: none;
    transition: .5s;
}

.contactContainer .user-box input,
.contactContainer .user-box textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: var(--dark-brown);
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid var(--dark-brown);
    outline: none;
    background: transparent;
}

.contactContainer .top .user-box     {
    width: 100%;
}

.contactContainer .user-box textarea {
    resize: vertical;
}

.contactContainer .user-box {
    position: relative;
}

.contactContainer h2 {
    padding-bottom: 40px;
    color: var(--dark-brown);
    font-size: 45px;
    font-weight: bold;
    text-align: center;
}