@font-face {
    font-family: 'lemon';
    src: url('dk-lemon.otf');
}

@font-face {
    font-family: 'caviar';
    src: url(CaviarDreams.ttf);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'caviar', sans-serif;
    background-image: url(images/banquise.jpg);
    /*    background-color: #be8385;*/
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    overflow-x: hidden;
    overflow-y: auto;
}


/**HEADER**/

header,
footer {
    height: 100vh;
    width: 100vw;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    background-size: cover;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

header a {
    display: inline-block;
    text-decoration: none;
    font-family: 'lemon', sans-serif;
    color: #ffcb00;
    font-size: 2rem;
    line-height: 0;
    padding: 0;
    margin: 0;
}

header a:hover {
    color: #fff;
}

header p {
    color: #fff;
    text-align: center;
    width: 30%;
}


/*MENU*/

nav {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    z-index: 1000;
}

nav label {
    color: #fff;
    cursor: pointer;
    display: inline-block;
    line-height: 2rem;
    font-size: 1.5rem;
    padding: 0 1rem;
    font-family: 'lemon', sans-serif;
}

nav label:hover {
    color: #ffcb00;
    border-bottom: solid #ffcb00;
}


/**SLIDE**/

.contenuslider {
    height: 100%;
    width: 100%;
    position: absolute;
    color: #fff;
}

.main {
    height: 700px;
    width: 100%;
    top: 0;
    margin: 0;
    padding: 0;
}

.slide {
    height: 70%;
    width: 70%;
    position: absolute;
    top: 20%;
    left: 2000px;
    z-index: 10;
    -webkit-transition: left 0s .75s;
    transition: left 0s .75s;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    text-align: justify;
}

.slide img {
    border-radius: 50%;
    position: absolute;
    left: 25px;
    top: 15%;
}

.slide h2 {
    font-family: 'lemon', sans-serif;
    font-size: 2rem;
    color: #ffcb00;
    text-align: center;
    line-height: 1rem;
}

.slide h3 {
    font-family: 'lemon', sans-serif;
    color: white;
    text-align: center;
    font-size: 2rem;
    line-height: 1rem;
}

.textes {
    text-align: justify;
    display: inline-block;
    position: absolute;
    width: 50%;
    left: 40%;
    padding: 10px;
    margin-left: 4%;
    max-height: 50%;
}

[id^="slide"]:checked+.slide {
    left: 15%;
    z-index: 100;
    -webkit-transition: left .65s ease-out;
    transition: left .65s ease-out;
}

input[type=radio] {
    display: none;
}

.reponse {
    font-weight: bold;
    color: #ffcb00;
}

.neige {
    position: relative;
    left: 10px;
    top: 15%;
    background-image: url(images/floconanim.png);
    background-repeat: no-repeat;
}

.neige:hover {
    animation: flo 10s linear infinite;
    -webkit-animation: flo 10s linear infinite;
    -moz-animation: flo 3s linear infinite;
}

@-webkit-keyframes flo {
    0% {
        background-position: 0px 0px;
    }
    50% {
        background-position: 50px 50px;
    }
    100% {
        background-position: 10px 10px,
    }
}

@keyframes flo {
    0% {
        background-position: 0px 0px;
    }
    50% {
        background-position: 35px 35px;
    }
    100% {
        background-position: 10px 10px,
    }
}


/*FOOTER*/

footer h2 {
    font-family: 'lemon', sans-serif;
}

footer img {
    width: 15%;
    border-radius: 50%;
}

footer p {
    width: 30%;
    text-align: left;
}

footer a {
    font-family: 'lemon', sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    background-color: #ffcb00;
    color: #fff;
    border-radius: 10px;
    padding: 2%;
}

footer a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    color: #ffcb00;
}
