@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&family=Abril+Fatface&family=Lora:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    font-family: 'Poppins', 'Raleway', sans-serif;
    ;
    font-size: large;
    color: rgb(255, 255, 255);
    animation: fadeIn 0.8s ease-in;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

header {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    min-height: 70px;
    z-index: 1000;
    transition: background 0.3s ease;
    background: rgb(72, 73, 74);




}

header.scrolled {
    background: rgba(0, 0, 0, 0, 0.08);
    backdrop-filter: blur(12px);

}

html {
    scroll-behavior: smooth;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hamburger-icon {
    display: none;
}
nav ul {
    list-style-type: none;
    margin: 10px;
    padding: 10px;
    justify-content: space-around;
    gap: 15px;
    display: flex;




}

nav ul li {
    margin: 0;
    padding: 0;

}

nav ul li a {
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
    font-size: 1.3rem;
    text-align: center;



}

/* Hover effect */
nav ul li a:hover {
    background: #00c8ff41;

}

.home {
    background: linear-gradient(rgb(72, 73, 74), 50%, rgba(0, 0, 0, 0.5)100%);
    color: white;
    font-size: xx-large;
    padding: 18%;
}

.home-content {
    font-family: 'Poppins';
    color: rgb(255, 255, 255);
    text-align: center;
}

.home-content p {
    font-weight: 200;
}

cd .home-content hr {
    border-radius: 10px;
    animation: lineAnimate 1.5s ease-in-out;

}

@keyframes lineAnimate {
    0% {
        width: 0px;
    }

    100% {
        width: 100%;
    }
}

.overmij {
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg, #ffffff50 50%, #000000 100%);

    margin-top: 4%;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
    align-items: center;
    color: #ffffff;
    margin-bottom: 10%;
}

.icon {
    padding: 40px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
    outline: #4000ff;
}

.icon:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 238, 255, 0.6);
}

.icon i {
    font-size: 4rem;
}

.overmij h1 {
    color: rgb(255, 255, 255);
    text-align: center;
    margin-top: 40px;
    font-size: 4rem;
    font-weight: 600;
    font-family: "Poppins";
    text-shadow: 2px 2px #444;
}

.progress {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #00ff1a, #008260);
    border-radius: 30px;

}



.progressing {
    animation: progressanimation 2s ease;
}
@keyframes progressanimation {
    0% {
        width: 0px;
    }

    100% {
        width: 100%;
    }
}


.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
    align-items: center;
    color: #ffffff;
    padding: 0;
    background: linear-gradient(to bottom, #000000, #353434);
    position: relative;
    
}

.text-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 15% auto;
    gap: 20px;
    padding: 100px;
    border-radius: 10px;
    box-shadow: 5px 5px 40px rgba(0, 0, 0, 0.5);
    background: #222222a1;
    width: 600px;
    border: 2px solid black;
}

.content-grid::after {
    position: absolute;
    content: '';
    border: white 2px solid;
    height: 300px;
    left: 40%;
    border-radius: 20px;
}

.text-box p {
    font-size: 1.5rem;
    font-family: 'Poppins', Arial, Imapct;
    margin: 0;
    padding: 0;

}

footer {
    background-color: #2c2e2e;
    box-shadow: 0 40px 40px rgba(0, 0, 0, 0.6);
    color: #f5f5f5;
    text-align: center;
    padding: 20px 10px;
    font-size: 0.9rem;
}

footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

@media screen and (max-width: 1024px) {
    .text-box{
        width: 100%;
        padding:30px;
        border: none;
        margin-bottom:10px;
        margin-right:20px;
        
    }
    .text-box p{
        font-size: 1rem;
    }
    .content-grid::after{
        content: '';
        height: 100px;
        left:50px;
        
    }
}
@media screen and (max-width: 768px) {
   
    .home {
       width:100%;
        font-size: large;
    }

    .overmij h1 {
        font-size: 2.5rem;
    }
 /*Hamburger menu*/

    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        
    }
.nav-links {
    position: absolute;
    top:40px;
    margin:0;
    flex-direction: column;
    width: 100%;
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    display: none;
    animation:FadeIn 0.3s ease;
     background-color: #333;
}
@keyframes FadeIn {
    0% {
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
    
}
.nav-links.active {
    display: flex;
    transition: all 0.3s ease;
    
}

    .hamburger-icon{
        display: flex;
        flex-direction: column;
        gap:6px;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top:10px;
        z-index: 2000;
        
    }
     .hamburger-icon span{
       width:28px;
       height:3px;
       background-color: white;
       border-radius: 2px;
        transition: all 0.3s ease;
        
       
    }
    .hamburger-icon.active span:first-child{
    
        transform: rotate(48deg) translate(7px, 7px);
    }
    .hamburger-icon.active span:nth-child(2){
    
        opacity: 0;
    }
    .hamburger-icon.active span:last-child{
        transform: rotate(-48deg) translate(6px, -6px);
    }
    .content-grid{
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .text-box{
        width: 250px;
        
        padding:20px 30px;
        border: none;
        
    }
    .text-box p{
        font-size: 0.7rem;
    }
    .content-grid::after{
        content: '';
        height: 100px;
        transform:rotate(90deg);
        position: absolute;
        top:100px;
    }

}

@media screen and (max-width: 425px) {
    .icon:focus {
        transform: translateY(-6px);
        box-shadow: 0 10px 20px rgba(0, 238, 255, 0.6);
    }

    nav ul li {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .content-grid{
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .text-box{
        width: 250px;
        
        padding:20px 30px;
        border: none;
        
    }
    .text-box p{
        font-size: 0.7rem;
    }
    .content-grid::after{
        content: '';
        height: 100px;
        transform:rotate(90deg);
        position: absolute;
        top:100px;
    }
nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        
    }
}