
/* //////////////////////////////// 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.8), rgba(0, 2, 15,0.8)), url("../img/background-img.png");
    background-size: unset;
    background-position: center;
    color: #fff;
    font-family: 'Lato', sans-serif;
    animation-duration: 0.4s;
    animation-name: appearing;
}

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;
}

.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: 30px;
    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 - - - - - - - - - - - - - - - - - - */

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

#landing-view{
    animation-duration: 1s ;
    animation-name: appearing;    
}

#phrases > div {
    border-bottom: 1px dotted #aaa;
    padding-bottom: 10px;
}

#player-frame{
    opacity:0;
}

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

.erase-btn{
    color:crimson;
    margin:5px;
    font-weight:bold;
}

.erase-btn:hover{
    text-decoration: underline;
}

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

.modal-header{
    background-color: darkslateblue;
    color:#fff;
}

.modal-body{
    color:#000;
    background-color: #ccc;
    font-size: 16px;
}

.modal-footer{
    background-color: darkgrey;
    color:#fff;
}

#finalModal .modal-content{
    min-height: 75vh;
}

trix-editor{
    min-height:66vh !important;
}

/* - - - - - - - - - - - - - - - - - INPUTS - - - - - - - - - - - - - - - - - - */

input[type="text"], input[type="button"], button, textarea {
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 5px;
    color:#fff;
    font-family: "Lato";
    width:99%;
    padding:12px;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

textarea#workzone{
    text-align: center;
}

input.word-input{
    flex-basis: 400%;
}

.action-btn{
    min-width: 225px;
    max-width: 450px;
}

.custom-button{
    background-color: #eee !important;
    color: #222 !important;
    border-color:#000 !important;
}

input[type="button"], button{
    background-color: darkslateblue;
    color:#fff;
    font-weight:bold;
}

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

.compose-btn {
    background-color: seagreen;
}

.compose-btn:hover {
    background-color: lightseagreen;
}

.next-btn {
    background-color: darkred;
}

.next-btn:hover {
    background-color: red;
}

.close-button{
    max-width:30px;
    border:none !important;
}

.close-button:hover{
    color: #fff;
}

.phrase-position {
    width: 70px;
}

.faint {
    opacity:0.3;
}

.faint:hover{
    opacity:1;
}

/* - - - - - - - - - - - - - - - - - - STYLES MSGS  - - - - - - - - - - - - - - - - - - */

.bordered {
    display: block;
    border: 1px dotted #aaa;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: justify;
}

/* - - - - - - - - - - - - - - - - - - FOOTER - - - - - - - - - - - - - - - - - - */

footer{
    position:fixed;
    bottom:0;
    background-color: rgba(0,0,10,0.9);
    padding-top:20px;
    padding-bottom:20px;
    width:100%;
    border-top:1px solid #fff;
    font-size: 11px;
}


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

.pointable{
    cursor:pointer;
}

/* - - - - - - - - - - - - - - - - - - - - - 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: 0.7s;
    animation-name: entryRight;
}

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

/* - - - - - - - - - - - - - - - - - - - - - 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 appearing {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}


@media screen and (max-width: 1024px) {
    input[type="text"]{
        min-width:320px;
    }
}

@media screen and (max-width: 520px) {
    input[type="text"]{
        min-width:75vw;
    }
}

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

