*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
/*-----------------Navigation Bar-----------------*/
.navbar{
    width: 90%;
    margin: auto;
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
    .logo{
        width: 300px;
        cursor: pointer;
    }
    .nav-links ul li{
        list-style: none;
        display: inline-block;
        margin: 0 10px;
        position: relative;
    }
    .nav-links ul li a{
        text-decoration: none;
        color: #fff;
        text-transform: uppercase;
        font-weight: bold;
    }
    .nav-links ul li::after{
        content: "";
        height: 3px;
        width: 0%;
        background: #6082B6;
        position: absolute;
        left: 0;
        bottom: -2px;
        transition: 0.5s;
    }
    .nav-links ul li:hover::after{
        width:100%
    }
/*---------------------Homepage---------------------*/
.header{
    width: 100%;
    height: 100vh;
    background-image: url(Images/Moon.jpg);
    background-size: cover;
    background-position: center;
}
.content{
    width: 100%;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
}
.content h1{
    font-size: 60px;
    margin-top: 0px;
}
    .content p{
        margin: 20px 0 20px;
        font-size: 30px;
        font-weight: 100;
        line-height: 25px;
    }
    button{
        width: 200px;
        padding: 15px 0;
        text-align: center;
        margin: 20px 10px;
        border-radius: 25px;
        font-weight: bold;
        border: 2px solid #fff;
        background: transparent;
        color: #fff;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }
        span{
            background-color: #6082B6;
            color: #000;
            height: 100%;
            width: 0%;
            border-radius: 25px;
            position: absolute;
            left: 0;
            bottom: 0;
            z-index: -1;
            transition: 0.5s;
        }
        button:hover span{
            width: 100%
        }
        button:hover{
            border: none;
        }
    .content {
        display: inline-block;
    }
    .content h1 {
        overflow: hidden; /* Ensures the content is not revealed until the animation */
        border-right: .15em #fff; /* The typwriter cursor */
        white-space: nowrap; /* Keeps the content on a single line */
        margin: 0 auto; /* Gives that scrolling effect as the typing happens */
        animation: 
          typing 4.5s steps(100, end),
          blink-caret 2s step-end infinite;
    }
    @keyframes typing {
    from { width: 0 }
    to { width: 100% }
    }

    /* The typewriter cursor effect */
    @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange; }
}      
/*----------------Discoveries Page----------------*/
.sub-header-discoveries{
    height: 50vh;
    width: 100%;
    background-image: url(Images/Discoveries\ and\ Advancements\ image.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
    .sub-header-discoveries h1{
        margin-top: 100px;
        font-size: 60px;
    }
    .sub-header-discoveries p{
        margin-top: 100px;
        font-size: 60px;
    }
.Future-in-Space{
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    column-gap: 5px;
    margin-top: 80px;
    margin-bottom: 150px;
}
    .Future-in-Space-image{
        max-width: 100%;
        max-height: 100%;
        width: 70%;
        align-items: center;
        margin-left: 70px;
    }
        .Future-in-Space img{
            width: 650px;
            height: 500px;
        }
    .Future-in-Space-text{
        margin-right: 70px; 
    }
        .Future-in-Space-text h1{
            text-align: center;
            margin-bottom: 10px;
            font-size: 40px;
        }
        .Future-in-Space-text p{
        line-height: 30px;
        font-size: 22px
        }
/*----------------Takeoff Page----------------*/
.sub-header-takeoff{
    height: 50vh;
    width: 100;
    background-image: url(Images/Spaceflight-image.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
    .sub-header-takeoff h1{
        margin-top: 100px;
        font-size: 60px;
    }
    .sub-header-takeoff p{
        margin-top: 100px;
        font-size: 60px;
    }
.Suborbital-Travel{
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    column-gap: 5px;
    margin-top: 80px;
    margin-bottom: 150px;
}
    .Suborbital-Travel-text{
    margin-right: 70px; 
    }
        .Suborbital-Travel-text h1{
            text-align: center;
            margin-bottom: 5px;
            font-size: 40px;
        }
        .Suborbital-Travel-text p{
            line-height: 40px;
            font-size: 20px;
        }
    .Suborbital-Travel-image{
        max-width: 100%;
        max-height: 100%;
        width: 70%;
        align-items: center;
        margin-left: 70px;
        }
        .Suborbital-Travel img{
            width: 650px;
            height: 400px;
        }
.Launch-Procedures{
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5px;
    margin-top: 200px;
    margin-bottom: 150px;
    }
    .Launch-Procedures-image{
        max-width: 100%;
        max-height: 100%;
        width: 70%;
        align-items: right;
        margin-right: 70px;
        margin-left: 200px;
    }
        .Launch-Procedures img{
            width: 650px;
            height: 450px;
        }
    .Launch-Procedures-text{
        margin-left: 70px;
        text-align: center;
    }
        .Launch-Procedures-text h1{
            text-align: center;
            margin-bottom: 20px;
            font-size: 40px;
        }
        .Launch-Procedures-text p{
            text-align: left;
            line-height: 40px;
            font-size: 20px;
        }
/*----------------Health and Safety Page----------------*/
.sub-header-health{
    height: 50vh;
    width: 100;
    background-image: url(Images/Health-banner.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
    .sub-header-health h1{
        margin-top: 100px;
        font-size: 60px;
    }
    .sub-header-health p{
        margin-top: 100px;
        font-size: 60px;
    }
.Food-Safety{
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    column-gap: 5px;
    margin-top: 80px;
    margin-bottom: 150px;
}
    .Food-Safety-text{
    margin-right: 70px; 
    }
        .Food-Safety-text h1{
            text-align: center;
            margin-bottom: 5px;
            font-size: 40px;
        }
        .Food-Safety-text p{
            line-height: 40px;
            font-size: 20px;
        }
    .Food-Safety-image{
        max-width: 100%;
        max-height: 100%;
        width: 70%;
        align-items: center;
        margin-left: 70px;
        }
        .Food-Safety img{
            width: 600px;
            height: 400px;
        }
.Environment{
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5px;
    margin-top: 200px;
    margin-bottom: 150px;
    }
    .Environment-image{
        max-width: 100%;
        max-height: 100%;
        align-items: right;
        margin-right: 70px;
        margin-left: 200px;
    }
        .Environment img{
            width: 800px;
            height: 500px;
        }
    .Environment-text{
        margin-left: 70px;
        text-align: center;
    }
        .Environment-text h1{
            text-align: center;
            margin-bottom: 20px;
            font-size: 40px;
        }
        .Environment-text p{
            text-align: left;
            line-height: 40px;
            font-size: 20px;
        }
.Training{
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    column-gap: 5px;
    margin-top: 80px;
    margin-bottom: 150px;
}
    .Training-text{
    margin-right: 70px;
    }
        .Training-text h1{
            text-align: center;
            padding-top: 50px;
            margin-bottom: 5px;
            font-size: 40px;
        }
        .Training-text p{
            line-height: 40px;
            font-size: 20px;
        }
    .Training-image{
        max-width: 100%;
        max-height: 100%;
        width: 70%;
        align-items: center;
        margin-left: 70px;
        }
        .Training img{
            width: 800px;
            height: 600px;
        }
/*----------------Space Tours----------------*/
.sub-header-tours{
    height: 50vh;
    width: 100;
    background-image: url(Images/Space-Tours-banner.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
    .sub-header-tours h1{
        margin-top: 100px;
        font-size: 60px;
    }
    .sub-header-tours p{
        margin-top: 100px;
        font-size: 60px;
    }
.Missions-Content{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
    h2{
        font-size: 40px;
        font-weight: 600;
        padding-bottom: 20px;
    }
    p2{
        color:#777;
        font-size: 20px;
        font-weight: 300;
        line-height: 30px;
        padding: 10px;

    }
.row{
   margin-top: 2%;
   display: flex;
   justify-content: space-between;
}
    .course-col{
        flex-basis: 31%;
        background: #fff3f3;
        border-radius: 10px;
        margin-bottom: 5%;
        padding: 20px 12px;
        box-sizing: border-box;
        transition: 0.5s;
    }
    h3{
        text-align: center;
        font-weight: 600;
        margin: 10px 0;
    }
    .course-col:hover{
        box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
    }
.row-2{
    display: flex;
    justify-content: space-between;
}
.Missions-Image{
    display: block;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 100px;
}
/*----------------References----------------*/
.header-references{
    width: 100%;
    height: 100vh;
    background-image: url(Images/References-banner.jpg);
    background-size: cover;
    background-position: center;
}
.content-references{
    width: 100%;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
}
    .content-references h1{
        font-size: 70px;
        margin-top: 0px;
    }