/* Import Quicksand font - Add this at the top of your CSS file */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');



html {
    scroll-padding-top: 2rem; /* Adjust this value based on your needs */
    scroll-behavior: smooth;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    height: 100vh;
    background-color: #0a1341;
    background-size: 1000% 1000%;
    animation: gradientShift 30s ease infinite;
    color: white;
    font-family: Arial, sans-serif;
    overflow: hidden;
    position: relative;
}



.container {
    display: flex;
    width: 80%;
    height: 80%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: transparent;
    position: relative;
    z-index: 1;
}

.left-column, .right-column {
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    position: relative;
    
    padding: 20px;
    border-radius: 8px;
    
}

.left-column {
    border-right: 1px solid transparent;
}

.left-column::-webkit-scrollbar, .right-column::-webkit-scrollbar {
    display: none;
}

.left-column, .right-column {
    scrollbar-width: none;
}

h1, h2, h3 {
    margin-top: 0;
    color: #e2e8f0;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

h1 {
    font-size: 45px;
}

h3, .line, .text {
    color: #8d9baa;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
}

.web {
    margin-top: -20px;
    margin-left: 1px;
    font-size: 25px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

a {
    color: lightblue;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-right: 20px;
}

.container_links {
    display: flex;
    flex-direction: column;
    margin-top: -70px; /*hoogte van a tags wijzigen*/
    margin-left: -20px;
    padding: 20px;
    border-radius: 8px;
    
}

.link:hover .line,
.link:hover h3 {
    color: #e2e8f0;
}

.link:hover .line {
    background-color: #e2e8f0;
    width: 40px;
}

.link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
    margin: 10px 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: -5px; /* de ruimte tussen de a tags wijzigen */
    overflow: hidden;
}

.link.active h3 {
    color: #e2e8f0;
}

.link.active .line {
    width: 40px;
    background-color: #e2e8f0;
}

.line {
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #425571;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 10px;
    margin-bottom: 20px;
}
.link {
    pointer-events: none;
}

.link h3 {
    pointer-events: auto;
}
.img_link {
    height: auto;
    width: 20px;
    margin-top: 90px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.img_link:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
}

#insta {
    margin-left: 1px;
    margin-top: 90px;
    position: absolute;
    height: auto;
    width: 22px;
    cursor: pointer;
}

#linked {
    margin-left: 38px;
    position: absolute;
    height: auto;
    width: 22px;
    cursor: pointer;
}

#git {
    margin-left: 75px;
    position: absolute;
    height: auto;
    width: 22px;
    cursor: pointer;
}

#insta:hover, #linked:hover, #git:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
}

#section1, #section2, #section3, #section4, .right-column{
    text-align: center;
}
.profile{
    border-radius: 28px 0 28px 0;
}
#section1:target ~ .left-column .link[href="#section1"] .line,
#section2:target ~ .left-column .link[href="#section2"] .line,
#section3:target ~ .left-column .link[href="#section3"] .line,
#section4:target ~ .left-column .link[href="#section4"] .line {
    width: 40px;
}
/*begin van sectie 2*/
.skills-container {
    display: grid;
    gap: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    text-align: center;
}

.skill-category {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-category h3 {
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    padding-left: 0; /* Remove left padding since we removed the line */
}

/* Remove the blue line before heading */
.skill-category h3::before {
    display: none;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center; /* Center the tags */
}

.skill-tag {
    color: #8d9baa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(74, 158, 255, 0.2);
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.skill-tag:hover {
    background: rgba(74, 158, 255, 0.2);
    color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/*begin sectie 3*/


.container-projecten {
    display: flex;
    align-items: center;
    margin: 15px auto; /* Adjusted margin */
    padding: 10px; /* Reduced padding */
    max-width: 300px; /* Reduced from 350px */
    border-radius: 10px; /* Slightly smaller border radius */
    font-size: 0.9rem; /* Smaller font size for content */
    background: rgba(0, 0, 0, 0.4); /* Adjusted background opacity */
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    
}

.container-projecten:hover {
    background-color: rgba(36, 44, 81, 0.8);
    transform: translateY(-3px); /* Reduced hover effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Adjusted shadow */
}

.left-image {
    width: 100px; /* Reduced from 120px */
    height: auto;
    margin-right: 10px; /* Reduced margin */
    border-radius: 6px; /* Slightly smaller border radius */
}







button[type="submit"]{
    width: 250px;
    border-radius: 10px;
}

.responsive-img {
    display: none;
}
.img_link {
    display: inline-block;
}

/* Example of removing blur from an element */
.some-element {
    /* filter: blur(5px); */
    filter: none;
}

/* Example of removing backdrop blur from an element */
.another-element {
    /* backdrop-filter: blur(10px); */
    backdrop-filter: none;
}

#animated-text {
    min-height: 1.2em; /* Zorgt ervoor dat de hoogte constant blijft */
    display: inline-block; /* Voorkomt dat de tekst verspringt */
    white-space: nowrap; /* Zorgt ervoor dat de tekst op één regel blijft */
}




canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    /* background-color: #000; */
}

.right-column {
    width: 50%;
    padding: 30px;
    box-sizing: border-box;
    overflow-y: auto;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto; /* Center the column */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
}

.right-column h2 {
    font-size: 2.2em;
    margin-bottom: 1.5em;
    color: #e2e8f0;
    position: relative;
    padding-bottom: 0.5em;
}

.right-column h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8d9baa, transparent);
}

