@import url('https://fonts.googleapis.com/css2?family=Rubik+Vinyl&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
* {
    margin: 0;
    padding: 0;
}
body{
    margin: 0;
    padding: 0;
    width: 100vw;
    object-fit: cover;
}
html{
    scroll-behavior: smooth;
}
.advice{
    color: yellow;
    font-style: italic;
    font-family: initial;
    font-size: 20px;
}
.greetings {
    height: 650px;
    width: 100%;
    overflow: hidden;
    background-image: url(images/greetings_bg.png);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}
.greetings_content{
    margin-top: -80px;
    padding-top: 0;
    font-family: "Rubik Vinyl", serif;
    align-items: center;
}
.greetings_bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.preambel_upper_part {
    position: relative;
    z-index: 2;
    height: 240px;              
    width: 100%;             
    margin-top: 500px;
    background: linear-gradient(
        to top, 
        #0d1b2a 10%,       
        #415a77 50%,      
        #00000000 100% 
    );
}
.preambel_lower_part {
    position: relative;
    z-index: 2;
    margin-top: 0;
    height: auto;
    width: 100%;
    background: linear-gradient(to bottom, black 0%, transparent 100%);
    background-image: url(images/simple_space.png);
    background-attachment: fixed;
    /* font-family: "Libre Baskerville", serif;
    font-style: italic; */
}
.preambel{
    height: auto;
    width: auto;
}
.heading{  /*here the heding1 is a container to itself and thus te spacing would take place by the padding property.*/
    color: white;
    font-family: "Rubik Vinyl", serif;
    padding: 25px;  
    word-spacing: 7px;
    font-size: 35px;    
    text-decoration-line: underline;  /*this property turns an underline on or off*/
    text-decoration-style: wavy;  
    text-underline-offset: 7px;  /*offset” means a shift or distance away from a starting point.*/
    text-decoration-thickness: 1.5px;
}
.content2{
    height: 100%;
    width: 820px;
}
.preambel_part2{
    display: flex;
    justify-content: left;
}
.images_div1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 294px;
}
.part2_image1{
    height: 350px;
    border-radius: 20px;
    margin-left: 30px;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.part2_image1:hover{
    transform: translateY(-8px);
    box-shadow: 0px 0px 15px 10px red;
}
.part2_image2{
    height: 350px;
    border-radius: 20px;
    margin-right: 30px;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.part2_image2:hover{
    transform: translateY(-8px);
    box-shadow: 0px 0px 15px 10px red;
}
.nebula_image{
    border-radius: 20px; 
    margin-right: 30px; 
    height: 250px; 
    width: 600px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nebula_image:hover{
    transform: scale(1.1);
    box-shadow: 0px 0px 15px 10px red; /*this property is used for controling and give different colors shadow effects to a box*/
}
.nasa_org_logo{
    border-radius: 20px; 
    margin-right: 30px; 
    height: 250px; 
    width: 300px; 
    margin-left: 30px; 
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nasa_org_logo:hover{
    transform: translateY(-8px);
    box-shadow: 0px 0px 15px 10px red;
}
.isro_org_logo{
    border-radius: 20px; 
    margin-right: 30px; 
    height: 250px; 
    width: 300px; 
    margin-left: 30px; 
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.isro_org_logo:hover{
    transform: translateY(-8px);
    box-shadow: 0px 0px 15px 10px red;
}
.esa_org_logo{
    border-radius: 20px;
    margin-right: 30px; 
    height: 250px; 
    width: 360px; 
    margin-left: 30px; 
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.esa_org_logo:hover{
    transform: translateY(-8px);
    box-shadow: 0px 0px 15px 10px red;
}
.roscosmos_org_logo{
    border-radius: 20px; 
    margin-right: 30px; 
    height: 300px; 
    width: 300px; 
    margin-left: 30px; 
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.roscosmos_org_logo:hover{
    transform: translateY(-8px);
    box-shadow: 0px 0px 15px 10px red;
}
.cnsa_org_logo{
    border-radius: 20px;
    margin-right: 30px; 
    height: 250px; 
    width: 360px; 
    margin-left: 30px; 
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cnsa_org_logo:hover{
    transform: translateY(-8px);
    box-shadow: 0px 0px 15px 10px red;
}
.def_list_name{
    text-align: left;
    font-size: 18px;
    margin-left: 120px;
    text-decoration: none;
    color: yellow;
    position: relative;
    transition: transform 0.3s ease, font-size 0.2s ease;
}
.def_list_name::after{
    content: "";  /*it isa property, generally used with pseudo elements like ::after and ::before to generate and insert content into the rendered page that does not exists in the html. Here the contents could be, empty elements, text strings, image, counters, attributes etc.*/
    position: absolute;
    left: 0;  /*disance beteween the whole underline and the parent container at the left of the empty content*/
    bottom: -4px; /* distance of underline from text */
    width: 550px; /*length of the underline*/
    height: 2px;  /*width of the underline*/
    background: orange;

    transform: scaleX(0); /* underline hidden */
    transform-origin: left;  /*direction of the transform of the empty content*/
    transition: transform 0.2s ease;
}
.def_list_name:hover{
    transform: translateX(8px);
    font-size: 20px;
    text-underline-offset: 3px;
}
.def_list_name:hover::after{
    transform: scale(1);
}
.def_list_content{
    text-align: left;
    margin-left: 165px;
}
.about_leading_space_agencies{
    display: flex;
    flex-direction: row;
    height: auto;
    width: 100vw;
}
.agency_name{
    position: relative;
    letter-spacing: 0px;
    text-decoration: none;
    font-size: 23px;
    font-family: Google Sans;
    font-style: normal;
    text-align: left;
    color: yellow;
    transition: letter-spacing 0.3s ease, font-size 0.3s ease, color 0.4s ease, transform 0.3s ease;
}
.agency_name::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 4px;
    width: 100%;
    background-color: orange;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}
.agency_name:hover::after{
    transform: scaleX(1);
}
.agency_name:hover{
    letter-spacing: 1px;
    font-size: 24px;
    color : orange;
    transform: translateY(4px);
}
.missions_name{
    letter-spacing: 0px;
    font-family: Google Sans;
    position: relative;
    text-decoration: none;
    font-size: 23px;
    text-align: left;
    color: yellow;
    transition: letter-spacing 0.3s ease, font-size 0.3s ease, color 0.4s ease;
}
.missions_name::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 4px;
    width: 100%;
    background-color: orange;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}
.missions_name:hover::after{
    transform: scaleX(1);
}
.missions_name:hover{
    letter-spacing: 1px;
    font-size: 24px;
    color: orange;
    
}
.part4_contents{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.part6_image1{
    height: 300px; 
    border-radius: 20px; 
    width: 290px;
    margin-left: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.part6_image1:hover{
    transform: translateY(-8px);
    box-shadow: 0px 0px 15px 10px red;
}
.part6_image2{
    height: 250px; 
    border-radius: 20px; 
    width: 290px;
    margin-right: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.part6_image2:hover{
    transform: translateY(8px);
    box-shadow: 0px 0px 15px 10px red;
}
.part7_image1{
    height: 230px; 
    border-radius: 20px; 
    width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.part7_image1:hover{
    transform: scale(1.1);  /*the scale() is used for adjusting the scaling size of the image*/
    box-shadow: 0px 0px 15px 10px red;
}
.part7_image2{
    height: 230px; 
    border-radius: 20px; 
    width: 350px; 
    margin-left: 80px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.part7_image2:hover{
    transform: scale(1.1);  /*the scale() is used for adjusting the scaling size of the image*/
    box-shadow: 0px 0px 15px 10px red;
}
.footers_window{
    border-radius: 20px; 
    height: 285px; 
    width: 100vw;
    margin-top: 0px;
    display: flex;
    flex-direction: row;
    z-index: 1;
    position: relative;
    overflow: hidden;
}
.footers_window video{
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 285px; 
    object-fit: cover; 
    z-index: -1;
    border-radius: 20px;    
}
.div1{
    height: auto;
    width: 50vw;
    margin: 0px;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.8);
    background: linear-gradient(to bottom, black 20%, transparent);
}
.div2{
    height: auto;
    width: 50vw;
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    background: linear-gradient(to bottom, black 20%, transparent);
}
.about_popular_missions{
    display: flex;
    height: auto;
    width: 100vw;
}
.missions_content{
    display: block;
}
.part5_images{
    border-radius: 20px;
    margin-right: 30px; 
    height: 300px; 
    width: 360px; 
    margin-left: 30px; 
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.part5_images:hover{
    transform: translateY(-8px);
    box-shadow: 0px 0px 15px 10px red;
}
.nav{
    z-index: 2;
    position: relative;
}
.main_body{
    height: auto;
    width: 100vw;
    background: linear-gradient(to bottom, black 30%, rgb(32, 32, 32));
}
.lower_buffer{
    height: 50px;
    width: 100vw;
    background: linear-gradient(to top, black 10%, rgb(32, 32, 32));
}
.planet_links{
    color: white; 
    font-family: Google Sans; 
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, text-decoration ease;
}
.planet_links:hover{
    color: rgb(255, 137, 26);
    text-decoration: underline;
    transform: translateX(10px);
}
.solar_link{
    color: white; 
    font-size: 21px; 
    text-decoration: none; 
    margin-top: 15px; 
    margin-left: -10px;
    transition: color 0.3s ease, font-size 0.4s ease, text-decoration ease;
}
.solar_link:hover{
    color: rgb(255, 137, 26);
    text-decoration: underline;
    font-size: 22px;
}
.for_more_missions{
    margin-top: 20px; 
    color: rgb(11, 218, 255); 
    font-size: 25px; 
    text-decoration: none; 
    font-family: Google Sans;
    transition: color 0.4s ease, transform 0.4s ease, font-size 0.3s ease;
    position: relative;
}
.for_more_missions::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;          /* distance of underline from text */
    width: 100%;
    height: 4px;
    background: orange;

    border-radius: 8px;
    transform: scaleX(0); /* underline hidden */
    transform-origin: center;
    transition: transform 0.3s ease;
}

.for_more_missions:hover{
    color: rgb(255, 137, 26);
    font-size: 26px;
}
.for_more_missions:hover::after {
  transform: scaleX(1); /* underline grows */
}
/*All such <text-decorational> properties are used for the styling of an underline under text or strings*/
/*the 100%s are the way of adjusting the width and the height of the image according to its div container*/
/*the overflow property would maintain the div coverage of the whole page*/
/*padding is the distance between contents, divs and the elements inside of the page*/
/*position property permanently fixes the position of a div at one single partiicular place.*/
/*<margin-top> is the css property that is used for creating the top space between 2 different divs*/
/* the <background-attachment> property fixes a background-image fixed, through out the scroll. */
/* it is possible to use negative padding and margining. */
/* (primary header tags)- <header>, <nav>, <section>, <article> and <footer> */

/* for div horizontal alignment, we made the display-flex mode and then justify content to right or left or the center.
    Here justify-content gives you the horizontal alignment and align-items gives you the vertical alignment. */