
/* //////////////////////////////// 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.9), rgba(67, 80, 163, 0.6)),  url("../img/livre.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
    font-family: 'Lato', sans-serif;
    animation-duration: 0.6s;
    animation-name: apparition;
}

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

a:hover{
    color:#0ae !important;
    text-decoration: none;
}

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

header{
    position:fixed !important;
    top:0;
    left:0;
    z-index: 150;
    background-color: #1b2c75;
    border-bottom: 1px solid #ddd;
}

.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:#ddd !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: apparition;
    min-height:100vh;
}

#myTab{
  font-size: 12px;
}

#livre .modal-dialog{
    max-width:90vw;
}

#livre .modal-header{
    border:none;
}

#livre .modal-content{
    background-color: rgba(0, 2, 15,0.7) ;
    width: 90vw;
}

#livre .modal-content .nav-tabs{
    border-bottom: 1px solid dodgerblue;
}

#livre .modal-content .nav-tabs .nav-link.active{
    color: #fff;
    background-color: dodgerblue;
    border:none;
}

#livre .modal-content .tab-pane{
    min-height:50vh;
    padding: 30px 15px;
    font-style: italic;
}

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

.pointable{
    cursor:pointer;
}

.colored{
    color:#0ac;
}

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


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

input[type="submit"]:hover{
    background-color: #0ac;
}

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

.appearing{
    animation-name: apparition;
}


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



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

