@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;1,400&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Hedvig+Letters+Serif:opsz@12..24&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}
body{
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: #212529;
    color: #eff3f2;
}

h1,h2,h3{
    font-family: 'Hedvig Letters Serif', serif;
    letter-spacing: 0.5px;
}


/*||header continer*/
header{
    width: 100%;
    background-image: url('/images/back3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}
/*|| navbar*/
.nav-nav{
    background: #eff3f2;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    color: #212529;
    position: fixed;
    z-index: 2;
    left: 0px;
    right: 0px;
    top: 0px;
}

.nav-nav .nav-title{
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff3f2;
    
}

.nav-title svg{
    height: 100%;
    width: 120px;
}

/*
.nav-nav .nav-cor{
    margin-top: 0;
    width: 100%;
    padding: 0 10px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff3f2;
    color: #212529;
}

.nav-cor p{
    margin-left: 15px;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.nav-cor p i{
    margin-right: 7px;
}

*/


/*|| head-intro*/
.head-intro{
    padding: 0 40px;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: row-reverse;
    
}


.right-box,.left-box{
    width: 500px;
    height: auto;
    
}
.right-box{
    direction: rtl;
    color: #eff3f2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.right-box h1{
    font-size: 40px;
    font-family: 'Aref Ruqaa', serif;
}
.left-box{
    color: #eff3f2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.left-box h1{
    font-size: 28px;
}

/*|| main body*/
main{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 50px 0;
}
.main-title{
    width: 1080px;
    margin-bottom: 20px;
}
hr{
    margin: 30px 0;
    width: 1080px;
    border: 0.5px solid #eff3f2;
}
.second-title{
    width: 1080px;
    margin-bottom: 20px;
}
.main-title h1,.second-title h1{
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/*|| service container*/
.service-box{
    width: 1080px;
    display: flex;
    align-items: center;
    background: #eff3f2;
    color: #212529;
    border-radius: 6px;
    padding: 10px;
    margin: 20px 0;
    transition: 0.4s ease-in-out transform;
    cursor: pointer;
}

.service-box:hover{
    transition: 0.4s ease-in-out transform;
    transform: scale(0.98);
}

.service-text{
    width: 880px;

   height: auto;
}

.service-text p{
    margin-top: 5px;
    font-size: 15px;
    text-align: justify;
    text-justify: inter-word;
}
.service-box img{
    width: 180px;
    height: 170px;
    border-radius: 6px;
}

.service-carac{
    margin-top: 50px;
    width: 1080px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    height: 200px;
    gap: 30px;
}
.service-carac > div{
    padding: 12px 5px;
    text-align: center;
    border: 1px solid #ccd5ae;
    border-radius: 6px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    overflow-y: hidden;
}
.service-carac > div h3{
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.service-carac > div p{
    margin-top: 8px;
    font-size: 14px;
    font-size: 15px;
}

/*||article container*/
.article-container{
    width: 1080px;
    display: grid;
    grid-template-rows: repeat(400px,1fr);
}


.art-cart{
    display: flex;
    align-items: center;
    margin: 10px;
    background: #eff3f2;
    color: #212529;
    border-radius: 6px;
    transition: 0.4s ease-in-out transform;
    cursor: pointer;

}
.art-content{
    padding: 8px;
    text-align: justify;
    text-justify: inter-word;
}

.art-content p a{
    color: #119da4;
}
.art-cart:hover{
    transform: scale(0.98);
    transition: 0.4s ease-in-out transform;
}
.art-cart > div{
    padding: 10px;
    width: 80%;
}

.art-cart img{
    width: 450px;
    height: 220px;
    border-radius: 6px 0  0 6px;
}

.art-cart h3{
    cursor: pointer;
}
.art-cart p{
    margin: 5px 0;
    font-size: 14px;
}



/*||about me container*/
.about-container{
    margin-top: 50px;
    width: 1080px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    height: 320px;
}

.about-container .about-content{

    width: 750px;
    height: 100%;

}

.about-container p{
    margin-top: 8px;
}

.about-container img{
    border-radius: 6px;
    height: 320px;
    width: 240px;
}
/*|| contact*/
.contact-container{
    margin: 30px 0;
    width: 1080px;
    position: relative;

}

/*||contact details */

.contact-details{

    width: 100%;
    text-align: start;
    padding: 0 20px;
}

.contact-details > div{
    display: flex;
    justify-items: center;
}

.contact-details ul{
    margin: 10px 0;
    margin-left: 18px;
}

.contact-details ul li{
    margin: 4px 0;
    list-style: none;
    display: flex;
    align-items: center;
    
   
}

.contact-details li i{
    vertical-align: middle;
    margin-right: 7px;
    overflow-y: hidden;

}

/*|| contact form*/
.contact-form{
    margin: 30px 0;
    width: 1080px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.contact-form form{
    color: #eff3f2;
    background: rgba(33, 37, 41, 0.2);
    padding: 10px 15px;
    width: 100%;
    border-radius: 6px;
}

form input,form textarea{
    padding: 5.5px;
    font-size: 16px;
    border-radius: 6px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}
.contact-form form label{
    display: block;
    font-size: 16px;
    margin: 3px 0;
}

form button{
    width: 100%;
    padding: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px;
    font-size: 16px;
    background-color: transparent;
    color: #119da4;
    border-radius: 4px;
    border: 1px solid #119da4;
    transition: 0.4s all ease-in-out;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

form button:hover{
    transition: 0.4s all ease-in-out;
    background-color: #119da4;
    color: #eff3f2;
}

form button i{
    margin-left: 7px;
    font-size: 30px;
}
/*|| localisation section*/
.loc-container{
    width: 1080px;

}

.loc-container > div{

    padding: 20px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}
.loc-container > div  h4{
    color: #119da4;
}
/*
.loc-container > div button {
    margin-left: 7px;
    padding: 5px;
    background: transparent;
    color: #119da4;
    border: 1px solid #119da4;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: 0.4s all ease-in-out;
}
.loc-container > div button:hover {
    background: #119da4;
    color: #eff3f2;
    transition: 0.4s all ease-in-out;
}
*/
.loc-container iframe{
    width: 100%;
    border-radius: 6px;
}

.loc-icons{
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    width: 100%;


}
.loc-icons  div{
    height: 130px;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 0 40px;
}

.loc-icons div p{
    text-align: center;
    cursor: pointer;
    margin:  10px;
    color: #fff;
}
.loc-icons div p i{
    cursor: pointer;

    color: #119da4;
}

.loc-icons > div > i {
    padding: 10px;
    cursor: pointer;
    animation: rotate 3s ease-in-out infinite;
    font-size: 40px;
    overflow-y: hidden;
    color: #119da4;

}

@keyframes rotate {
    0% {
        transform: rotate(-45deg);
    }

    50% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(-45deg);
    }
}
#f_position{
    display: none;
}
#t_position{
    display: none;
    
}
/*|| footer*/

footer{
    margin-top: 15px;
    text-align: center;
    width: 100%;
    padding: 5px 0;
    background: #eff3f2;
    color: #212529;
}

/*|| responsive*/

@media screen and (max-width:1080px){
    /*|| title*/
    .main-title,.second-title{
        width: 900px;
    }
    /*|| service container*/
    .service-box{
        width: 900px;
    }

    .service-text{
        width: 700px;
    }
    /*|| service carac*/
    .service-carac{
        width: 900px;
        grid-template-columns: repeat(3,1fr);
        height: auto;
    }
    /*|| article container*/
    hr{
        width: 900px;
    }
    .article-container{
        width: 900px;
    }
    /*|| about container*/
    .about-container{
        width: 900px;
    }

    .about-container .about-content{
        width: 600px;
    }
    /*|| contact container*/
    .contact-container{
        width: 900px;
    }

    .contact-form{
        width: 900px;
    }
    /*|| localisation container*/
    .loc-container{
        width: 900px;
    }
    .loc-icons  div{
        height: 150px;
        
    }
    
}

@media screen and (max-width:930px){
    /*|| title*/
    .main-title,.second-title{
        width: 700px;
    }
    /*||intro*/

    .left-box h1{
        font-size: 22px;
    }
    .right-box h1{
        font-size: 30px;
    }
    /*|| service container*/
    .service-box{
        width: 700px;
        flex-direction: column-reverse;

    }

    .service-text{
        text-align: center;
        padding: 0 20px;
    }
    .service-text p{
        font-size: 15px;
    }
   /*  .service-img{
        width: 250px;
        height: 185px;
    } */
    .service-box img{
        width: 200px;
        height: 185px;
        border-radius: 6px;
    }
    /*|| service carac*/
    .service-carac{
        width: 700px;
        grid-template-columns: repeat(2,1fr);
        height: auto;
        place-items: center;
    }
     .service-carac > div{
        width: 300px;
        height: 100%;
    }
    /*|| article container*/
    hr{
        width: 700px;
    }
    .article-container{
        width: 700px;
        grid-template-rows: repeat(400px,1fr);
        gap: 50px;
        place-items: center;
        justify-content: center;
    }

    .art-cart{
        flex-direction: column;
    }
    .art-cart > div{
        width: 100%;
        text-align: center;
    }
    .art-cart .art-content p{
        text-align: justify;
    }

    .art-cart img{

        border-radius:6px 6px 0 0 ;
    }
    /*|| about container*/
    .about-container{
        width: 700px;
    }

    .about-container .about-content{
        width: 400px;
    }
    /*|| contact container*/
    .contact-container{
        width: 750px;
    }

    .contact-form{
        width: 700px;
    }
    /*|| localisation container*/
    .loc-container{
        width: 700px;
    }
    
}

@media screen and (max-width:720px){

    .nav-nav{
        height: 120px;
    }
    .nav-nav .nav-cor{
        height: 60px;
        flex-direction: column;
        justify-content: center;

    }
    .nav-nav .nav-cor p{

        font-size: 14px;
    }
    

    .head-intro{
        margin-top: 120px;

        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .left-box h1{
        font-size: 1.5rem;
        margin: 5px 0;
    }
    .right-box h1{
        font-size: 1.8rem;
    }
    .right-box,.left-box{
        align-items: center;
        text-align: center;
        width: 100%;
    }
    /*|| title*/
    .main-title,.second-title{
        width: 400px;
    }
    .main-title h1,.second-title h1{
        font-size: 25px;
    }
    /*|| service container*/
    .service-box{
        width: 400px;
        flex-direction: column-reverse;

    }

    .service-text{
        width: 100%;

    }

    .service-box .service-text p{
        font-size: 15px;
    }
    .service-box img{
        width: 200px;
        height: 185px;
        border-radius: 6px;
    }
    /*|| service carac*/
    .service-carac{
        width: 400px;
        grid-template-columns: repeat(1,1fr);
        height: auto;
        place-items: center;
    }
     .service-carac > div{
        width: 300px;
        height: 100%;
    }
    /*|| article container*/
    hr{
        width: 400px;
    }
    .article-container{
        grid-template-columns: repeat(1,300px);
        width: 400px;
        gap: 50px;
        place-items: center;
        justify-content: center;
    }

    .art-cart img{
        width: 300px;
    }
    /*|| about container*/
    .about-container{
        width: 400px;
        flex-direction: column-reverse;
        height: auto;
    }

    .about-container .about-content{
        margin-top: 20px;
        width: 400px;
        text-align: center;
    }
    /*|| contact container*/
    .contact-container{
        width: 400px;
    }
    .contact-details > div{
        flex-direction: column;
    }

    .contact-form{
        width: 400px;
    }
    /*|| localisation container*/
    .loc-container{
        width: 400px;
    }
    .loc-container > div{
        flex-direction: column;
    }
    .loc-container iframe{
        height: 300px;
    }
    
}

@media screen and (max-width:420px){


    .nav-cor p{
        font-size: 14px;
    }
    

    .left-box h1{
        font-size: 1.2rem;
        margin: 5px 0;
    }
    .right-box h1{
        font-size: 1.5rem;
    }

    /*|| title*/
    .main-title,.second-title{
        width: 320px;
        text-align: center;
    }
    .main-title h1,.second-title h1{
        font-size: 20px;
    }
    /*|| service container*/
    .service-box{
        width: 280px;
        flex-direction: column-reverse;

    }

    .service-text{
        width: 100%;
    }

    .service-box .service-text p{
        font-size: 15px;
    }

    .service-box img{
        width: 200px;
        height: 185px;
        border-radius: 6px;
    }
    /*|| service carac*/
    .service-carac{
        width: 280px;
        grid-template-columns: repeat(1,1fr);
        height: auto;
        place-items: center;
    }
     .service-carac > div{
        width: 280px;
        height: 100%;
    }
    /*|| article container*/
    hr{
        width: 280px;
    }
    .article-container{
        width: 400px;
        grid-template-columns: repeat(1,280px);
        gap: 50px;
        place-items: center;
        justify-content: center;
    }

    .art-cart img{
        width: 280px;
    }
    /*|| about container*/
    .about-container{
        width: 320px;
        flex-direction: column-reverse;
        height: auto;
    }

    .about-container .about-content{
        margin-top: 20px;
        width: 320px;
        text-align: center;
    }
    .about-content h1{
        font-size: 1.5rem;
    }
    .about-content p{
        font-size: 14px;
    }
    /*|| contact container*/
    .contact-container{
        width: 320px;
    }

    .contact-details li{
        font-size: 14px;
    }

    .contact-form{
        width: 320px;
    }
    /*|| localisation container*/
    .loc-container{
        width: 320px;
    }
    .loc-container iframe{
        height: 300px;
    }
    .loc-container > div{
        flex-direction: column;
        
    }
    .loc-icons  div{
        height: 165px;
    }

    .loc-container > div button{
        margin-top: 5px;
    }

    footer{
        font-size: 14px;
    }
    
}


/*|| message*/

.success-msg,.error-msg{
    color: #212529;
    background-color: #eff3f2;
    padding: 20px;
    position: absolute;
    top: 70%;
    left: 30%;
    border-radius: 6px;
    transform: translateX(200%);
    animation-name: none;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 2;
    animation-direction: alternate;
}

@keyframes animate {
    from{
        transform: translateX(200%);
    }
    to{
        transform: translateX(0%);
    }
}

.success-msg > div, .error-msg > div{
    display: flex;
    align-items: center;
}
.error-msg i,.success-msg i{
    vertical-align: middle;
}