
@font-face {
    font-family: 'Display';
    src: url('../fonts/RedHatDisplay-Regular.ttf') format('opentype');
}

@font-face {
    font-family: 'Display-Bold';
    src: url('../fonts/RedHatDisplay-Bold.ttf') format('opentype');
}

h1, h2, h3, h4, h5, h6 {
    font-family: "kallisto", sans-serif;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
}

.text{
    font-size: 1vw!important;
}

a{
    display: flex;
    justify-content: center!important;
    align-items: center!important;
}

header{
    margin-bottom: 5vh;
}

header nav {
    display: flex!important;
    justify-content: space-between!important;
    .uk-navbar-right  {
        all: unset;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2vw;
        ul {
            width: 50vw!important;
            display: flex;
            justify-content: space-around;
            li{
                align-content: center;
            }
            li a{
                all: unset;
                font-family: 'kallisto'!important;
                cursor: pointer;
                width: 15vw;
                &::before{
                    all: unset;
                }
            }
            .item-166{
                background-color: #FE9A02;
                border: solid 2px #FE9A02;
                border-radius: 20px;
                padding: 1vw;
                transition: ease 0.2s;
                a{
                    color: white!important;
                }
                &:hover{
                    background-color: #FFFFFF;
                    border: solid 2px #FE9A02;
                    border-radius: 20px;
                    padding: 1vw;
                    a{
                        color: black!important;
                    } 
                }
            }
        }
    }
}

.uk-nav .item-166{
    margin-top: 10vh!important;
    background-color: #FE9A02;
    border: solid 2px #FE9A02;
    border-radius: 20px;
    padding: 1vw;
    transition: ease 0.2s;
    a{
        color: white!important;
    }
    &:hover{
        background-color: #FFFFFF;
        border: solid 2px #FE9A02;
        border-radius: 20px;
        padding: 1vw;
        a{
            color: black!important;
        } 
    }}


#qui-sommes-nous > *:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.uk-navbar-item a{
    all: unset;
    display: flex!important;
    width: 10vw!important;
    background-color: #FE9A02!important;
    padding: 0.5vw!important;
    border-radius: 20px!important;
    justify-content: center;
    font-family: 'kallisto'!important;
    font-size: 1vw;
    color: white!important;
    &:hover{
        background-image: none;
    }
}

.savoirplus a{
    all: unset;
    display: flex;
    height: 2.5vw!important;
    transition: ease-in-out 0.2s!important;
    background-color: #FE9A02!important;
    border-radius: 15px;
    width: 45%!important;
    color: #2B2B2B!important;
    border: solid 2px #FE9A02!important;
    color: white!important;
    &:hover{
        box-shadow: none;
        background-color: white!important;
        color: #2B2B2B!important;
    }
}




.slider{
    .uk-position-relative{
        .uk-slider-container{
            .uk-slider-items{
                .uk-width-1-1{
                    width: 20vw!important;
                    .el-item{
                        cursor: pointer;
                        &:hover{
                            .el-title{
                                color: #FE9A02;
                                font-family: "Display-Bold";
                            }
                            .el-image{
                                border: solid 2px #2B2B2B;
                            }
                        }
                        .el-title{
                            font-family: "Display";
                            font-size: 0.8vw;
                            color: #2B2B2B;
                            background-color: #FFFFFF;
                            text-align: center;
                            padding: 1vw;
                            width: 80%;
                            border-radius: 20px;
                            position: absolute;
                            bottom: 5%;
                            left: 5%;
                            transition: ease 0.2s;
                        }
                        .el-image{
                            border-radius: 20px;
                            transition: ease 0.2s;
                            width: 20vw;
                            height: 15vw;
                        }
                    }
                }
            }
        }
    }
    .el-nav{
        li{
            a{
                &:hover{
                    background-color: #FE9A02;
                }
                &:focus{
                    background-color: #FE9A02;
                }
            }
        }
    }
}

#nos-chantiers{
    background-color: #FE9A02;
    padding: 2vw;
    border-radius: 20px;  
    .uk-panel{
        font-family: 'kallisto'!important;
        color: #2B2B2B!important;
        margin: 0!important;
    }
    h3{
        font-size: 3vw;
        margin: 0;
    }
}

