* {
    margin: 0;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 1em;
    /* 2025_05_19 Add _variables.css in order to put in place variables for css */
    /* background-color: #1f2039; */
    background-color: var(--backgroundColorTitle);
}

/* (B) HEADER */
#page-head-fixed {
    /* (B1) FIXED AT TOP */
    position: fixed;
    top: 0;
    z-index: 9;
    /* (B2) DIMENSIONS */
    width: 100%;
    /* suppress 2024_06_30 */
    /* height: 50px; */
    padding: 10px;
}

/* (B) HEADER */
#page-head-nofixed {
    /* (B1) FIXED AT TOP */
    /* position: fixed; */
    position: sticky;
    top: 0;
    z-index: 9;
    /* (B2) DIMENSIONS */
    width: 100%;
    /* suppress 2024_06_30 */
    /* height: 50px; */
    padding: 10px;
}

a {
    color: #a9a8a8;
    text-decoration: none;
}

a:hover {
    color: #060606;
    /* text-decoration: underline; */
}

aLight {
    color: #615c5c;
    text-decoration: none;
    font-size: 20px;
}

em {
    color: #a5b4fc;
    font-style: normal;
}

emBlue {
    color: #4b60c7;
    font-style: normal;
}

emGreen {
    color: #259b2b;
    font-style: normal;
}

emRed {
    color: #b6241f;
    font-style: normal;
}

emOrange {
    color: #e4770a;
    font-style: normal;
}

h1 {
    font-size: 3.5em;
    /* 2025_05_19 Add _variables.css in order to put in place variables for css */
    /* color: #a5b4fc; */
    color: var(--H1color);
    font-family: 'Montserrat', sans-serif;
}

h2 {
    /* 2025_05_19 Add _variables.css in order to put in place variables for css */
    /* color: #f9f8ff; */
    color: var(--H2color);
}

p,
li {
    font-size: 1.1em;
    color: #f9f8ff;
}

header {
    /* 2025_05_19 Add _variables.css in order to put in place variables for css */
    /* background-color: white; */
    background-color: var(--backgroundColorSite);
    padding: 20px 50px;
}

footer {
    text-align: center;
    /* 2025_05_19 Add _variables.css in order to put in place variables for css */
    /* background-color: white; */
    background-color: var(--backgroundColorSite);
    /* padding: 20px 50px; */
    /* float: left;*/
    width: 100%;
}

.foot {
    text-align: center;
    float: left;
    width: 100%;
}

.buttonToPortfolio {
    display: inline-block;
    /* 2025_05_19 Add _variables.css in order to put in place variables for css */
    /* background: linear-gradient(#8e86b5, #acaeed); */
    background: var(--backgroundButtonGradient);
    /* color: white; */
    color: var(--colorTextButton);
    border-radius: 50px;
    padding: 20px 30px;
}

.buttonToPortfolio:hover {
    /* 2025_05_19 Add _variables.css in order to put in place variables for css */
    /* background: linear-gradient(#696484, #8788ba); */
    background: var(--backgroundButtonGradientHover);
    color: var(--colorTextButtonHover);
    text-decoration: none;
}

.lien-icone {
    margin-left: 0px;
}

.lien-icone:hover {
    opacity: 0.5;
}

section {
    padding: 80px;
}

footer,
nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

nav a {
    font-size: 20px;
    margin-left: 15px;
    margin-right: 15px;
}

nav aLight {
    margin-left: 15px;
    margin-right: 15px;
}

@media screen and (max-width: 996px) {
    header nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    header nav img {
        margin-bottom: 20px;
    }

    header,
    footer {
        padding: 20px 20px;
    }

    h1 {
        font-size: 2em;
    }

    section {
        /* 2024 07 01 */
        /* padding: 50px 20px 50px 20px; */
        padding: 10px 20px 10px 20px;
    }

    nav a {
        margin-left: 15px;
        margin-right: 15px;
    }

    /* 2026_02_03 BEGIN add for smartphone */
    .guestbookIntroduction {
        padding: 100px;
    }

    /* 2026_02_03 END add for smartphone */
}

/* ---------------------------- backOffice ---------------------------*/

.backOffice {

    /* 2025_05_19 Add _variables.css in order to put in place variables for css */
    /* background-color: color: #b6241f; */
    background-color: var(--backgroundColorBackOffice);
    display: block;
}

.backOffice nav {
    clear: both;
}

.boLogin {
    margin-bottom: 1rem !important;
}

/* add 2025_05_08  */

.formColumnPortfolio {
    display: flex;
    flex-direction: row;
    gap: 20px;
    height: 80px;
}

.formColumnNamePortfolio {
    max-width: 300px;
    height: 80px;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
    /* object-fit: cover; */
}

.formColumnPortfolioDescription {
    /* width: 600px; */
    max-width: 500px;
    height: 80px;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
    /* object-fit: cover; */
}

.formColumnActivatedPortfolio label {
    padding: 20 0 0 0;
}

.formColumnActivatedPortfolio {
    max-width: 250px;
    height: 80px;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
    font-weight: bolder;
    /* object-fit: cover; */
}

/* 2025_06_20 for managmentPortfolio */
.formColumnManagmentPortfolio label {
    padding: 20 0 0 0;
}

.formColumnManagmentPortfolio {
    max-width: 180px;
    height: 80px;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
    /* object-fit: cover; */
}

