/* ===========================
   GLOBAL RESPONSIVE SETTINGS
=========================== */

html{
    scroll-behavior:smooth;
}

img{
    max-width:100%;
    height:auto;
}

body{
    overflow-x:hidden;
}

*{
    box-sizing:border-box;
}





/* ===========================
   NAVBAR
=========================== */

.nav{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(12px);

    z-index:1000;

    box-shadow:0 4px 20px rgba(0,0,0,.08);

}

.logo img{

    width:55px;

}

.nav ul{

    display:flex;

    gap:35px;

    list-style:none;

    align-items:center;

}

.nav a{

    text-decoration:none;

    color:#222;

    font-weight:600;

    transition:.3s;

}

.nav a:hover{

    color:#4f46e5;

}

.capsule{

    background:#4f46e5;

    color:white !important;

    padding:12px 25px;

    border-radius:999px;

}

.capsule:hover{

    background:#3730a3;

}

/* ===========================
   HERO
=========================== */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:120px 8% 70px;

    gap:60px;

    background:url("assets/hero.png") center/cover no-repeat;

}

.hero-text{

    flex:1;

}

.typing-text{

    font-size:26px;

    color:#4f46e5;

    margin-bottom:10px;

}

.nameis{

    font-size:30px;

    color:#555;

}

.hero h1{

    font-size:clamp(2.8rem,6vw,4.8rem);

    margin:18px 0;

    line-height:1.1;

}

.hero p{

    font-size:18px;

    color:#555;

    line-height:1.8;

    max-width:600px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    margin:35px 0;

}

.btn-primary{

    background:#4f46e5;

    color:white;

    padding:14px 28px;

    border-radius:999px;

}

.btn-primary:hover{

    background:#3730a3;

}

.btn-secondary{

    border:2px solid #4f46e5;

    color:#4f46e5;

    padding:14px 28px;

    border-radius:999px;

}

.btn-secondary:hover{

    background:#4f46e5;

    color:white;

}

.social-links{

    display:flex;

    gap:18px;

}

.social-links a{

    width:52px;

    height:52px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:white;

    border-radius:50%;

    box-shadow:0 5px 18px rgba(0,0,0,.1);

    transition:.3s;

}

.social-links a:hover{

    transform:translateY(-5px);

}

.social-links img{

    width:28px;

    height:28px;

}

.hero-image{

    flex:1;

    display:flex;

    justify-content:center;

}

.character{

    width:min(450px,100%);

    animation:float 3s ease-in-out infinite;

    filter:drop-shadow(0 15px 25px rgba(255,215,0,.5));

}

@keyframes float{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-18px);

    }

}

/* ===========================
   TYPING TEXT
=========================== */

.typing-text span::before{

    content:"Developer";

    color:#ef4444;

    animation:words 15s infinite;

}

.typing-text span::after{

    content:"";

    border-left:3px solid #ef4444;

    margin-left:5px;

    animation:blink .7s infinite;

}

@keyframes blink{

    50%{

        opacity:0;

    }

}

@keyframes words{

    0%,20%{content:"Developer";}

    21%,40%{content:"Designer";}

    41%,60%{content:"Student";}

    61%,80%{content:"Freelancer";}

    81%,100%{content:"Roblox Dev";}

}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width:900px){

.hero{

    flex-direction:column-reverse;

    text-align:center;

}

.hero p{

    margin:auto;

}

.hero-buttons{

    justify-content:center;

}

.social-links{

    justify-content:center;

}

.character{

    width:300px;

}

.nav{

    flex-direction:column;

    gap:20px;

}

.nav ul{

    flex-wrap:wrap;

    justify-content:center;

}

}

/* ===========================
   HAMBURGER MENU
=========================== */

.hamburger{
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:6px;
    cursor:pointer;
    width:40px;
    height:40px;
    z-index:1100;
}

.hamburger span{
    width:28px;
    height:3px;
    background:#222;
    border-radius:3px;
    transition:all .35s ease;
}

/* Hamburger Animation */

.hamburger.active span:nth-child(1){
    transform:translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:translateY(-9px) rotate(-45deg);
}

/* ===========================
   MOBILE NAVIGATION
=========================== */

