@font-face {
    font-family: "ProximaNova";
    src: url("/font/ProximaNova-Regular.otf") format("otf");
}

html{
    width: 100%;
    height: 100%;
}
body
{
    background-image: url(images/background.jpg);
    background-repeat: no-repeat;
    background-color: #03152d;
    background-attachment: fixed;
    margin: auto;
}

#main{
    width: 100%;
    height: 100%;
}
#header
{
    display: flex;
    flex-direction: column;
    height: 100%;
}


.ul-nav
{
    text-align: center;
    display: inline;
    vertical-align: middle;
    
}
.li-nav{
    text-decoration: none;
    color :#99b1cd ;
    font-family: "ProximaNova", sans-serif;
    text-transform: uppercase;
    list-style: none;
    padding: 30px 0px 30px;
}
.li-nav:hover
{
    background-color: rgb(75, 84, 131);
    transition: 0.5s;
    font-size: 20px;
}
.a-nav
{
    color :#99b1cd ;
    text-decoration: none;
}
.caption
{
    padding-top: 10px;
    display: block;
}
#section
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    margin-left: 130px;
}

.button-create{
    background-color: #03152d;
    border-radius: 50%;
    padding: 20%;
    height: 200px;
}
.new-button{
    
    padding: 15% ;
}
.contener-btn{
    background-color: white;
    border-radius: 20px;
    box-shadow: 0px 0px 20px -2px rgba(0,0,0,0.75);
    text-align: center;
    padding: 40px;
}
.bloc
{
    border-radius: 10px;
    background-color: white;
    text-align: center;
}

#triangle-right{
    position: relative;
    top: 17px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 70px 13px 0px;
    border-color: transparent transparent white transparent;
}

.top-article{
    display: flex;
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.vignette-style{
    margin-top: 20px;
    align-items: center;
    border: 4px black solid;
    width: 85%;
    height: 85%;
}

.article{
    display: flex;
    flex-direction: column;
    padding: 3% 3%;
    flex: 0 0 25%;
}

.content-article-index{
    color :black ;
    font-family: "ProximaNova", sans-serif;
    height: 145px;
    width: 380px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}
.content-article{
    color :black ;
    font-family: "ProximaNova", sans-serif;
    height: 150px;
}

.title-article{
    color :black ;
    font-family: "ProximaNova", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

.contener-article{
    background-color: white;
    border-radius: 20px;
    box-shadow: 0px 0px 20px -2px rgba(0,0,0,0.75);
    text-align: center;
    padding-bottom: 20px;
}

a.read{
    color: gray;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "ProximaNova", sans-serif;
}
.contenu{
    text-align: center;
    margin: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.contenu-commentaire{
    background-color: white;
    border-radius: 5px;
    text-align: center;
    margin: 10px;
    padding: 10px;
    width: 510px;
}
.comment{
    word-wrap: break-word;
}

#triangle-left{
    position: relative;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0px 13px 70px;
    border-color: transparent transparent white transparent;
    top: 17px;
}

.top-title{
    margin-left: 10px;
    margin-right: 10px;
    color :white ;
    font-family: "ProximaNova", sans-serif;
    text-transform: uppercase;
}

#modif-article{
    background-color:white;
    width: 150px;
    height: 50px;
    border-radius: 30px;
    color: #03152d;
    font-weight: bold;
    outline: none;
    text-transform: uppercase;
    transition: ease-in-out;
    transition-duration: 0.3s;
}

#modif-article:hover{
    background-color: #03152d;
    width: 150px;
    height: 50px;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    outline: none;
}

#delete-article{
    background-color: white;
    width: 150px;
    height: 50px;
    border-radius: 30px;
    color: red;
    font-weight: bold;
    outline: none;
    border: 2px solid red !important;
    text-transform: uppercase;
    transition: ease-in-out;
    transition-duration: 0.3s;
}
#delete-article:hover{
    background-color: red;
    width: 150px;
    height: 50px;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    outline: none;
}

