@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,800);
@import 'page-structure.css';

.content {
    width: 80%;
    padding: 3%;
    margin: 0 auto;
    font-family: 'Open Sans';
    font-size: 1.5em;
}

.titre {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    font-size: 40px;
    margin: 1px 0 ;
    font-family: 'Open Sans';
}

.question {
    position: relative;
    background: rgb(0,0,0,0.5);
    margin: 0;
    padding: 10px 10px 10px 50px;
    display: block;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 100%;
}

.reponse {
    background: var(--main-color-secondary);
    padding: 0px 15px;
    margin: 5px 0;
    max-height: 0;
    overflow: hidden;
    z-index: 10;
    position: relative;
    opacity: 0;
    transition: .7s ease;
}

.questions:checked ~ .reponse{
    max-height: 500px;
    opacity: 1;
    padding: 15px;
}

.plus {
    position: absolute;
    margin-left: 10px;
    z-index: 5;
    font-size: 2em;
    line-height: 100%;
    -webkit-user-select: none;    
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    transition: .3s ease;
    pointer-events: none;
}

.questions:checked ~ .plus {
    transform: rotate(45deg);
}

.questions {
    display: none;
}

.questions:checked ~ label{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-left: 3px solid var(--main-color);
}

.content > div:hover > label{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-left: 3px solid var(--main-color);
}

span.titre ~ div {
    display: flex;
    background-color: var(--background-overlay);
    align-items:  center;
    flex-direction: column;
    margin: 35px 5%;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-left: 4px solid var(--main-color);
}

@media(max-width:992px)
{
    .question, .reponse {
        font-size: 80%;
    }
}