.formColumnPortfolioButton {
    padding-top: 0%;
    max-width: 100px;
    height: 80px;
    flex: 1;
    display: flex;
    flex-direction: column;
    /* margin-bottom: 0px; */
}

/* add 2024 10 06  */

.formColumnPictures {
    display: flex;
    flex-direction: row;
    gap: 20px;
    /* 2025_06_17 update max-height */
    max-height: 400px;
}

/* 2025_05_17 BEGIN Add formColumnOnePictureName */
.formColumnOnePictureName {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    /* object-fit: cover; */
}

.formColumnOnePicture {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    /* 2025_05_17 Add max-width & max-height */
    /* 2025_06_17 update max-width & max-height */
    max-width: 400px;
    max-height: 400px;
    /* object-fit: cover; */
}

/* 2025_05_17 END Add formColumnOnePictureName */

.formColumnPicture {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    /* 2025_05_17 Add max-width & max-height */
    /* 2025_06_06 change max-width by width */
    width: 75px;
    max-height: 60px;
    /* object-fit: cover; */
}

/* 2025_05_17 BEGIN Add formColumnNameId for picture */
.formColumnNameId {
    max-height: 5px;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    /* 2025_05_17 Add max-width & max-height */
    /* 2025_06_06 change max-width by width */
    width: 100px;
    max-height: 60px;
    /* object-fit: cover; */
}

/* 2025_05_17 END Add formColumnNameId for picture */

.formColumnNamePicture {
    /* 2025_06_06 add width */
    width: 200px;
    max-height: 5px;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    max-height: 60px;
    /* object-fit: cover; */
}

.formColumnDescription {
    /* 2025_06_06 change max-width by width */
    /* max-width: 300px; */
    width: 500px;
    /* max-height: 5px; */
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
    /* object-fit: cover; */
}

.formColumnButton {
    padding-top: 0%;
    /* 2025_06_06 change max-width by width */
    width: 300px;
    /* max-height: 10px; */
    flex: 1;
    display: flex;
    flex-direction: column;
    /* margin-bottom: 0px; */
}

.formColumnSppress {
    padding-top: 0%;
    /* 2025_06_06 change max-width by width */
    width: 300px;
    /* max-height: 10px; */
    flex: 1;
    display: flex;
    flex-direction: column;
    /* margin-bottom: 0px; */
}

.indicateur {
    background-color: white;
}

.commentSubmit {
    /* margin-top: 10px; */
    width: 100px;
    display: inline-block;
    background: linear-gradient(white, #acaeed);
    color: black;
    border-radius: 50px;
    padding: 10px 10px;
}

/* 2025_04_03 add for manage comment of guestbook */
.formTableComment {
    width: 100%;
    border: 2px solid gray;
    border-collapse: collapse;
    font-size: 15px;
    color: white;
    /* flex: 1; */
    /* display: flex; */
    /* flex-direction: column; */
    margin-bottom: 20px;
}

.colDate {
    text-align: left;
    padding-left: 10px;
    border: 2px solid gray;
    width: 180px;
}

.colFirstName {
    text-align: left;
    padding-left: 10px;
    border: 2px solid gray;
    width: 150px;
}

.colLastName {
    text-align: left;
    padding-left: 10px;
    border: 2px solid gray;
    width: 150px;
}

.colEmail {
    text-align: left;
    padding-left: 10px;
    border: 2px solid gray;
    width: 250px;
}

.colComment {
    text-align: left;
    padding-left: 10px;
    border: 2px solid gray;
    width: 400px;
}

.colAction {
    text-align: left;
    padding-left: 10px;
    border: 2px solid gray;
    width: 150px;
}

.colDelete {
    text-align: left;
    padding-left: 10px;
    border: 2px solid gray;
    width: 150px;
}

/* 2025_06_15 add colValidate */
.colValidate {
    text-align: left;
    padding-left: 10px;
    border: 2px solid gray;
    width: 100px;
}

/* 2025_04_14 Adding floating button */
.floatingButton {
    display: block;
    width: 60px;
    background-color: transparent;
    position: fixed;
    bottom: 200px;
    right: 30px;
}

.floatingButton img {
    width: 100%;
}

* {
    scroll-behavior: smooth;
}

/* Menu code starts here */

#menuToggle {
    display: block;
    /* You can also use relative/absolute here if you want to stay on the top */
    position: fixed;
    top: 150px;
    left: 50px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a {
    text-decoration: none;
    color: #a9a8a8;
    transition: color 0.3s ease;
}

#menuToggle a:hover {
    color: black;
}

#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    /* hide this */
    z-index: 2;
    /* and place it over the hamburger */
    -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #a9a8a8;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #a9a8a8;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked~span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked~span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menuHamb {
    position: absolute;
    max-width: 500px;
    width: 100vw;
    max-height: 100vh;
    margin: -100px 0 0 -50px;
    padding: 50px;
    padding-top: 125px;
    box-sizing: border-box;
    overflow-y: auto;
    background: var(--backgroundColorBackOffice);
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    box-shadow: 0 1rem 3rem black;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top-left-radius: 30px;
}

#menuHamb li {
    padding: 10px 0;
    font-size: 22px;
}

#menuHamb li label {
    cursor: pointer;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked~ul {
    transform: none;
}

/* 2025_05_21 END add floatting hamburger menu */