@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@font-face {
    font-family: RocaOne;
    src: url("../fonts/RocaOne-Rg.woff2");
}
@font-face {
    font-family: GaretBook;
    src: url("../fonts/Garet Book.woff2");
}

:root {
    --background2: #e7dfd8;
    --mainTextColor: #746558;
    --titlesColor: #392604;
}

html {
    height: 100%;
    color: var(--mainTextColor);
}

body {
    height: 100%;
    margin: 0;
    background-color: white;
    font-size: 1.1em;
    font-weight: 400;
    font-family: "Inter";
}

em {
    font-style: normal;
    font-weight: 800;
}

li {
    display: list-item;
    text-align: left;
}

a {
    color: black;
    text-decoration: none;
}

ul {
    list-style-type: disc;
}

h1 {
    font-size: 2.2em;
    font-family: "RocaOne";
    color: var(--titlesColor);
    line-height: 1.1em;
    text-align: center;
}

h2 {
    font-size: 2em;
    font-family: "RocaOne";
    color: var(--titlesColor);
    line-height: 1.1em;
    width: 90%;
    margin: auto;
    text-align: center;
}

h2.leftAlign {
    margin: 0;
    width: 100%;
    text-align: left;
}

h2.rightAlign {
    margin: 0;
    width: 100%;
    text-align: right;
}

h3 {
    font-family: "RocaOne";
    color: var(--titlesColor);
    font-size: 2em;
    line-height: 1.1em;
    margin-top: 5px;
}

h4 {
    text-transform: uppercase;
    font-weight: bolder;
    font-size: 20px;
}

@media screen and (min-width: 601px)
{
    h1 {
        font-size: 3.5em;
    }
    h2, h3 {
        width: 80%;
        font-size: 3em;
    }
}

@media screen and (min-width: 993px)
{
    h1 {
        font-size: 4em;
    }
    h2, h3 {
        font-size: 3.5em;
    }
}

button {
    cursor: pointer;
}

.clickable {
    cursor: pointer;
}

.modal {
    position: fixed;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 100;
}
.modal_back {
    position:absolute;
    background-color: rgba(120, 120, 120, 0.7);
    width: 100%;
    height: 100%;
}
.modal_content {
    margin: auto;
    width: 90%;
    background-color: white;
    z-index: 10;
    position: relative;
}

@media screen and (min-width: 601px)
{
    .modal_content {
        width: 70%;
    }
}
.modal_closeBtn {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10;
    cursor: pointer;
}

#mainContent {
    min-height: calc(100% - 350px);
}

.lightBold {
    font-weight: 500;
}

.emailLink {
    color: black;
    text-decoration: underline;
}

.emphasize1 {
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

#companyBtn {
    font-size: xx-large;
}

.valign-wrapper {
    display: flex;
    align-items: center;
}

.fullWidth {
    width: 100%;
}

.smallText {
    font-size: 0.7em;
}
.largeText {
    font-size: 1.2em;
}
.largestText {
    font-size: 1.8em;
}

.mainLogo {
    background-image: url("../images/logo500.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    display: block;
    margin: auto;
}

#footer .mainLogo {
    width: 100px;
    height: 100px;
    margin: auto;
}
@media screen and (min-width: 601px)
{
    .mainLogo {
        width: 150px;
        height: 150px;
        margin: 0;
    }
}

#footer p {
    margin-bottom: 8px;
    margin-top: 0;
}


#expertise {
    align-items: center;
}

#expertise.col {
    min-height: 60vh;
}

@media screen and (min-width: 601px)
{
    #expertise {
        padding: 30px;
    }
}
#footer {
    padding-top: 2em;
    font-weight: 500;
    background-color: white;
    font-size: 15px;
    text-align: center;
    line-height: 1.8em;
}

#pageBtns {
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
}

#companyBtn {
    text-align: center;
}

#headContent {
    padding: 20px 2% 20px 2%;
}

@media screen and (min-width: 601px)
{
    #companyBtn {
        text-align: left;
    }
    
    #pageBtns {
        text-align: right;
    }
    
    #headContent {
        padding: 20px 5% 20px 5%;
    }
}


.inlinelist ul {
    padding: 0;
    margin: 0;
}

.inlinelist li {
    display: inline-block;
    padding: 15px;
    margin: 0;
    cursor: pointer;
}

#headContent li:hover, #headContent a:hover, #footer a:hover {
    color: darkgoldenrod;
}

.bandeau {
    padding: 2em 20px 4em 20px;
}

.siteContent {
    text-align: center;
    padding: 30px 20px 30px 20px;
}

button, .siteButton {
    font-family: "Inter";
    font-size: 1.2em;
    border: solid 2px #3f2b07;
    color: #3f2b07;
    font-weight: 700;
    cursor: pointer;
    background-color: white;
    display: inline-block;
    padding: 10px 25px 10px 25px;
}

button:hover, .siteButton:hover {
    background-color: rgb(230, 230, 230);
}

button:disabled, .siteButton:disabled {
    background-color: darkgray;
    cursor: default;
}

.simpleImage {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    margin: auto;
}

