@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing:border-box;
    text-decoration: none;
    border:none;
    outline:none;
    scroll-behavior: smooth;
    font-family: "poppins",sans-serif;
}
:root{
    --bg-color:#080808;
    --second-bg-color:#131313;
    --text-color:white;
    --main-color:#ed0c0c;
}

html{
    font-size:62.5% ;
    overflow-x:hidden;
}
body{
    background: var(--bg-color);
    color: var(--text-color);

}


.header{
    position: fixed;
    top:0;
    Left:0;
    width:100%;
    padding: 1.5rem 9%;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index:100;
}


.logo{
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor:pointer;
    transition: 0.3s ease;
}
.logo:hover{
    transform:scale(1.1);
}
.logo span{
    text-shadow: 0 0 25px var(--main-color);
}
.navbar a{
    font-size: 1.8rem;
    color:var(--text-color);
    margin-left: 6rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom:3px solid transparent;
}
.navbar a:hover,
.navbar a.active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

#menu-icon{
    font-size:3.6rem;
    color:var(--main-color);
    display: none;
}

/* About me css */
.high-school{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12% 8%;
    gap:10em;
    background:var(--second-bg-color)
   
}

/* .about h1{
    font-size: 8rem;
    text-align: center;

} */
.school-video video{
    position: relative;
    width: 550px;
    box-shadow: 0 0 25px var(--main-color),
                0 0 20px var(--main-color);
    border-radius: 20px ;
    animation: floatImage 4s infinite;

}


.high-content h4{
    text-align: left;
    color: var(--text-color);
    font-size: 50px;
}
.high-content p{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}
.about h2 span{
    text-align: center;
    font-size: 30px;
    color: var(--main-color);
}
.skills{
    display: flex;  
    text-align: left;
    gap:10em;
}
.skills ul{
    line-height: 1.8;
    max-width: 1000px;
    font-size: 1.5rem;
    padding-top: 20px;
    padding-left: 20px;
    font-weight: 500;   
    display: flex;
    flex-direction: column;
    opacity: 0.8;
    align-items: baseline;
}
.high-content h4 span{
    /* display: flex;
    gap:0.5rem; */
    /* font-size: 1.8rem; */
    transition: 0.3s ease-in-out;
    color: var(--main-color);
}
.high-content h4:hover{
    transform: translateX(10px);
}


/* footer css */


.footer{
    position: relative;
    bottom:0;
    width:100%;
    padding:40px 0;
    background-color: var(--second-bg-color);
    margin: -15px;
}
.footer .social{
    text-align:center;
    padding-bottom:25px;
    color: var(--main-color);
}
.footer .social a{
    font-size: 25px;
    color:var(--main-color);
    border:2px solid var(--main-color);
    width:42px;
    height:42px;
    line-height: 42px;
    display:inline-block;
    text-align:center;
    border-radius:50%;
    margin:0 10px;
    transition: 0.3s ease-in-out;
}
.footer .social a:hover{
    transform: scale(1.2)translateY(-10px);
    background-color: var(--main-color);
    color:rgb(237, 233, 233);
    box-shadow: 0 0 25px var(--main-color);
}
.footer ul{
    margin-top: 0;
    padding:0;
    font-size: 18px;
    line-height:1.6;
    margin-bottom:0;
    text-align: center;
}
.footer ul li a{
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}
.footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
}
.footer ul li{
    display: inline-block;
    padding:0 15px;

}
.footer .copyright{
    margin-top:50px;
    text-align: center;
    font-size: 16px;
    color:white;
}






/* Mobile responsive */
/*BREAK POINT*/

@media (max-width:1200px){
    html{
        font-size: 55%;
    }
    .high-school {
        flex-direction: column;
        padding: 8% 4%;
        gap: 5em;
    }

    .school-video video {
        width: 100%;
    }

    .high-content h4 {
        font-size: 40px;
    }

    .high-content p {
        font-size: 1.7rem;
    }

    .skills {
        flex-direction: column;
        gap: 5em;
    }
}
@media (max-width:991px){
    .header{
        padding: 2rem 3%;
    }

    section{
        padding: 10rem 3%;
    }

    .services{
        padding:7rem;
    }

    .project{
        padding-bottom: 7rem;
    }

    .footer{
        padding: 2rem 3%;
    }
 
    .form button {
        padding: 10px 28px; /* Adjust button padding */
    }
    
}