#idee-projet{
    background-color: #FE9A02;
}

.chantier_img{
    display: flex;
    justify-content: flex-end;
}

#devis{
    background-color: #FE9A02;
    height: 40.5vh!important;
    border-radius: 20px;
    padding-left: 2vw;
    color: #2B2B2B!important;
    .el-image{
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
        height: 40.5vh;
        width: 50vw;
    }
    h2{
        margin-top: 40px;
        font-family: 'Display'!important;
        font-weight: bold;
        margin-bottom: 0!important;
    }
}

.btn_noir a{
    width: fit-content; /* ajuste la largeur au contenu */
    padding: 0.8 2vw;
    height: 6vh;
    text-transform: uppercase;
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    background-color: #2B2B2B!important;
    color: #FFFFFF!important;
    border-radius: 500px;
    border: solid 2px #2B2B2B;
    font-family: 'kallisto'!important;
    &:hover{
        border: solid 2px #2B2B2B;
        background-color: transparent!important;
        color: #2B2B2B!important;
    }
}

.btn_blanc a{
    width: fit-content; /* ajuste la largeur au contenu */
    padding: 0.8 2vw;
    height: 6vh;
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    background-color: #FFFFFF!important;
    color: #2B2B2B!important;
    border-radius: 500px;
    border: solid 2px white;
    font-family: 'kallisto'!important;
    &:hover{
        border: solid 2px white;
        background-color: transparent!important;
        color: white!important;
    }
}

.btn_orange a{
    height: 6vh;
    display: flex;
    width: fit-content; /* ajuste la largeur au contenu */
    padding: 0.8 2vw;
    justify-content: center!important;
    align-items: center!important;
    background-color: #FE9A02!important;
    color: white!important;
    border-radius: 500px;
    border: solid 2px #FE9A02;
    font-family: 'kallisto'!important;
    transition: ease 0.2s;
    &:hover{
        border: solid 2px #FE9A02;
        background-color: transparent!important;
        color: #2B2B2B!important;
    }
}

#footer{
    margin-left: 0!important;
    background-color: #2B2B2B;
    width: 100%;
    height: 40vh;
    color: white!important;
    position: relative;
    padding-top: 30px!important;
    joomla-hidden-mail {
        display: flex;
    }
    a{
        color: white;
        text-decoration: underline;
    }
    img{
        position: absolute;
        width: 50vw!important;
        height: 50vh;
        top: -20px;
        left: -5vw;
    }
}

#footer-mobile{
    background-color: #2B2B2B;
    color: white!important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
    a{
        color: white;
        text-decoration: underline;
    }
    h3 div{
        color: white!important;
        margin-bottom: 2vh;
    }
}


/* PAGE QUI SOMMES NOUS */

.hero_pres{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    background-image: url('/images/yootheme/piscine.png');
    background-size: cover;
    background-repeat: no-repeat;
    .uk-container{
        background-color: white;
        width: fit-content;
        height: fit-content;
        padding: 2vw;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        .hero_pres_logo{
            display: flex;
            width: 51% !important;
            position: relative;
            justify-content: space-between;
            .uk-grid{
                width: 100%;
                div{
                    width: 5vw;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    img{
                        width: 100%!important;
                    }
                }
            }
        }
    }
}

.team > :first-child {
    h3{
        transform: rotate(-5deg);
        background-color: #FE9A02;
        width: 15vw;
        padding: 0.5vw;
        border: solid #2B2B2B 1px;
        border-radius: 15px;
        margin-top: -3.5vw;
        font-size: 1.5vw;
    }
}

.team > :nth-child(2) {
    h3{
        transform: rotate(5deg);
        background-color: #FE9A02;
        width: 15vw;
        padding: 0.5vw;
        border: solid #2B2B2B 1px;
        border-radius: 15px;
        margin-top: -3.5vw;
        font-size: 1.5vw;
    }
  }

.perso_1{
    border-radius: 15px;
    border: solid #2B2B2B 1px;
    position: relative;
    height: 20vh;
    width: 20vw;
    img{
        width: 10vw;
        position: absolute;
        top: 3vh;
        left: 20%;
        transform: rotate(-6deg);
    }
}

