@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Bungee+Spice&family=Faster+One&family=Kaushan+Script&family=Libre+Barcode+39+Text&family=Lobster&family=Merienda:wght@400;500;600;700&family=Mitr:wght@400;600;700&family=Modak&family=Montserrat+Subrayada:wght@700&family=Mulish:wght@400;700&family=Nabla&family=Parisienne&family=Passion+One&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,700&family=Press+Start+2P&family=Prosto+One&family=Righteous&family=Roboto&family=Russo+One&family=Source+Code+Pro:wght@500;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0c1022;
    color: #fff;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(15, 1, 1, 0);
/* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
}


.logo {
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    pointer-events: none;
}

.navbar a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
}
.navbar a.active,
.navbar a:hover {
    background: linear-gradient(45deg, #f06 , #3cf);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf); */
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.fa-bars {
    display: none;
    font-size: 30px;
}
.sidenav {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 20px;
    top: 0;
    left: 0;
    /* background: #0c1022; */
    background: rgba(15, 1, 1, 0.712);
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    height: 100%;
    width: 100vw;
    z-index: 1000;
    transform: translateX(-100%);
    transition:  .5s ease;
}
.sideactive {
    transform: translateX(0);
}

.sidenav  a, .sidenav  a:active , .sidenav  a:focus {
    color: white;
    text-decoration: none;
    font-size: 23px;
}

.fa-xmark {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: grey;
}
.home {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 12% 0;
}

.home-content {
    max-width: 500px;
    margin-left: -30px;
}

.home-content h1 {
font-size: 56px;
font-weight: 700;
line-height: 1.2;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
}

.home-content p {
    font-size: 16px;
    margin: 20px 0 40px;
}
#resume {
    padding: 100px 0;
}
.btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 48px;
    border-radius: 40px;
    font-size: 19px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    display: flex;
    margin: 0 auto;
   
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06 , #3cf, #f06);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf, rgb(0, 234, 129)); */
    z-index: -1;
    border-radius: 40px;
    background-size: 200%;
    filter: blur(5px);
    transition: .5s ease;
}
.btn:hover::before {
    background-position: 100% 0;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06 , #3cf, #f06);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf, rgb(0, 234, 129)); */
    background-position: 0 0;
    background-size: 200%;
    z-index: -1;
    border-radius: 40px;
    transition: .5s ease;
}

.btn:hover::after {
    background-position: 100% 0;
}

.home-sci {
    display: flex;
}

.home-sci a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #f06, #3cf);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf); */
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    z-index: 1;
}

.home-sci a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f06, #3cf);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf); */
    border-radius: 50%;
    z-index: -1;
    transition:  .5s ease;
}

.home-sci a:hover::before {
    filter: blur(5px);
}

.home-sci a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0c1022;
    border-radius: 50%;
    transform: scale(.88);
    z-index: -1;
    transition:  .5s ease;
}

.home-sci a:hover::after {
    transform: scale(0);
}

.home-img {
    width: 410px;
    height: 410px;
}

.home-img .glowing-circle {
position: relative;
width: 100%;
height: 100%;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}

.home-img .glowing-circle::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    background: #0c1022;
    border-radius: 50%;
} 

.glowing-circle span {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(#f06, #3cf);
    /* background: linear-gradient(rgb(0, 234, 129), #3cf); */
    border-radius: 50%;
}
.glowing-circle span:nth-child(1){
    filter: blur(10px);
}

.glowing-circle .image {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    z-index: 1;
    overflow: hidden;
}



.image img {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 330px;
    object-fit: cover;
}
.services-section{

    padding: 100px 0 ;
    /* width: 100vw; */
}

.services-section h2 {
    text-align: center;
    margin-bottom: 50px;
 background: linear-gradient(45deg, #f06 , #3cf);
 /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf); */
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-size: 32px;
}
.services {
    display: flex;
    /* border: 1px solid white; */
    justify-content: center;
    column-gap: 20px;
    row-gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}
.service--card {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 5px;
    background: #161929;
    padding: 0 .5%;
}


.service--card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06 , #3cf, #f06);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf, rgb(0, 234, 129)); */
    z-index: -1;
    border-radius: 5px;
    background-size: 200%;
    filter: blur(5px);
    transition: .5s ease;
}