@media(max-width: 768px){
    #menu-icon{
        display: block;
    }
    
    .navbar{
        position:absolute;
        top:100%;
        right:0;
        width:50%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        backdrop-filter: blur(10px);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display:none;
    }
    .navbar.active{
        display: block;
    }

    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    .home{
        flex-direction: column;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-content h3{
        font-size: 2.6rem;
    }
    .home-content{
        order:2;
    }

    .home-img img{
        width:90vw;
        margin-top:4rem;
    }

    .header {
        padding: 1rem 4%;
    }

    .logo {
        font-size: 2rem;
    }

    .navbar a {
        font-size: 1.4rem;
        margin-left: 2rem;
    }

    .high-school {
        padding: 10% 2%;
    }

    .high-content h4 {
        font-size: 30px;
    }

    .high-content p {
        font-size: 1.7rem;
    }

    .skills ul {
        font-size: 1.3rem;
    }
   
    }


    .footer .social a {
        margin: 0 5px;
        font-size: 20px;
        width: 36px;
        height: 36px;
        line-height: 36px;
    }

    .footer ul li {
        padding: 0 10px;
    }

    .footer ul {
        font-size: 16px;
    }
    .contact h2 {
        font-size: 32px;
    }
    .input-box {
        flex-direction: column;
    }
    .field .item {
        padding: 14px;
    }
    .field .error-txt {
        margin: 0;
    }
    .textarea-field .item {
        padding: 12px;
    }
    .form button {
        padding: 10px 26px;
    }


@media(max-width:617px){
    .services-container{
        grid-template-columns: 1fr;
    }
    .project-container{
        grid-template-columns: 1fr;
    }
    

    .timeline-content{
        grid-template-columns: 1fr;
    }

    .home-img img{
        width:80vw;
        margin-top: 8rem;
    }

    
     .button {
        padding: 10px 24px;
    }
    .footer .social a {
        margin: 0 5px;
        font-size: 18px;
        width: 32px;
        height: 32px;
        line-height: 32px;
    }

    .footer ul li {
        padding: 0 5px;
    }

    .footer ul {
        font-size: 14px;
    }

    .footer .copyright {
        font-size: 14px;
    }

 }
 @media(max-width:450px){
    html{
        font-size: 50%;
    }


 }

 /* Responsive styles */
@media (max-width: 768px) {
    .header {
        padding: 1rem 4%;
    }

    .logo {
        font-size: 2rem;
    }

    .navbar a {
        font-size: 1.4rem;
        margin-left: 2rem;
    }

    .high-school {
        padding: 10% 2%;
    }

    .high-content h4 {
        font-size: 30px;
    }

    .high-content p {
        font-size: 1.6rem;
    }

    .skills ul {
        font-size: 1.3rem;
    }
}


@media (max-width: 576px) {
    .header {
        padding: 1rem 2%;
    }

    .logo {
        font-size: 1.8rem;
    }

    .navbar a {
        font-size: 1.2rem;
        margin-left: 1rem;
    }

    .high-school {
        padding: 12% 1%;
    }

    .school-video video {
        width: 100%;
    }

    .high-content h4 {
        font-size: 25px;
    }

    .high-content p {
        font-size: 1.7rem;
    }

    .skills ul {
        font-size: 1.2rem;
    }
}


@media (max-width: 480px) {
    .header {
        padding: 1rem 2%;
    }

    .logo {
        font-size: 1.6rem;
    }

    .navbar a {
        font-size: 1rem;
        margin-left: 0.5rem;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .high-school {
        padding: 15% 1%;
        flex-direction: column;
        gap: 2em;
    }

    .school-video video {
        width: 100%;
    }

    .high-content h4 {
        font-size: 20px;
    }

    .high-content p {
        font-size: 1.7rem; 
}
}