@import url('reset.css');
@import url('font-awesome.min.css');
@import url('fonts.css');

/*   
    ======================
            Global    
    ======================
*/

html {
    font-size: 10px;
    font-size: 62.5%;
}

body {
    background: #2b83c0;
    font-family: 'nexa_lightregular', Verdana, sans-serif;
    margin: 0;
}

body {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

#page_03 h1, #page_03 h3 {
    font-family: 'nexa_boldregular', Verdana, sans-serif;
    font-weight: 700;
}

/*   
    ======================
            Section
    ======================
*/

#page_03 {
    background-color: #69c7d8;
    background-image: url(/images/fond-descente-skis.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 1rem 0 3rem 0;
}

/* pour fixer le fond, avec jquery */
.fixed {
    background-attachment: fixed;
}

/* titre */
#page_03 h1 {
    font-size: 6.1rem;
    color: black;
    text-align: center;
    padding: 1rem 0 3rem 0;
}

#page_03 ul, #page_03 li {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* alignement d'un bloc de 3, chaques */
#page_03 .list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 180rem;
}

#page_03 .info-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 3rem;
    width: 33.33%;
}

/* bloc info */
#page_03 ul li:nth-child(2) .info-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    text-align: center;
    padding: 1em;
    width: 100%;
    background-color: rgba(153, 242, 255, 0.5);
}
#page_03 ul li:nth-child(odd) .info-content {
    align-self: center;
}
/* numéro */
#page_03 h3 {
    font-size: 2.2rem;
    padding-bottom: 1rem;
}

/* info paragraphe */
#page_03 p {
    color: black;
    font-size: 1.8rem;
    padding: 0.5em;
    width: 100%;
    text-align: left;
}

#page_03 img {
    width: 100%;
}

#page_03 .trait {
    display: none;
    margin: 0 auto;
}

/*   
    ======================
         Media Query    
    ======================
*/

@media (max-width: 1280px) {
    #page_03 ul li:nth-child(2n+1) {
        width: 50%;
    }
    #page_03 ul li:nth-child(2) {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
        width: 70%;
        padding-bottom: 1rem;
        margin: 0 auto;
    }
    #page_03 .trait {
        display: block;
        margin: auto;
        width: 50%;
        margin-top: 2rem;
        margin-bottom: 2rem;
        border: 1px dotted #2b83c0;
    }
    #page_03 ul li:nth-child(1) {
        border-right: 1px dashed #2b83c0;
    }
    #page_03 h3 {
        font-size: 2.7rem;
    }
    #page_03 p {
        font-size: 2rem;
    }
}
/* ====================== */
@media (max-width: 960px) {
    #page_03 ul li:nth-child(2) {
        width: 80%;
    }
}
/* ====================== */
@media (max-width: 740px) {
    #page_03 ul li:nth-child(2) {
        width: 100%;
    }
}
/* ====================== */
@media (max-width: 480px) {
    #page_03 .info-item {
        padding: 1rem;
    }
    #page_03 .trait {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}