
/*
really here is randome
sorry for all ^_^


*/
*{
    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: #1b0000;
    --text-color: white;
    --main-color: #00008B;
    

}

html{
    font-size: 60%;
    overflow-x: hidden;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    padding: 3rem 12% 3dvh;
    background: rgb(0, 0, 0 , 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    width: 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: var(--main-color) ;
}
.navbar a{
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    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;
    cursor: pointer;
}


.pp{
    text-align: left;
}
section{
    min-height: 100vh;
    padding: 10rem 12% 10rem;

}

.home{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:10rem;
}
.home-content{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    justify-content: center;
}
span{
    color: var(--main-color);

}
.logo span{
    
    color: var(--main-color);


}
.home-content h3{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
}
.home-content h1{
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;

}
.home-img img{
    position: relative;
    width: 24vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}
.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 25px var(--main-color),
                0 0 100px var(--main-colo) ;
}
.home-content p{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}

.sociql-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--text-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3 ease;
    box-shadow:0 0 30px #00008B;
}
.sociql-icons a:hover{
    color: var(--text-color);
    transform: scale(1) translateY(-5px);
    background-color: #00008B;
}
.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: #00008B;
    box-shadow: 0 0 25px #00008B;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: var(--text-color);
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 50px #00008B;

}
.btn-group{
    display: flex;
    align-items: center;
    gap: 1.0rem;

}
.btn-group a:nth-of-type(2){
    background-color:#00008B;
    columns:#00008B;
    border: 2px solid #00008B;
    box-shadow: 0 0 25px transparent;
}
.btn-group a:nth-of-type(2):hover{
    box-shadow: 0 0 25px var(--main-colo);
    background-color:var(--main-colo) ;
    color:var(--main-color);
}

.text-animation {
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}
.text-animation span {
    position: relative;
}
.text-animation span::before {
    content: "IT Student";
    color: var(--main-colo);
    animation: worda 20s infinite;
}
.text-animation span::after {
    content: " ";
    background-color: var(--bg-color);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid var(--main-color);
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}

@keyframes cursor {
    50% {
        border-left: 2px solid #00008B;
    }
    100% {
        border-left: 2px solid transparent;
    }
}

@keyframes worda {
    0%, 20% {
        content: "Problem Solving";
    }
    21%, 40% {
        content: "Networks";
    }
    41%, 60% {
        content: "Programming";
    }
    61%, 80% {
        content: "Cyber Security";
    }
    81%, 100% {
        content: "Web Developer";
    }
}

@keyframes typing{
    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,

    75%,
    90%,
    95%{
        width: 0;
    }
    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    80%,
    85%{
        width: calc(100% + 8px);
    }
}
.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    background: var(--bg-color);
    color: var(--text-color);

}
.about-img{
    border-radius: 50%;

}
.about-img img{
    position: relative;
    width: 24vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;

}
.about-img img:hover{

    box-shadow: 0 0 25px var(--main-color),
                0 0 25px var(--main-color),
                0 0 100px var(--main-colo) ;
}
.heading{
    text-align: center;
    font-size: 6rem;
    margin: 5rem 0;

}
.about-content h2{
    text-align: left;
    line-height: 1.5;
}
.about-content h3{
    font-size: 2.6rem;
}
.about-content p{
    font-size: 1.5rem;
}
.about .heading{
    margin: 0;
}

.about-content .text-animation span::before {
    content: "IT Student";
    color: var(--main-colo);
    animation: worda 20s infinite;
}
.text-animation span::after {
    content: "";
    background-color: var(--bg-color);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid var(--main-color);
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}
.moree{
    padding-top: 15px ;
}
::-webkit-scrollbar{
    width: 15px;
}
::-webkit-scrollbar-thumb{
    background-color: var(--main-color);

}
::-webkit-scrollbar-track{
    background-color: var(--bg-color);
    width: 50px;

}



.icon-skills img{
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: white;
    margin: 0 2rem 2rem 0;
    padding: 1rem;

}
.icon-skills{
    display: flex;
    justify-content: center; 
    align-items: center; 
    gap: 1rem; 
    flex-wrap: wrap;
}
.icon-skills img {
    transition: transform 0.3s ease-in-out;
}

