@charset "utf-8";

.text * {top: calc(1em + 2.0em)}

/*
 * File Manages the CURUBI site
 * Author David Grima {mailto:david.grima@curubi.com}
 * Copyright CURUBI SAS {http://www.curubi.fr/}
 * Version 1.2.0
 */
/* Code Quality Tool http://jigsaw.w3.org/css-validator/#validate_by_input */
/* Hacks for old browsers don't passe Code Quality Tool */

/*font-size:16px in index.js>curubi.responsive.js*/


@-webkit-keyframes pulse {

    0%,
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2)
    }
}

@keyframes pulse {

    0%,
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2)
    }
}

/* --- General style --- */
body {
    font-size: 16px;
    /*1em = 16px*/
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    background-color: #424242;
}

body,
a,
a:hover,
a:visited,
a:focus,
a:active {
    color: #7d7d7d;
}

a {
    text-decoration: none;
    -webkit-transition: color 0.4s ease-out, border-color 0.4s ease-out, background-color 0.4s ease-out, background-position 0.4s ease-out, transform 0.4s ease-out;
    -khtml-transition: color 0.4s ease-out, border-color 0.4s ease-out, background-color 0.4s ease-out, background-position 0.4s ease-out, transform 0.4s ease-out;
    -moz-transition: color 0.4s ease-out, border-color 0.4s ease-out, background-color 0.4s ease-out, background-position 0.4s ease-out, transform 0.4s ease-out;
    -ms-transition: color 0.4s ease-out, border-color 0.4s ease-out, background-color 0.4s ease-out, background-position 0.4s ease-out, transform 0.4s ease-out;
    -o-transition: color 0.4s ease-out, border-color 0.4s ease-out, background-color 0.4s ease-out, background-position 0.4s ease-out, transform 0.4s ease-out;
    transition: color 0.4s ease-out, border-color 0.4s ease-out, background-color 0.4s ease-out, background-position 0.4s ease-out, transform 0.4s ease-out;
}

a.link {
    color: #fff;
    border-bottom: 1px solid #fff;
}

a.link:hover,
a.link:focus {
    border-color: #7d7d7d;
}

a.link.lite {
    color: #7d7d7d;
    border-bottom: 1px solid #7d7d7d;
}

a.link.lite:hover,
a.link.lite:focus {
    border-color: #424242;
}

input,
textarea {
    font-size: 1.5em;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #424242;
    padding: .5em;
}

textarea {
    height: 6em;
}

input[type=submit] {
    font-size: 2em;
    font-weight: 400;
    color: #929193;
    background-color: #505050;
    background: rgba(80, 80, 80, 0.60) url("../img/cursor-clic.png") no-repeat right 0.5em center;
    background-size: 1.2em;
    border: none;
    border-radius: 0.1em;
    padding: 0.5em 2.5em 0.5em 0.3em;
    margin: 0.5em 0 0.5em 0;
    cursor: pointer;
}

input[type=submit]:hover,
input[type=submit]:focus {
    background-color: #4d4d4d;
    background-color: rgba(80, 80, 80, 0.70);
    background-position: right 0.4em top 0.4em;
    -webkit-transform: rotate(-2deg);
    -khtml-transform: rotate(-2deg);
    -ms-transform: rotate(-2deg);
    -o-transform: rotate(-2deg);
    transform: rotate(-2deg);
}

label {
    font-size: 1.5em;
}

.center {
    text-align: center;
    margin-top: 50vh;
    -webkit-transform: translateY(-50%);
    -khtml-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.lite {
    color: #7d7d7d;
}

/* --- Form message  style --- */
.msg {
    font-size: 1.5em;
    padding: 0.5em;
    margin: 1em 0;
    border-radius: 0.2em;
}

.msg.error {
    background-color: rgb(161, 55, 55);
}

.msg.succes {
    background-color: rgb(65, 145, 76);
}

/* Background full video style --- */
.fullvideo_foreground {
    position: absolute;
    z-index: 2000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    /*background-color: rgba(59,59,59,.8);*/
    overflow: hidden;
    /*overflow: auto;*/
}

#pear .fullvideo_foreground {
    background-color:transparent;
}

