/* ===========================
   GOOGLE FONT
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background-color: #050505, pink;
    color:#111;
    overflow-x:hidden;
}

/* Scrollbar */



/* ===========================
   BACKGROUND
=========================== */

.background{
    position:fixed;
    width:100%;
    height:100%;
    overflow:hidden;
    z-index:-2;
}

.circle{
    position:absolute;
    border-radius:50%;
    filter:blur(35px);
    animation:float 10s ease-in-out infinite;
}

.circle1{
    width:380px;
    height:380px;
    left:-120px;
    top:100px;
    background:pink;
    opacity:.45;
}

.circle2{
    width:320px;
    height:320px;
    right:-100px;
    top:80px;
    background:black;
opacity:.35;
}

.circle3{
    width:260px;
    height:260px;
    left:0;
    bottom:-100px;
    background:#fe05b4;
    opacity:.50;
}

.circle4{
    width:250px;
    height:350px;
    right:-100;
    bottom:-120px;
    background:#000000;
    opacity:.30;
}

@keyframes float{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-40px);
}

100%{
transform:translateY(0px);
}

}

/* ===========================
   CURSOR
=========================== */

.cursor{
    width:25px;
    height:25px;
    position:fixed;
    border-radius:50%;
    background:#f411b8;
    pointer-events:none;
    filter:blur(8px);
    z-index:999;
}

/* ===========================
   HEADER
=========================== */

header{
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    backdrop-filter:blur(18px);
    background:rgba(245, 8, 174, 0.909);
    border-bottom:1px solid rgba(6, 0, 0, 0.998);
}

nav{
    width:90%;
    max-width:1300px;
    margin:auto;
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:30px;
    font-weight:700;
}

.logo span{
    color:pink;
}

nav ul{
    display:flex;
    gap:35px;
    list-style:none;
}

nav ul li a{
    text-decoration:none;
    color:#111;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#6a0b51;
}

.btn-nav{
    text-decoration:none;
    background:#000000;
    color:white;
    padding:12px 30px;
    border-radius:50px;
    transition:.4s;
}

.btn-nav:hover{
    background:black, pink;
    transform:translateY(-4px);
    box-shadow:0 0 25px pink;
}

/* ===========================
   HOME
=========================== */

#home{
    width:90%;
    max-width:1300px;
    min-height:100vh;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
}

.home-content{
    width:50%;
}

.home-content h4{
    font-size:25px;
    margin-bottom:10px;
}

.home-content h1{
    font-size:70px;
    color:#d819bb;
}

.home-content h2{
    margin:15px 0;
    font-size:35px;
    color:rgb(150, 40, 58);
}

.home-content p{
    font-size:18px;
    line-height:1.8;
    max-width:550px;
    
    
}

.buttons{
    display:flex;
    gap:20px;
    margin-top:35px;
}

.btn{
    background:#f111c8;
    color:rgb(0, 0, 0);
    text-decoration:none;
    padding:15px 35px;
    border-radius:50px;
    transition:.4s;
    font-weight:600;
}

.btn:hover{
    transform:translateY(-5px);
    box-shadow:0 0 30px #e0269c;
}

.btn2{
    border:2px solid #e118d4;
    color:#000000;
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;
    transition:.4s;
}

.btn2:hover{
    background:#f82bed;
    color:white;
}

.socials{
    margin-top:35px;
    display:flex;
    gap:20px;
}

.socials a{
    width:50px;
    height:50px;
    border-radius:50%;
    background:white;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#001d3d;
    text-decoration:none;
    font-size:22px;
    transition:.4s;
}

.socials a:hover{
    background:#c21aa0;
    color:white;
    transform:translateY(-8px);
    box-shadow:0 0 25px #000000;
}

.home-image{
    width:45%;
    display:flex;
    justify-content:center;
}

.home-image img{
    width:420px;
    border-radius:30px;
    animation:float 5s ease-in-out infinite;
    box-shadow:0 20px 60px rgba(0,0,0,.2);
    justify-content: flex-end;
    
    
    
}

/*========================================
            SECTION TITLE
========================================*/

section{
    padding:100px 8%;
}

.title{
    text-align:center;
    font-size:45px;
    font-weight:700;
    color:#001d3d;
    margin-bottom:60px;
    position:relative;
}

.title::after{
    content:'';
    width:90px;
    height:4px;
    background:#970b78;
    position:absolute;
    bottom:-15px;
    left:50%;
    transform:translateX(-50%);
    border-radius:20px;
}

/*========================================
              ABOUT
========================================*/

.about-container{
    max-width:1200px;
    margin:auto;
}

.about-card{
    background:rgba(0, 0, 0, 0.25);
    backdrop-filter:blur(20px);
    border:1px solid rgba(214, 29, 152, 0.35);
    border-radius:30px;
    padding:40px;
    margin-bottom:40px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
    transition:.4s;
}

