* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    width: 75%;
    margin: 20px auto 50px auto;
}


/*-----------------*/
/* Navigation */
/*-----------------*/
header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0px 200px 0px 200px;
}

header h1 {
    font-size: 48px;
    font-family: 'Pacifico', cursive;
    color: #bdb772;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    border-radius: 10px;
    position: relative;
}

nav ul li a {
    color: #5d4f24;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: larger;
}

nav ul li a:hover {
    text-decoration: underline #f0e68c;
}

nav ul li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    border: 1px solid #5d4f24;
    border-radius: 5px;
    z-index: 10;
    min-width: 150px;
    text-align: center;
}

nav ul li .dropdown-menu li {
    border-bottom: 1px solid #5d4f24;
    border-radius: 0;
}

nav ul li .dropdown-menu li:last-child {
    border-bottom: none;
}

nav ul li .dropdown-menu a {
    padding: 10px;
    color: #5d4f24;
    background-color: #f9f9f9;
    display: block;
    font-size: 0.9rem;
    text-align: center;
}

nav ul li .dropdown-menu a:hover {
    background-color: #f0e68c;
    color: white;
}

nav ul li:hover .dropdown-menu {
    display: block;
}


/*-----------------*/
/* Home Section */
/*-----------------*/
main {
    width: 75%;
    margin: 20px 0px 50px 200px;
}

h2 {
    font-size: 20px;
    color: #5d4f24;
    font-family: "Montserrat", sans-serif;
}

p {
    line-height: 1.5;
    max-width: 700px;
    font-family: "Nunito", sans-serif;
}

.hier {
    font-weight: bold;
    background-color: #f0e68c;
}

.hier a {
    color: #ffffff;
}

.column {
    float: left;
    width: 50%;
    padding: 20px;
    height: 900px;
    background-color: #e7dec0;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

img {
    width: 300px;
    border-radius: 10px;
}

.row {
    width: 75%;
    margin: 0 auto;
    max-width: 1240px;
}

#left {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

#right {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
}

input,
textarea {
    padding: 10px;
    border: 1px solid khaki;
    border-radius: 5px;
    margin-bottom: 10px;
}

input[type="submit"] {
    background-color: khaki;
    color: white;
    cursor: pointer;
}

th {
    text-align: left;
    padding: 5px;
}

td {
    padding: 5px;

}

a {
    color: #bdb772;
    text-decoration: none;
    font-weight: 800;
}

.main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px; 
    margin: 20px 200px;
}

.text-content {
    flex: 2;
    max-width: 60%;
}

.image-content {
    flex: 1;
    max-width: 40%;
    text-align: center;
    align-self: flex-end;
    margin-bottom: 50px;
}

.image-content img {
    width: 120%;
    height: auto;
}

.image-content {
    display: none;
}

@media (min-width: 1024px) {
    .image-content {
        display: block;
    }
}

/* ----------------- */
/* CV Section */
/* ----------------- */
.cv-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.cv-sidebar {
    background-color: #e7dec0;
    padding: 2rem;
    border-radius: 10px;
    border-top-left-radius: 150px;

}

.profile-image {
    margin-bottom: 2rem;
    text-align: center;
}

.profile-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}

.cv-section {
    margin-bottom: 2rem;
}

.cv-section h2 {
    color: #5d4f24;
    border-bottom: 2px solid #bdb772;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.icon {
    margin-right: 0.5rem;
    width: 24px;
}

.language-grid {
    display: grid;
    gap: 1rem;
}

.language-item {
    display: grid;
    gap: 0.3rem;
}

.skill-bar {
    height: 8px;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    border-radius: 4px;
    background-color: #bdb772;
}

.native { width: 100%; }
.good { width: 80%; }
.basic { width: 40%; }

.timeline {
    display: grid;
    gap: 1.5rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
}

.timeline-date {
    color: #5d4f24;
    font-weight: bold;
}

.timeline-content h3 {
    color: #5d4f24;
    margin: 0 0 0.5rem 0;
}

.timeline-content p {
    margin: 0 0 0.5rem 0;
}

.experience-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.experience-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
}

.experience-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #bdb772;
}

.skills-list {
    list-style: none;
    padding-left: 0;
}

