*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


/* Landing - Page */


.header{
    min-height: 100vh;
    width: 100%;
    background-image: url(../images/eberhard-grossgasteiger-cs0sK0gzqCU-unsplash.jpg);
    background-size: cover;
    background-position: center;
    position: fixed;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2% 6%;
}

.nav-logo{
    width: 50px;
    color: white;
}


nav ul li{
    display: inline-block;
    padding: 8px 20px;
    list-style: none;
}

nav ul li a{
    font-size: 1.15rem;
    text-decoration: none;
    color: white;
    opacity: 0.8;
    transition: 0.3s;
}

nav ul li a:hover{
    opacity: 1;
}

nav ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background-color: white;
    display: block;
    margin: auto;
    transition: 0.5s;
}

nav ul li:hover::after{
    width: 100%;
    opacity: 1;
}

.text-container{
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.text-container h1{
    font-size: 62px;
}

.text-container h3{
    font-size: 20px;
    margin: 10px 0 40px;
}

.text-container a{
    text-decoration: none;
    color: white;
    font-size: 25px;
    padding: 5px 20px;
    border: 1px solid white;
    transition: 1s;
}

.text-container a:hover{
    background-color: white;
    border: 1px solid white;
    color: #222222;
}


/* Launches - Page */


.subheader-launches{
    min-height: 10vh;
    width: 100%;
    background-color: #222222;
    position: relative;
}

.main-launches{
    background-color: whitesmoke;
    padding-bottom: 2%;
}
.main-launches h1{
    text-align: center;
    font-size: 42px;
    padding: 40px 0;
}

.results-container{
    display: flex;
    flex-direction: row;
}
.results-container h5{
    margin-right: 10px;
}

.launch-container{
    max-width: 90%;
    margin: 0 5%;
    padding: 20px;
    align-content: center;
    border-radius: 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;

}

.launch-item{
    position: relative;
    color: #222222;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px -3px black;
    

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.launch-item img{
    width: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 10px  10px 0 0;
}

.launch-item .infos-container{
    padding: 2% 0;
}

.launch-item .agency{
    position: absolute;
    right: 0;
    margin: 2%;
    padding: 1% 2%;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
}

.launch-item .infos-container .mission{
    text-align: center;
    padding-bottom: 1%;
}


.launch-container .infos-container .rocket-date{
    display: flex;
    justify-content: space-between;
    padding: 1% 4%;
}

/*  Footer Section */

.footer{
    height: 15vh;
    width: 100%;
    background-color: #222222;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.footer-container{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.footer .footer-container a{
    text-decoration: none;
    color: white;
    opacity: 0.7;
    padding: 0 10px;
    transition: 0.3s;
}

.footer .footer-container a:hover{
    opacity: 1;
}

.footer h4{
    color: white;
    opacity: 0.7;
}
.footer-contact a{
    text-decoration: none;
    color: white;
    opacity: 0.7;
    transition: 0.5s;
}

.footer-contact a:hover{
    opacity: 1;
}

/*  Coming soon Pages  */

.soon-page-body{
    height: 100vh;
    background-color: #222222;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.soon-page-body h1{
    color: white;
    font-size: 72px;
    margin-bottom: 50px;
}

.soon-page-body a{
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 1% 2%;
}