
body {
    font-family: 'Source Sans 3', sans-serif;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    color: #fff;
}


#header {
    background:
        linear-gradient(to left, rgba(255, 165, 0, 0.6), rgba(255, 165, 0, 0.2), rgba(255, 165, 0, 0)),
        url('fond_floute.png') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    margin: 0;
    padding: 1em;
    text-align: center;
    z-index: 1000;
    position: sticky;
}

#header h1 {
    position: relative;
    z-index: 2;
    font-size: 50px;
    font-family: 'Oswald', sans-serif;
}

#header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.header-content {
    margin-bottom: 40px;
}


.nav-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    background-color: #f0f0f0;
    text-decoration: none;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    font-family: 'Oswald', sans-serif;
    position: relative;
    z-index: 2;
}

.nav-button:hover {
    background-color: #ddd;
}
#en-formation {
    text-align: left;
    padding: 20px 0;
    background-color: #f9f9f9;
    margin-left: 20px;
}

#en-formation h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    color: #000;
    margin: 0;
}

#en-entreprise {
    text-align: left;
    padding: 20px 0;
    background-color: #f9f9f9;
    margin-left: 20px;
}

#en-entreprise h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    color: #000;
    margin: 0;
}


#realisations {
    padding: 20px;
    background-color: #f9f9f9;
}


.realisation-wrapper {
    display: flex;
    margin-bottom: 20px;
    max-width: 1300px;
    align-items: stretch; 
}


.image-container {
    flex-shrink: 0;
    flex-basis: 340px;
    height: auto; 
    display: flex;
    align-items: stretch;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.realisation-image {
    width: 100%;
    height: auto; 
    align-self: stretch;
    object-fit: cover; 
}


.realisation {
    background-color: #ffffff;
    color: #000;
    border: 1px solid #ddd;
    border-radius: 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin-left: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto; 
}

.realisation h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.realisation p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    flex-grow: 1; 
}


.details-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #d3d3d3;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    margin-top: 10px;
    align-self: flex-end; 
    width: fit-content;
}

.details-button:hover {
    background-color: #b0b0b0;
}
.copyright {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.copyright a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}