.right-column p {
    line-height: 1.8;
    color: #a0aec0;
    font-size: 1.1em;
    margin-bottom: 1.5em;
}

.right-column .profile {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.right-column .profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Update scrollbar for better visibility */
.right-column::-webkit-scrollbar {
    display: block;
    width: 6px;
}

.right-column::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.right-column::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 333px;
}

.right-column::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Section headings animation */
#section1, #section2, #section3, #section4 {
    scroll-margin-top: 100px; /* Adjust this value to control where scrolling stops */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#section1 { scroll-margin-top: 0px; }
#section2 { scroll-margin-top: 100px; }
#section3 { scroll-margin-top: 120px; }
#section4 { scroll-margin-top: 140px; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add at the end of your existing CSS */
.section-enter {
    animation: sectionFadeIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add at the end of your CSS file */
.section-animate {
    animation: sectionEaseIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes sectionEaseIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.contact-section {
    padding: 4rem 2rem;
    color: #e2e8f0;
    
  }

  .contact-container {
    max-width: 800px;
    margin: 0 auto;
    
    padding: 2.5rem;
    border-radius: 12px;
    
    text-align: center;
  }

  .contact-container h2 {
    font-size: 2.20rem; /* Reduced from 2.75rem */
    margin-bottom: 0.8rem; /* Adjusted margin */
    color: #ffffff;
  }

  .contact-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cbd5e0;
  }

  .contact-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 2;
  }

  .contact-details li {
    margin: 0.5rem 0;
  }

  .contact-details a {
    color: #63b3ed;
    text-decoration: none;
  }

  .contact-details a:hover {
    text-decoration: underline;
  }

  .contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }

  .contact-buttons a {
    text-decoration: none;
  }

  .btn {
    background-color: rgba(2, 8, 32, 0.99);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .btn:hover {
    background-color: rgba(36, 44, 81, 0.8);
  }

  .contact-socials p {
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0) invert(1);
  }

  .social-icons img:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
  }
  
#insta,
#linked,
#git {
    margin-top: 47px; /* Adjusted height */
}

@media (max-width: 768px) {
    html {
        font-size: 14px; /* Kleinere basisgrootte voor alles */
    }

    body {
        padding: 10px;
    }

    .container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .left-column, .right-column {
        width: 100%;
        padding: 0 5px;
        margin: 0;
    }
   
    .left-column {
        display: none;
    }

    .contact-form,
    .container-projecten {
        margin-left: 0;
        font-size: 0.9rem; /* Iets kleiner dan normaal */
    }

    .responsive-img {
        width: 16px;
        height: 16px;
        margin-bottom: 20px;
    }

    #instatje, #linkie, #gitje {
        margin-top: -60px;
        margin-bottom: -20px;
    }

    #linkie {
        margin-left: 20px;
    }

    #gitje {
        margin-left: 40px;
    }

    #star-container {
        margin-left: -20px;
    }

    .web {
        text-align: center;
        font-size: 0.9rem;
    }

    h1, h2, h3, p, a, li, label, input, button {
        font-size: 0.9rem; /* Alles wat kleiner maken */
    }

    img {
        max-width: 90%;
        height: auto;
    }

    .img_link {
        display: none;
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 10px;
        font-size: 0.9rem;
        border-radius: 14px;
    }

    .contact-form label {
        font-size: 0.85rem;
        margin-bottom: 4px;
        display: block;
        
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 6px 8px;
        font-size: 0.85rem;
        margin-bottom: 12px;
        border: 1px solid #ccc;
        border-radius: 10px;
        
    }

    .contact-form textarea {
        height: 80px;
        resize: vertical;
    }

    .contact-form button {
        padding: 6px 12px;
        font-size: 0.9rem;
        border-radius: 4px;
        border-radius: 50px;
        color: white;
        border: none;
        cursor: pointer;
    }

    .contact-form button:hover {
        background-color: #555;
    }

    .form-group {
        margin-bottom: 10px;
    }

    #contactForm br {
        display: none; /* Verwijder <br><br> op mobiel voor strakkere layout */
    }
}


