@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');

:root{
    --blc-cl:#0760c5;
    --blf-cl:#0750a4;
    --background-cl: white;
    --container-cl:#F6F6F6;
    --black-cl:black;
}

h1 , h2 , h3 , h4 , p , li{
    font-family: "Lexend Deca" , serif;
}

a{
    text-decoration: none;
}

p{
    color: black;
}
body{
    background-color: var(--background-cl);
}
/* header bar */

body nav a{
    position: relative;
    padding: 5px;
    margin: 5px;
    text-decoration: none;
    color: #0760c5;
    font-size: 12pt;
}

body nav ul li a::before{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--blc-cl);
    transition: .5s;
}

body nav ul li a:hover::before{
    background-color: var(--blc-cl);
    color: var(--background-cl);
    width: 100%;
    
}

/* Reglage du Header*/

header{
position: fixed;
z-index: 999;
width: 100%;
top: 0%;
left: 0;
}

header .site-branding{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 3%;
    align-items: center;
    background-color: var(--background-cl);
}

header .head-message{
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: var(--blc-cl);
    
}


header .head-message p{
    color: var(--container-cl);
    margin: 0;
    padding: 0;
    
}

header .title-span{
    font-weight: bold;
}

body .site .archive-main h1{
    color: var(--background-cl);
    padding: 0%;
    width: fit-content;
    position: relative;
    translate: -80% 0;
    left: 50%;
}
body .site .archive-main h1 span{
    color: black;
}

.title-page {
    text-align: center;
    margin-top: 120px;
}


/* footer bar */

footer{
    background-color: #0750a4;
    position: absolute;
    width: 100%;
    padding-top: 1rem;
}

footer .site.info{
    width: 100%;
}

footer .footer-content{
    width: 100%;
    color: var(--container-cl);
}

footer .footer-content .widget .menu-footer-container .menu li a {
    list-style-type: none;
    text-align: center;
    color: var(--container-cl);
    font-weight: 200;
    margin: 0;
    transition: .2s;
}

footer .footer-content .widget .menu-footer-container .menu li a:hover {
    text-decoration: underline solid var(--container-cl);
}

footer .footer-content .widget {
    margin: 0;
}

footer .footer-content .widget .menu-footer-container .menu {
    padding-left: 0;
    margin-left: 0;
}

footer .footer-content .widget .menu-footer-container .menu li {
    list-style-type: none;
    margin-left: 0%;
    text-align: center;
    
    width: 100%;
}

footer .footer-content .widget-nav-menu {
    padding: 0;
    margin-left: 0;
}

footer p{
    color: var(--container-cl);
    text-align: center;
    font-weight: 200;
    span{
        text-align: center;
        text-decoration: underline;
    }
    
}

/* custom post-type */

body main{
    margin-top: 5%;
}

.archive-main .posts{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: min(1000px , 100%);
    margin: 0 auto;
    column-gap: 1rem;
}

.archive-main .posts article , .linked_projet article , .linked_photo article{
    background-color: var(--container-cl);
    margin-bottom: 1rem;
    width: 100%;
    height: 250px;
    
    color: var(--container-cl);
    overflow: hidden;
    position: relative;
    
}

.archive-main .posts article:hover img , .linked_projet article:hover img , .linked_photo article:hover img { 
    filter: grayscale(150%);
    transform: scale(110%);
}

.archive-main .posts article h2 , .linked_projet article .post-text h3 , .linked_photo article .post-text h3{
    transition: .2s;
    padding: 5px;
    
}

.archive-main .posts article:hover h2 , .linked_projet article:hover h3 , .linked_photo article:hover h3{
        background-color: #0760c5;
        
    }