.service--card--title {
    /* border: 1px solid violet; */
    /* background: rgb(68, 17, 68); */
    text-align: center;
    padding: 10px 0;
    border-radius: 5px 5px 0 0;
}

.service--card  hr {
    background: linear-gradient(45deg, #f06 , #3cf);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf); */
    height: 1px;
    border: none;
    filter: blur(1px);
}

.service--card ul {
    text-align: center;
    margin-top: 20px;
    line-height: 2;
}

.service--card ul li {
    list-style: none;
}

/* projects section */
.projects-section {
    padding: 100px 0;
/* background: blue; */
background: #0e1327;
/* width: 100vw; */
}
.projects-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    background: linear-gradient(45deg, #f06 , #3cf);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf); */
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.projects {
    display: grid;
     row-gap: 100px; 
    grid-template-columns: 1fr 1fr ;
    width: fit-content;
    margin: 0 auto;
    column-gap: 50px;
    /* background: red; */
    /* padding: 0 10%; */
}

.project-card {
    position: relative;
    /* border-bottom: 1px solid white; */
    /* width: 500px; */
    width: 500px;
    /* height: 350px; */
    height: fit-content;
    margin: 10px auto;
    border-radius: 16px;
    z-index:1;
    /* display: flex; */
    /* background: #0c1022; */
    z-index: 1;
}
/* .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06 , #3cf, #f06);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf, rgb(0, 234, 129)); */
    /* z-index: -1;
    border-radius: 16px;
    background-size: 200%;
    filter: blur(5px);
    transition: .5s ease;
} */ 
/* .project-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06 , #3cf, #f06);
    background: linear-gradient(45deg,rgb(0, 234, 129), #3cf, rgb(0, 234, 129));/////
    z-index: -1;
    border-radius: 16px;
    background-size: 200%;
    filter: blur(5px);
    transition: .5s ease;
    transform: scale(1.02);
} */



.project-image {
    /* position: absolute; */
    position: relative;
    /* border-radius: 16px ; */
    left: 0;
    top: 0;
    width: 100%;
    /* height: 60%; */
    /* margin: 0 auto; */
    /* border-radius: 16px 0 0 16px; */
    border-radius: 10px;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06 , #3cf, #f06);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf, rgb(0, 234, 129)); */
    z-index: -1;
    /* border-radius: 16px; */
    border-radius: 10px;
    background-size: 200%;
    filter: blur(5px);
    transition: .5s ease;
}

.project-image:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06 , #3cf, #f06);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf, rgb(0, 234, 129)); */
    z-index: -1;
    /* border-radius: 16px; */
    border-radius: 10px;
    background-size: 200%;
    filter: blur(5px);
    transition: .5s ease;
    transform: scale(1.02);
}


.project-image img {
 /* position: absolute; */
 left: 0;
 top: 0;
 width: 100%;
 height: 100%;
    object-fit: cover;
    /* border-radius: 16px 16px 0 0; */
    /* border-radius: 16px ; */
    border-radius: 10px;
}

.project-info {
    display: flex;
    flex-direction: column;
    /* position: absolute; */
    position: relative;
    /* bottom: 0; */
    /* top: 100%; */
    /* background: #0c1022; */
    /* background: white; */
    border-radius: 0 0 16px 16px;
    padding: 0 1%;
    width: 100%;
    /* height: 100%; */
    /* height: 50%; */
    /* overflow-y: auto; */
}

.project-info h3 {
    /* text-decoration: underline; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin: 10px 0; */
    padding: 10px 0;
}

.project-info p {
    margin: 10px 0;
}

.project-info a {
    /* display: flex; */
    /* position: absolute; */
    /* position: absolute; */
    /* right: 10px; */
    bottom: 0;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    text-align: right;
    /* background: green; */
    /* width: 100%; */
    /* margin-left: 70%; */
}



.project-info a.site-link,
.project-info a:hover {
    background: linear-gradient(45deg, #f06 , #3cf);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf); */
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}


.project-info hr {
    background: linear-gradient(45deg, #f06 , #3cf);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf); */
    height: 1px;
    border: none;
    filter: blur(1px);
}

footer {
    /* background: #0e1327; */
    margin-top: 100px;
    padding: 10px 0;
}

.contact-section {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    /* background: green; */
    width: fit-content;
    margin: 0 auto;
}

.contact-section h2 {
margin-bottom: 50px;
 background: linear-gradient(45deg, #f06 , #3cf);
 /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf); */
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-size: 32px;
}

.contact-section form {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    z-index: 1;
/* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.355); */

}

.contact-section form > section {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.input-section {
    position: relative;
    width: 50%;
    margin: 20px auto;
    border-radius: 16px;
}
.input-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06 , #3cf, #f06);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf, rgb(0, 234, 129)); */
    z-index: -1;
    border-radius: 16px;
    background-size: 200%;
    filter: blur(5px);
    transition: .5s ease;
}


.contact-section form > section input {
    position: relative;
    width: 100%;
    padding: 10px 5%;
    border-radius: 16px;
    background: #0c1022;
    /* background: #0e1327; */
    color: #fff;
    font-size: 20px;
    border: none;
}

.contact-section form > section input:focus{
    outline: none;
}
.contact-section form > section input::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06 , #3cf, #f06);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf, rgb(0, 234, 129)); */
    z-index: -1;
    border-radius: 16px;
    background-size: 200%;
    filter: blur(5px);
    transition: .5s ease;
}

.contact-section form input::placeholder {
    color: #fff;
    font-size: 20px;
}

.contact-section .txtarea-section {
    position: relative;
    border-radius: 16px;
}

.contact-section .txtarea-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06 , #3cf, #f06);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf, rgb(0, 234, 129)); */
    z-index: -1;
    border-radius: 16px;
    background-size: 200%;
    filter: blur(5px);
    transition: .5s ease;
}



.contact-section textarea {
    position: relative;
    width: 1000px;
    height: 350px;
    border-radius: 16px;
    background: #0c1022;
    /* background: #0e1327; */
    color: #fff;
    padding: 10px 5%;
    font-size: 20px;
    border: none;
}
.contact-section textarea:focus {
    outline: none;
}


.contact-section textarea::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06 , #3cf, #f06);
    /* background: linear-gradient(45deg,rgb(0, 234, 129), #3cf, rgb(0, 234, 129)); */
    z-index: -1;
    border-radius: 16px;
    background-size: 200%;
    filter: blur(5px);
    transition: .5s ease;
}