.about-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(236, 24, 200, 0.25);
}

.about-card h3{
    font-size:30px;
    color:#001d3d;
    margin-bottom:20px;
}

.about-card p{
    font-size:18px;
    line-height:1.8;
    color:#444;
}

.info-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;}

.box{
    background:rgba(0, 0, 0, 0.28);
    backdrop-filter:blur(18px);
    border-radius:25px;
    padding:30px;
    transition:.4s;
    text-align:center;
    border:1px solid rgba(248, 21, 217, 0.4);
}

.box:hover{
    transform:translateY(-10px);
    box-shadow:0 0 35px rgba(0,191,255,.35);
}

.box h4{
    color:#f827c4;
    margin-bottom:15px;
    font-size:22px;
}

.box p{
    color:#444;
    line-height:1.6;
}

/*========================================
              SKILLS
========================================*/

.skills{
    max-width:900px;
    margin:auto;
}

.skill{
    margin-bottom:35px;
}

.skill h3{
    margin-bottom:12px;
    color:#001d3d;
}

.bar{
    width:100%;
    height:14px;
    background:#e5e5e5;
    border-radius:30px;
    overflow:hidden;
}

.bar span{
    display:block;
    height:100%;
    border-radius:30px;
    background:linear-gradient(90deg,#00bfff,#001d3d);
    box-shadow:0 0 15px #00bfff;
    animation:growBar 2s ease;
}

@keyframes growBar{

0%{
width:0;
}

}

/*========================================
              PROJECTS
========================================*/

.project-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.project-card{
    background:rgba(255,255,255,.28);
    backdrop-filter:blur(20px);
    border-radius:25px;
    overflow:hidden;
    transition:.45s;
    border:1px solid rgba(255,255,255,.4);
}

.project-card:hover{
    transform:translateY(-15px);
    box-shadow:0 20px 60px rgba(0,191,255,.30);
}

.project-card img{
    width:100%;
    height:230px;
    object-fit:cover;
    transition:.5s;
}

.project-card:hover img{
    transform:scale(1.08);
}

.project-card h3{
    padding:20px 20px 10px;
    color:#001d3d;
}

.project-card p{
    padding:0 20px 25px;
    color:#555;
    line-height:1.7;
}

/*========================================
              CONTACT
========================================*/

form{
    max-width:750px;
    margin:auto;
    background:rgba(255,255,255,.28);
    backdrop-filter:blur(20px);
    padding:45px;
    border-radius:30px;
    border:1px solid rgba(255,255,255,.35);
}

form input,
form textarea{
    width:100%;
    margin-bottom:20px;
    padding:18px;
    border:none;
    outline:none;
    border-radius:15px;
    background:#ffffff;
    font-family:'Poppins',sans-serif;
    font-size:16px;
}

form textarea{
    resize:none;
    height:180px;
}

form button{
    border:none;
    cursor:pointer;
    width:100%;
    font-size:18px;
}

/*========================================
              FOOTER
========================================*/

footer{
    text-align:center;
    padding:35px;
    background:#001d3d;
}

footer p{
    color:white;
    letter-spacing:1px;
}

/*========================================
            SCROLL ANIMATION
========================================*/

.reveal{
    opacity:0;
    transform:translateY(80px);
    transition:all 1s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/*========================================
           RESPONSIVE
========================================*/

@media(max-width:1100px){

#home{
    flex-direction:column;
    text-align:center;
    padding-top:130px;
}

.home-content{
    width:100%;
}

.home-image{
    width:100%;
}

.home-image img{
    width:330px;
}

.buttons{
    justify-content:center;
}

.socials{
    justify-content:center;
}

.project-grid{
    grid-template-columns:repeat(2,1fr);
}

.info-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

nav{
    flex-direction:column;
    height:auto;
    padding:20px 0;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
    margin:20px 0;
}

.home-content h1{
    font-size:48px;
}

.home-content h2{
    font-size:28px;
}

.title{
    font-size:35px;
}

.project-grid{
    grid-template-columns:1fr;
}

.info-grid{
    grid-template-columns:1fr;
}

.home-image img{
    width:280px;
}

form{
    padding:30px;
}

}

@media(max-width:480px){

.home-content h1{
    font-size:40px;
}

.home-content p{
    font-size:16px;
}

.btn,
.btn2{
    padding:14px 25px;
    font-size:15px;
}


}

.social{
    margin:30px 0;
}

.social a{
    display:inline-flex;
    width:60px;
    height:60px;
    justify-content:center;
    align-items:center;
    margin:10px;
    border-radius:50%;
    text-decoration:none;
    color:#00eaff;
    border:2px solid #00eaff;
    font-size:26px;
    transition:.3s;
}

.social a:hover{
    background:#00eaff;
    color:black;
    box-shadow:0 0 25px #00eaff;
}