.icon-skills img:hover {
    transform: scale(1.1);
    animation: pulse 0.6s infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.certificates {
    background: var(--bg-color);
}

.certificates-box {
    
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    gap: 3rem;
}

.certificates-card {
    width: 300px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(30px);
    border: 2px solid var(--main-color);
    border-radius: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    padding: 3rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 7px 5px var(--main-color);
    transition: 0.4s ease;
}


.certificates-card img {
    width: 40%;
    max-width: 100%;
    border-radius: 10px;
    padding: 4rem;
}



   


.projects {
    background: var(--bg-color);
    padding: 2rem;
    text-align: center;
}

.projects h2 {
    margin-bottom: 3rem;
    
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.projects-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--main-color);
    height: 450px;
    border-radius: 2rem;
    border: solid 3px transparent;
    cursor: pointer;
    transition: 0.4s ease-in-out;
    padding: 2rem;
}

.projects-box:hover {
    background: var(--bg-color);
    color: #ffffff;
    border: solid 2px;
    transform: scale(1.03);
}

.projects-info {
    text-align: center;
}

.projects-info h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.projects-info p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
}

.projects-info i {
    font-size: 5rem;
}

.projects-info a {
    display: inline-block;
    margin-top: 20px;
    padding: 2px 2px;
    border: solid 2px aliceblue;
    border-radius: 3rem;
    text-decoration: none;
    font-size: 1.2rem;
    color: white;
    transition: 0.3s;
}

.projects-info a:hover {
    border: solid 4px;
    color: aliceblue;
}

@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .projects-box {
        height: auto;
        padding: 1.5rem;
    }

    .projects-info h4 {
        font-size: 1.8rem;
    }

    .projects-info p {
        font-size: 1rem;
    }

    .projects-info i {
        font-size: 4rem;
    }
}
.footer{
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: #06062753;

}
.footer .social{
    text-align: center;
    padding-bottom: 25px;
    color: var(--main-color);

}
.footer .social a{
    font-size: 25px;
    color: white;
    border: solid 2px 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;

}
.footer .social a:hover{
    transform: scale(1.2) translateY(-10px);
    background-color: #00008B;
    color: rgb(255, 255, 255);
    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;
}
.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: var(--text-color);

}




.contact{
    background-color: var(--bg-color);
}
.contact h2{
    margin-bottom: 3rem;
    color: var(--text-color);
}
.contact form{
    align-items: center;
    display: flex;
    justify-content: center;
    gap :3rem;
    margin: 5rem auto;
    text-align: center;

}
.contact form .input-box input , .contact form textarea{
    width: 100%;
    padding: 2.5rem;
    font:  1.8rem;
    color: var(--text-color);
    background: var(--bg-color) ;
    border-radius: 2rem;
    border: solid 2px var(--main-color);
    margin: 1.5rem 0;
    resize: none;

    
}
.contact form .btu{
    margin-top: 2rem;
}

@media(max-width:1285px){
    html{
        font-size: 55%;
    }
    .projects-container{
        padding-bottom: 4rem;
        grid-template-columns: repeat(1,1fr);
        margin: 0 5rem;
    }
    .certificates-box{
        grid-template-columns: repeat(2,1fr);
    }
    .certificates-box img{
        min-width: 30vw;
    }

}

@media(max-width:991px){
    header{
        padding: 2rem 3%;

    }
    section{
        padding: 10rem 3% 2rem;

    }
    .content form{
        flex-direction: column;

    }
    .footer{
        padding: 2rem 3%;
        

    }
    

}
@media(max-width:895px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        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;
        color: white;
    }
    .home{
        flex-direction: column-reverse;
        margin: 5rem 4rem;
        gap:3rem;

    }
    .home-content{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;

    }
    .home-content h3{
        font-size: 2.6rem;
    }
    .home-content h1{
        font-size: 8rem;
        margin-top: 3rem;


    }
    .home-content p{
        max-width: 600px;
        margin: 0 auto;
    }
    .home-img img{
        width: 56vw;
        margin: 3rem 0;
        
    }
    .about{
        flex-direction: column-reverse;
        padding: 10rem 9% 10rem;
    }
    .about .heading{
        margin: 3rem 0;
    }
    .about img{
        width: 0;
    }
    .projects h2{
        margin-bottom: 3rem;

    }
    .projects-container{
        grid-template-columns: repeat(1,1fr);


    }
    .certificates-box{
        grid-template-columns: repeat(1,1fr);

    }
    .certificates-box img{
        min-width: 42rem;
    }




}













