/* Style général */
.example {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

body {
    font: normal 0.8em/1.5em Arial, Helvetica, sans-serif;
    background: #ebebeb;
    width: 1200px;
    margin: 20px auto;
    color: #666;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding-top: 0;
}

a {
    color: #333;
}

#nav {
    margin: 0;
    padding: 5px 1px 0;
    background: #7d7d7d url(../images/gradient.png) repeat-x 0 -110px;
    line-height: 100%;
    border-radius: 2em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
    display: inline-block;
    position: fixed;
    z-index: 1000;
}

#nav li {
    margin: 0 5px;
    padding: 0 0 8px;
    float: left;
    position: relative;
    list-style: none;
}

#nav a {
    font-weight: bold;
    color: #e7e5e5;
    text-decoration: none;
    display: block;
    padding: 8px 20px;
    margin: 0;
    border-radius: 1.6em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

#nav a:hover {
    background: #000;
    color: #fff;
}

#nav .current a,
#nav li:hover > a {
    background: #666 url(../images/gradient.png) repeat-x 0 -40px;
    color: #444;
    border-top: solid 1px #f8f8f8;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 1);
}

#nav ul {
    display: none;
    margin: 0;
    padding: 0;
    width: 185px;
    position: absolute;
    top: 35px;
    left: 0;
    background: #555;
    border: solid 1px #b4b4b4;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    z-index: 999;
}

#nav li:hover > ul {
    display: block;
}

#nav ul li {
    float: none;
    margin: 0;
    padding: 0;
}

#nav ul a {
    background: #555;
    color: #fff;
    font-weight: normal;
    text-shadow: 0 1px 0 #fff;
    padding: 8px 16px;
    display: block;
    white-space: nowrap;
    border-radius: 0;
}

#nav ul a:hover {
    background: #0078ff;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .1);
}

#nav ul ul {
    left: 181px;
    top: -3px;
}

#nav ul li:first-child > a {
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}

#nav ul li:last-child > a {
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
}

#nav:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] #nav {
    display: block;
}

* html #nav {
    height: 1%;
}

.logo {
    margin-right: 10px;
    width: 100px;
    height: auto;
}

.site-title {
    font-size: 40px;
    color: black;
}

.menu-container .cadre {
    max-width: 100%;
    margin: 0 auto;
}

.titre-h2 {
    font-size: 24px;
    color: #333;
}

h2 {
    font-size: 24px;
    color: #666;
}

h3 {
    font-size: 18px;
    color: #888;
}

p {
    font-size: 20px;
    line-height: 1.5;
    color: #444;
}

.cadre {
    border: 2px solid black;
    padding: 10px;
    width: 100%;
    margin: 0 auto;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f1f1f1;
    text-align: center;
    padding: 10px 0;
}

.footer-logo {
    height: 50px;
    vertical-align: middle;
}

.footer-text {
    font-size: 24px;
    margin-left: 10px;
    vertical-align: middle;
}

#content {
    margin-top: 5mm;
    padding: 30px;
}

/* Responsive pour les écrans GSM (max-width: 768px) */
@media screen and (max-width: 768px) {
    body {
        width: auto;
        margin: 0 10px;
        font-size: 0.9em;
    }

    #nav {
        padding: 5px;
        border-radius: 0;
        width: 100%;
        position: relative;
    }

    #nav li {
        float: none;
        margin: 5px 0;
        text-align: center;
    }

    #nav a {
        padding: 10px;
        font-size: 1em;
    }

    .titre-h2, h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    p {
        font-size: 18px;
    }

    .menu-container .cadre {
        width: auto;
        padding: 5px;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-text {
        font-size: 18px;
    }

    .logo {
        width: 80px;
    }

    #content {
        padding: 15px;
        margin-top: 50px;
    }
}
