
/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box; /* Add box-sizing for responsive design */
}

/* Background Style */
.background {
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 100vh; /* Change to min-height for responsiveness */
    position: relative;
    display: flex;
    flex-direction: column; /* Add for responsive design */
}

/* Header Style */
header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px; /* Remove padding from top, only keep side padding */
    width: 180px;
    position: relative;
}

/* Logo Style */
.logo {
    height: 135px;  /* Réduction de la taille de 10% */
    margin-bottom: 20px;
}

/* Navigation Menu Style */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
    width: 100%;
    transform: translateX(50px); /* Move menu 50 pixels to the left */
}

nav ul li {
    margin-bottom: 10px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 700;
}

/* Separator Style */
.separator {
    width: 1px;
    background-color: white;
    height: 100%;
    position: absolute;
    left: 180px; /* Ensure the separator is always 180px from the left */
}

/* Main Content Style */
main {
    display: flex;
    justify-content: flex-start; /* Move content against the separator */
    align-items: flex-start;
    padding: 0; /* Remove all paddings */
    flex-grow: 1;
    box-sizing: border-box;
    margin-left: 225px; /* Ensure all content starts 225px from the separator */
    position: absolute;
    top: 25px; /* Align to the top with 25px offset */
}

/* Content Style */
.content {
    color: white;
    max-width: 500px;
    text-align: left;
    margin-left: 0;
    margin-right: 150px; /* Adding a right margin of 150 pixels */
}

/* Text Styles */
.smaller-text {
    font-size: 80%;
    font-weight: 300;
    margin-left: 40px; /* Ensure text starts 40px from the separator */
}

.content h1, .content h2, .content p {
    margin: 0 0 20px;
}

.content p:last-of-type {
    font-style: italic;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .background {
        flex-direction: column;
    }

    header {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .separator {
        display: none; /* Hide separator on small screens */
    }

    main {
        justify-content: center;
        margin: 20px; /* Adjust margin for responsiveness */
        position: relative;
        top: auto; /* Reset top position */
    }

    .content {
        margin-left: 20px;
        padding-left: 0; /* Remove padding-left on small screens */
        margin-right: 20px; /* Add margin-right for spacing */
    }

    nav ul {
        transform: none; /* Reset transform on small screens */
        text-align: center;
    }
}

a {
    color: #843B00;
}