.skills-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.skills-list li::before {
    content: "•";
    position: absolute;
    left: 0.5em;
    color: #bdb772;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.hobby-item {
    background-color: #e7dec0;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .cv-container {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .timeline-date {
        color: #bdb772;
    }
}


/*-----------------*/
/* Portfolio Section */
/*-----------------*/
.academiejaar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.academiejaar-item {
    background-color: #e7dec0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.academiejaar-item:hover {
    transform: translateY(-5px);
}

.academiejaar-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.academiejaar-content {
    padding: 20px;
}

.academiejaar-content h3 {
    color: #5d4f24;
    margin: 0 0 10px 0;
    font-size: 20px;
}

.academiejaar-content p {
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.year-filters {
    margin: 30px 0;
    display: flex;
    gap: 15px;
}

.year-btn {
    color: #5d4f24;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #5d4f24;
}

.year-btn:hover {
    background-color: #f0e68c;
    color: white;
    transform: translateY(-2px);
}

.portfolio-item {
    display: block;
}

#y2022-2023:target ~ .academiejaar-grid .academiejaar-item:not([data-year="y2022-2023"]),
#y2023-2024:target ~ .academiejaar-grid .academiejaar-item:not([data-year="y2023-2024"]),
#y2024-2025:target ~ .academiejaar-grid .academiejaar-item:not([data-year="y2024-2025"]) {
    display: none;
}

#y2022-2023:target ~ .year-filters .year-btn[href="#y2022-2023"],
#y2023-2024:target ~ .year-filters .year-btn[href="#y2023-2024"],
#y2024-2025:target ~ .year-filters .year-btn[href="#y2024-2025"] {
    background-color: #f0e68c;
    color: white;
    border: #5d4f24;
}

@media (max-width: 1200px) {
    .academiejaar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .academiejaar-grid {
        grid-template-columns: 1fr;
    }
}

/* ... (existing styles remain the same) ... */

.academiejaar-item {
    background-color: #e7dec0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding-bottom: 40px; /* Make room for the "Read more" button */
}

.academiejaar-item:hover {
    transform: translateY(-5px);
}

.academiejaar-content {
    padding: 20px;
}

.academiejaar-content h3 {
    color: #5d4f24;
    margin: 0 0 10px 0;
    font-size: 20px;
}

.academiejaar-content p {
    color: #333;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    position: absolute;
    bottom: 10px;
    right: 20px;
    background-color: #bdb772;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
}

.read-more:hover {
    background-color: #a39a5f;
}

/* ... (rest of the styles remain the same) ... */


/* ----------------- */
/* Contact Section */
/* ----------------- */
form {
    max-width: 500px;
    margin-top: 20px;
}

form label {
    display: block;
    margin-top: 10px;
    margin-bottom: 0px;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #bdb772;
    border-radius: 4px;
}

form input[type="submit"] {
    background-color: #bdb772;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
}

form input[type="submit"]:hover {
    background-color: #a39a5f;
}

.contact-info {
    background-color: #e7dec0;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    max-width: 350px;
    margin: 0 auto;
    text-align: left;}


.contact-info h3 {
    color: #5d4f24;
    margin: 0 0 15px 10px;
}

.contact-info p {
    margin: 5px 0 0 10px;
}

.contact-image {
    max-width: 350px;
    height: auto;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    margin: 0;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.contact-info img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}


/* ----------------- */
/* Portfolio Section */
/* ----------------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.portfolio-item {
    background-color: #e7dec0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.portfolio-content {
    padding: 15px;
}

.portfolio-content h3 {
    color: #5d4f24;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.portfolio-content p {
    color: #333;
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

@media (min-width: 1400px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr); /
    }
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}



/*-----------------*/
/* Other */
/*-----------------*/
.project-details {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.project-details h2 {
    color: #5d4f24;
    border-bottom: 2px solid #bdb772;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.project-details h3 {
    color: #5d4f24;
    margin-top: 30px;
}

.project-details p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.image-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}




@media (min-width: 768px) {
    .image-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .image-gallery img {
        width: 100%;
        height: 250px;
    }
}

@media (min-width: 1024px) {
    .image-gallery img {
        height: 300px;
    }
}


footer {
    text-align: center;
    background-color: #e7dec0;
    color: #5d4f24;
    margin-top: auto; /* This pushes the footer to the bottom */
}



