*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    background-color: black;
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;        
    line-height: 1.5;
    margin: 0;
    padding: 2vw 5vw;  
}

h1 {
  text-align: center;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  padding-top: 80px;
  font-size: 4vw;
}

main {
  max-width: 1200px;
  margin: 0 auto; 
}

a {
  color: white; 
}

a:hover {
  text-decoration: none;
}

header p {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto; 
}

.planete img {
  display : block;
  margin: auto;
  cursor: zoom-in;
}

#form {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: 40px auto;
}

.popup {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-invisible { 
  display: none; 
}

.popup-visible { 
  display: flex; 
}

.image-zoom {
    width: 90vw;        
    height: 70vh;       
    max-width: 95vw;
    max-height: 85vh;
    object-fit: contain; 
    border-radius: 15px;
}

.titre-zoom {
    color: white; text-align: center;
    margin-top: 20px; font-size: 1.8rem;
}

.fermer-popup, .cache-fenetre {
    cursor: pointer;
}

.fermer-popup {
    position: absolute;
    top: 30px; right: 40px;
    color: white; font-size: 40px;
    font-weight: bold;
}