@media (max-width:768px){

    .nav{
        padding:18px 25px;
        position:fixed;
    }

    .hamburger{
        display:flex;
    }

    .nav-links{

        position:absolute;

        top:100%;

        left:0;

        width:100%;

        background:#ffffff;

        display:flex;

        flex-direction:column;

        align-items:center;

        gap:30px;

        padding:35px 0;

        box-shadow:0 10px 25px rgba(0,0,0,.08);

        transform:translateY(-120%);

        opacity:0;

        visibility:hidden;

        transition:.35s ease;

    }

    .nav-links.active{

        transform:translateY(0);

        opacity:1;

        visibility:visible;

    }

    .nav-links li{
        width:100%;
        text-align:center;
    }

    .nav-links a{
        display:block;
        width:100%;
        padding:12px 0;
        font-size:18px;
    }

    .capsule{
        display:inline-block;
        width:auto;
        padding:12px 30px;
    }

}

/* ===========================
   SMALL MOBILE
=========================== */

@media (max-width:480px){

    .nav{
        padding:15px 18px;
    }

    .logo img{
        width:45px;
    }

    .nav-links{
        gap:24px;
    }

    .nav-links a{
        font-size:17px;
    }

}



@media (max-width:600px){

.hero{

    padding:140px 20px 60px;

}

.hero h1{

    font-size:2.3rem;

}

.hero-buttons{

    flex-direction:column;

}

.character{

    width:220px;

}

}


/* ===========================
   LARGE TABLETS
=========================== */

@media (max-width:1200px){

.nav{
    padding:20px 40px;
}

.hero h1{
    width:500px;
    font-size:48px;
}

.character{
    left:auto;
    right:50px;
}

.audio-player{
    left:auto;
    margin:30px auto;
}

.skill,
.about,
#projects,
#ending .credits{
    height:auto;
    min-height:100vh;
}

}

/* ===========================
   TABLETS
=========================== */

@media (max-width:992px){

.nav{
    flex-direction:column;
    align-items:center;
    gap:20px;
    position:relative;
    padding:20px;
}

.nav ul{
    margin:0;
    gap:25px;
    flex-wrap:wrap;
    justify-content:center;
}

.hero{
    height:auto;
    padding:120px 20px 60px;
}

.hero .typing-text,

.hero .name-is,
.hero h1,
.hero p{
    position:static;
    width:100%;
    text-align:center;
}

.hero h1{
    font-size:42px;
    margin:20px auto;
}

.hero p{
    font-size:20px;
    max-width:700px;
    margin:auto;
}

.character{
    position:static;
    display:block;
    margin:40px auto;
    width:300px;
}

.skill h2,
.credits h2{
    position:static;
    margin:50px auto;
}

.design,
.development{
    text-align:center;
    padding:30px;
}

.design img,
.development img,
.design h3,
.design p,
.development h3,
.development p,
.figma{
    position:static;
    margin:15px auto;
}

.design p,
.development p{
    width:100%;
    max-width:500px;
}

.about{
    height:auto;
}

.about-container{
    flex-direction:column;
    text-align:center;
}

.contact{
    margin-top:0;
}

.footer-container{
    flex-direction:column;
    text-align:center;
}

.footer-about p{
    max-width:100%;
}

}

/* ===========================
   MOBILE
=========================== */

@media (max-width:768px){

.nav li{
    font-size:18px;
}

.capsule{
    padding:10px 18px;
}

.hero{
    padding:80px 20px;
}

.hero .typing-text{
    font-size:26px;
}

.hero .name-is {
    font-size:28px;
}

.hero h1{
    font-size:34px;
}

.hero p{
    font-size:17px;
}

.character{
    width:220px;
}

.skill{
    padding:60px 20px;
}

.skill h2{
    font-size:34px;
}

.about{
    padding:70px 20px;
}

.about-image img{
    width:170px;
    height:170px;
}

.about-content h2{
    font-size:32px;
}

.about-content p{
    font-size:18px;
}

.about-tag{
    font-size:18px;
}

.team-grid{
    grid-template-columns:1fr;
}

.contact h2{
    position:static;
    font-size:36px;
}

.contact p{
    font-size:18px;
}

.contact-form input,
.contact-form textarea{
    font-size:16px;
}

.audio-player{
    width:100%;
    max-width:320px;
    left:auto;
}

}

/* ===========================
   SMALL PHONES
=========================== */