input{
    text-align: center;
}

#modif-content{
    width: 100%;
    height: 300px;
}

.global-title{
    color :white ;
    font-family: "ProximaNova", sans-serif;
    text-transform: uppercase;

}

.profil-image{
    border: 4px solid black;
    width: 400px;
    background-size: cover;
}
.button{
    background-color: red;
    color: white;
    float: right;
    
}


/*         */

#logo{
    position: relative;
    width: 150px;
    margin: 20px;
    background-image: url(../images/bc3d.png);
    background-repeat: no-repeat;
    background: #03152d;
}
main{
    display: flex;
    justify-content: center;
}


.menu {
    font-weight: 100;
    background: #03152d;
    width: 150px;
    height: 100%;
    padding-right: 35px;
    position: fixed;
    z-index: 100;
    -webkit-box-shadow: -3px 0px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: -3px 0px 5px 0px rgba(0, 0, 0, 0.2);
    left: -130px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    color: #222;
}
.menu:hover, .menu:focus {
    transform: translate3d(130px, 0, 0);
    animation-timing-function: 1s ease-in;
}
.menu .title {
    color:#99b1cd;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    transform: rotate(90deg);
    right: 0px;
    font-weight: 800;
    font-size: 15px;
}
.menu .nav {
    border-right: 1px solid #99b1cd;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-weight: 100;
    padding-inline-start: 20px;
    margin-left: 10px;
}
.menu .nav >li {
    padding-bottom: 15px;
    padding-top: 15px;
    padding-right: 20px;
    list-style-type: none;
    text-align: right;
}
.menu .nav li a {
    color:#99b1cd !important;
    font-family: "ProximaNova", sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
.menu .nav li a:hover {
    color: white !important;
}

ul li ul {
    background: #03152d;
    visibility: hidden;
    opacity: 0;
    min-width: 5rem;
    position: absolute;
    transition: all 0.5s ease;
    margin-left: 75px;
    margin-top: -180px;
    list-style: none;
    padding-inline-start: 0px !important;
}
    
    ul li:hover > ul {
    visibility: visible;
    opacity: 1;
    }

.drop > div > li > a{
    color: #99b1cd;
    text-align: center;
    text-decoration: none;
    margin: 10px 5px 10px 5px;
}

.drop > div > li {
    padding-inline-start: 0px !important;
}

.drop{
    font-size: 15px !important;
    text-align: center;
}


.title{
    margin-top: 20px;
    text-align: center;
    font-family: sans-serif;
    text-transform: uppercase;
    font-size: 1em;
    letter-spacing: 4px;
}

li a img{
    justify-content: center;
}

@media screen and ( max-width: 425px){

    .menu:hover, .menu:focus {
        transform: translate3d(0, 130px, 0);
        animation-timing-function: 1s ease-in;
    }

    #section{
        margin-left: 0;
        margin-top: 200px;
    }

    .menu {
        font-weight: 100;
        background: #03152d;
        width: 100%;
        height: 310px;
        padding-bottom: 35px;
        padding-right: 0px;
        position: fixed;
        z-index: 100;
        -webkit-box-shadow: -3px 0px 5px 0px rgba(0, 0, 0, 0.2);
        box-shadow: -3px 0px 5px 0px rgba(0, 0, 0, 0.2);
        left: 0px;
        top: -290px;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        color: #222;
    }
    #logo{
        display: none;
    }

    .menu .title {
        color:#99b1cd;
        position: absolute;
        left: 0;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        transform: rotate(0deg);
        top: 290px;
        font-weight: 800;
        font-size: 15px;
    }

    .menu .nav {
        display: flex;
        border-bottom: 1px solid #99b1cd;
        border-right: none;
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        font-weight: 100;
        padding-inline-start: 20px;
        margin-top: 10px;
    }

    ul li ul{
        margin-top: 16px;
        margin-left: -10px;
    }
}