.fullvideo_background {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fullvideo_background video {
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black;
    /* in case the video doesn't fit the whole page*/
    background-position: center center;
    background-size: contain;
}

.fit_cover {
    object-fit: cover;
}
.fit_fill {
    object-fit: fill;
}

/*----MS Edge Browser ----*/
@supports (-ms-ime-align:auto) {
    .fullvideo_background video {
        top: 50%;
        left: 50%;
        bottom: initial;
        right: initial;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
    }
}

/* --- Jquery Pagepiling style --- */
#pp-nav li .active span,
.pp-slidesNav .active span {
    background: #7d7d7d;
}

#pp-nav li,
#pp-nav span {
    width: 0.7em;
    height: 0.7em;
}

#pp-nav .pp-tooltip {
    font-size: 1.2em;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}

.section {
    display: none;
}

.back,
.next {
    position: absolute;
    z-index: 3000;
    width: 2.5em;
    height: auto;
    cursor: pointer;
    -webkit-transform: translateX(-50%);
    -khtml-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-animation: 1.5s pulse infinite alternate ease-in-out;
    animation: 1.5s pulse infinite alternate ease-in-out;
}

.back {
    top: 0;
    left: 50%;
    display: none;
}

.next {
    bottom: 0;
    left: 50%;
}

footer {
    font-size: 1.2em;
    font-weight: 300;
    position: absolute;
    z-index: 2500;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 1em;
}

footer a, footer a:link {
    color: #7d7d7d;
    border-bottom: 1px solid transparent;
}

footer a:hover {
    color: #7d7d7d;
    border-bottom: 1px solid #7d7d7d;
}

.mentions {
    display: block;
    float: left;
}

.copyright {
    display: block;
    float: right;
}

/* --- Accueil page style --- */
#accueil h1 {
    font-size: 10em;
    font-weight: 100;
}

#accueil .logo {
    width: 20em;
    height: auto;
    margin-bottom: 2em;
    -webkit-transform: scale(0.6);
    transform: scale(0.6);
    -webkit-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}

#accueil .logo.zoom {
    -webkit-transform: scale(1);
    transform: scale(1);
}

/* -- Minecraft page style -- */

#minastria .button img {
    vertical-align: middle;
    padding: 0 0.5em;
    height: 1.3em;
}

/* -- PEAR page style -- */

#pear .button img {
    vertical-align: middle;
    padding: 0;
    height: 1.6em;
}

/* --- Mentions page style --- */
#mentions {
    padding: 1em;
    color: #fff;
}

#mentions .logo {
    width: 3em;
    margin: 0 0 1em 0;
}

#mentions h3 {
    font-weight: 400;
    margin: 1em 0 1em 0;
}

/* --- Contact page style --- */
#pageContact .fullvideo_foreground {
    overflow: auto;
}

#pageContact .content {
    display: none;
    padding: 1em 30%;
    color: #fff;
    text-align: center;
}

#pageContact .logo {
    width: 3em;
    margin: 0 0 1em 0;
}

#pageContact label {
    display: block;
    margin: 1em 0 0.5em 0;
}

#pageContact input,
#pageContact textarea {
    width: 100%;
}

#recaptcha>div {
    width: 100% !important;
}

/* --- 404 page style --- */
#page404 {
    font-size: 2.5em;
    text-align: center;
    padding: 0.5em;
    color: #fff;
}

#page404 .logo {
    width: 3em;
    margin: 0 0 0.5em 0;
}

#page404 h3 {
    font-weight: 400;
    margin: 0;
}

#page404 .button {
    font-size: 1.2em;
    margin: 1em 0 0 0;
}

/* --- Pages style --- */
.page h2 {
    font-size: 5em;
    font-weight: 400;
    color: #fff;
    margin: 0.5em 0 0 0.5em;
}

#pear h2 {
    margin: -1em 0 0 2em;
}

.page h3 {
    font-size: 3em;
    font-weight: 300;
    color: #fff;
    margin: 0.2em 0 0 0.9em;
}

.page h4 {
    font-size: 2.5em;
    font-weight: 300;
    color: #7d7d7d;
    margin: 1em 0 0 4.6em;
}

