
/* //////////////////////////////// STYLES SÉLECTION MM //////////////////////////////// */

/* GENERAL INFO ------------------

colors :
#1A1A2A - mauve profond
#00a7ca - bleu turquoise
#fff

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

@charset "utf-8";

/* - - - - - - - - - - - - - - - - - - GENERAL - - - - - - - - - - - - - - - - - - */

html {
    scroll-behavior: smooth;
}

body {
    background-image:linear-gradient(to bottom, rgba(0, 2, 15,0.2), rgba(0, 2, 15,0.5)), url("../images/whirl.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
    font-family: 'Lato', sans-serif;
    animation-duration: 0.6s;
    animation-name: appearing;
    display:none;
}

a{
    color:#fff;
    cursor:pointer;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

a:hover{
    color:#00a7ca !important;
    text-decoration: none;
}

/* - - - - - - - - - - - - - - - - - - HEADER - - - - - - - - - - - - - - - - - - */

header{
    position:fixed !important;
    top:0;
    left:0;
    z-index: 150;
    background-color: #1A1A2A;
    border-bottom: 1px solid #fff;
    display:none;
    animation-duration: 30s;
}

.navbar-fixed-top.scrolled {
    opacity: 0.8 !important;
    padding:0 1rem;
    transition: padding 200ms linear;
}

.navbar{
    width:100%;
    padding: .1rem 1rem;
    justify-content: space-between;
}

.navbar-brand{
    font-size: 28px;
    max-width: 40vw;
    font-family: 'Raleway', Arial, sans-serif;
    color:#fff !important;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.navbar-brand:hover{
    color:#00a7ca !important;
}


/* - - - - - - - - - - - - - - - - - - MAIN - - - - - - - - - - - - - - - - - - */

#accueil{
    display:none;
    position: fixed;
    z-index: 1000;
    background-color: rgb(0, 0, 0);
    width: 100vw;
    height: 100vh;
    margin: 0;
    left: 0;
    top: 0;
    padding: 20vh 10vw;
    overflow-y: scroll;
}


#main{
    background-color:transparent;
    padding-top:17vh;
    padding-bottom: 215px;
    animation-duration: 1s ;
    animation-name: apparition;
    min-height:100vh;
}

#main img{
    max-width: 100%;
}

#landing-view{
    display: none;    
    animation-duration: 10s;
}

.message{
    display: block;
    width:500px;
    max-width: 100%;
}

/* - - - - - - - - - - - - - - - - - - - - - MODAL - - - - - - - - - - - - - - - - - - */

.modal-content{
    opacity: 0.7;
    border:1px solid #fff;
    border-radius:2rem;
}
.modal-body{
    background-color: #000;
}
.oracle{
    font-style: italic;
}

/* - - - - - - - - - - - - - - - - - - - - - OTHERS - - - - - - - - - - - - - - - - - - */

.pointable{
    cursor:pointer;
}

textarea{
    background-color: rgba(0,0,0,0.2);
    width: 98%;
    margin: 5px;
    padding: 15px;
    color: #fff;
}


input[type="submit"] {
    border: 1px solid #fff;
    border-radius: 5px;
    color:#fff;
    font-family: "Lato", serif;
    width:99%;
    padding:12px;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    background-color: darkslateblue;
    font-weight:bold;
}

input[type="submit"]:hover{
    background-color: slateblue;
}

/* - - - - - - - - - - - - - - - - - - - - - EFFECTS - - - - - - - - - - - - - - - - - - */

.from-top{
    display: inline-block;
    animation-duration: 0.7s;
    animation-name: entryTop;
}

.from-bottom{
    display: inline-block;
    animation-duration: 0.7s;
    animation-name: entryBottom;
}

.from-right{
    display: inline-block;
    animation-duration: 10s;
    animation-name: entryRight;
}

.from-left{
    display: inline-block;
    animation-duration: 10s;
    animation-name: entryLeft;
}

.appearing{
    animation-name: apparition;
}
.vanishing{
    animation-duration: 10s;
    animation-name: dissipation;
}

/* - - - - - - - - - - - - - - - - - - - - - KEYFRAMES - - - - - - - - - - - - - - - - - - */

@keyframes entryRight {
    from {
        -webkit-transform: translateX(60vw);
        transform: translateX(60vw);
    }
    to {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes entryLeft {
    from {
        -webkit-transform: translateX(-40vw);
        transform: translateX(-40vw);
    }
    to {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes entryTop {
    from {
        -webkit-transform: translateY(-40vw);
        transform: translateY(-40vw);
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes entryBottom {
    from {
        -webkit-transform: translateY(40vw);
        transform: translateY(40vw);
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes apparition {
    from {
        opacity:0;
    }
    25%{
        opacity:0;
    }
    to {
        opacity:1;
    }
}


@keyframes dissipation {
    from {
        opacity:1;
        filter: blur(0.5px);
    }
    to {
        opacity:0;
        filter: blur(250px);
    }
}



@media screen and (max-width: 520px) {
    #accueil{
        font-size:0.9rem;
        padding: 20px 10px;
    }
}

@media screen and (max-width: 320px) {
    #main{
        padding-top:20vh;
    }
}

