@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;1,500&display=swap');
* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: "poppins";
    outline: none;
    border: none;
    color: #fff;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
}
body{
    background: #1b1f2a;
}
.header{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 2rem 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo{
    font-size: 2.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    animation: SlideRight 1s ease forwards;
    opacity: 0;
}
@keyframes SlideRight{
    0%{
        transform: translateX(-100%);
        opacity: 0;
    }
    100%{
        transform: translateX(0%);
        opacity: 1;
    }
}
#menu{
    font-size: 2.8rem;
    display: none;
}
.bx-repost{
    font-size: 4rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #00d0ff;
    color: #1b1f2a;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    padding: .5rem;
    cursor: pointer;
}
.navbar a{
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.7rem;
    margin-left: 4rem;
    display: inline-block;
    transition: .3s;
    animation: slideTop .5s ease forwards;
    transform: translateY(-100%);
    opacity: 0;
    animation-delay: calc(.2s * var(--vlr));
}
@keyframes slideTop{
    0%{
        transform: translateY(-100%);
        opacity: 0;
    }
    100%{
        transform: translateY(0%);
        opacity: 1;
    }
}
.navbar a:hover{
    color: #00d0ff;
}
.home{
    padding: 10rem 9% 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
}
.home.active{
    flex-direction: row-reverse;
}
.text-content {
    max-width: 60rem;
}
.text-content h1{
    font-size: 5.6rem;
    font-weight: 600;
    color: #00d0ff;
    animation: slideTop .5s ease forwards;
    transform: translateY(-100%);
    opacity: 0;
    animation-delay: .7s;

}
.text-content h3{
    font-size: 3.2rem;
    animation: SlideRight 1s ease forwards;
    opacity: 0;
    animation-delay: 1s;
}
.text-content p{
    font-size: 1.6rem;
    animation: SlideLeft 1s ease forwards;
    opacity: 0;
    animation-delay: 1.7s;
}
@keyframes SlideLeft{
    0%{
        transform: translateX(100px);
        opacity: 0;
    }
    100%{
        transform: translatex(0);
        opacity: 1;
    }
}

.home img{
    width: 28vw;
    animation: Zoom 1s ease forwards,Float 4s ease-in-out infinite;
    opacity: 0;
    animation-delay: 2s,4s;
}
@keyframes Zoom{
    0%{
        scale: 0;
        opacity: 0;
    }
    100%{
        scale: 1;
        opacity: 1;
    }
}
@keyframes Float{
    0%{
        
      transform: translateY(0);
    }
    50%{
        transform: translateY(-24px);
    }
    100%{
        transform: translateY(0);
    }
}
.social-media i{
    height: 4rem;
    width: 4rem;
    font-size: 2rem;
    text-decoration: none;
    background: transparent;
    border: 2px solid #00d0ff;
    color: #00d0ff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 1.5rem 3rem 0;
    border-radius: 50%;
    transition: .5s ease;
    animation: Slidebottom 1s ease forwards;
    opacity: 0;
    animation-delay: 1.6s;

}
@keyframes Slidebottom{
    0%{
        transform: translateY(100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}
.social-media i:hover{
    background: #00d0ff;
    color: #1b1f2a;
    box-shadow: 0 0 .2rem #00d0ff,
    0 0 1rem #00d0ff,
    0 0 2rem #00d0ff;
}
.btn-box{
    width: 34.5rem;
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-box .btn{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 15rem;
    border-radius: .8rem;
    color: #1b1f2a;
    background: #00d0ff;
    border: 2px solid #00d0ff;
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: .1rem;
    overflow: hidden;
    z-index: 1;
    animation: Zoom 1s ease forwards;
    opacity: 0;
    animation-delay: 2s;
}
.btn:hover{
    color: #00d0ff;
 
}
.btn::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    transition: .5s ease;
    z-index: -1;
}

.btn:hover:before{
    width: 100%;
}
.btn:nth-child(2){
    background: #1b1f2a;
    color: #00d0ff;
}
.btn:nth-child(2):hover{
    color: #1b1f2a;
}
.btn:nth-child(1):hover::before
{
    background-color: #1b1f2a;
}
.btn:nth-child(2):hover::before{
   background: #00d0ff;
}
@media(max-width:1200px){
    html{
        font-size: 55%;
    }
}
@media(max-width:991px){
    .header{
        padding: 2rem 3%;
    }
}

@media(max-width:768px){
    #menu{
        display: block;
    }
    .navbar{
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        padding: 1rem 3%;
        width: 100%;
        background: #1b1f2a;
        border-top: 2px solid rgba(255,255,255,.1);
        box-shadow: 0 .5rem 1rem rgba(255,255,255,.1);
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }
    .home{
       flex-direction: column-reverse;
    }
    .home.active{
        flex-direction: column-reverse;
    }
    .home .text-content h1{
        font-size: 2.9rem;
    }
    .home .text-content h3{
        font-size: 2.6rem;
    }
    .home .text-content p{
        font-size: 1.6rem;
    }
    .home img{
        width: 45vw;
        margin-top: 4rem;
    }
}
@media(max-width:450px){
  html{
    font-size: 50%;
  }
}

@media(max-width:365px){
 .home img{
    width: 65vw;
 }
  }