﻿/* Image d'arrière plan changeant en fonction du thème utilisée */

body {
    background-size: auto;
    margin: 0;
    background-color:black;
}

/* Largeur du contenu */

#contenant {
    margin: auto;
    background-image: url('body.jpg');
}

/* Styles pour l'information de la connexion */

#connexion {
    width: 100%;
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
    text-align: right;
    background-color: black;
    color: white;
}

    #connexion div {
        color: white;
        float: right;
        margin-left: 15px;
        margin-right: 15px;
        line-height: 50px;
        vertical-align: middle;
    }

        #connexion div a {
            color: white;
        }

        #connexion div:first-child {
            color: yellow;
            font-style: italic;
        }

/* Styles pour les éléments de l'en-tête */

#entete {
    height: 80px;
    /* border-radius: 20px; */
    overflow: hidden;
    position: relative;
    background-color:black;
}


#texte_entete {
    font-weight: bold;
    font-size: xx-large;
    font-family: 'Lucida Calligraphy';
    position: relative;
    width: 400px;
    left: 20px;
    top: 0px;
    color:white;
    animation: defilement 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
    animation-delay: 3s;
}

@keyframes defilement {
    from {
        left: 20px;
    }

    to {
        left: 400px;
    }
}

#texte2_entete {
    position: absolute;
    font-family: Arial;
    top: 40px;
    color: white;
    left: 20px;
    font-size: small;
    font-style: italic;
}

#texte3_entete {
    position: absolute;
    font-family: Arial;
    top: 60px;
    color: white;
    left: 20px;
    font-size: small;
    font-style: italic;
}

#texte4_entete {
    position: absolute;
    font-family: Arial;
    top: 80px;
    color: white;
    left: 20px;
    font-size: small;
    font-style: italic;
}

#texte5_entete {
    position: absolute;
    font-family: Arial;
    top: 100px;
    color: white;
    left: 20px;
    font-size: small;
    font-style: italic;
}
/* Styles pour les éléments de navigation */

#menu {
    /* margin: 20px auto 20px auto; */
    display:flex;
    justify-content:space-around;
    background-color:black;
    min-height:50px;
    align-items:center;
}

    #menu div {
        width:100px;
        text-align:center;
    }

        #menu div:hover {
            text-transform: uppercase;
            text-decoration: underline overline
        }

        #menu div a {
            text-decoration:none;
            color: white;
        }

        #menu div a:visited {
            color:white;
        }

#menuadmin {
    margin: 20px auto 20px auto;
    height: 30px;
    width: 900px;
    text-align: center;
}

    #menuadmin div {
        float: left;
    }

        #menuadmin div a {
            line-height: 30px;
            display: block;
        }


/* Styles pour les éléments du corps */

#corps {
    width: 90%;
    margin: auto;
    min-height: 500px; /* Utile pour la démo annimation Css*/
    border: 2px solid #416A18;
    border-radius: 20px;
    background-repeat: repeat;
    clear: left;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #FFFFFF;
}


#titre {
    width: 300px;
    height: 50px;
    margin: 20px auto 20px auto;
    text-align: center;
    line-height: 50px;
    vertical-align: middle;
    border: 2px solid #008000;
    background-color: #C0C0C0;
    border-radius: 10px;
}

    #titre:hover {
        background-color: #808080;
    }

    #titre a {
        color: #000000;
        text-decoration: none;
        display: block;
    }

        #titre a:visited {
            color: #000000;
            text-decoration: none;
        }

#aide {
    margin: 20px;
}


/* Styles pour les éléments du pied de page */

#pieddepage {
    background-color: black;
    color: white;
    text-align: center;
    font-size: small;
}

    #pieddepage a {
        text-decoration: none;
        color: white;
    }

        #pieddepage a:visited {
            color: white;
        }

#pieddepage div {
    display:flex;
    background-color:black;
    font-size: small;
    justify-content:center;
}

    #pieddepage div div {
        width:100px;
    }

    #pieddepage div div a {
        text-decoration:none;
        color: white;
    }

        #pieddepage div div a:visited {
            color: white;
        }


/* Styles pour les éléments du plan de site */

#plansite {
    margin: auto;
    text-align: left;
    background-color: #000000;
    color: #FFFFFF;
    /* width: 1050px; */
}

    #plansite a {
        color: #FFFFFF;
        text-decoration: none;
    }
