@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    transition: all 0.3s ease;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 76px;
}

header>a{
    z-index: 10; /* Ajoute cette ligne pour que l'image soit au-dessus */
    position: relative;
}

body>header>img{
    height: 50px;
    position: absolute;
    margin-left: 70px;
}
body > header > a > img{
    height: 36px;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

img:hover {
    transform: scale(1.1);
}

header .slogan {
    position: absolute;
    text-align: center; 
    height: 100%;
    width: 100%;
    z-index: 1;
}
.button-trans {
    background-color: #fff;
    color: #4CAF50;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 20px;
    z-index: 10;
}

.button-trans:hover {
    background-color: #4CAF50;
    color: white;
}

header .slogan h1 {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    justify-content: center;
}

header .slogan p {
    font-weight: 300;
    font-size: 18px;
    color: #fff8e1;
    display: flex;
    justify-content: center;
}


header i {
    background-color: #fff;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    right: 40px;
}

header .translate-button:hover {
    background-color: #4CAF50;
    color: white;
}

nav {
    display: flex;
    background-color: #4CAF50;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0px;
    justify-content: center;
    z-index: 10;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a.active {
    background-color: rgba(0, 0, 0, 0.5); 
    color: white; 
    border: 2px solid #fff; 
    border-radius: 5px; 
    padding: 10px 20px;
}

nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
}


.presentation {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
}
.presentation h4{
    font-size: 38px;
    margin-top: 20px;
    color: #000000 ;
}
body > section:nth-child(4) > div:nth-child(8) > img{
    height: 400px;
}
.presentation h3 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #4CAF50;
}

.presentation p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: -webkit-center;
    word-wrap: break-word;
    
}


.googlemap {
    text-align: center;
    padding: 60px 20px;
    background-color: #f4f4f4;
    margin-top: 40px;
}

.googlemap h3 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #333;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

footer .social-links a {
    color: #4CAF50;
    text-decoration: none;
    margin: 0 10px;
    font-size: 20px;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    text-decoration: underline;
    color: #fff;
}


.toggle-checkbox {
    display: none;
}

.toggle-label {
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    width: 24px;
    height: 24px;
    outline: none;
    -webkit-user-select: none !important;
}

body > section:nth-child(5) > a > span{
    font-size: 50px;
}
.presentation h2{
    font-size: 36px;
    margin-top: 20px;
    color: rgba(0, 0, 0, 0.5);
}
.expandable-section {
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
}

.toggle-checkbox:checked + .toggle-label + .expandable-section {
    height: auto;
}

/* Changement d'icône */
.toggle-label .material-symbols-outlined {
    display: flex;
    text-decoration: none;
    width: auto;
    height: auto;
    outline: none;
    -webkit-user-select: none !important;
}

.toggle-label:focus {
    outline: none;
}

.toggle-label:active, 
.toggle-label:focus {
    text-decoration: none;
}

.toggle-checkbox:checked + .toggle-label .material-symbols-outlined {
    content: 'remove';
}

.toggle-label .material-symbols-outlined::before {
    content: 'add';
}

.toggle-checkbox:checked + .toggle-label .material-symbols-outlined::before {
    content: 'remove'; 
}
