:root {
  --header-footer-color: #223e4f;
  --font: 'Monaco', monospace;
  --header-img: url('../images/header4.png');
}

/* ------ BODY ------ */
body {
    font-family: var(--font) !important;
    line-height: 1;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4 !important;
    color: #333;
}

 .container {
   width: 100%;
   margin: auto;
   overflow: hidden;
}

/* ------ HEADER ------ */

header {
    background-image: var(--header-img);
    color: #fff;
    padding: 2% 0;
    display: flex;
    flex-direction: column;
}

header h1 {
    margin: 0;
    font-size: 3em;
    text-align: center;
}

header p {
    margin: 0;
    font-style: italic;
    font-size: 2em;
    color: #eee;
    text-align: center;
}

.utils {
    justify-content: center;
    margin-top: 1rem;
    display: flex;
}

.logos {
    display: flex;
    align-self: flex-end;
}

.logo_oc {
    display:flex;
    width: 3rem;
    height: 3rem;
    align-self: right;
}

#language-btn {
    background: white;
    line-height:3px;
    width: fit-content;
    margin-left: 2rem;
    height: 2rem;
}

nav {
    background: var(--header-footer-color);
    color: #fff;
}

nav ul {
    padding: 0;
    margin-top: 1rem;
    list-style: none;
    text-align: center;
}


@media (max-width: 600px) {
    .container li {
        display: block;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

nav ul li a:hover {
    color: #5F9EA0;
}

.card {
    background: #fff;
    margin: 2rem 0;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 0;
}


 @media (min-width: 600px) {
    #content {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

.card h2 {
    text-transform: uppercase;
    font-size: 2em;
    color: #0d3153;
}

footer {
    background: var(--header-footer-color);
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
}

.container-footer{
    color: #fff;
    text-align: center;
}

.container-footer p {
    margin: 0.3rem 0rem 0.3rem 0rem;
}

a {
    color: #5F9EA0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ----- ABOUT ----- */

#about h3 {
    color: #0d3153;
}

/* ----- EXPERIENCE ----- */
.job {
    align-items: center;
    margin-bottom: 1%;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fafafa;
    padding: 2%;
}

.logo {
    width: 20%;
    height: auto;
    margin-right: 6%;
    float: right;
}

.job-details {
    flex: 1;
    color: #686868;
}

.job-details .company{
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.job-details h3 {
    margin-top: 0;
    font-size: 1.9em;
    color: #0d3153;
}

.job-details h4 {
    font-weight: bold;
    color: #0d3153;
}

.job-details .date {
    margin-bottom: 0.5rem;
    font-style: italic;
}

.context-text, .realisation-text, .tech-text {
    margin-left: 3%;
}

/* ----- COMPETENCE ----- */

#skills {
    color: #0d3153;
}

#skills h3 {
    padding: 0% 4%;
}

.skill-bean {
    padding: 0.4rem 0.8rem 0.4rem 0.8rem;
    margin: 0.3rem 0.2rem 0.3rem 0.2rem;
    border-radius: 1rem;
    display: inline-block;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.1);
}

.skill-list {
    margin-left: 2rem;
}
