/*custom font*/
@import url(https://fonts.googleapis.com/css?family=Montserrat);

::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.row:after {
    content: "";
    display: table;
    clear: both;
}

html {
    font-family: montserrat, arial, verdana;
}

.containerSS {
    background: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    flex-direction: column;
    height: 45em;
    position: relative;
    padding: 1em;
    margin: 2rem auto 2rem auto;
}

.container-onglets{
    background: #f1f1f1;
    height: 15%;
    display: flex;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 4px;
    width: 100%;
    box-sizing: border-box;
    color: #2C3E50;
    /*font-size: 13px;*/
}
.onglets {
    background: snow;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    border-radius: 3px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 0 2px white, 0 0 0 3px #27AE60;
    padding: 1rem;
    margin: .8rem;
    color: #802725;
}
/*.onglets:not(:nth-child(4)) {
    border-right: 1px solid #333;
}*/

.contenu {
    max-height: 80%;
    max-width: 97%;
    position: absolute;
    opacity: 0;
}
.contenu h3 {
    padding: 1rem;
    font-weight: normal;
    font-size: 1.3em;
    color: #061082; /*666*/
    text-transform: capitalize;

}
.contenu hr {

    width: 15%;
    height: 2px;
    margin-left: 1rem;
    background: navy;
    border: none;
    padding: 0px;

}
.retour{
    padding: 5%;
    margin: auto;
    color:red;
}

.contenu p {
    color : black;
    padding: 5%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    text-align: justify;
    line-height: 2;
    letter-spacing: 1px;
    word-spacing: 8px;
    /*font-weight: bold;*/
    font-size: 1.2em;
    overflow: auto;
}
#dip-01 h2{
    color: #f1f1f1;
}

/* Anim */

.active {
    background: #27AE60;
    color: #f1f1f1;
    transition: all 0.3s ease;
}

.activeContenu {
    animation: fade 0.5s forwards;
}
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@media (max-width: 1000px){
    .column1{
        flex-wrap: wrap;
    }
    #debutPage{
        text-align: left;
        display: grid;
        align-items: center;

    }
    .container-onglets{
        display: table;
    }
    .containerSS{
        margin: 1em;
        height: 50em;

    }
    .onglets{
        text-align: left;
        display: block;
    }
    .clearfix2 p{
        font-size: 1rem;
        padding: 1%;
        width: auto;
    }
    .contenu p{
        padding: 1%;
        text-align: left;
        word-spacing: 1px;
        font-size: 1em;
        display: contents;
    }
    .clearfix p{
        font-size: 1em;
        width: 85%;
        letter-spacing: 0;
        display: contents;
    }
    #menu {
        background: rgba(255,255,255,0.8);
    }
}
@media (max-width: 600px){

    .clearfix2 p{
        padding: 1%;
        width: auto;
        font-size: .8em;
        word-spacing: 0;
    }
    .containerSS{
        margin: 0;
        height: 50em;
    }
    .contenu p{
        padding: 1%;
        text-align: left;
        word-spacing: 0;
        font-size: .7em;
    }
    .clearfix p{
        font-size: 1em;
        width: 112%;
        letter-spacing: 0;
        word-spacing: 0;
    }
    #dip-01 h2{
        font-size: 1.5em;
        color: blue;
    }
    #dip-01 h1{
        font-size: 1.8em;
    }
    .onglets {
        font-size: .8em;
    }
    .contenu h3 {
        font-size: 1em;
    }
    #confused{
        max-width:100%;
        height: auto;
        float : none;
        text-align: center;
        padding: 1%;
        z-index: 1;
        display: block;

    }
}