@media (max-width:480px){

.nav{
    padding:15px;
}

.nav ul{
    gap:15px;
}

.hero{
    padding:60px 15px;
}

.hero .typing-text{
    font-size:20px;
}

.hero .nameis{
    font-size:22px;
}

.hero h1{
    font-size:28px;
}

.hero p{
    font-size:15px;
}

.character{
    width:180px;
}

.skill h2,
.credits h2{
    font-size:28px;
}

.about-content h2{
    font-size:28px;
}

.about-content p{
    font-size:16px;
}

.contact h2{
    font-size:30px;
}

.contact p{
    font-size:16px;
}

.footer{
    padding:30px 15px;
}

.footer-about h3{
    font-size:22px;
}

.footer-bottom{
    font-size:13px;
}

}

/* ==========================================
   SKILLS
========================================== */

.skill{

    background:#f8fafc;
    padding:100px 8%;

}

.skill h2{

    text-align:center;
    font-size:clamp(2rem,5vw,3rem);
    margin-bottom:70px;
    color:var(--primary);

}

.skill > div{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;

}

.design,
.development{

    background:#fff;

    border-radius:20px;

    padding:45px 35px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.design:hover,
.development:hover{

    transform:translateY(-10px);

}

.pensil{

    width:90px;
    height:90px;

    margin:0 auto 20px;

    border-radius:50%;

    object-fit:cover;

}

.figma{

    width:42px;
    margin:10px auto 20px;

}

.design h3,
.development h3{

    font-size:28px;
    margin-bottom:15px;

}

.design p,
.development p{

    color:#666;
    line-height:1.8;
    font-size:17px;

}

/* ==========================================
   ABOUT
========================================== */

.about{

    background:var(--cream);
    padding:100px 8%;

}

.about-container{

    max-width:1200px;

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:70px;

    flex-wrap:wrap;

}

.about-image{

    flex:1;
    display:flex;
    justify-content:center;

}

.about-image img{

    width:320px;
    height:320px;

    border-radius:50%;

    object-fit:cover;

    border:8px solid white;

    box-shadow:var(--shadow);

}

.about-content{

    flex:1;
    min-width:300px;

}

.about-tag{

    display:inline-block;

    margin-bottom:15px;

    color:var(--accent);

    font-weight:700;

    letter-spacing:3px;

}

.about-content h2{

    font-size:clamp(2.2rem,5vw,3.5rem);

    margin-bottom:25px;

}

.about-content p{

    font-size:18px;

    color:#666;

    line-height:1.9;

}

/* ==========================================
   PROJECTS
========================================== */

#projects{

    background:#ffffff;

    padding:100px 8%;

}

.project-title{

    text-align:center;

    font-size:clamp(2rem,5vw,3rem);

    margin-bottom:60px;

}

.team-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

}

.team-card{

    background:#fff;

    border-radius:20px;

    border:2px solid grey;

    overflow:hidden;

    padding:30px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.team-card:hover{

    transform:translateY(-12px);
    border-color: #00448d;

}

.team-card img{

    width:140px;

    height:140px;

    margin:auto;

    border-radius:50%;

    object-fit:cover;

    border:5px solid var(--accent);

    margin-bottom:20px;

}

.team-card h4{

    font-size:24px;

    margin-bottom:8px;

}

.role{

    color:var(--accent);

    font-weight:600;

    margin-bottom:15px;

}

.bio{

    color:#666;

    line-height:1.7;

    margin-bottom:20px;

}

.team-card a{
    display:inline-block;
    background:  rgb(171, 171, 255);
    color:#000000;
    padding:12px 24px;
    border-radius:999px;
    transition:var(--transition);
    -webkit-border-radius:999px;
    -moz-border-radius:999px;
    -ms-border-radius:999px;
    -o-border-radius:999px;
    text-decoration:none;
}
.team-card a:visited{

    color:#ecebec;

}
.team-card a:active{

    color:#00448d;

}


.team-card a:hover{

    background: rgb(0, 234, 255);

}

/* ==========================================
   GITHUB CALENDAR
========================================== */

.calendar{

    margin-top:70px;

    background:#fff;

    border-radius:20px;

    padding:30px;

    box-shadow:var(--shadow);

    overflow:auto;

}
.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}


/* ==========================================
   CONTACT
========================================== */

.contact{

    background:#0f172a;
    color:#fff;

    padding:100px 8%;

    text-align:center;

}

