* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #15446D;
    color: #697565;
}

header {
    background-color: #0A253D;
    height: 6rem;
    top: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 75%;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    height: 5rem;
    width: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.logo:hover {
    background-color: white;
}

.blokgroep {
    display: flex;
    gap: 0rem;
    list-style: none;
    height: 100%;
}

.ablok:hover {
    background-color: #15446D;
}

.blokgroep>a {
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 8rem;
    text-decoration: none;
    color: white;
    height: 100%;
    width: 10rem;
    padding: 1rem;
    transition: background-color 0.3s ease;
    border-radius: 0.5rem;
    margin: 0.5rem;
    font-size: 1.5rem;
}

.header-banner {
    background: linear-gradient(#0A253D, #15446D);
    color: #B7B7B7;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 75%;
    padding: 2rem;
}

.profile-photo-container {
    flex: 1;
    display: flex;
    justify-content: center;
    backface-visibility: hidden;
    width: 50%;
    aspect-ratio: 1;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    box-shadow: 0 0.3rem 1rem rgb(236, 234, 234);
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    object-fit: contain;
}

.text-content {
    flex: 2;
    width: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(circle, white, black);
    background-clip: text;
    color: transparent;
    animation: text-content 15s linear infinite;
    background-size: 200% 200%;
    max-width: 50%;
}

@keyframes text-content {

    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.text-content h1 {
    font-size: 4rem;
}

.text-content p {
    font-size: 2rem;
    margin-bottom: 0;
    border-bottom: 0.3rem solid white;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.skills {
    padding: 4rem;
    text-align: center;
    background: #15446D;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.skills h2 {
    color: #B7B7B7;
    font-size: 2rem;
    width: 20rem;
    margin-bottom: 6rem;
    border-bottom: 0.2rem solid #B7B7B7;
}

.skill-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    color: #0A253D;
}

.skill-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: white;
    padding: 2rem;
    font-size: 1rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.5);
    text-align: center;
    height: 15rem;
    width: 15rem;
    transition: transform 0.3s ease;
}

.skill-card>i {
    font-size: 2.5rem;
}

.skill-card:hover {
    transform: scale(1.1);
}


.projects {
    background: #15446D;
    padding: 4rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 6rem;
    color: #B7B7B7;
    width: 20rem;
    border-bottom: 0.2rem solid #B7B7B7;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    width: 75%;
}

.project-card {
    background-color: white;
    color: #B7B7B7;
    font-size: 1.5rem;
    font-weight: 900;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.6);
    width: 25rem;
    height: 20rem;
    text-align: center;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

.project-card p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0A253D;
}

.card1 {
    background: white;
    width: 70%;
    height: 50%;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.3s ease;
    color: red;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card2 {
    background-image: url("./img/blog.png");
    background-size: cover;
    width: 70%;
    height: 50%;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.3s ease;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}


.card3 {
    background-image: url("./img/cards.png");
    background-size: cover;
    width: 70%;
    height: 50%;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.3s ease;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
    color: rgb(43, 41, 41);
    margin-bottom: 1rem;
}

.card4 {
    background-image: url("./img/De-producent.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #041634;
    width: 70%;
    height: 50%;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.3s ease;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    margin-bottom: 1rem;
}

.card5 {
    background-image: url("./img/color.webp");
    background-size: cover;
    width: 70%;
    height: 50%;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: black;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.card6 {
    background-image: url("./img/color.webp");
    background-size: cover;
    width: 70%;
    height: 50%;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.3s ease;
    text-decoration: none;
    background: rgb(151, 194, 86);
    color: White;
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 1rem;
    line-height: 1;
}


.card1:hover {
    transform: scale(1.1);
}

.card2:hover {
    transform: scale(1.1);
}

.card3:hover {
    transform: scale(1.1);
}

.card4:hover {
    transform: scale(1.1);
}

.card5:hover {
    transform: scale(1.1);
}

.card6:hover {
    transform: scale(1.1);
}

.project-card .projectknop {
    font-size: 1rem;
    margin-top: 1rem;
    text-decoration: none;
    color: #697565;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0A253D;

}

.experience {
    padding-top: 4rem;
    padding-left: 4rem;
    padding-right: 4rem;
    text-align: center;
    background: #15446D;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
    font-size: 1rem;
    font-weight: 600;
}

.experience h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #B7B7B7;
    border-bottom: 0.2rem solid #B7B7B7;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

}

slider-container::before,
.slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1%;
    pointer-events: none;
    z-index: 2;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(21, 68, 109, 1), rgba(21, 68, 109, 0));
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(21, 68, 109, 1), rgba(21, 68, 109, 0));
}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 4rem;
    height: 14rem;
}

