@font-face {
    font-family: 'Aller';
    src: url('../font/aller.ttf') format('truetype');
    src: url('../font/aller.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('../font/roboto.ttf') format('truetype');
    src: url('../font/roboto.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
html {
    font-size: 62.5%;
}
body {
    background-color: #22283f;
    font-family: 'Roboto';
    font-size: 1.8rem;
    line-height: 1.5;
}
body::before {
    content: 'mobile';
    display: none;
}
/* -------------------------------- 

Content Style

-------------------------------- */

.cd-vertical-nav {
    position: fixed;
    z-index: 1;
    right: 20px;
    top: 20px;
    background-color: white;
    padding: 7px 5px 7px 5px;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
.cd-vertical-nav a {
    display: block;
    height: 20px;
    width: 20px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: url(../img/cd-icon-arrow.svg) no-repeat center center;
}
.cd-prev {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    margin-bottom: 10px;
}
.inactive {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
    -o-transition: opacity 0.2s 0s, visibility 0s 0.2s;
    -moz-transition: opacity 0.2s 0s, visibility 0s 0.2s;
    transition: opacity 0.2s 0s, visibility 0s 0.2s;
}
#scroll {
    padding-top: 60px;
    position: absolute;
    bottom: 20px;
    color: #DFC303;
    text-decoration: none;
    font-weight: 900;
    margin-left: 50%;
    transform: translateX(-50%);
    cursor: default;
    font-size: 1.6rem;
}
#scroll span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 30px;
    height: 50px;
    margin-left: -15px;
    border: 2px solid #DFC303;
    border-radius: 50px;
    box-sizing: border-box;
}
#scroll span::before {
    position: absolute;
    top: 10px;
    left: 50%;
    content: '';
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: #DFC303;
    border-radius: 100%;
    -webkit-animation: sdb10 2s infinite;
    animation: sdb10 2s infinite;
    box-sizing: border-box;
}
@-webkit-keyframes sdb10 {
    0% {
        -webkit-transform: translate(0, 0);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        -webkit-transform: translate(0, 20px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@keyframes sdb10 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        transform: translate(0, 20px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.main {
    height: 100vh;
    text-align: center;
}
.cd-section:first-of-type > div {
    background-image: url(../img/bcg.png);
    background-size: cover;
    background-position: center;
}
.cd-section:nth-of-type(2) > div,
.cd-section:nth-of-type(3) > div {
    background-color: white;
}
h1 {
    font-family: 'Aller';
    font-size: 10rem;
    color: #DFC303;
    font-weight: 600;
    margin-top: 5vh;
}
h2 {
    font-family: 'Aller';
    font-size: 5rem;
    color: #DFC303;
}
h3 {
    font-size: 3.6rem;
    font-weight: 500;
    color: white;
}
h6 {
    font-family: 'Aller';
    font-size: 3.6rem;
    color: #DFC303;
    font-weight: 100;
}
h4 {
    font-size: 2.8rem;
    color: white;
}
#txtpage1 {
    font-size: 2.1rem;
    color: white;
}
#bulle {
    margin-top: 20vh;
}
h5 {
    font-size: 2.8rem;
    margin-top: 1vh;
}
#page2 {
    width: 70vw;
    display: inline-block;
    transform: translateY(-50%);
    top: 50%;
    position: relative;
}
#page2side {
    text-align: left;
    width: 30vw;
    background-color: #C10848;
    color: white;
    height: 100%;
    box-shadow: 0px 0px 8px #858585;
    float: right;
}
#sidecenter {
    margin: 50vh 5% 0% 5%;
    transform: translateY(-50%);
}
.question {
    display: inline-block;
    width: 25%;
    vertical-align: top;
    margin: 0px 2.5% 0px 2.5%;
}
.cause {
    display: inline-block;
    width: 40%;
    margin: 10vh 2.5% 0px 2.5%;
    vertical-align: top;
}
.cause > p:first-of-type {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1vh;
}
#answer {
    font-size: 3.6rem;
    font-weight: 600;
    margin-bottom: 1vh;
}
/* Contact */

#pagecontact{
    height: 100vh;
}

