/* Styles CSS */

   
body.accueil {
    font-family: Segoe Print, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("images/accueilfond.webp");
    background-size: cover;
    background-attachment: fixed;
}
body.debuts {
    font-family: Segoe Print, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("images/debutsfond.webp");
    background-size: cover;
    background-attachment: fixed;
}
body.missions {
    font-family: Segoe Print, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("images/missionsfond.webp");
    background-size: cover;
    background-attachment: fixed;
}
body.planetes {
    font-family: Segoe Print, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("images/planetes.webp");
    background-size: cover;
    background-attachment: fixed;
}
body.astronautes {
    font-family: Segoe Print, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("images/astronautesfond.webp");
    background-size: cover;
    background-attachment: fixed;
}
body.compterendu {
    font-family: Segoe Print, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("images/compterendu.webp");
    background-size: cover;
    background-attachment: fixed;
}
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
h1 {
    font-size: 60px;
    font-weight: bold;
    letter-spacing: 3px; 
    text-shadow: 2px 2px 10px black;
}
p {
    text-align: justify;
    font-size: 25px;
    color: #dddddd;
    margin-top: 10px;
    text-shadow: 1px 1px 5px black;
}
.presentation p {
    text-align: center;
    font-size: 25px;
    color: #dddddd;
    margin-top: 10px;
    text-shadow: 1px 1px 5px black;
}
.navbar {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    width: 100%;
}
.navbar a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    transition: 0.3s;
}
.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 10px;
    gap: 30px;
}
.navbar a:hover {
    color: rgb(0, 150, 255);
    text-shadow: 0 0 10px rgb(0, 150, 255);
}
.active {
    color: cyan;
    text-shadow:
        0 0 5px cyan,
        0 0 10px cyan,
        0 0 20px blue;
}
.intro, .presentation {
    padding: 60px;
    text-align: center;
}
.intro h2 {
    color: rgb(0, 150, 255);
    font-size: 40px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgb(0, 150, 255);
}
.intro p {
    text-align: justify;
    font-size: 22px;
    max-width: 800px;
    margin: auto;
    line-height: 1.5;
}
.presentation {
    font-size: 22px;
    margin-bottom: 10px;
    color: rgb(0, 150,255);
    text-shadow: 0 0 5px rgb(0, 150, 255);
}
.bloc {
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid rgb(0, 150, 255);
    text-align: center;
    border-radius: 15px;
    padding: 20px;
    margin: auto;
    margin-bottom: 40px;
    width: 90%;
    display: block;
}
.bloc h3 {
    font-size: 30px;
    margin-bottom: 10px;
    color: rgb(0, 150,255);
    text-shadow: 0 0 5px rgb(0, 150, 255);
}
.bloc img {
    width: 50%;
    border: 2px solid transparent;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: 0.3s;

}
.bloc img:hover {
    border: 2px solid cyan;
    box-shadow: 0 0 15px cyan;
}
.container-cartes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.carte {
    color: white;
    width: calc(50% - 35px);
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}
.carte ul {
    text-align: left;
}
.carte img {
    height: 300px;
    object-fit: cover;
    width: 50%;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: 0.3s;
    box-shadow: 0 0 10px black;
}
.carte:hover {
    transform: scale(1.03);
}
.mercure {
    background-color: rgba(150, 150, 150, 0.2);
    border: 2px solid gray;
    box-shadow: 0 0 10px lightgray;
}
.mercure img {
    border: 2px solid gray;
}
.venus {
    background-color: rgba(255, 150, 0, 0.2);
    border: 2px solid orange;
    box-shadow: 0 0 10px orange;
}
.venus img {
    border: 2px solid orange;
}
.terre {
    background-color: rgba(0, 100, 255, 0.2);
    border: 2px solid blue;
    box-shadow: 0 0 10px deepskyblue;
}
.terre img {
    border: 2px solid blue;
}
.mars {
    background-color: rgba(255, 0, 0, 0.2);
    border: 2px solid red;
    box-shadow: 0 0 10px red;
}
.mars img {
    border: 2px solid red;
}
.jupiter {
    background-color: rgba(205, 133, 63, 0.2);
    border: 2px solid peru;
    box-shadow: 0 0 10px peru;
}
.jupiter img {
    border: 2px solid peru;
}
.saturne {
    background-color: rgba(240, 230, 140, 0.2);
    border: 2px solid khaki;
    box-shadow: 0 0 10px khaki;
}
.saturne img {
    border: 2px solid khaki;
}
.uranus {
    background-color: rgba(0, 255, 255, 0.2);
    border: 2px solid cyan;
    box-shadow: 0 0 10px cyan;
}
.uranus img {
    border: 2px solid cyan;
}
.neptune {
    background-color: rgba(65, 105, 225, 0.2);
    border: 2px solid royalblue;
    box-shadow: 0 0 10px royalblue;
}
.neptune img {
    border: 2px solid royalblue;
}