/*
*
* Theme Name: Theme Vibrantes
* Version: 0.0.1
*
*/

@import url('https://fonts.googleapis.com/css2?family=Belanosima&family=Belgrano&display=swap');

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    position: relative;
}

.container{
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

/* Image de fond */

#fondmain{
    position: absolute;
    top: -10%;
    right: -10%;
    width: 80%;
    max-width: none;
    height: auto;
    z-index: -1;
}

/*Debug

*{
    outline: 1px solid red;
}*/

/* Bouton Flèche */
button.fleche{
    background: none;
    border: none;
    background-color: #ffffff;
    border: none;
    border-radius: 25px;
    padding:10px 10px;
    color: #000000;
    transition: 0.3s;
}

button.fleche:hover{
    background-color: #000000;
    color: #FFFFFF;
}

button.fleche:hover svg path {
    stroke: #FFFFFF; 
}

/* Bouton Jaune */
button.jaune{
    background-color: #FED813;
    border: none;
    border-radius: 20px;
    padding:10px 20px;
    color: #000000;
    font-family: "Belanosima", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    transition: 0.3s;
}

button.jaune:hover{
    background-color: #000000;
    color: #FFFFFF;
}

/* Bouton Blanc */
button.blanc{
    background-color: #FFFFFF;
    border: none;
    border-radius: 20px;
    padding:10px 20px;
    color: #000000;
    font-family: "Belanosima", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    transition: 0.3s;
}

button.blanc:hover{
    background-color: #FED813;
}

/* Header */
header{
    display: flex;
    gap: 300px;
    position: relative;
    z-index: 2;

    div.nav{
        display: flex;
        position: relative;
        width: 742px;
        height: 40px;
        margin: auto;

        button.burger{
            display: none;
        }

        div.menu-header-container {

            ul#menu-header {
                display: flex;
                
                a{
                    font-family: "Belanosima", serif;
                    font-weight: 400;
                    font-style: normal;
                    font-size: 18px;
                    color: #FFFFFF;
                    text-decoration: none;
                    transform-origin: center;
                    transition: 0.1s;
                }

                a:hover{
                    color: #FED813;
                    font-size: 22px;
                    text-decoration: underline wavy;
                }
    
                li.menu-item-has-children {
                    ul {
                        display: none;
                    }
    
                    &:hover {
                        ul {
                            display: block;

                            li{
                                padding-top: 10px;
                            }
                        }
                    }
                }
                li#menu-item-389{
                    position: absolute;
                    /*left: 0;*/
                }
                li#menu-item-48{
                    position: absolute;
                    left: 88px;
                }
                li#menu-item-56{
                    position: absolute;
                    left: 243px;
                }
                li#menu-item-47{
                    position: absolute;
                    left: 407px;
                }
                li#menu-item-49{
                    position: absolute;
                    left: 537px;
                }
            }
        }
        a.adherer{
            position: absolute;
            right: 0;
            top: -10px;
        }
    }
}


/* Footer */
footer{

    background-color: #FFFFFF;
    padding: 20px;
    display: flex;

    
    section.container{
        display: flex;
        justify-content: space-between;
        flex-direction: row;
    }

    p{
        color: #000000;
        font-family: "Belanosima", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 18px;

    }

    div{
        display: flex;

        p{
            padding-top: 10px;
            margin-left: 27px;
        }
    }

    section{

        display: flex; 
        flex-direction: column;

        #telephone{
            font-size: 24px;
        }

    }

    p#description { 
        justify-content: space-between; 
        font-size: 18px; 
        line-height: normal; 
        padding-top: 20px;
    }

    .footerdroite {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 30px;

        p { 
            margin: 5px 0;
        }

        button{
            margin-top: 39px;
        }

    }

    .footergauche{
        flex-grow: 1;

        svg{
            margin-bottom: 80px;
        }

        p{
            font-size: 12px;
        }

        .footerbasgauche{
            display: flex;
            gap: 50px;
            align-items: center;

            svg{
                margin-bottom: 0;
                transform-origin: center;
                rotate: -90deg;
            }
        }
    }
}

/* Heraut */

section.heraut {
    display: flex;
    padding-top: 100px;
    padding-bottom: 100px;
    height: auto;
    min-height: 50vh;

    div.titre_heraut{

        h1{
            font-family: "Belanosima", serif;
            font-weight: 400;
            font-style: normal;
            font-size: 64px;
            color: #262524;
            width: 600px;
        }

        p{
            font-family: "Belgrano", serif;
            font-weight: 400;
            font-style: normal;
            font-size: 18px;
            color: #262524;
            line-height: normal;
            text-align: start;
            padding-top: 20px;
            width: 600px;
        }

        div{
            padding-top: 20px;
        }
    }
    
    div.image_heraut{
        position: absolute;
        top: 0;
        right: 0;
        mask-image: url(./image/masque_heraut.svg);
        mask-size: 100% 100%;
        height: 100vh;
        width: 61vw;

        img{
            border-radius: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            animation: zoomInOut 5s infinite ease-in-out;
        }
    }
}

 /* Animation de zoom et dézoom */
