/*
 Theme Name:   Head Blog Enfant
 Description:  Thème enfant de Head Blog
 Author:       Georges
 Template:     head-blog
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  headblogchild
*/

@import url('https://fonts.googleapis.com/css2?family=Saira+Stencil+One&display=swap');
@font-face {
    font-family: "RobotoCondensed";
    src:
      local("RobotoCondensed-Regular"),
      url("fonts/RobotoCondensed-Regular.ttf") format('truetype'),
} 

/* Déclaration des variables */
:root {
    --color-primary: #286090;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow: initial;
}

h1 {
    font-family: 'RobotoCondensed', cursive;
}


.has-drop-cap:not(:focus):first-letter {
    font-family: 'RobotoCondensed', cursive;
    font-size: 4em;
}

p.site-description {
    color : white;
}

body.admin-bar .main-menu {
    top: 32px;
}

#comments {
    display: none;
}

/*
    ///////////// POPUP des réalisations
*/
.pum-theme-theme-par-defaut {
    background-color: rgba( 255, 255, 255, 0.8 ) !important;
}
.pum-close {
    background-color: var(--color-primary) !important; 
    font-size: 60px !important;
}

.pum-container {
    min-height: 40% !important;
}

/*
    ///////////// BOUTONS
*/
.is-style-btn-primary .wp-element-button {
    color: white;
    background-color: var(--color-primary);
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease-in;
}

.is-style-btn-primary .wp-element-button:hover {
    color: var(--color-primary);
    background-color: white;
    text-decoration: none;
    transform: rotate(90deg);
}

/*
    ///////////// CONTENEURS du contenu des pages
*/
.main-container {
    background-color: transparent;
}

.single-wrap {
    border-radius: 0 30px 0 30px;
    background-color: white;
    border-color: black;
}

/*
    ///////////// HEADER
*/
.main-menu {
    position: sticky;
    top: 0px;
    z-index: 1;
}

#site-navigation {
    min-height: 0;
}

.nav > li.active > a:after,
.current-page-parent:after,
.nav > li > a:before {
    background-color: var(--color-primary);
}



/*
    ///////////// FOOTER
*/
.footer-credits {
    color: white;
}

.footer-credits .wp-block-columns {
    margin-bottom: 0;
}

.footer-credits .widget {
    margin-bottom: 0;
}

.widget {
    border: none;
    margin-bottom: 0;
}

.widget ul.wp-block-social-links li {
    padding: 0;
}

.menu-footer ul {
    padding-inline-start: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    margin-bottom: 30px;
}

.menu-footer ul a {
    color: white;
}

.menu-footer li {
    /*
    border-left-style: solid;
    border-left-width: 2px;
    border-left-color: white;
    */
    border-left: solid 2px white;
    padding-left: 10px;
}

/*
    ///////////// REALISATIONS
*/

.liste-realisations {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.liste-realisations img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.realisation {
    display: flex;
    gap: 20px;
}

/*
    ///////////// RESPONSIVE
*/

/* Smartphone */
@media screen and (max-width: 767px) {

    .menu-footer ul {
        gap: 50px;
    }

    .navbar {
        margin-bottom: 40px;
    }

    .main-container {
        padding-top: 20px;
    }

    .menu-container {
        width: 68%;
    }

    .liste-realisations {
        grid-template-columns: repeat(1, 1fr);
    }

}
