:root {
    --bkgnd-color : #FFFFFF;
    --header-bkgnd-color: rgba(255,255,255,0.8);
    --footer-bkgnd-color: #303030;
    --footer-text-color: #F0F0F0;
    --base-text-color: #333333;
    --prop-content-bkcolor: #FEFAF4;
    --consent-banner-bkcolor: #FFFFFF;
    --button-hover-color: #C0C0C0;

    --logo-color: #0085FD;
    --logo-img-height: 40px;
    --header-height: calc(1.6rem + var(--logo-img-height));
    --header-offset: calc(-1.6rem - var(--logo-img-height) - 10px);
    --page-main-width: 100%;
    
    --footer-min-height: 8em;   

/* Mobile settings - Changed with @media rules */
    --root-font-size: 93.75%;
    --text-2cols-rpad: 0;
    --consent-banner-margin: 0;
    --intro-text-width: 100%;
}

html {
    box-sizing: border-box;

    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    
    font-size: var(--root-font-size);
}

*, *::before, *::after {
    box-sizing:inherit
}

html, body, main, div, p, h1, h2, h3, hr, ul, li, button {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bkgnd-color);
    color: var(--base-text-color);
	font-family: 'Montserrat', Sans-serif; 
    background: url("./images/bkgnd_03.jpg") fixed no-repeat;
    background-position: center center;
    background-size: cover;   
}

a, button {
	text-decoration: none;
	border-style: none;
	outline-style: none;
}

button {
    font-family: inherit;
}

ul {
    list-style: none;
}

span {
    font: inherit;
}

.link-bk-light {
    color: var(--logo-color);
}

.link-bk-light svg {
    fill: var(--logo-color);
}

.link-bk-dark {
    color: currentcolor;
}

.link-bk-dark svg {
    fill: currentcolor;
}

.link-bk-light:hover {
    color: currentcolor;
}

.link-bk-light:hover svg {
    fill: currentcolor;
}

.link-bk-dark:hover {
    color: var(--logo-color);
}

.link-bk-dark:hover svg {
    fill: var(--logo-color);
}

.link-bold {
    font-weight: 700;
}

h1 {
    text-align: center;
    font-size: 2.0em;
	font-weight: 700;
    line-height: 1.1em;
    text-transform: capitalize;
    padding: 1em 0;
}

h2 {
    text-align: left;
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: .5em;
}

h2.anchor-wrap {
    position: relative;
}

.anchor-wrap span {
    position: absolute;
    top: var(--header-offset);
}

h3 {
    text-align: center;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: .7em;
}

/************ Header **************/
.page-header {
    position:fixed;
    top:0;
    left:0;
    right: 0;
    height: var(--header-height);
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    padding: .8rem;
    background-color: var(--header-bkgnd-color);
}

.logo-img {
    width: auto;
    height: var(--logo-img-height);
    fill: var(--logo-color);
    transform: perspective(200px) rotateY(0deg);
    animation: logo-spin .5s linear; 
}

@keyframes logo-spin {
    from { transform: perspective(200px) rotateY(0deg); }
    to { transform: perspective(200px) rotateY(360deg); }
}

/************ Main sections **************/
main {
    position: relative;
    width: var(--page-main-width);
    min-height: 80vh;
    margin: var(--header-height) auto 0 auto;
}

.intro {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    top: var(--header-height);
    text-align: center;
    padding: 1em 3em;
    width: var(--intro-text-width);
    margin: 0 auto;
}

.proposal {
    background-color: var(--prop-content-bkcolor);
    border: 1px solid var(--prop-content-bkcolor);
    border-radius: 1em;
    padding: 1em .5em;
    margin-bottom: 20px;
    text-align: center;
}

.legal {
    margin: 0 5%;
}

.section-content {
    padding: 0 1rem; 
    color: var(--base-text-color);
}

.infos-content {
    display: flex;
    justify-content: flex-start;   
    align-items: flex-start;
    flex-wrap: wrap;
}

