:root {
    --rouge: #F20505;
    --vertclair: #A9BF04;
    --vertfonce: #435934;
    --jaune: #F2CC05;
    --clair: white;
    --sombre: #2a2a2a;

    --l: 8px;
}

html,
body,
main {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Raleway', sans-serif;
    color: var(--vertfonce);
    overflow: hidden;
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

h1,
h3 {
    font-weight: 100;
    color: var(--vertfonce);
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 32px;
    font-weight: 600;
}

h4,
h5 {
    font-weight: 400;
}

a {
    text-decoration: none;
    transition: all .3s ease;
}

a:hover {
    font-size: 600;
}

nav {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

main,
section,
article {
    display: flex;
    flex-flow: column wrap;
}

p {
    margin: 5px;
}

main {
    flex-flow: row nowrap;
}

main>section {
    width: 50%;
    flex-flow: column nowrap;
    padding: 10px 20px;
    overflow: hidden;
}

main>section>header {
    margin: 0 10% 0 20%;
}
main>section:nth-child(1) {
    padding-top: 100px;
    overflow-y: auto;
}

main>section:nth-child(1) blockquote {
    color: var(--jaune);
    font-size: 24px;
}
main>section:nth-child(1)>header>article {
    padding-left: 60px;
}
main>section:nth-child(1) article {
    flex: 1;
    padding: 10px;
}

main>section:nth-child(1) article img {
    margin: 0 auto;
}

main>section:nth-child(1) article h3 {
    text-align: center;
    color: var(--rouge);
    font-weight: 600;
}

div.trait {
    height: auto;
    width: 1px;
    background-color: var(--jaune);
    margin-top: 100px;
}

main>section:nth-child(2) {
    padding-top: 200px;
    background: url('assets/images/bg/pousse.jpg') 50% 50% no-repeat;
    border-right: var(--l) solid var(--rouge);
    color: var(--clair);
    justify-content: space-between;
}

main>section:nth-child(2) h1 {
    color: var(--clair);
}

main>section:nth-child(2) article {
    background-color: var(--clair);
    margin-left: -20px;
    color: var(--vertfonce) !important;
    flex-flow: column nowrap;
    padding: 10px 50px 10px 20px;
    width: fit-content;
}

main>section:nth-child(2) article p,
main>section:nth-child(2) article li {
    margin: 0;
    padding: 2px;
}

main>section:nth-child(2) nav {
    margin-left: auto;
}

main>section:nth-child(2) nav a {
    margin: 5px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.5);
}

main>section:nth-child(2) nav a:hover {
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
}

main>section>section {
    flex-flow: row nowrap;
}

button {
    background-color: var(--rouge);
    color: var(--clair);
    padding: 10px 20px;
    transition: all .3s ease;
    border:0;
    width:fit-content;
    margin:10px auto;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
}

button:hover {
    background-color: var(--jaune);
    transform: scale(1.1);
    color: var(--vertfonce);
}

.logo {
    position: absolute;
    width: 250px;
    top: 0;
    left: calc(50% - 138px);
}
.logo_mobile{
    display:none;
    margin:0 auto;
    width: 250px;
}
.logo img, .logo_mobile img {
    width: 100%;
}

.barre {
    position: absolute;
    top: 0;
    left: 10px;
    z-index: 10;
    background-color: var(--vertclair);
    width: var(--l);
    height: 100vh;
}

.rouge {
    color: var(--rouge);
    font-weight: 600;
    font-size: 20px;
}

.vertfonce {
    color: var(--vertfonce);
    font-weight: 600;
}

.vertclair {
    color: var(--vertclair);
    font-weight: 600;
}

#lightbox {
    display: none;
    position: absolute;
    width: 100vw;
    height: 100vh;
}

#lightbox>article {
    margin: auto;
}

::-webkit-scrollbar {
    background-color: rgba(var(--vertfonce), 0.1);
    width: 7px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--jaune);
}

@media screen and (max-width:1100px) {
    main>section>header{
        margin:0 20px;
    }
    main>section>section {
        flex-flow: column nowrap;
    }
    div.trait{
        width:80%;
        height:1px;
    }
}
@media screen and (max-width:850px) {
    body{
        overflow-y:auto;
    }
    main {
        flex-flow: column nowrap;
        height:auto;
    }
    main>section{
        width:100%;
        height: auto;
    }
    main>section>section {
        flex-flow: row nowrap;
    }
    main>section:nth-child(1){
        padding-top: 0;
        overflow: hidden;
        height:auto;
    }
    main>section:nth-child(2){
        padding-top: 0;
        height:auto;
    }
    div.trait{
        width:1px;
        height: auto;
    }
    .logo{
        display:none;
    }
    .logo_mobile{
        display:flex;
    }
}

@media screen and (max-width:700px) {
    main>section>section {
        flex-flow: column nowrap;
    }
    div.trait{
        width:80%;
        height:1px;
    }
}

@media screen and (max-width:481px) {}