body{
    margin: 0px;
    background-color: black;
    font-family: "Orbitron" , sans-serif;
}
.home-link{
  display: inline-flex;
  align-items: center;             
  color: #4fc3ff;
  text-decoration: none;
  font-weight: 600;
}

.home-text{
  font-size: 18px;
}

.home-icon{
  width: 26px;
  height: 26px;
  margin: 10px;
}

.home-link:hover{
  text-shadow: 0 0 8px rgba(79,195,255,0.8);
}

.welcoming{
    margin-top: 130px;
    word-spacing: 16px;
    letter-spacing: 4px;
}
.title{
    text-shadow: 0px 0px 6px rgb(110, 197, 221);
}
#hero{
    font-family: "Orbitron", sans-serif;
    font-size: 35px;
    font-weight: 500px;
    font-style: normal;
    color: #005389ff;
    background-image: url("imageDePprojetCc3/giphy.gif");
    background-size: cover;
    text-align: center;
    padding: 20px 0px 200px 0px ;
}
#spaceX{
    width:300px;
}
#paragraphes{
    background-image: linear-gradient(black,#00010f, #000000);
    color: #005389ff;
    font-family: "Orbitron",sans-serif;
    font-weight: 800;
    font-size: 19px;
    padding-bottom: 200px;
}
.para1{
    margin: 0px 260px;
    border: 6px solid rgb(0, 0, 75);
    border-radius: 15px;
    padding: 30px 90px;
    background-color: rgb(3, 3, 31);
    box-shadow: 0 0 95px rgba(56, 189, 248, 0.25);
}
.para2{
    margin: 100px 260px;
    border: 6px solid rgb(0, 0, 75);
    border-radius: 15px;
    padding: 30px 90px;
    background-color: rgb(3, 3, 31);
    box-shadow: 0 0 95px rgba(56, 189, 248, 0.25);
}
#planet_cards{
    font-family: "Orbitron",sans-serif;
    font-weight: 800;
    font-size: 19px;
    padding-bottom: 70px;
}
.Planet_card_1{
    display: flex;
    height: 320px;                
    margin: 100px 100px 200px;
    border: 6px solid rgb(0, 0, 75);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.671);
    overflow: hidden; 
}
.planet_card_1_text{
    width: 35%;
    padding: 30px;
    color: #005389ff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.planet_card_1_img{
    width: 65%;
    background-image: url(imageDePprojetCc3/mercury_GIF.gif);
    background-size: cover;
    background-position: center;
}
.Planet_card_2{
    display: flex;
    height: 320px;                
    margin: 100px 100px 200px;
    border: 6px solid rgb(214, 114, 0);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(255, 136, 0, 0.671);
    overflow: hidden; 
}
.planet_card_2_text{
    width: 35%;
    padding: 30px;
    color: rgb(214, 114, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.planet_card_2_img{
    width: 65%;
    background-image: url(imageDePprojetCc3/Venus_GIF_by_The_Telegraph.gif);
    background-size: cover;
    background-position: center;
}
.Planet_card_3{
    display: flex;
    height: 320px;                
    margin: 100px 100px 200px;
    border: 6px solid rgb(0, 0, 75);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.671);
    overflow: hidden; 
}
.planet_card_3_text{
    width: 35%;
    padding: 30px;
    color: #005389ff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.planet_card_3_img{
    width: 65%;
    background-image: url(imageDePprojetCc3/gif_earth.gif);
    background-size: cover;
    background-position: center;
}
.Planet_card_4{
    display: flex;
    height: 320px;                
    margin: 100px 100px 200px;
    border: 6px solid rgb(180, 53, 53);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(180, 53, 53, 0.671);
    overflow: hidden; 
}
.planet_card_4_text{
    width: 35%;
    padding: 30px;
    color: rgb(180, 53, 53);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.planet_card_4_img{
    width: 65%;
    background-image: url(imageDePprojetCc3/mars_gif.gif);
    background-size: cover;
    background-position: center;
}
.Planet_card_5{
    display: flex;
    height: 320px;                
    margin: 100px 100px 200px;
    border: 6px solid rgb(223, 63, 0);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(223, 63, 0, 0.671);
    overflow: hidden; 
}
.planet_card_5_text{
    width: 35%;
    padding: 30px;
    color: rgb(223, 63, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.planet_card_5_img{
    width: 65%;
    background-image: url(imageDePprojetCc3/jupiter_gif.gif);
    background-size: cover;
    background-position: center;
}
.Planet_card_6{
    display: flex;
    height: 320px;                
    margin: 100px 100px 200px;
    border: 6px solid rgb(255, 210, 152);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(255, 210, 152, 0.671);
    overflow: hidden; 
}
.planet_card_6_text{
    width: 35%;
    padding: 30px;
    color: rgb(255, 210, 152);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.planet_card_6_img{
    width: 65%;
    background-image: url(imageDePprojetCc3/saturn_gif.gif);
    background-size: cover;
    background-position: center;
}
.Planet_card_7{
    display: flex;
    height: 320px;                
    margin: 100px 100px 200px;
    border: 6px solid rgb(151, 212, 253);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(151, 212, 253, 0.671);
    overflow: hidden; 
}
.planet_card_7_text{
    width: 35%;
    padding: 30px;
    color: rgb(151, 212, 253);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.planet_card_7_img{
    width: 65%;
    background-image: url(imageDePprojetCc3/uranus_gif.gif);
    background-size: cover;
    background-position: center;
}
.Planet_card_8{
    display: flex;
    height: 320px;                
    margin: 100px 100px 200px;
    border: 6px solid rgb(0, 50, 137);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(0, 50, 137, 0.671);
    overflow: hidden; 
}
.planet_card_8_text{
    width: 35%;
    padding: 30px;
    color: rgb(0, 50, 137);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.planet_card_8_img{
    width: 65%;
    background-image: url(imageDePprojetCc3/neptune_gif.gif);
    background-size: cover;
    background-position: center;
}


footer{
    margin-top: 200px;
    color: white;
    font-family: serif
}
#footer1{
    padding-top: 100px;
    display: flex;
    justify-content: space-around;
    color: white;
}
#footer3{
    margin-left: 0px;
    display: flex;
    justify-content: space-around;
}
.social{
    width: 40px;
    height: 40px;
}
.tpam{
    word-spacing: 30px;
}
hr{
    height: 3px;
    width: 100%;
    background-color: white;
}
.footer-title{
    background-color: black;
    border: none;
    color: white;
    margin-bottom: 50px;
    
}
.copyright {
    text-align: start;
    font-size: 16px;
    margin-top: 20px;
    padding-bottom: 10px;
}
.socials{
    float: right;
}

@media (max-width: 768px) {

    body {
        display: flex;
        flex-direction: column;
        
        text-align: center;
        padding: 10px;
    }

    h1 {
        font-size: 28px;
    
    }

    h2 {
        display: block;
        width: 100%;
        margin: 40px auto 20px auto;
        text-align: center;
    }



    h3 {
        font-size: 16px;
        
    }

    #cards {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .cards1_2,
    .cards3_4 {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .card1,
    .card2,
    .card3,
    .card4 {
        width: 90%;
        margin: 0 auto;
        min-height: 220px;
        text-align: center;
    }

    h2 {
        margin-top: 40px;
        font-size: 28px;
        margin-right: 75px;
    }

    button.btn {
        width: 60%;
        height: 60px;
        
        margin: 20px auto;
        display: flex;
    }
    .home-link{
        margin-right: 10px;
    }
}
@media (max-width: 900px){
  #hero{
    padding: 20px 0 140px;
    font-size: 28px;
  }
  #spaceX{ width: 220px; }

  .para1, .para2{
    margin: 30px 20px;
    padding: 24px 20px;
  }

  /* Planet cards: stack */
  .Planet_card_1,.Planet_card_2,.Planet_card_3,.Planet_card_4,
  .Planet_card_5,.Planet_card_6,.Planet_card_7,.Planet_card_8{
    flex-direction: column;
    height: auto;
    margin: 50px 16px;
  }

  .planet_card_1_text,.planet_card_2_text,.planet_card_3_text,.planet_card_4_text,
  .planet_card_5_text,.planet_card_6_text,.planet_card_7_text,.planet_card_8_text{
    width: 100%;
    padding: 22px;
  }

  .planet_card_1_img,.planet_card_2_img,.planet_card_3_img,.planet_card_4_img,
  .planet_card_5_img,.planet_card_6_img,.planet_card_7_img,.planet_card_8_img{
    width: 100%;
    height: 240px;
  }
}

@media (max-width: 600px){
  .home-text{ font-size: 16px; }
  .home-icon{ width: 22px; height: 22px; }

  .planet_card_1_img,.planet_card_2_img,.planet_card_3_img,.planet_card_4_img,
  .planet_card_5_img,.planet_card_6_img,.planet_card_7_img,.planet_card_8_img{
    height: 200px;
  }
}