.page .button {
    display: inline-block;
    font-size: 5em;
    font-weight: 400;
    color: #929193;
    background-color: #4d4d4d;
    background: rgba(80, 80, 80, 0.60)  url("../img/cursor-clic.png") no-repeat right 0.5em center;
    background-size: 1.2em;
    border: none;
    border-radius: 0.1em;
    padding: 0.5em 2.5em 0.5em 0.3em;
    margin: 1em 0 0 2em;
    cursor: pointer;
}

#pear .button_contener {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 12em;
}

#pear .button {
    display: block;
    font-size: 3em;
    width: 9em;
    margin: 0 auto;
}

.page .button:hover,
.page .button:focus {
    background-color: #4d4d4d;
    background-color: rgba(80, 80, 80, 0.70);
    background-position: right 0.4em top 0.4em;
    -webkit-transform: rotate(-2deg);
    -khtml-transform: rotate(-2deg);
    -ms-transform: rotate(-2deg);
    -o-transform: rotate(-2deg);
    transform: rotate(-2deg);
}

.page .logo {
    width: 5em;
    height: auto;
    margin: 3em 0 0 3em;
    cursor: pointer;
}

/* --- Cookie message style --- */
.cookie-bubble .cb-wrapper .cb-row .agreement-btn {
    border-radius: 0;
}

/* --- Asus ZenBook Pro Duo ScreenPad definition (3840 x 1100 pixels) --- */
@media all and (min-aspect-ratio: 6180/2809) {
    #accueil .logo {
        width: 8em;
        margin-bottom: 0;
    }

    #accueil h1 {
        font-size: 6em;
    }

    .page {
        font-size: 0.8em;
    }

    .page .logo {
        float: left;
    }

    .page h2 {
        margin-left: 2.5em;
    }

    .page h3 {
        margin-left: 4.3em;
    }

    .page .button {
        font-size: 4em;
        margin-top: 0.4em;
        margin-left: 3.3em;
    }

    #pear .button_contener {
        bottom: 0;
        left: 1em;
        width: 8em;
        height: 10em;
    }

    .page h4 {
        margin-top: 0.5em;
        margin-left: 5.2em;
    }

    #page404 {
        font-size: 3em;
    }

    #page404 .logo {
        width: 2.5em;
    }
}

/* --- Little screen definition --- */
@media all and (max-width:820px) {
    #pp-nav {
        display: none;
    }

    .back,
    .next {
        width: 1.5em;
    }

    .section {
        text-align: center;
    }

    #accueil .logo {
        width: 50%;
    }

    #accueil h1 {
        font-size: 20vw;
    }

    #pageContact .content {
        padding: 1em 1em;
    }

    #pageContact .msg,
    #pageContact label,
    #pageContact input[type=submit],
    #pageContact input,
    #pageContact textarea {
        font-size: 1.1em;
    }

    .page .logo {
        width: 1.5em;
        margin: 0.5em 0 0 0.5em;
        position: absolute;
        left: 0;
        top: 0;
    }

    .page h2 {
        font-size: 1.5em;
        margin: 3.5em 0.3em 0 0.3em;
        text-align: left;
    }

    .page h3 {
        font-size: 1.2em;
        margin: 1em 0.3em 0 0.4em;
        text-align: left;
    }

    .page .button {
        font-size: 9vw;
        margin: 1em 0 0 0;
    }

    #pear .button_contener {
        height: 8em;
    }
    
    #pear .button {
        font-size: 1.5em;
    }

    .page h4 {
        font-size: 1em;
        margin: 1em 0.3em 0 0.3em;
    }

    footer {
        font-size: 0.6em;
        bottom: 2em;
    }

    .cookie-bubble {
        border-radius: 0;
    }

    .cookie-bubble.bottom-left {
        bottom: 0;
        left: 0;
    }

    #page404 {
        font-size: 10vw;
    }

    #page404 .logo {
        position: initial;
    }

    #page404 h3 {
        text-align: center;
        margin: 0.5em;
    }

    #page404 .button {

        font-size: 0.8em;
        margin: 1em 0 0 0;
        text-align: left;
    }
}