*{
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}
body{
    overflow: hidden;
}
header,nav{
    display: flex;
    flex-direction: row;
    align-items: center;

}
header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    padding: 30px 90px;
    justify-content:space-between;
    font-size: 22px;
    width: 100%;
    opacity: 0;
    animation: headerframe 1s ease forwards;
    
}
header nav a{
    font-size: 25px;
    color: white;
    margin-left: 78px;
    transition: 0.3s;
    
}
header nav a.active,header nav a:hover{
    color: #e76571;
}
header  h1{
    color: white;
}

#main{
   position: relative;
    min-height: 100vh;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 90px;
}

#main .text_box{
    width: 50%;
    z-index: 99;

}
#main .text_box h1{
    color: #e76571;
    font-size: 82px;
    animation: textframe 1s ease forwards  1.3s;
  &:nth-child(2){
    color: white;
    font-size: 66px;
    animation-delay: 1.5s;
  }  
}
#main .text_box p{
    margin: 40px 0;
    font-size: 20px;
    color: #979797;
    width: 100%;
    animation: textframe 1s ease forwards  1.7s;

}

#main .text_box .btn_box{
    display: flex;
    gap: 20px;
    opacity: 1;

}

#main .text_box .btn_box .btn{
    position: relative;
    color: white;
    padding: 12px 30px;
    font-size: 22px;
    border: 2px solid #e76571;
    background: transparent ;
    border-radius: 4px;
    transition: .3s;
    animation: textframe 1s ease forwards  1.9s;

    &:hover,&:nth-child(2){
        background: #e76571;
        box-shadow: 0 0 15px #e76571;
    }
}
#main .text_box .btn_box .btn:nth-child(2):hover{
    color: white;
    background-color: transparent;
    box-shadow: none;
}
#main img{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    z-index: 2;
}
.text_box * {
    opacity: 0;
}
.text_box span{
    opacity: 1;
}


#main .soot{
    animation: imageup 3s ease forwards;
}
#main .rocket{

    animation: roket 6s ease-in-out infinite 3s ,imageup 3s ease;
}

.star{
    position: absolute;
    right: 0;
    top: 0;
    width: var(--width);
    height: var(--hight);
    background:url('./assets/stars.png');
    background-size: 100% 100%;
    z-index: 1;
    opacity: 0;
    animation: starBg 28s linear infinite,starOp 2s ease forwards 0.8s;
}
@keyframes headerframe {
    from{
        opacity: 0;
        transform: translateY(-50px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes textframe {
    0%{
        opacity: 0;
        transform: translateX(-50px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes imageup {
    from{
        transform: translate(-27%,32%);
    }
    to{
        transform: translate(0%);
    }
}
@keyframes roket {
    0%,100%{
        transform: translate(0%);
    }
    50%{
        transform: translate(-3.88%,4.7%);
    }
}
@keyframes starBg {
    from{
        background-position: 0 0;
    }
    to{
        background-position:calc(var(--width)* -1),var(--hight);
    }
}
@keyframes starOp {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