.perso_2{
    border-radius: 15px;
    border: solid #2B2B2B 1px;
    position: relative;
    height: 20vh;
    width: 20vw;
    img{
        width: 10vw;
        position: absolute;
        top: -2vh;
        left: 25%;
        transform: rotate(6deg);
    }
}




@media screen and (max-width: 650px) {
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Kallisto', sans-serif;
        text-transform: uppercase;
    }

    h2{
        text-align: center;
    }
    
    .text{
        font-size: 1vw!important;
    }
    
    a{
        display: flex;
        justify-content: center!important;
        align-items: center!important;
    }
    
    
    #qui-sommes-nous > *:nth-child(2) {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }
    
    .uk-navbar-item a{
        all: unset;
        display: flex!important;
        width: 10vw!important;
        background-color: #FE9A02!important;
        padding: 0.5vw!important;
        border-radius: 20px!important;
        justify-content: center;
        font-family: 'kallisto'!important;
        font-size: 1vw;
        color: white!important;
        &:hover{
            background-image: none;
        }
    }
    
    .savoirplus a{
        all: unset;
        display: flex;
        height: 2.5vw!important;
        transition: ease-in-out 0.2s!important;
        background-color: #FE9A02!important;
        border-radius: 15px;
        width: 45%!important;
        color: #2B2B2B!important;
        border: solid 2px #FE9A02!important;
        color: white!important;
        &:hover{
            box-shadow: none;
            background-color: white!important;
            color: #2B2B2B!important;
        }
    }
    
    
    
    
    .slider{
        display: flex;
        .uk-position-relative{
            .uk-slider-container{
                display: flex;
                flex-direction: column;
                margin-left: 5vw;
                .uk-slider-items{
                    flex-wrap: wrap;
                    display: flex;
                    justify-content: flex-end;
                    row-gap: 4vh;
                    .uk-width-1-1{
                        width: 80vw!important;
                        height: 65vw;
                        .el-item{
                            margin-left: 10vw;
                            position: relative;
                            cursor: pointer;
                            &:hover{
                                .el-title{
                                    color: #FE9A02;
                                    font-family: "Display-Bold";
                                }
                                .el-image{
                                    border: solid 2px #2B2B2B;
                                }
                            }
                            .el-title{
                                font-family: "Display";
                                font-size: 3.5vw;
                                color: #2B2B2B;
                                background-color: #FFFFFF;
                                text-align: center;
                                padding: 2vw;
                                width: 80%;
                                border-radius: 20px;
                                position: absolute;
                                bottom: 5%;
                                left: 5%;
                                transition: ease 0.2s;
                            }
                            .el-image{
                                border-radius: 20px;
                                transition: ease 0.2s;
                                width: 80vw;
                                height: 65vw;
                            }
                        }
                    }
                }
            }
        }
        .el-nav{
            li{
                a{
                    &:hover{
                        background-color: #FE9A02;
                    }
                    &:focus{
                        background-color: #FE9A02;
                    }
                }
            }
        }
    }
    
    #nos-chantiers{
        background-color: #FE9A02;
        padding: 2vw;
        border-radius: 20px;  
        width: 90vw;
        margin-left: 0vw;
        text-align: center;
        .uk-first-column{
            padding: 0;
        }
        .uk-panel{
            font-family: 'kallisto'!important;
            color: #2B2B2B!important;
            margin: 0!important;
        }
        .uk-grid div{
            padding: 0;
        }
        h3{
            font-size: 8vw;
            margin: 0;
        }
        .el-image{
            display: none;
        }
    }
    
    #idee-projet{
        background-color: #FE9A02;
    }
    
    .chantier_img{
        display: flex;
        justify-content: flex-end;
    }
    
    #devis{
        background-color: #FE9A02;
        border-radius: 20px;  
        width: 90vw;
        margin-left: 0vw;
        text-align: center;
        overflow: hidden;
        .uk-first-column{
            padding: 0;
        }
        .el-image{
            border-top-right-radius: 20px;
            border-bottom-right-radius: 20px;
            width: 150vw;
            position: absolute;
            bottom: 0;
            right: 0;
            display: none;
        }
        h2{
            margin-top: 40px;
            font-family: 'Display'!important;
            font-weight: bold;
            margin-bottom: 0!important;
        }
    }

    .btn_noir, .btn_blanc, .btn_orange{
        display: flex;
        justify-content: center;
    }
    
    .btn_noir a{
        width: 90%; /* ajuste la largeur au contenu */
        padding: 0.8vw 2vw;
        height: 6vh;
        text-transform: uppercase;
        display: flex!important;
        justify-content: center!important;
        align-items: center!important;
        background-color: #2B2B2B!important;
        color: #FFFFFF!important;
        border-radius: 500px;
        border: none;
        font-family: 'kallisto'!important;
        &:hover{
            border: none;
        }
    }
    
    .btn_blanc a{
        width: fit-content;
        padding: 0.8 2vw;
        height: 6vh;
        display: flex!important;
        justify-content: center!important;
        align-items: center!important;
        background-color: #FFFFFF!important;
        color: #2B2B2B!important;
        border-radius: 500px;
        border: none;
        font-family: 'kallisto'!important;
        &:hover{
            border: none;
        }
    }
    
    .btn_orange a{
        height: 6vh;
        display: flex;
        width: 95%; /* ajuste la largeur au contenu */
        padding: 0.8vw 1.5vw;
        justify-content: center!important;
        align-items: center!important;
        background-color: #FE9A02!important;
        color: white!important;
        border-radius: 500px;
        border: none;
        font-family: 'kallisto'!important;
        &:hover{
            border: none;
        }
    }
    
    #footer{
        margin-left: 0!important;
        background-color: #2B2B2B;
        width: 100%;
        height: 40vh;
        color: white!important;
        position: relative;
        padding-top: 30px!important;
        joomla-hidden-mail {
            display: flex;
        }
        a{
            color: white;
            text-decoration: underline;
        }
        img{
            position: absolute;
            width: 50vw!important;
            height: 50vh;
            top: -20px;
            left: -5vw;
        }
    }
    
    /* PAGE QUI SOMMES NOUS */
    
    .hero_pres{
        display: flex;
        justify-content: center;
        align-items: center;
        height: 90vh;
        background-image: url('/images/yootheme/piscine.png');
        background-size: cover;
        background-repeat: no-repeat;
        .uk-container{
            background-color: white;
            width: 80%!important;
            height:auto;
            padding: 2vh;
            padding-top: 3vh;
            padding-bottom: 3vh;
            border-radius: 20px;
            display: flex;
            align-content: space-around;
            justify-content: space-around;
            .hero_pres_logo{
                display: flex;
                width: 100%!important;
                position: relative;
                .uk-grid{
                    width: 100%;
                    div{
                        width: 7vw;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        img{
                            width: 100%;
                        }
                    }
                }
            }
        }
    }
    
    .team > :first-child {
        h3{
            transform: rotate(-5deg);
            background-color: #FE9A02;
            width: 55vw;
            padding: 3vw;
            border: solid #2B2B2B 1px;
            border-radius: 15px;
            margin-top: -10vw;
            font-size: 3.5vw;
        }
    }
    
    .team > :nth-child(2) {
        h3{
            transform: rotate(5deg);
            background-color: #FE9A02;
            width: 55vw;
            padding: 3vw;
            border: solid #2B2B2B 1px;
            border-radius: 15px;
            margin-top: -10vw;
            font-size: 3.5vw;
        }
      }
    
    .perso_1{
        border-radius: 15px;
        border: solid #2B2B2B 2px;
        position: relative;
        height: 20vh;
        width: 60vw;
        img{
            width: 40vw;
            position: absolute;
            top: 2vh;
            left: 15%;
        }
    }
    
    .perso_2{
        border-radius: 15px;
        border: solid #2B2B2B 2px;
        position: relative;
        height: 20vh;
        width: 60vw;
        img{
            width: 40vw;
            position: absolute;
            top: -2vh;
            left: 15%;
        }
    }

    header .uk-margin-auto-bottom{
        height: 100%;
        margin-bottom: 0 !important;
        margin-top: 15vh;
        .uk-grid{
            height: 100%;
        }
    }

    header .uk-grid-margin a{
        background-image: none;
        background-color: #FE9A02!important;
        font-family: 'Kallisto';
        font-size: 5vw;
    }
     

}
