/* Base styles */
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    position: static;
    background-color: ivory;
}

.ordinateur {
    display: block;
    visibility: visible;
}

span {
    margin: 0;
    padding: 0;
}

h2, h3 {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

h2 {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
}

h3 {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
}

p {
    margin: 0;
    padding: 0;
}

nav {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    margin: 0;
    background-color: ivory;
    border-top: 0;
    border-bottom: 2px solid black;
}

h2.navigation, h2.navigation_date {
    display: inline-block;
    padding: 0;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

input {
    font-size: 18px;
    margin-left: 10px;
}

.nasa {
    display: inline;
    font-size: 20px;
    font-weight: normal;
    text-decoration: none;
}

.nasa:hover {
    text-decoration: underline;
    cursor: pointer;
}

.date-jour {
    display: inline;
    font-size: 20px;
    padding: 2px 0;
    float: right;
}

section {
    display: flex;
    margin: 0;
    padding: 0;
}

#infos {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

#concept, #description, #editeurs {
    max-width: 30vw;
    margin-left: 10px;
    margin-right: 20px;
    margin-top: 20px;
    padding: 15px;
    background-color: ivory;
    border-radius: 8px;
    border: 2px solid black;
}

#concept {
    background-color: black;
    color: ivory;
}

#concept a, #concept .p_concept, #description p, #editeurs p {
    font-size: 15px;
    line-height: 1.25;
    font-weight: normal;
}

#image-titre {
    font-size: 45px;
    line-height: 1em;
    font-family: Times New Roman, serif;
}

h2#expl {
    margin-top: 15px;
    padding: 0;
}

#image-description {
    font-size: 15px;
    line-height: 1.25;
}

img {
    border-radius: 30px;
    width: 65vw;
    margin: 0;
    padding: 20px 10px;
}

#nom_auteur {
    font-size: 13px;
    color: black;
}

footer {
    position: sticky;
    bottom: 0;
    padding: 10px 20px;
    background-color: ivory;
    border-top: 2px solid black;
    display: flex;
    justify-content: space-between;
}

footer a {
    font-size: 14px;
    line-height: 1.5;
    color: black;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #concept, #description, #editeurs {
        max-width: 100%;
        margin: 10px 0;
        padding: 10px;
    }

    img {
        width: 90vw;
        padding: 10px 5px;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    h2, h3 {
        font-size: 16px;
    }

    input {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #concept, #description, #editeurs {
        max-width: 100%;
        margin: 5px 0;
        padding: 5px;
    }

    img {
        width: 100vw;
        padding: 5px;
    }

    nav {
        padding: 10px 5px;
    }

    footer {
        padding: 10px 5px;
    }

    h2, h3 {
        font-size: 14px;
    }

    input {
        font-size: 14px;
    }
}
