/*
Theme Name: Bao art
Author: Jonathan Gruet
Author URI: https://jonathangruet.fr/
Description:
Text Domain: bao-art
*/

/* :root {
    --brick-bao: #C4605B;
    --rose-bao: #E6C0B4;
    --indigo-bao: #45478B;
} */

/* @import url('css/bootstrap/bootstrap-grid.min.css'); */
@import url("css/bootstrap/bootstrap.min.css");
@import url("./css/header.css");
@import url("./css/footer.css");
@import url("./css/front-page.css");
@import url("./css/archive-project.css");
@import url("./css/single-project.css");
@import url("./css/about.css");
@import url("./css/contact.css");

@font-face {
    font-family: "Poppins";
    font-weight: 100;
    src: url("css/fonts/Poppins/Poppins-Thin.woff2") format("woff2"), url("css/fonts/Poppins/Poppins-Thin.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    font-weight: 200;
    src: url("css/fonts/Poppins/Poppins-ExtraLight.woff2") format("woff2"), url("css/fonts/Poppins/Poppins-ExtraLight.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    font-weight: 300;
    src: url("css/fonts/Poppins/Poppins-Light.woff2") format("woff2"), url("css/fonts/Poppins/Poppins-Light.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    font-weight: 400;
    src: url("css/fonts/Poppins/Poppins-Regular.woff2") format("woff2"), url("css/fonts/Poppins/Poppins-Regular.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    font-weight: 500;
    src: url("css/fonts/Poppins/Poppins-Medium.woff2") format("woff2"), url("css/fonts/Poppins/Poppins-Medium.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    font-weight: 600;
    src: url("css/fonts/Poppins/Poppins-SemiBold.woff2") format("woff2"), url("css/fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    font-weight: 700;
    src: url("css/fonts/Poppins/Poppins-Bold.woff2") format("woff2"), url("css/fonts/Poppins/Poppins-Bold.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    font-weight: 800;
    src: url("css/fonts/Poppins/Poppins-ExtraBold.woff2") format("woff2"), url("css/fonts/Poppins/Poppins-ExtraBold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Baskerville";
    font-weight: 400;
    src: url("css/fonts/Libre_Baskerville/LibreBaskerville-Regular.woff2") format("woff2"), url("css/fonts/Libre_Baskerville/LibreBaskerville-Regular.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "Baskerville";
    font-weight: 700;
    src: url("css/fonts/Libre_Baskerville/LibreBaskerville-Bold.woff2") format("woff2"), url("css/fonts/Libre_Baskerville/LibreBaskerville-Bold.ttf") format("truetype");
    font-display: swap;
}

* {
    color: #383882;
    /* cursor: url(./images/pointer.svg), pointer!important; */
    /* cursor: url(/wp-content/uploads/2022/07/pointeur2.png), pointer!important; */
    /* cursor: url(/wp-content/uploads/2022/07/pointeur1.png), pointer!important; */
    /* cursor: url(/wp-content/uploads/2022/07/Sans-titre-2_Plan-de-travail-1.png), pointer!important; */
    
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.container-fluid.custom-container,
.custom-container {
    max-width: 1920px;
}

header .navlink {
    position: relative;
}
header a {
    text-decoration: none;
}

.mobile-menu-nav {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: #c4615b;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    height: 100%;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    font-size: 2em;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-evenly;
}

.mobile-menu-nav.close {
    transform: translate(100%);
}

.mobile-menu-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 2;
}
* .mobile-menu-icon.close-icon {
    position: fixed;
}

main {
    max-width: 100vw;
    overflow: hidden;
}

.p404-illu {
    max-width: 800px;
    margin: auto;
}

.button-bao {
    pointer-events: auto;
    cursor: pointer;
    background: #c4605b;
    border: none;
    padding: 8px 30px;
    margin: 0;
    font-family: inherit;
    min-width: 150px;
    position: relative;
    display: inline-block;
    display: flex;
    justify-content: center;
}
.link--pan {
    text-decoration: none;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}
.button-bao::before,
.button-bao::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
}

.button--pan {
    border-radius: 3rem;
    overflow: hidden;
    color: #fff;
}

.button--pan span {
    position: relative;
    text-transform: uppercase;
    font: normal normal 600 14px/22px Poppins;
    letter-spacing: 0.97px;
    color: #ffffff;
}

.button--pan::before {
    content: "";
    background: #e6c0b4;
    -webkit-transition: -webkit-all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
    transition: -webkit-all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.7, 0, 0.2, 1),
        -webkit-all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
}

.button--pan:hover::before {
    max-height: 0;
}
