/*
Theme Name: Drac Theme
Author: Léon 2022
Author URI: http://leonlenclos.net
Description: Le drac peut aussi être un thème wordpress
Version: 1.0
*/


* {
  box-sizing: border-box;

}

body {
    background-color: #f1f1f1;
    color:#202020;
    font-family: sans-serif;
}


.container {
    max-width: 700px;
    margin:auto;
}

article  {
        background-color: #f8f8f8;

}

article main {
    padding: 20px;

}

h1, h2, h3, h4 {
    font-weight: normal;

}

a {
    color: #363636;
    
}

a:hover {
    color:black;
}

p {
    text-align: justify;
}
/* HEADER *********************************************/

.drac-header {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.drac-header img {
    width:100px;
}

header h1{
        margin: 0;
        font-size:24px;
        margin : 10px 0;
}

header h2 {
        margin: 0;
            font-size:12px;
   font-style: italic;
}

header a {
    color:inherit;
    text-decoration: none;
}


/* PROJETSS ************************/

.projets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}
.projet h1{
        margin: 0;
        font-size:24px;
    font-weight: normal;
}

.projet h2 {
        margin: 0;
            font-size:12px;
   font-style: italic;

}

.projet {
    padding: 0;
        display: flex;
   flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 2px solid  #202020;
    margin: 10px;
    width:100%;
    max-width: 300px;
    min-height: 240px;
    background: #202020;
    color:#f8f8f8;
    text-decoration: none;
        padding-bottom: 8px;

}

.projet img {
    width:100%;
    height: 170px;
    object-fit: cover;
}
.projet:hover {
    color:#202020;
    background: none;
    text-decoration: none;
}


/* AGENDA *************************************************/

.events ul {
    list-style: none;
    padding: 0;
}

.events li {
    margin: 10px;
    background: #ababab;
    border: none;
    padding: 4px 7px;
}


.eventinfos {
    font-size:12px;
}

/* MENU *************************************************/








.menu {
}

.menu{
   display: flex;
    flex-wrap: wrap;
    justify-content: center;
   list-style: none;
  padding:0;
}


.menu li {
        margin: 10px;
}
.menu li a{
    background: #202020;
    border: 2px solid  #202020;
    padding: 4px 7px;
    color:#f8f8f8;
        text-decoration: none;

}


.menu li.current_page_item a{
    color:#202020;
    background: none;
    text-decoration: none;
}


.menu li a:hover {
    color:#202020;
    background: none;
    text-decoration: none;
}



.menu ul.children{
   display: none;
}


/* Page header */

article header {
    background: #202020;
        color:#f8f8f8;
    text-align: center;
    padding-bottom: 12px;
}

article header img {
    width: 100%;
    margin:0;
}



/* VISEOS ********************************/

.is-type-video {
    text-align: center;
}


/* SOCIAL MEDIA *********************/

.socialmedia{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.socialmedia a {
        margin: 20px;
}
.socialmedia img{
    width: 32px;
    justify-content: center;
}

/* PRO ************************************/

.pro {
    display: flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:flex-end;
}

.pro h1 {
   background:   #202020;
    color:#f8f8f8;
}
.pro-section {
    margin:8px;
        width:100%;
    max-width: 300px;

}

.pro-information, .pro h1 {
    text-align: center;
        font-size: 12px;
        width:100%;

    border: 2px solid  #202020;
       padding: 4px 8px;
    margin:-2px;
}


/* FOOTER *********************************/


footer {
    font-size: 8px;
}

footer .menu {
    justify-content: center;
}
footer .menu li a{
    background: inherit;
    border: inherit;
    color:inherit;
}

