*{
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 text-decoration: none;
 scroll-behavior: smooth;
}
:root{
    --bg-color: black;
    --second-bg-color: #121111;
    --text-color: white;
    --main-color: goldenrod;
    --gradient: linear-gradient(270deg, #ff893b 10%, #ffcc00 90%);
}
html{
    font-size: 50%;
    overflow-x: hidden;
}
body{
    background-image: url("Spics/1785569250727.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-color);
    font-family: 'Exo 2', sans-serif; 
}
.header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 15%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-family: 'Arial black';
}
#menu-icon{
    font-size: 35px;
    cursor: pointer;
    color: orange;
    display: none;
}
#menu-icon:hover{
    transform: scale(1.1);
    text-shadow: 0 0 30px orange;
}
.logo{
    font-size: 25px;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.logo:hover{
    transform: scale(1.1);
    text-shadow: 0 0 30px var(--main-color);
}
span{
    background: var(--gradient);
    background-clip: text;
    color: transparent;
}
.navbar a{
    font-size: 16px;
    color: var(--text-color);
    margin-left: 40px;
    font-weight: 500;
    transition: 0.3s ease-in-out;
    border-bottom: 3px solid transparent;
}
.navbar a:hover{
    color: orange;
    border-bottom: 3px solid orange;
}
.gradient-btn{
    font-size: 17px;
    padding: 5px 15px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    color: var(--text-color);
    border: none;
}   
.gradient-btn:hover{
    transform: scale(1.05);
    background: var(--text-color);
    box-shadow: 0 0 15px var(--main-color);
    color: var(--main-color);
}
section{
    min-height: 100vh;
    padding: 100px 15%;
}
.home{  
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.home-content{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.home-content h1{
    font-size: 65px;
    font-weight: 700;
    margin-top: 15px;
    line-height: 1;
}
.home-content h3{
    margin: 9px 0;
    font-size: 36px;
}
.home-content p{
    font-size: 20px;
    font-weight: 500;
    line-height: 1.8;
}
.heading{
    text-align: center;
    font-size: 62px;
    margin: 50px;
}
.about{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    background-image: url(Spics/IMG_20260728_222301.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}
.about-content h2{
    font-size: 65px;
    text-align: left;
}
.about-content p{
    font-size: 16px;
    text-align: justify;
    line-height: 1.8;
}
.hobbies{
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    margin-left: 50px;
}
.hobby-box{
    width: 200px;
    background: var(--second-bg-color);
    color: var(--main-color);
    padding: 20px;
    border-radius: 30px;
    text-align: center;
    transition: 0.3s ease;
}
.hobby-box:hover{
    transform: translateY(-10px);
    background: var(--main-color);
    color: var(--second-bg-color);
}
.hobby-box i{
    font-size: 42px;
}
.hobby-box h3{
    font-size: 17px;
    margin-bottom: 10px;
}
.hobby-box p{
    font-size: 13px;
}

::-webkit-scrollbar{
    width: 20px;
}

::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
}

::-webkit-scrollbar-track{
    background-color: var(--bg-color);
}

.projects{
    background-color: var(--bg-color);
}
.projects h2{
    margin-top: 1%;
    color: var(--text-color);
}
.project-box{
    display: flex;
    background-color: orange;
    height: 450px;
    border-radius: 30px;
    cursor: pointer;
    border: 5px solid transparent;
    transition: 0.4s ease-in-out;
    color: var(--bg-color);
}
.project-box:hover{
    background-color: var(--bg-color);
    color: orange;
    border: 5px solid var(--main-color);
    transform: scale(1.03);
}
.project-box i{
    font-size: 150px;
}
.project-box h3{
    font-size: 42px;
    margin: 20px 0;
    font-weight: 800;
}
.project-box p{
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
}
.project-info{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.contact{
    background-color: var(--second-bg-color);
    display: flex;
    justify-content: center;
    gap: 10%;
    align-items: center;
    position: relative;
}
.contact h1{
    position: absolute; 
    top: 10%;
    font-size: 50px;
}
.social-box{
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.social-box p{
    color: var(--text-color);
    font-size: 15px;
    white-space: nowrap;
}
.social-box i{  
    color: var(--text-color);
    font-size: 25px;
    margin: 10px;   
}
.social-icons i{
    font-size: 20px;
    padding: 10px;
    background: transparent;
    border: 2px solid var(--text-color);    
    border-radius: 50%;
    color: var(--text-color);
    margin-top: 20px;
    transition: 0.3s ease-in-out;
}
.social-icons i:hover{
    color: var(--main-color);
    background-color: var(--text-color);
    transform: scale(1.2)translateY(-5px);
    box-shadow: 0 0 50px var(--main-color);
}
.contact-box p{
    font-size: 15px;
    margin-top: 30px;
    margin-bottom: 5px;
}
.contact-box input{
    padding: 7.5px 30px;
    background-color: lightgray;
    width: 100%;
    border: none;
    outline: none;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.contact-box button{
    font-size: 12px;
    padding: 8px 15px;
    border-radius: 30px;
    background: var(--gradient);
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    color: var(--text-color);
    border: none;
    margin-top: 15px;
}
.contact-box button:hover{
    transform: scale(1.05);
    background: var(--text-color);
    box-shadow: 0 0 15px var(--main-color);
    color: var(--main-color);
}

.autoblur{
    animation: autoBlurAnimation linear both;
    animation-timeline: view();
}

@keyframes autoBlurAnimation{
    0%{
        filter: blur(20px);
    }
    35%, 65%{
        filter: blur(0);
        opacity: 1;
    }
    100%{
        filter: blur(20px);
        opacity: 0;
    }
}


@media(max-width:1350px){
    #menu-icon{
        position: relative;
        z-index: 1002;
        display: block;
        order: 2;
    }
    .navbar{
        position: absolute;
        display: none;
        top: 100%;
        z-index: 1000;
        right: 0;
        width: 50%;
        padding: 10px 30px;
        background: rgba(0, 0, 0, 0.8);
        border-bottom-left-radius: 20px;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
    }
    .navbar a{
        display: block;
        font-size: 15px;
        margin: 25px 0;
        color: var(--text-color);
    }
    .navbar.active{
        display: block;
    }
    .home{
        margin-top: 50px;
        gap: 50px;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .home-content{
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .about{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 5%;
        gap: 30px;
    }
    .about-content{
        text-align: center;
        max-width: 100%;
        margin-left: 0;
        margin-top: 80px;
    }
    .about-content h2{
        text-align: center;
        font-size: 40px;
    }
    .about-content p{
        text-align: justify;
        font-size: 16px;
    }
    .hobbies{
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        margin-left: 0;
    }
    .hobby-box{
        width: 90%;
        max-width: 350px;
    }
    .contact{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        padding: 120px 5% 50px;
    }
    .contact .contact-title{
        position: static;
        margin-bottom: 20px;
        text-align: center;
        font-size: 40px;
    }
    .social-icons{
        display: flex;
        justify-content: center;
        gap: 20px;
    }
}