* {
    font-family: 'Dosis', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFFCF4;
}

p{
    font-family: 'Dosis', sans-serif;
    font-size: 20px;
}

/* #region header */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    padding: 30px;
}

.header-container {
    display: flex;
    align-items: center;
}

.logo-container {
    text-align: center;
    font-size: 19px;
}
.logo-container img {
    width: 200px;
}

.special-police {
    font-family: 'GT Maru Mega VF', sans-serif;
    font-size: 22px;
    text-align: center;
}

.language-links {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    right: 50px;
}

.language-links .lang {
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    height: 40px;
    width: 40px;
}

.language-links .lang.active {
    background-color: #FFA500;
    color: #FFFCF4;
}

.language-links .lang.inactive {
    background-color: transparent;
    color: #FFA500;
}

.language-links-responsive {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 70px;
    border-radius: 40px;
}

.nav-links a:hover {
    background-color: #FFA500;
    color: #fff;
    transition: all 0.5s ease-in-out;
}

.hidden {
    overflow: hidden;
    opacity: 0;
}

.menu-burger {
    display: none;
    font-size: 23px;
    cursor: pointer;
    color: #FFA500;
    padding: 10px 0;
}
/* #endregion header */

/* #region main */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 30px;
    gap: 20px;
}

/* #region main-container */
.main-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    border-radius: 40px;
    display: flex;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0 , 0.3);
    pointer-events: none;
    z-index: 2;
    transition: background-color 0.8s ease-in-out;
}

.main-container.hover-left .left .overlay,
.main-container.hover-right .right .overlay {
  background-color: rgba(0, 0, 0, 0); /* un peu plus clair au hover */
  transition: background-color 0.5s ease-in-out;
}

.image-block {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 1.6s ease-in-out;
    overflow: hidden;
    z-index: 1;
}

.image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.left {
    clip-path: polygon(0 0, 60% 0, 40% 100%, 0 100%);
    z-index: 2;
}

.right {
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 40% 100%);
    z-index: 1;
}

.main-container.hover-left .left {
    clip-path: polygon(0 0, 90% 0, 70% 100%, 0 100%);
    z-index: 3;
}

.main-container.hover-left .right {
    clip-path: polygon(90% 0, 100% 0, 100% 100%, 70% 100%);
}

/* Hover droite */
.main-container.hover-right .right {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 10% 100%);
    z-index: 3;
}

.main-container.hover-right .left {
    clip-path: polygon(0 0, 30% 0, 10% 100%, 0 100%);
}

.button {
    background-color: #FFFCF4;
    text-decoration: none;
    color: #FFA500;
    font-weight: bold;
    border-radius: 40px;
    padding: 15px 60px;
    z-index: 1000;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, background-color 0.5s ease-in-out, color 0.5s ease-in-out;
    position: absolute;
    top: 50%;
}
.button-left {
    left: 400px;
}
.button-right {
    right: 400px;
}

.button:hover {
    background-color: #FFA500;
    color: #FFFCF4;
    transition: all 0.5s ease-in-out;
}

.main-container.hover-left .left .button-left,
.main-container.hover-right .right .button-right {
    opacity: 1;
}

.main-container-responsive {
    display: none;
}
    /* #endregion main-container */
/* #region about-container */
.about-container {
    margin: 0 90px;
    padding: 30px 50px;
    border-radius: 40px;
    text-align: center;
}

h1 {
    font-family: "GT Maru Mega VF";
    font-size: 2em;
    padding-bottom: 20px;
}

.about-container p {
    text-align: justify;
    padding: 0 20px;
}
/* #endregion about-container */
/* #endregion main */

/* #region footer */
footer {
    position: relative;
    background-color: #FFA500;
    color: #FFFCF4;
    padding: 60px 20px 20px;
    overflow: hidden;
    height: 100px;
}

.wave {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 55px;
    overflow: hidden;
    line-height: 0;
}

.wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.wave svg path {
    fill: #FFFCF4;
}

.footer-content {
    position: relative;
    z-index: 1;
}
/* #endregion footer */

/* #region Mode Responsive */
@media screen and (max-width: 770px){
    /* #region header */
    header {
        flex-direction: column;
        padding: 10px;
        padding-bottom: 30px;
    }

    .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo-container {
        text-align: center;
        font-size: 14px;
    }
    .logo-container img {
        width: 170px;
    }

    .special-police {
        font-size: 18px;
    }

    .language-links {
        display: none;
    }
    
    .nav-links {
        position: static;
        flex-direction: column;
        border: none;  
        height: auto;
        display: none; 
        max-height: none;
        overflow: visible;
        transition: none;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links a {
        padding: 10px 90px;
        width: 100%;
        text-align: center;
        background-color: #FFA500;
        color: #FFFCF4;
    }

    .language {
        top: 105px;
        right: 17%;
        width: 230px;
    }
    .menu-burger {
        display: block;
    }
    .menu-burger i.fa-xmark {
        display: none;
    }
    .menu-burger i.fa-bars {
        display: block;
    }
    /* #endregion header */
    /* #region main */
    main {
        margin: 0 10px;
        gap: 20px;
    }
    .main-container {
        display: none;
    }

    .main-container-responsive {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .main-image-container {
        position: relative;
        width: 330px;
        height: 220px;
        border-radius: 40px;
    }
    
    .overlay-responsive {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 40px;
        background-color: rgba(0, 0, 0 , 0.4);
        z-index: 2;
    }

    .image-container {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .image-container img {
        width: 330px;
        height: 220px;
        object-fit: cover;
        border-radius: 40px;
    }

    .button-responsive {
        position: absolute;
        bottom: 5%;
        text-decoration: none;
        color: #FFFCF4;
        border-radius: 40px;
        padding: 10px 25px;
        z-index: 1000;
        font-size: 14px;
        font-weight: 600;
    }
    
    .about-container {
        margin: 10px;
        padding: 0;
        border-radius: 20px;
    }
    
    h1 {
        font-size: 25px;
        padding-bottom: 10px;
    }
    
    .about-container p {
        font-size: 15px;
        padding: 0;
    }
    /* #endregion main */
    /* #region footer */
    footer {
        font-size: 16px;
        height: auto;
    }

    .wave {
        height: 15px;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        height: 100%;
    }


    .language-links-responsive {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        height: 100%;
    }

    .language-links-responsive .lang {
        text-decoration: none;
        text-align: center;
        font-size: 15px;
        font-weight: 600;
        border-radius: 50%;
        padding-top: 5px;
        height: 30px;
        width: 30px;
    }

    .language-links-responsive .lang.active {
        background-color: #FFFCF4;
        color: #FFA500;
    }

    .language-links-responsive .lang.inactive {
        background-color: #FFA500;
        color: #FFFCF4;
    }
    /* #endregion footer */
}   


/* #endregion Mode Responsive */