#page3 {
    width: 50vw;
    display: inline-block;
    height: 100vh;
    position: relative;
}
#contacth1 {
    font-size: 3.6rem;
    font-weight: 900;
    margin: 25px 0px 40px 0px;
}
#profilpic {
    box-shadow: 0px 0px 8px #858585;
    width: 120px;
    border-radius: 60px;
    display: inline-block;
    vertical-align: middle;
}
#page3 > div > p {
    font-size: 3.6rem;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}
.contacttxt {
    text-align: left;
    display: inline-block;
    margin: 50px;
    vertical-align: top;
}
.contacth2 {
    font-size: 2.8rem;
    font-weight: 600;
}

#infosection{
    vertical-align: middle;
    bottom: 0;
    position: absolute;
    background: #FAFAFA;
}

#infos{
    display: inline-block;
    width: 40%;
    margin: 0% 5% 0% 5%;
    text-align: left;
    vertical-align: middle;
}

#infos>p:first-of-type{
    font-size: 2.8rem;
    font-weight: 600;
}

#infos>p:nth-of-type(2)>a{
    text-decoration: none;
    color: #C10848;
}

#infos>p:nth-of-type(2)>a:hover{
    text-decoration: underline;
}
    
#infos>p:nth-of-type(2)>span{
    font-weight: 800;
}

#map {
    width: 49%;
    vertical-align: middle;
    
}
/* Contact side */

#page3side {
    background-color: #C10848;
    width: 50vw;
    box-shadow: 0px 0px 8px #858585;
    text-align: left;
    float: right;
}
#page3side > div{
    margin: 50vh auto 0 auto;
    transform: translateY(-50%);
    width: 70%;
}
#titremail {
    font-size: 3.6rem !important;
    color: white;
    margin-bottom: 20px;
    width: 100% !important;
}
.champ {
    width: calc(100% - 35px);
    text-align: left;
    border-radius: 5px;
    padding: 15px;
    border: 2px solid #CDCED0;
    margin: 20px 0px 5px 0px;
    color: #949699;
    font-size: 16px;
}
.champ:focus {
    border: 2px solid #DFC303;
    outline: transparent;
}
#message {
    height: 25rem;
    resize: none;
    font-family: 'Roboto';
}
#sendbutton {
    border-radius: 5px;
    border: none;
    width: 200px;
    height: 4rem;
    cursor: pointer;
    font-size: 2.1rem;
    background-color: #DFC303;
    float: right;
    color: #3E3E3E;
}
#sendbutton:hover {
    box-shadow: 0px 0px 8px #858585;
}
#contact > p:last-of-type{
    width: calc(100% - 220px);
    color: white;
    font-size: 1.8rem;
    margin-top: 10px;
}
#msg_message, #msg_nom, #msg_email {
    font-size: 1.4rem;
    color: white;
    display: block;
    padding: 0px 0px 10px 0px;
}
/* -------------------------------- 

Media Querie

-------------------------------- */

