@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/*LANDING PAGE*/

body{
    font-family: "Poppins", sans-serif;
    background: #11071F;
    color: white;
}
.header ul{
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 10px;
    list-style: none;
}
.header ul a{
    text-decoration: none;
    color: white;
    padding: 2px 16px;
    font-family: "Poppins", sans-serif;
    font-size: 1.15em;
}
.header ul a.active, .header a:hover{
    background: linear-gradient(0deg, #7447af, white);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-weight: bold;
}
#bgd{
    position: absolute;
    top: 20%;
    left: 20%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: #7447af;
    filter: blur(150px);
    z-index: -1;
    transition: 1s ease-in-out;
    animation: bgd 3s infinite alternate;
}
@keyframes bgd{
    0%, 100%{
        background-color: #7447af;
        transform: translate(-50%, -50%);
    }
    50%{
        transform: translate(-60%, -60%);
        width: 200px;
        height: 700px;
    }
}
.landing{
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    font-family: "Poppins", sans-serif;
}
.intro{
    padding-left: 25px;
    max-width: 500px;
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showintro .5s 1s linear 1 forwards;
}
@keyframes showintro{
    to{
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}
.intro h1{
    font-size: 3.5em;
    font-weight: bold;
}
.intro h3{
    font-size: 1.7em;
    font-weight: bold;
    margin-top: -40px;
    background: linear-gradient(to right, #c49ef7, #7447af,#c49ef7);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.social a{
    position: relative;
    display: flex;
    flex-direction: column;
    color: white;
    text-decoration: none;
    width: 40px;
    height: 40px;
    font-size: 1.4em;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #482872, #c49ef7);
    border-radius: 50%;
    margin: 10px;
    z-index: 1;
}

.social{
    padding-left: 20px;
    padding-top: 10%;
    transform: translateX(-50px);
    filter: blur(20px);
    opacity: 0;
    animation: showsocial .5s 1.5s linear 1 forwards;
}
@keyframes showsocial{
    to{
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
    
}
.social a::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #251C31;
    border-radius: 50%;
    transform: scale(.88);
    z-index: -1;
    transition: .3s ease-in-out;
}
.social a:hover::after{
    transform: scale(0);
}

.mimg{
    width: 450px;
    height: 450px;
    margin: auto;
    transform: translateX(50px);
    filter: blur(10px);
    opacity: 0;
    animation: showimg .5s 1s linear 1 forwards;
}
@keyframes showimg{
    to{
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }
}

.mimg .circle{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: dyano .5s;
    animation-iteration-count: infinite;
}
@keyframes dyano{
    0%, 100% {background: linear-gradient(90deg,#251C31, #c49ef7);}
    10% {background: linear-gradient(120deg, #251C31, #c49ef7);}
    20% {background: linear-gradient(160deg, #251C31, #c49ef7);}
    25% {background: linear-gradient(180deg, #251C31, #c49ef7);}
    35% {background: linear-gradient(200deg, #251C31, #c49ef7);}
    43% {background: linear-gradient(250deg, #251C31, #c49ef7);}
    50% {background: linear-gradient(270deg, #251C31, #c49ef7);}
    60% {background: linear-gradient(300deg, #251C31, #c49ef7);}
    75% {background: linear-gradient(360deg, #251C31, #c49ef7);}
    85% {background: linear-gradient(20deg, #251C31, #c49ef7);}
    90% {background: linear-gradient(60deg, #251C31, #c49ef7);}
}
.mimg .circle::after{
    content: '';
    position: absolute;
    width: 430px;
    height: 430px;
    background-color: #11071F;
    border-radius: 50%;
}
.mimg .circle img{
    margin-top: 20%;
    z-index: 5;
    position: relative;
    overflow: hidden;
}
.landing, .projects {
    clear: both;
    width: 100%;
}
html {
    scroll-behavior: smooth;
}




@media (max-width:550px) {
    .header ul{
        display: flex;
        justify-content: center;
    }
    .header ul a{
        font-size: 0.5em;
        padding: 2px 7px;
    }
    .mimg{
        width: 350px;
        height: 350px;
    }
    .mimg .circle::after{
        width: 320px;
        height: 320px;
    }
    .mimg .circle img{
        width: 300px;
    }
}
@media (max-width: 1100px){
    .header ul{
        display: flex;
        justify-content: center;
    }
    .landing{
        flex-direction: column;
    }
    .social{
        display: flex;
        flex-direction: row;
    }
    .intro{
        text-align: center;
    }
}