.timeline-item {
    background-color: white;
    padding: 2rem;
    height: 10rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.7);
    min-width: 400px;
    box-sizing: border-box;
    text-align: left;
    font-weight: 600;
    color: #0A253D;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.timeline-item p {
    display: flex;
    text-align: center;
}


footer {
    background: #0A253D;
    color: white;
    padding: 2rem;
    text-align: center;
}

footer .socials {
    margin-top: 1rem;
}

footer .socials a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    font-size: 1.5rem;
    display: inline-block;
    transition: 0.2s;
}

footer .socials a:hover {
    color: #0A253D;
    transition: 0.3s;
}

footer img {
    width: 2rem;
    height: 2rem;
}

/* Over mij */

.headerovermij {
    background-color: #3C3D37;
    height: 10%;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
}

.footerovermij {
    background-color: white;
    color: #B7B7B7;
    text-align: center;
    height: 11%;
}

.overmijpagina {
    overflow: hidden;
    height: 100vh;
}

.overmij {
    height: 79%;
    width: 100vw;
    background: #3C3D37;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info {
    height: 40rem;
    width: 80vw;
    background: #3C3D37;
    display: flex;
    border-radius: 6rem;
}

.image {
    width: 50%;
    height: 40rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image>img {
    width: 30rem;
    height: 30rem;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.9);
}


.textinfo {
    width: 50%;
    height: 100%;
}

.overmijtext {
    height: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #B7B7B7;
    font-weight: 700;
}

.certificaten {
    height: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #B7B7B7;
    font-weight: 700;
}

.h1overmij {
    display: flex;
    justify-content: center;
    border-bottom: 0.2rem solid white;
    width: 22rem;
}