.simpleImage.tiny {
    height: 50px;
}
.simpleImage.medium {
    height: 250px;
}

.imageHome {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    max-height: 50%;
    width: 100%;
    height: 50vh;
    display: block;
}

.imageHome.cover {
    background-size: cover;
}

#servicesPart {
    padding-left: 5%;
    padding-right: 5%;
}

@media screen and (min-width: 601px)
{
    #servicesPart {
        padding-left: 35px;
        padding-right: 35px;
    }
}

#servicesPart a {
    display: block;
    padding-top: 20px;
    padding-bottom: 20px;
}

#servicesPart .row {
    margin: 0;
    padding-bottom: 30px;
}

#servicesPart i {
    font-size: 8em;
}

#servicesPart .col {
    padding-top: 30px;
    display: flex;
}

#servicesPart .serviceContent {
    font-size: 1em;
    font-weight: 500;
}

.serviceBlock {
    position: relative;
    padding-top: 33px;
    padding-bottom: 40px;
    margin: 10px;
}

.serviceBlockContent {
    background-color: var(--background2);
    padding: 60px 20px 10px 20px;
    height: calc(100% - 60px);
    text-align: left;
}

.blackCircleWrapper {
    position: absolute;
    top: 0;
    width: 100%;
}

.blackCircle {
    border-radius: 100%;
    background-color: black;
    display: inline-block;
    margin: auto;
    padding: 16px;
}

.blackCircleIcon {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 50px;
    width: 50px;
}

.siteRow {
    width: 100%;
    height: 100vh;
}

#secondContent div {
    background-color: white;
    padding: 200px 20px 200px 20px;
}

.imageText {
    display: flex;
    flex-direction: column-reverse;
    text-align: left;
    height: calc(100% - 25px);
    width: 85%;
    color: white;
    line-height: 1.1em;
    padding-left: 25px;
    padding-bottom: 25px;
}

.secondBackground {
    background-color: var(--background2);
}

.centeredListDiv {
    display: flex;
}

.centeredListDiv ul {
    display: table-cell;
    margin: auto;
}


/************************************************/
/*************** FORMULAIRE *********************/
/************************************************/
#formulaireMsg {
    min-height: 3em;
}

#formulaireContainer {
    display: flex;
    width: 100%;
    flex-direction: row;
}
#contactFormulaire {
    max-width: 450px;
    margin: auto;
}

#contactForm {
    width: 100%;
}

#contactForm label {
    font-family: "Inter";
    color: black;
    font-size: 1.2em;
}
#contactForm textarea {
    font-family: "Inter";
    width: 100%;
    font-size: 1.2em;
    height: 6em;
    resize: none;
    background: white;
    border: solid 1px gray;
}
#contactForm input:not([type='submit']) {
    font-family: "Inter";
    width: 100%;
    font-size: 1.2em;
    background: white;
    border: solid 1px gray;
}

@media screen and (min-width: 601px)
{
    #formulaireContainer {
        flex-direction: row-reverse;
    }
    #contactFormulaire {
        width: inherit;
        margin: inherit;
    }
    #contactForm {
        width: inherit;
    }
}

.formErrorMsg {
    /* override materialize style for label;*/
    color: red !important;
}

label.formErrorMsg {
    /* override materialize style for label;*/
    font-size: 0.5em !important;
    transform: translate(0) !important;
}

/* ########### REALISATIONS ####### */

.realisationMini {
    cursor: pointer;
}

.realisationMini:hover {
    color: var(--titlesColor);
}

.realisationMini:hover .simpleImage {
    border: solid 1px var(--titlesColor);
}

#realisationPart .description {
    margin-top: 20px;
    margin-bottom: 20px;
}

#infoProjet .infoDetails::before {
    color: grey;
    margin-right: 8px; /* espace avec le texte */
}

.closedAccordion::before  {
    content: "▶";
    
}
.openedAccordion::before {
    content: "▼";
}

#realisationPart #infoProjet .infoDetails {
    margin-top: 15px;
    cursor: pointer;
}
#realisationPart #infoProjet .infoDetails div {
    margin-left: 5px;
    margin-top: 15px;
    border-left: solid 2px lightgrey;
    padding-left: 15px;
}

#infoProjet .col div {
    padding: 20px;
}
#infoProjet .col div div {
    background-color: var(--background2);
}

.timeline {
    position: relative;
    height: 50px;
}

.timelineTab {
    border-top: solid 2px grey;
    width: 100%;
    margin-top: 20px;
    position: absolute;
}

.timelineTab div {
    height: 30px;
    padding: 0px;
    width: 16.47%;
    display: inline-block;
}
.timelineTab .timelineLined {
    border-left: solid 2px grey;
}

.timelineIcons {
    position: relative;
    z-index: 50;
}

.timelineIcons span {
    background-color: white;
}

.heart_container {
  position: relative;
  display: inline-block;
}

.heart_container .heart_pulse {
  display: block;
  border-radius: 5px;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(120,120,120, 0.7);
  }
  50% {
    box-shadow: 0 0 20px 20px rgba(120,120,120, 0.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(120,120,120, 0.7);
  }
}