/* STRUCTURE */ 
* { margin: 0; padding: 0; }
	
body {
    color: #384552;
    background-color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    /* height: 100vh; */
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* height: 100%; */
}

header {
    margin-bottom: auto;
    padding: 2rem;
}

.main { width: 100%; }

h1 { font-size: 1.25rem; 
    text-align: center;
}
h2 { font-size: 1rem; }

footer {
    margin-top: 4rem;
    padding: .75rem 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    font-size: .75rem;
    text-align: center;
}

/* LISTES */
.main_list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem auto 0rem;
    max-width: 80%;
}

.main_list > li {
    position: relative;
    flex-basis: 25%;
    margin: 1rem;
    padding: 1.5rem;
    border: 0.25rem solid #ffbe2b;
    border-radius: 0.4rem;
}

ul {
    list-style: none;
}

.list_job { margin-top: .5rem; }

.list_job > li, .list_link > li {
    display: inline-block;
}

[class^="job_"] {
    font-size: .75rem;
    padding: .25rem .5rem;
    border-radius: 1rem;
}

.job_dev { background-color: #f4cccc; }
.job_po-cp { background-color: #fce5cd; }
.job_design { background-color: #fff2cc; }
.job_contrib { background-color: #d9ebd3; }

a {
    color: #384552;
    font-size: .825rem;
    padding: .25rem;
}

a:hover, a:focus {
    background-color: #ffbe2b;
    border-radius: 0.4rem;
}

.logo_pic {
    position: absolute;
    right: 1rem;
    bottom: .5rem;
    max-width: 3rem;
    max-height: 3rem;
    z-index: -1;
}

/* res between 1268 and 1023px */
@media screen and (min-width: 64em) and (max-width: 80em) {
    .container { justify-content: start; }
    
    .main_list {
        max-width: 80%;
    }

    .main_list > li {
        flex-basis: 40%;
    }
}

/* res below 1023px */
@media screen and (max-width: 64em) {
    .container { justify-content: start; }
    
    .main_list {
        flex-direction: column;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        max-width: 100%;
    }

    .main_list > li {
        margin: 0;
        padding: 1rem;
        flex-basis: 100%;
    }

    .main_list > li + li {
        margin-top: 1rem;
    }
    
    .main_list > li:last-of-type {
        margin-bottom: 1rem;
    }

    .logo_pic {
        max-width: 2rem;
        max-height: 2rem;
    }
}