@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300&family=Ubuntu+Mono&family=Ubuntu:wght@300&display=swap');

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

ul{
    list-style-type: none;
}

a{
    text-decoration: none;
    color: #fff;
}



body{
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    background: #000;
    color: #fff;
}

/*Navigation*/
.nav-main{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    height: 100px;
    z-index: 5;
    margin: auto;
    font-size: 14px;
}

.logo-container{
    width: 210px;
    height: auto;
}

.logo-container img{
    width: 100%;
    display: block;
    height: auto;
}

/*Desktop menu */
.menu-container{
    margin-right: 70px;
}

.menu-container .menu-list{
    display: flex;
}

.menu-container .menu-list li{
    position: relative;
    margin-right: 20px;
    padding-bottom: 2px;
}

/*The underline animation*/
.menu-container .menu-list li a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background: #fff;
    transform: scaleX(0);
    transition: transform 0.2s ease-in;
    transform-origin: right center;
}

.menu-container .menu-list li a:hover::after{
    transform: scaleX(1);
    transform-origin: left center;
    transition-duration: 0.3s;
    
}

section{
    height: 100vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    text-transform: uppercase;
}

.inner-section{
    position: absolute;
    bottom: 200px;
    left: 130px;
    max-width: 560px;
}

.inner-section h4{
    margin-bottom: 5px;
    font-size: 24px;
    animation: fadeInUp 0.5s ease-in-out;
}

.inner-section h1{
    margin-bottom: 20px;
    font-size: 3rem;
    font-weight: 800;
    animation: fadeInUp 0.5s ease-in-out 0.2s;
    animation-fill-mode: both; /*Check it again*/
}

.inner-section a{
    animation: fadeInUp 0.5s ease-in-out 0.4s;
    animation-fill-mode: both;
}



/*Background Images*/

.section-A{
    background-image: url('./images/Homepage_Desktop\ \(1\).webp');
}

.section-B{
    background-image: url('./images/falcon-9.webp');
}

.section-C{
    background-image: url('./images/Homepage_Desktop.webp');
}

.section-D{
    background-image: url('./images/hls-resized-2.webp');
}

.section-E{
    background-image: url('./images/S20_Chopstick_Stack_Desktop.webp');
}

/*Button animtion*/

.btn{
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    min-width: 130px;
    padding: 15px 50px;
    margin-top: 10px;
    border: 2px solid #fff;
    text-transform: uppercase;
    font-weight: bold;
    z-index: 2;
    overflow: hidden;
}

.btn:hover span{
    color: #000;
}

.btn .hover{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    color: #000;
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    
}

.btn:hover .hover{
    transform: translateY(0);
}

.scroll-arrow{
    position:absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeGrow 5s infinite;
}

footer{
    position: relative;
    padding: 55px 0;
}

footer ul{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

footer ul li{
    margin-right: 30px;
    color: #aaa;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 2.5;
}

footer ul li a{
    color: #aaa;
    transition: color 0.5s;
}

footer ul li a:hover{
    color: #fff;
}

/*Hamburger Menu*/

.hamburger{
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 10;
    background: none;
    border: none;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.hamburger-top,.hamburger-middle,.hamburger-bottom{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.5s;
}

.hamburger-middle{
    transform: translateY(5px);
}

.hamburger-bottom{
    transform: translateY(10px);
}

.open{
    transform: rotate(90deg);
}

.open .hamburger-top{
    transform: rotate(45deg) translateY(6px) translateX(6px);
}

.open .hamburger-middle{
    display: none;
}

.open .hamburger-bottom{
    transform: rotate(-45deg) translateY(6px) translateX(-6px);
}

/*Overlay Effect*/
.show-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 3;
}

.stop-scrolling{
    overflow: hidden;
}

/*Hide mobile main menu items*/
.mobile-only{
    display: none;
}

/*Mobile menu*/
.mobile-main-menu{
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    z-index: 4;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out;
}

/*Bring Menu from right*/
.show-menu{
    transform: translateX(0);
}

.mobile-main-menu ul{
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    padding: 50px;
    width: 100%;
}

.mobile-main-menu ul li{
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 14px;
    border-bottom: 1px dotted #555;
    width: 100%;
    text-align: right;
    padding-bottom: 8px;
}

.mobile-main-menu ul li a{
    color: #fff;
    transition: color 0.5s ease-in-out;
}

.mobile-main-menu ul li a:hover{
    color: #aaa;
}

/*Inner-section*/
.bg-falcon-9{
    background-image: url('./images/falcon-9.webp');
}

.bg-falcon-heavy{
    background-image: url('./images/falcon-heavy.webp');
}

.bg-dragon{
    background-image: url('./images/dragon.webp');
}

.section-animate{
    animation: fadeIn 2s ease-in-out;
}

.section-inner-center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    text-align: center;
    
}

.section-inner-center h1{
    font-size: 90px;
    margin-bottom: 15px;
    font-weight: bolder;
    animation: fadeInUp 0.5s ease-in-out;
}

.section-inner-center p{
    font-size: 20px;
    animation: fadeInUp 0.5s ease-in-out 0.2s;
    animation-fill-mode: both;
}

/*Stats*/

.stats{
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    text-align: center;
}

.stats div span{
    font-size: 160px;
}

.stats div h4{
    font-size: 24px;
    font-weight: 300;
}
/*Animation*/

@keyframes fadeInUp{
    0%{
        opacity: 0;
        transform: translateY(140px);
    }

    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn{
    0%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}

@keyframes fadeGrow{
    0%,
    25%,
    50%,
    80%,
    100%{
        opacity: 0;
        transform: scale(1);
    }

    40%{
        opacity: 1;
        transform: scale(2);
    }
}

@media(max-width:960px){
    /*Hide desktop menu*/
    .menu-container{
        display: none;
    }

    /*show mobile only*/

    .mobile-only{
        display: block;
    }

    .section-inner-center h1{
        font-size: 60px;
    }
}

@media(max-width:760px){
    .inner-section{
        bottom: 75px;
        left: 20px;
    }

    .inner-section h1{
        font-size: 2.5rem;
    }

    footer ul li:first-child{
        position: absolute;
        top: 30px;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    footer ul li{
        margin-right: 10px;
    }

    .nav-main{
        left: 50%;
        transform: translateX(-50%);

    }

    .logo-container{
        width: 150px;
    }

    .section-inner-center{
        width: 80%;
    }

    .section-inner-center h1{
        font-size: 50px;
    }

    /*Stats*/
    .stats{
        flex-direction: column;
    }

    .stats div{
        margin-bottom: 20px;
    }
}