.archive-main .posts article .entry-content , .linked_projet article .entry-content , .linked_photo article .entry-content{
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.archive-main .posts article .entry-content img , .linked_projet article .entry-content img , .linked_photo article .entry-content img{

    object-fit: cover;
    width: 100%;
    transition: .2s;
}

.archive-main .posts article .entry-content .post-text , .linked_projet article .entry-content .post-text , .linked_photo article .entry-content .post-text{
    display: block;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.button-to-post{

    font-weight: 700;
    font-size: 10pt;
    background-color: var(--blc-cl);
    text-decoration: none;
    color: var(--container-cl);
    padding: 5px;
    
}

.posts article h2 , .card .post-text h3{
    text-decoration: none;
    font-size: 14pt;
}

/* Logo du site en HTML sur la barre de navigation */

.site .site-header .site-branding .site-title a {
    text-decoration: none;
    font-weight: 900;
    color: black;
    transition: .2s;
}

.site .site-header .site-branding .site-title a span {
    color: var(--blc-cl);
}

.site .site-header .site-branding .site-title a:hover {
    opacity: 50%;
}

/* Post projet */

.site .post-main {
    width: 100%;
    padding: 0;
    margin-top: 100px;
}

main .post-title{
font-weight: bold;
font-size: 32pt;
text-align: center;
padding: 0 3rem;
text-decoration: none;
}

main .post-image{
    display: block;
    position: relative;
}

main .post-image img{
    width: 95%;
    max-height: 400px;
    align-content: center;
    background-repeat: no-repeat;
    object-fit: cover;
    position: relative;
    left: 50%;
    translate: -50%;
}

main .post-image .copywrite{
    display: none;
}

main .post-information{
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-wrap: wrap;
    padding: 0 3rem;
    margin: 2rem 0;
}

main .post-information .content{
    max-width: 100%;
    align-content: center;
    
}

main .post-information nav{
    display: grid;
    grid-template-rows: repeat(4, auto-fit);
    grid-auto-rows: auto;
    padding: 1rem;
    background-color: var(--container-cl);
    width: 100%;
}

main .post-information nav h2{
    margin: 0 0 20px 0;
}
main .post-information nav .client-info{
    display: grid;
    grid-template-columns: repeat(2 , 200px);
    gap: 1%;
    object-fit: fill;
    height: equal;
}
main .post-information nav .client-info .client-profile{
    height: fit-content;
}

.client-info .client-profile .client-name h3{
    text-align: left; 
    max-width: 80%; 
    margin: 10px;
}  

.img-logo{
    background-color: var(--background-cl);
    object-fit: contain;
    height: fit-content;

    width: 100%;
}  

.client-name{
background-color: var(--background-cl);
margin-bottom: 10px;
padding: 10px;

justify-content: center;

}
.categorie-zone{
    margin-top: 30px;
}



.cat{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
    justify-content: left;
}

.cat .cat-tag{
    font-size: 10pt;
    font-weight: 600;
    background-color: black;
    color: var(--container-cl);
    text-decoration: none;
    padding: 5px;
    grid-column: span;
    text-align: center;
    
}
.link-post{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
}

/* Configuration du single post pour les clients */

.single-client, .archive-main{
    margin-top: 120px   ;
}

main.single-client{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 20px;
    margin: 2rem;
    background-color: var(--container-cl);
}

.single-client .contact-info {

    padding: 10px;
        h1{
        width: 100%;
        font-size: 24pt;
}}

.single-client .contact-info .client-infos .sociaux-link{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    
}

.single-client .contact-info .client-infos .dashicons{
    
    text-decoration: none;
    color: var(--container-cl);
    

}
.single-client .contact-info .client-infos .dashicons::before{
    background-color: var(--blc-cl);
    padding: 10px;
    transition: .2s;
    
    justify-content: center;
    align-items: center;

}
.single-client .contact-info .client-infos .dashicons:hover::before{
    background-color: var(--blf-cl);
    padding: 10px;
    
    justify-content: center;
    align-items: center;

}

.project-made .linked_projet , .project-made .linked_photo{
    
    display: grid;
    grid-template-columns: repeat(auto-fit , minmax(250px , 1fr));
    gap: 20px;   
}

.linked_projet article , .linked_photo article{
    
    background-color: var(--container-cl);
}
.project-made {
    color: var(--container-cl);
    background-color: #0750a4;
    padding: 1rem 2rem;
}

.linked_projet .entry-content img , .linked_photo .entry-content img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