@keyframes zoomInOut {
     0% {
        transform: scale(1); /* Taille initiale */
    }
    50% {
        transform: scale(1.2); /* Zoom maximum */
    }
    100% {
        transform: scale(1); /* Retour à la taille initiale */
    }
}


/* Page 404 */

    
.page404{
    color: #262524;
    /*position: relative;*/
    width: 537px;
    /*margin-left: 60px;*/
    margin-bottom: 185px;

    h1 {
        font-family: 'Belanosima', sans-serif;
        font-size: 64px;
        font-weight: 400;
        /*position: relative;*/
        margin-top: 245px;
        margin-bottom: 20px;
    }
    p {
        font-family: 'Belgrano', serif;
        font-size: 18px;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 1320px) {

    .container {
        width: 100%;
        max-width: 924px;
        margin: 0 auto;
    }

    /* Header */
    header{
        gap: 60px;

        div.nav{

            div.menu-header-container{

                ul#menu-header{

                    li#menu-item-48{
                        left: 70px;
                    }
                    li#menu-item-56{
                        left: 180px;
                    }
                    li#menu-item-47{
                        left: 300px;
                    }
                    li#menu-item-49{
                        left: 400px;
                    }

                    a:hover{
                        font-size: 18px;
                    }
                }
            }
        }
    }

    /* Heraut */
    section.heraut{

        div.image_heraut{
            width: 61vw;
        }
    
        div.titre_heraut{
    
            h1{
                width: 500px;
            }
    
            p{
                width: 500px;
            }
        }
    }
}

@media screen and (max-width: 924px) {

    .container {
        width: 100%;
        max-width: 688px;
        margin: 0 auto;
    }

    /* Header */
    header{
        gap: 50px;

        div.nav{

            button.burger{
                width: 50px;
                height: 50px;
                display: flex;
                transition: 0.5s;
                justify-content: center;
                align-items: center;
            }

            div.menu-header-container{

                ul#menu-header{
                    display: none;
                    transition: 0.5s;
                }

                ul#menu-header.active{
                    display: flex;
                    flex-direction: column;
                    gap: 20px;
                    justify-content: flex-end;
                    padding-left: 10px;

                    li#menu-item-389{
                        position: static;
                    }
                    li#menu-item-48{
                        position: static;
                    }
                    li#menu-item-56{
                        position: static;
                    }
                    li#menu-item-47{
                        position: static
                    }
                    li#menu-item-49{
                        position: static;
                    }
        
                    li.menu-item-has-children.active {
                        
                        ul {
                            display: block;
    
                            li{
                                padding-top: 10px;
                            }
                        }
                    }
                }
            }

            button.burger.active{
                rotate: 90deg;
            }

            a.adherer{
                top: 5px;
            }
        }
    }

    /* Heraut */
    section.heraut{
        height: auto;

        div.image_heraut{
            width: 55vw;
        }
        
        div.titre_heraut{
        
            h1{
                width: 400px;
            }
        
            p{
                width: 400px;
            }
        }
    }

    /* Footer */
    footer{

        section.container{

            section.footergauche{

                div{
                    width: 350px;
                }

                p#copyright{
                    width: 350px;
                }
            }
        }
    }
}

@media screen and (max-width: 688px) {
    
    .container {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Header */
    header{
        gap: 10px;

        a{

            svg{
                width: 150px;
                height: auto;
            }
        }

        div.nav{

            button.burger{
                width: 40px;
                height: 40px;
            }

            div.menu-header-container{

                ul#menu-header.active{
                    padding-left: 20px;
                    position: absolute;
                    left: -150px;
                    top: 60px;

                    li{

                        a{
                            color: #000000;
                        }

                        a:hover{
                            color: #FED813;
                        }
                    }

                    li.menu-item-has-children {
                        position: relative;
                        width: 200px;

                        ul {
                            display: none;
                        }
        
                        &:hover {

                            ul {
                                display: block;
                                position: absolute;
                                right: -40px;
                                top: 70px;
    
                                li{
                                    padding-top: 10px;
                                }
                            }
                        }
                    }

                    li.menu-item-has-children.active {
                        
                        ul {
                            display: block;
                            position: absolute;
                            right: -40px;
                            top: 70px;

                            li{
                                padding-top: 10px;
                            }
                        }
                    }
                }
            }

            a.adherer{
                top: 0.5px;
            }
        }
    }

    /* Heraut */
    section.heraut{
        height: auto;
        padding-top: 200px;
        padding-bottom: 50px;
        flex-direction: column;
    
        div.image_heraut{
            display: none;
        }
            
        div.titre_heraut{
            
            h1{
                width: 300px;
                font-size: 50px;
            }
            
            p{
                width: 300px;
            }
        }
    }
    

    /* Footer */
    footer{

        section.container{
            flex-direction: column;

            section.footergauche{
    
                div{
                    width: 300px;
                }

                p#copyright{
                    width: 300px;
                }
            }
        }
    }
}	