.contact-section form button {
    margin: 15px auto;
}


@media all and (max-width: 1050px) {
    .home {
        flex-direction: column;
        align-items: flex-start;
        height: fit-content;
    }
    .home-img {
        justify-self: center;
        margin: 0 auto;
    }
    .projects-section {
        margin-top: 50px;
    }
    .projects {
        grid-template-columns: 1fr;
    }
    .contact-section textarea {
        width: 100% ;
    }
    .contact-section{
        min-width: 90vw;
    }
    .contact-section form > section {
        flex-direction: column;
    }
    .input-section {
        width: 100%;
    }
    .contact-section form > section input {
        width: 100%;
    }
}

@media all and (max-width: 800px) {
    .fa-bars{
        display: block;
    }
    .navbar {
        display: none;
    }
 
}

@media all and (max-width: 650px) {
    
    .project-card  {
        width: 96vw;
    }
    .home-img {
        margin-top: 5px;
        width: 300px;
        height: 300px;
    }

    .home-img .glowing-circle {
        position: relative;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        }
        
        .home-img .glowing-circle::after {
            content: '';
            position: absolute;
            width: 280px;
            height: 280px;
            background: #0c1022;
            border-radius: 50%;
        }

        .glowing-circle .image {
            position: relative;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            z-index: 1;
            overflow: hidden;
        }

        .image img {
            position: absolute;
            /* top: 30px; */
            left: 50%;
            transform: translateX(-50%);
            max-width: 250px;
            object-fit: cover;
        }
}

@media all and (max-width:450px) {
    .home-content h1{
        font-size: 2.3rem;
        margin-top: 20px;
    }
    .home-content h3  {
        font-size:1.6rem ;
    }
}