@import url('https://fonts.googleapis.com/css2?family=poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

 @media (max-width: 800px){
    .home .home-content{
        margin-top:150px;
        
    }
}
@media (max-width: 730px){
    .sidebar-active img{
        padding: 20px;
         cursor: pointer;
         width: max-content;
     }
        
 }
body{
    
   background: url(IMG20240727160743.jpg) no-repeat;
   background-size: cover;
   background-position: center;
    background-attachment:fixed;
    color: #ededed;
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo{
    position: relative;
    font-size: 25px;
    color: antiquewhite;
    text-decoration: none;
    font-weight: 600;
}
.logo::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:transparent ;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}
.navbar a{
    font-size:18px;
    color: azure;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition:.3s;
}
.navbar a:hover,
.navbar a.active{
    color: aqua;
}
.sidebar{
    list-style: none;
    background: #22438c;
}

.sidebar li{
    width:100%;
}

nav li:first-child{
    margin-right:auto;
}

nav li{
    height: 50px;
}

nav ul{
    width:100% ;
    list-style: none;
    display:flex;
    justify-content:flex-end;
    align-items: center;
}

.nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display:flex;
    align-items: center;
    color: black;
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: transparent;
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.137);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transition: 200ms ease-in-out
}
.home{
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}
.home-content{
    max-width: 600px;

}
.home-content h1{
    position: relative;
    font-size: 56px;
    font-weight: 700;
    font-style:italic;
    line-height: 1.2;
}
.home-content h1::before{
content: '';
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
animation: showRight 1s ease forwards;
animation-delay: 1s;
}
.home-content h3{
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: #00b7ff;
}
.home-content h3::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    animation: showRight 1s ease forwards;
    animation-delay: 1.3s;
}
.home-content p{
    position: relative;
    font-size: 16px;
    margin:20px 0 40px;

}

.main-button-gradient {
    background:transparent ;
    background: linear-gradient(90deg, #aa81f3 40%, #00b7ff 100%);
    height: 25px; 
    width: 110px;
    border-radius: 15px;
}
.home-content p::before{
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        animation: showRight 1s ease forwards;
        animation-delay: 1.6s;
    }
.home-content .btn-box{
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;

}
.home-content .btn-box::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:transparent;
    animation: showRight 1s ease forwards;
    animation-delay: 1.9s;
    z-index: 2;
}

.btn-box a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: #aa81f3;
    border: 2px solid whitesmoke;
    border-radius: 8px;
    font-size: 19px;
    color:white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;

}
.btn-box a:hover{
    color: #22438c;
}
.btn-box a::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background:#22438c;
        z-index:-1;
        transition: .5s;
}

.btn-box a:nth-child(2){
    background: transparent;
    color: aqua;

}
.btn-box a:nth-child(2):hover{
    color: #00b7ff;
}
.btn-box a:nth-child(2)::before{
    background: aquamarine;
}
.btn-box a:hover::before{
    width: 100%;
}

.home-sci{
    position:absolute;
    bottom: 40px;
    width: 170px;
    display: flex;
    background: transparent;
    justify-content: space-between;
    bottom: 0px;
    
}

.home-sci a{
    position:relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height:40px;
    background: transparent;
    border: 2px solid #aa81f3;
    border-radius: 50%;
    font-size: 20px;
    color:transparent ;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5s;

    
    
}
.home-sci a:hover{
    color: #081b29;
}
.home-sci a::before{
    content: '';
    position:absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: .5s;
}
.home-sci a:hover::before{
    width: 100%;

}
.home-imghover{
    position: absolute;
    top: 0;
    right: 30px;
    width: 500px;
    height: 100%;
    background: transparent;
    transition: 3s;
    animation: manipActiveHover .1s forwards;
    animation-delay: 4s;
    pointer-events: none;
}

.home-imghover::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120%;
    height: 100%;
    animation: showRight 1s ease forwards;
    animation-delay: 3s;
    z-index: 100;
}

.menu-button{
    margin-right: 100px;
    margin-bottom: 100px;
    display: none;
}
/*KEYFRAMES ANIMATION */
@keyframes ShowRight {
    100%{
        width:0;
    }
}
@keyframes manipActiveHover{
    100%{
        pointer-events: auto;
    }
}

@media (max-width: 800px){
    .hideOnMobile{
        display: none;
        
    }
    .menu-button{
        display: block;
        position:absolute;
        margin-left: 60px;
    
    }
    .sidebar{
        display: none;
    }
    
       .home-sci a{
    top:150px;
       }
    }
}

@media(max-width:400px){
    .sidebar{
        width: 100%;
    }
    .home-content{
        width: 100% ;
    }
}