.infos-data {
    margin: 1.5em 0;
    padding-right: var(--text-2cols-rpad);
}

.infos-data p {
    padding: .2em 0;
}

.infos-data ul {
    margin-left: 2em;
    padding: .2em 0;
    list-style: square outside none;
}

.infos-data ul li {
    padding: .2em 0;
}

.large-text {
    font-size: 1.92rem;
    line-height: 1.5em;
    font-weight: 600;
}

.medium-text {
    font-size: 1.5rem;
    line-height: 1.2em;
    font-weight: 400;
}

.std-text {
    font-size: 1rem;
    line-height: 1.2em;
    font-weight: 400;
}

.small-text {
    font-size: .85rem;
    font-weight: 400;
}

/************ Link to main site **************/
.link-info {
    margin-top: 0;
}

.link-info .consent-button {
    margin-top: 2rem;
}

.consent-button a {
    color: inherit;
    text-decoration: none;
}

.logo-eclair {
    height: 80px;
    width: auto;
}

/************ Footer **************/

.page-footer {
    position: relative;
    min-height: var(--footer-min-height);
    padding: 1em 0;
    text-align: center;
    color: var(--footer-text-color);
    background-color: var(--footer-bkgnd-color);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}


.social-links ul li {
    display: inline-block;
    padding: 0 .5rem 1rem .5rem;
}

.link-icon {
    width: 24px;
    height: auto;
}

.social_img {
    margin: 0 20px;
}

#wcb {
    padding: 10px;
}

/************ Consent banner **************/
#consent-banner {
    display: none;
    position: fixed;
    z-index: 10;

    right: var(--consent-banner-margin);
    bottom: var(--consent-banner-margin);
    max-width: 450px;
    width: 100%;
    
    background-color: var(--consent-banner-bkcolor);
    border: 1px solid var(--consent-banner-bkcolor);
    border-radius: 1em;
    padding: 2.0em;
}

#consent-banner p {
    color: var(--base-text-color);
    padding: .2em 0;
}

#consent-info {
    display: none;
    font-size: .7em;
}

.consent-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 2rem;
}

.consent-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    padding: 1em 2em;
    background-color: transparent;
    color: inherit;
    border-radius: 2.0em;
    border: none;
    outline: none;
}

.consent-button span {
    position:relative;
    z-index: 2;
}

.consent-button:hover,
.consent-button:hover::after {
    background-color: var(--logo-color);
    border-color: var(--logo-color);
 }

.button-light {
    background-color: transparent;
    color: var(--base-text-color);
}

.button-light::after {
    display: block;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border: 2px solid var(--base-text-color);
    border-radius: 2.0em;
}

.button-dark {
    background-color: var(--base-text-color);
    color: var(--footer-text-color);
}

@media (min-width: 1200px) {
    .consent-button::before {
        font-size: inherit;
        position: absolute;
        z-index: 1;
        content: "";
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        border: none;
        border-radius: 1.5rem;
        -webkit-transition: width .3s;
        transition: width .3s;
        background-color: var(--logo-color);
    }

    .consent-button:hover,
    .consent-button:hover::after {
        background-color: transparent;
     }

    .button-dark:hover {
        background-color: var(--base-text-color);
    }

    .button-light:hover {
        background-color: #FFFFFF;
    }

    .consent-button:hover::before {
        width: 100%;
    }

}

/************ Adaptive rules **************/
@media (min-width: 768px) {
    :root {
        --root-font-size: 100%;
        --text-2cols-rpad: 5rem;
        --consent-banner-margin: 20px; 
        --intro-text-width: 42em;
    }
    
    .proposal {
        padding: 1em 1em;
    }
}

@media (min-width: 1200px) {
    :root {
        --root-font-size: 112.5%;
        --text-2cols-rpad: 8rem;
        --consent-banner-margin: 40px; 
        --intro-text-width: 45em;
    }

    .proposal {
        padding: 1em 10%;
    }
}

@media (min-width: 1600px) {
    :root {
        --root-font-size: 125%;
        --intro-text-width: 60em;
    }

}
 
