@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Bakbak+One&display=swap');

body {
    font-family: "Poppins", sans-serif;
    --color1: #FFF ;
    --color2: #000000 ;
    margin: 0;
    padding: 0;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}


.nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: relative;
    background-color: var(--color2);
    padding: 12px 40px;
}
.logo img {width: 40px;}
.menu {display: flex;}
.menu li {padding-left: 30px;}
.menu li a {
    display: inline-block;
    text-decoration: none;
    color: var(--color1);
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
    text-transform: uppercase;
    font-size: 20px;
}
.menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color1);
    transition: 0.15s ease-in-out;
}
.menu li a:hover:after {width: 100%;}
.open-menu , .close-menu {
    position: absolute;
    color: var(--color1);
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}
.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
.close-menu {
    top: 20px;
    right: 20px;
}
#check {display: none;}
@media(max-width: 610px){
    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: var(--color2);
        transition: all 0.2s ease-in-out;
    }
    .menu li {margin-top: 40px;}
    .menu li a {padding: 10px;}
    .open-menu , .close-menu {display: block;}
    #check:checked ~ .menu {right: 0;}
}

h1 {
    font-family: "Bakbak One", sans-serif;
    font-size: 48px;
    position: relative;
    margin-left: 125px;
    text-transform: uppercase;
    font-size: 50px;
    letter-spacing: 4px;
    overflow: hidden;
    background: linear-gradient(90deg, #ff9900, #ffffff, #007bff);
    background-repeat: no-repeat; 
    background-size: 80%;
    animation: animate 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
    }

    @keyframes animate {
    0% {
        background-position: -500%;
    }
    100% {
        background-position: 500%;
    }
    }
    

    @media (max-width: 768px) {
        h1{
        position: relative;
        text-align: center;
        }

    }

            @keyframes moveText {
    0% {
        transform: translateX(-140%);
    }
    100% {
        transform: translateX(0); 
    }
    }

    #moving-text {
    animation: moveText 1s ease-in-out forwards; 
    }

    @keyframes moveDelayed {
    0% {
        opacity: 0; 
        transform: translateX(-100%); 
    }
    100% {
        opacity: 1; 
        transform: translateX(0); 
    }
    }

    #moving-paragraph, #moving-button {
    opacity: 0; 
    animation: moveDelayed 1.2s ease-in-out forwards; 
    animation-delay: 0.5s; 
    }

    .logo {
        margin-right: 20px; 
        position: absolute;
    }
    .logo img{
        width: 100px;
    }
    @media (max-width: 768px) {
    .logo img{
        width: 7.2rem;
        margin-left: -1.75rem;
    }
    h1{
       margin-left: 5.8rem;
       font-size: 2.325rem;
       letter-spacing: 0px; 
    }
    }