@media only screen and (min-width: 1050px) {
    body[data-hijacking="on"] {
        overflow: hidden;
    }
    [data-hijacking="on"] .cd-section {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
    [data-hijacking="on"] .cd-section > div {
        visibility: visible;
    }
    [data-animation="scaleDown"] .cd-section > div {
        box-shadow: 0 0 0 rgba(25, 30, 46, 0.4);
    }
    .cd-section:first-of-type > div::before {
        display: none;
    }
    .cd-section > div {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        -webkit-transform: translateZ(0);
        -moz-transform: translateZ(0);
        -ms-transform: translateZ(0);
        -o-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    .cd-vertical-nav {
        display: block;
    }
    body::before {
        content: 'desktop';
    }
}
@media only screen and (max-width: 1366px) {
    h1 {
        font-size: 8rem;
    }
    h2 {
        font-size: 4rem;
    }
    h6, #answer {
        font-size: 3rem;
    }
    h5 {
        font-size: 2.1rem;
    }
    .cause > p:first-of-type {
        font-size: 2.4rem;
    }
}
@media only screen and (max-width: 1050px) {
    html {
        width: 100%;
        overflow-x: hidden;
    }
    body{
        background-color: #FFFFFF;
    }
    nav {
        display: none;
    }
    #scroll {
        display: none;
    }
    .main {
        height: auto;
    }
    h1 {
        font-size: 5rem;
        padding-top: 30px;
        margin: 0;
    }
    h2, h3, #titremail {
        font-size: 2.8rem;
    }
    h4 {
        font-size: 2.1rem;
    }
    h6{
        font-size: 1.8rem;
    }
    #bulle {
        margin-top: 50px;
        width: 150px;
    }
    #txtpage1 {
        font-size: 1.8rem;
        margin: 0px;
        padding-bottom: 30px;
    }
    #page2, #page3 {
        width: 100%;
        transform: translateY(0);
        top: 0;
        margin: 0;
        height: auto;
    }
    .imgquestion {
        width: 125px;
    }
    #page2side {
        width: auto;
        height: auto;
        margin-top: 50px;
    }
    .question {
        margin-top: 50px;
    }
    #sidecenter {
        margin: 0px;
        transform: translateY(0%);
        padding: 30px;
    }
    #page3 > div > p {
        vertical-align: middle;
    }
    #page3side {
        width: 100%;
    }
    #page3side > div {
        margin: 0px;
        transform: translateY(0%);
        padding: 70px;
        width: auto;
    }
    .champ {
        padding: 10px;
        font-size: 1.4rem;
        margin: 10px 0px 5px 0px;
        width: calc(100% - 25px);
    }
    #message {
        height: 12.5rem;
    }
    #infosection{
        position: relative;
    }
}
@media only screen and (max-width: 768px) {
    body{
        font-size: 1.6rem;
    }
    h1 {
        padding-top: 20px;
        margin: 0 10px 0 10px;
    }
    h2, h3, h4, #txtpage1 {
        margin: 0 10px 0 10px;
    }
    #page2 {
        text-align: left;
    }
    .question {
        width: 30%;
        vertical-align: top;
        text-align: center;
        margin: 50px 1% 0 1%;
    }
    .imgquestion {
        width: 100px;
        vertical-align: middle;
    }
    h5 {
        font-size: 1.8rem;
        display: inline-block;
        vertical-align: middle;
    }
    .cause {
        display: block;
        width: auto;
        margin: 40px 5% 0px 5%;
    }
    .cause > p:first-of-type, #sidecenter > p:nth-of-type(2) {
        font-size: 2.1rem;
    }
    #sidecenter {
        padding: 20px;
    }
    #answer, #page3 > div > p {
        font-size: 2.8rem;
    }
    .contacttxt {
        margin: 50px 20px;
    }
    #infos{
        width: 80%;
        margin: 5%;
        text-align: center;
    }
    #map {
        width: 100% !important;
    }
    #page3side {
        width: 100%;
        margin-top: 0px;
        position: relative;
    }
    #page3side > div {
        padding: 20px;
        width: auto;
    }
    #sendbutton {
        width: 150px;
        margin-bottom: 40px;
        font-size: 1.8rem;
    }
}
@media only screen and (max-width: 480px) {
    h2, #answer, #titremail {
        font-size: 2.8rem;
    }
    h4, h6, .contacth2 {
        font-size: 2.1rem;
    }
    #bulle {
        width: 125px;
    }
    h3 {
        font-size: 2.8rem;
    }
    .question {
        width: 98%;
    }
    h5 {
        width: 230px;
        text-align: left;
        margin-left: 10px;
    }
    #sidecenter > p:nth-of-type(2) {
        font-size: 1.8rem;
    }
    #contacth1 {
        font-size: 2.8rem;
        margin: 30px 0px 30px 0px;
        height: auto;
    }
    #name {
        height: auto;
        line-height: 80px;
    }
    #page3 >div > img {
        width: 80px;
    }
    .contacttxt {
        height: auto;
        font-size: 1.8rem;
        text-align: center;
    }
}
@media only screen and (max-width: 360px) {
    h1 {
        font-size: 4rem;
    }
    h5 {
        width: 180px;
    }
    .cause {
        display: block;
        margin: 40px 20px 0px 20px;
    }
    .contacttxt {
        display: block;
        text-align: center;
        margin: 20px;
    }
    #map {
        margin-top: 60px;
    }
}