.contactsectie {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    background: linear-gradient(#15446D, #0A253D);
}

.contact, textarea {
    height: 5rem;
}

form {
    height: 35rem;
    width: 60rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: auto;
    background: #0A253D;
    margin-bottom: 10rem;
    margin-top: 10rem;
    border-radius: 1.5rem;
    color: white;
    font-size: 2rem;
    font-weight: 500;
}

form p {
    border-bottom: 0.2rem solid white;
    margin-bottom: 1.5rem;
}

.form button {
    font-weight: 600;
}

label {
    display: block;
    font-size: 1.5rem;
}

input, textarea {
    width: 40%;
    padding: 0.5rem;
    margin-bottom: 4rem;
    background: #15446D;
    border: none;
    color: white;
    border-radius: 0.5rem;
    resize: none;
}

.textinvoer {
    width: 30rem;
    height: 5rem;
    margin-bottom: 4rem;
    border-radius: 0.5rem;
}

button {
    padding: 1rem;
    background: white;
    color: #0A253D;
    width: 10rem;
    border: none;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
    background: #0A253D;
    color: white;
}

.contact {
    font-size: 2rem;
    padding: 0;
}


@media (max-width: 1900px) {
    .certificates-block {
        height: 100%;
    }
}

@media (max-width: 1400px) {
    .overmij {
        height: 40rem;
    }
}

@media (max-width: 1300px) {
    .info {
        display: flex;
        flex-wrap: wrap;
        height: 100rem;
        width: 100%;
        border-radius: 0;
    }

    .overmijpagina {
        overflow: scroll;
    }

    .overmij {
        height: 100rem;
        display: flex;
        flex-wrap: wrap;
    }

    .textinfo {
        height: 40rem;
        width: 20rem;
        margin-top: 4rem;
    }

    .image>img {
        width: 20rem;
        height: 20rem;
    }


}


@media (max-width: 950px) {

    header {
        flex-direction: column;
        height: 10rem;
    }

    .blokgroep {
        flex-wrap: wrap;
    }

    .contactsectie {
        padding: 0 1rem;
    }
    
    .form{
        margin-top: 100px;
        margin-bottom: 100px;
    }
}


@media (max-width: 800px) {
    .blokgroep {
        display: flex;
        width: 2rem;
        flex-wrap: wrap;

    }

    .blokgroep>a {
        justify-content: flex-end;
        padding: 0.5rem;
        margin: 0.5rem;
    }

    .header-banner {
        padding: 0rem 1rem;
        height: auto;
    }

    .navbar {
        align-items: center;
        width: 100%;
        padding: 0 3rem;
    }

    .textinvoer {
        width: 12rem;
    }

    header {
        height: 5rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    nav {
        width: 100vw;
    }

    .logo {

        font-size: 1rem;
    }

    .blokgroep {
        display: flex;
        width: 100vw;
        flex-direction: column;
        align-items: flex-end;
    }

    .banner-content {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
    }

    .text-content {
        width: 100%;
    }

    .skill-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
}


/*@media (max-width: 770px) {
    .banner-content {
        flex-direction: column;
    }

    .text-content h1 {
        font-size: 2.5rem;
    }

    .text-content p {
        font-size: 1.2rem;
    }

    .profile-photo {
        width: 12rem;
        height: 12rem;
    }

    .blokgroep {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .blokgroep>a {
        display: flex;
        width: 1rem;
        font-size: 1rem;
    }


}
*/

@media (max-width: 680px) {
    .info {
        align-items: center;
        display: flex;
        flex-direction: column;
        height: 100rem;
        width: 100%;
        border-radius: 0;
    }

    .skill-cards {
        grid-template-columns: 2fr;
    }

    .contact {
        font-size: 2rem;
    }

    .form {
        display: flex;
        justify-content: center;
        align-items: center;
    }

}

@media (max-width: 500px) {
    .about-certificates {
        padding: 1rem 0.5rem;
    }

    .experience{
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .about-block, .certificates-block {
        padding: 1rem;
    }

    .navbar {
        padding: 0 0rem;
    }

    .skill-cards {
        grid-template-columns:2, 1fr;
        gap: 1rem;
    }

    .skill-card{
        height: 10rem;
        width: 10rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
}

@media (max-width: 490px) {


    .blokgroep {
        width: 80vw;
    }

    .blokgroep>a {
        font-size: 1.5rem;
        width: 0.3rem;
    }

    .project-card {
        width: 20rem;
    }

}


@media (max-width: 450px) {
    .header-banner {
        padding: 2rem 1rem;
        height: auto;
    }

    .text-content h1 {
        font-size: 2rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .profile-photo {
        width: 10rem;
        height: 10rem;
    }
}

.inner-certificates {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 75%;
    gap: 2rem;
}

.about-certificates {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    background: #15446D;
    color: #B7B7B7;
}

.about-block, .certificates-block {
    flex: 1;
    background: #0A253D;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.5);
    min-height: 20rem;
}

.about-block h2, .certificates-block h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
    border-bottom: 0.2rem solid white;
}

.about-block p, .certificates-block p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.certificates-block ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.certificates-block li {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    background-color: white;
    color: #0A253D;
    border: none;
    border-radius: 50%;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #15446D;
    transform: scale(1.1);
}

/* Responsive voor wie ben ik sectie */

@media (max-width: 1200px) {
    .inner-certificates {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .about-block, .certificates-block {
        min-width: 0;
        width: 100%;
        margin-bottom: 1rem;
    }

    .banner-content {
        gap: 60px;
    }

    .skill-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        width: 100%;
    }
}

@media (max-width: 800px) {
    .about-certificates {
        padding: 1rem 0.5rem;
    }

    .text-content h1{
        font-size: 2rem;
    }

    .about-block, .certificates-block {
        padding: 1rem;
    }

    .navbar {
        padding: 0 0rem;
    }

    .skill-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 500px) {
    .about-certificates {
        padding: 1rem 0.5rem;
    }

    .about-block, .certificates-block {
        padding: 1rem;
    }

    .navbar {
        padding: 0 0rem;
    }

    .skill-cards {
        grid-template-columns:2, 1fr;
        gap: 1rem;
    }

    .skill-card{
        height: 10rem;
        width: 10rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
}

@media (max-width: 340px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    .navbar {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .logo {
        height: 4rem;
        width: 4rem;
    }

    .blokgroep {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .blokgroep>a {
        font-size: 1rem;
        width: auto;
        padding: 0.5rem;
        margin: 0.5rem 0;
    }

    .header-banner {
        padding: 2rem 1rem;
        flex-direction: column;
    }

    .banner-content {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .profile-photo-container {
        width: 10rem;
        height: 10rem;
    }

    .text-content h1 {
        font-size: 1.8rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .about-certificates {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .about-block, .certificates-block {
        width: 100%;
        margin-bottom: 1rem;
    }

    .skills {
        padding: 2rem 1rem;
    }

    .skill-cards {
        grid-template-columns: 2fr;
        gap: 1rem;
    }

    .projects {
        padding: 2rem 1rem;
    }

    .project-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .project-card {
        width: 100%;
        padding: 1rem;
    }

    .experience {
        padding: 2rem 1rem;
    }

    .slider {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-item {
        width: 100%;
        padding: 1rem;
    }

    .contactsectie {
        padding: 2rem 1rem;
    }

    form {
        width: 100%;
        padding: 1rem;
    }

    input, textarea {
        width: 90%;
        margin-bottom: 1rem;
    }

    button {
        width: 100%;
    }
}

@media (max-width: 1170px) {
    .blokgroep>a:not(:first-child) {
        display: none;
        /* Hide all links except the first one (Blog) */
    }
}