/*
Theme Name: Baptiste-EDC
*/

:root {

    font-size: 14px;
}

body {
    --accent-color: #1b8b04;
    --accent-color-lighter: #1b8b04;
}

#layout {
    padding: 0 5px;
}


.corps {
    max-width: 760px;
    margin: 0 auto;
}

.corps.has_sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1240px;
}

.corps .main {
    padding: 10px;

}

.corps .sidebar {

    flex-shrink: 0;
    flex-grow: 0;
}

@media (min-width:900px) {

    :root {
        font-size: 18px;
    }



    .corps.has_sidebar {
        flex-direction: row-reverse;
        gap: 60px;
    }

    .corps .main {
        padding: unset;
        padding-left: 15px;
    }

    .corps.has_sidebar .main {
        max-width: 680px;
    }

    .corps .sidebar {
        width: 500px;
    }
}