.contact h2{

    font-size:clamp(2rem,5vw,3rem);

    margin-bottom:15px;

}

.contact p{

    color:#cbd5e1;

    margin-bottom:40px;

    font-size:18px;

}

.contact-form{

    max-width:700px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:20px;

}

.contact-form input,
.contact-form textarea{

    width:100%;

    padding:18px;

    border:none;

    border-radius:14px;

    background:#1e293b;

    color:#fff;

    font-size:16px;

    outline:none;

    transition:.3s;

}

.contact-form textarea{

    min-height:180px;

    resize:vertical;

}

.contact-form input:focus,
.contact-form textarea:focus{

    box-shadow:0 0 0 3px rgba(99,102,241,.35);

}

.contact-form button{

    border:none;

    padding:18px;

    background:var(--accent);

    color:#fff;

    font-size:17px;

    font-weight:600;

    border-radius:14px;

    cursor:pointer;

    transition:.3s;

}

.contact-form button:hover{

    background:var(--accent-light);

    transform:translateY(-3px);

}

/* ==========================================
   ENDING
========================================== */

#ending{

    background:#111827;

    color:white;

    padding:80px 8%;

}

.credits{

    max-width:900px;

    margin:auto;

    text-align:center;

}

.credits h2{

    font-size:clamp(2rem,5vw,3rem);

    margin-bottom:20px;

}

.credits p{

    line-height:1.8;

    color:#d1d5db;

}

/* ==========================================
   AUDIO PLAYER
========================================== */

.audio-player{

    max-width:350px;

    margin:60px auto 0;

    background:#fff;

    padding:25px;

    border-radius:20px;

    box-shadow:var(--shadow);

}

.audio-player button{

    width:100%;

    margin-bottom:15px;

    border:none;

    padding:12px;

    border-radius:12px;

    background:var(--accent);

    color:white;

    cursor:pointer;

    transition:.3s;

}

.audio-player button:hover{

    background:var(--accent-light);

}

.audio-player input[type="range"]{

    width:100%;

}

/* ==========================================
   FOOTER
========================================== */

.footer{

    background:#0f172a;

    color:white;

    padding:70px 8% 25px;

}

.footer-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:50px;

}

.footer h3,
.footer h4{

    margin-bottom:18px;

}

.footer-about p{

    color:#cbd5e1;

    line-height:1.8;

}

.footer-links ul{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.footer-links a{

    color:#cbd5e1;

    transition:.3s;

}

.footer-links a:hover{

    color:white;

}

.footer-bottom{

    margin-top:50px;

    border-top:1px solid rgba(255,255,255,.15);

    padding-top:20px;

    text-align:center;

    color:#94a3b8;

    font-size:15px;

}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:992px){

.hero{

    flex-direction:column-reverse;

    text-align:center;

    padding-top:140px;

}

.hero-text{

    width:100%;

}

.social-links{

    justify-content:center;

}

.character{

    width:320px;

}

.about-container{

    flex-direction:column;

    text-align:center;

}

.about-content{

    max-width:100%;

}

}

@media (max-width:768px){

.nav{

    flex-direction:column;

    gap:18px;

}

.nav ul{

    flex-wrap:wrap;

    justify-content:center;

    gap:20px;

}

.hero{

    padding:130px 25px 70px;

}

.hero h1{

    font-size:2.6rem;

}

.hero p{

    font-size:16px;

}

.character{

    width:260px;

}

.skill,
.about,
#projects,
.contact,
#ending{

    padding:80px 25px;

}

.contact-form{

    width:100%;

}

.footer-container{

    text-align:center;

}

.footer-links ul{

    align-items:center;

}

}

@media (max-width:480px){

.hero h1{

    font-size:2rem;

}

.typing-text{

    font-size:20px;

}

.nameis{

    font-size:20px;

}

.character{

    width:200px;

}

.about-image img{

    width:220px;

    height:220px;

}

.team-card{

    padding:22px;

}

.team-card img{

    width:110px;

    height:110px;

}

.contact-form input,
.contact-form textarea{

    padding:14px;

}

.contact-form button{

    padding:14px;

}

}






.github{
    text-align:center;
    font-size:40px;
    margin-top:50px;
}

/* .streak:hover{
    width:100%;
    max-width:600px;
    height:auto;
    border-radius:20px;
} */