/* ========================= */
/* General Reset & Base Styles */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* ========================= */
/* Header & Navigation Styles */
/* ========================= */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #000000;
  color: white;
}

.logo {
  width: 50px;
  height: 50px;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
  display: inline-block; /* Ensure the dropdown aligns properly */
  width: auto; /* Allow the dropdown to size dynamically */
}

.dropdown-btn {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  background-color: #333;
  border-radius: 5px;
}

.dropdown-btn:hover {
  background-color: #444;
}

/* Hide dropdown initially */
.dropdown-menu {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  width: 115%;
  padding: 0;
  margin: 0;
  border-radius: 5px;
  z-index: 1000;  /* Ensure it stays above other elements */
}

.dropdown-menu li {
  padding: 10px 20px;
  text-align: center;
}

.dropdown-menu li a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.dropdown-menu li a:hover {
  color: #007BFF;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ========================= */
/* About Me Section Styles */
/* ========================= */
.about-me {
  padding: 50px 20px;
  text-align: center;
  background: white;
}

.about-me-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.about-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

/* About Me Images */
.about-image {
  width: 300px; /* Vergroot de breedte van de afbeelding */
  height: auto; /* Zorg ervoor dat de hoogte automatisch wordt aangepast */
  border-radius: 10px; /* Maak de hoeken afgerond in plaats van een cirkel */
  object-fit: cover; /* Zorg ervoor dat de afbeelding netjes wordt bijgesneden */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Voeg een schaduw toe voor een nette uitstraling */
  transition: transform 0.3s ease-in-out;
}

.about-image:hover {
  transform: scale(1.05); /* Vergroot de afbeelding een beetje bij hover */
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.back-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}

.back-button:hover {
  background: #0056b3;
}


/* ========================= */
/* Footer Styles */
/* ========================= */
footer {
  display: flex; /* Gebruik Flexbox voor uitlijning */
  justify-content: space-between; /* Plaats de knop links en de tekst rechts */
  align-items: center; /* Centreer de inhoud verticaal */
  padding: 20px;
  background: #333;
  color: white;
}

/* Style for the back button in the footer */
footer .back-button {
  display: inline-block;
  padding: 5px 10px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

footer .back-button:hover {
  background-color: #0056b3;
}

/* ========================= */
/* Animations */
/* ========================= */
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 1s forwards;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 1s forwards;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================= */
/* Dropdown Menu Button */
/* ========================= */
.menu-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.menu-btn:hover {
  background-color: #444;
}

/* Show dropdown on hover */
.menu-btn:hover .menu-list {
  display: block;
}

/* Navigation Menu */
.menu-list {
  display: none;
  list-style: none;
  position: absolute;
  top: 50px;
  right: 0;
  background-color: #333;
  padding: 0;
  margin: 0;
  width: 150px;
  border-radius: 5px;
  z-index: 1000;
}

.menu-list li {
  padding: 10px 20px;
  text-align: center;
}

.menu-list li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.menu-list li a:hover {
  color: #007BFF;
}
/* Ensure the arrow is always visible */
#caret-down {
  display: inline-block; /* Ensure the arrow is displayed */
  font-size: 15px; /* Match the size of the arrow */
  transition: transform 0.3s ease; /* Smooth rotation */
  color: white; /* Ensure the arrow is visible */
}

/* Rotate the arrow when the dropdown is open */
#caret-down.rotate {
  transform: rotate(180deg); /* Rotate the arrow 180 degrees */
}

/* Dropdown menu visibility */
#menu-dropdown {
  display: none;
  list-style: none;
  padding: 0; /* Remove extra padding */
  margin: 0;
  background-color: #333; /* Background color for the dropdown */
  border: 1px solid #ccc; /* Optional: Add border */
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%; /* Ensure it spans the width of the parent */
  max-width: 200px; /* Optional: Set a maximum width */
  border-radius: 5px;
  z-index: 1000; /* Ensure it appears above other elements */
  box-sizing: border-box; /* Include padding and border in width calculation */
}

/* Show the dropdown menu when the class is toggled */
#menu-dropdown.show {
  display: block;
}

/* Dropdown menu items */
#menu-dropdown li {
  padding: 10px; /* Adjust padding for better alignment */
  text-align: center;
}

#menu-dropdown li a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

#menu-dropdown li a:hover {
  color: #007BFF;
}

/* ========================= */
/* General Section Styling */
/* ========================= */
section {
  margin: 20px 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ========================= */
/* Skills Section */
/* ========================= */
.skills ul {
  list-style: none;
  padding: 0;
}

.skills li {
  margin: 5px 0;
  padding: 5px;
  background-color: #007BFF;
  color: white;
  border-radius: 5px;
  display: inline-block;
}

/* ========================= */
/* Quotes Section */
/* ========================= */
.quotes blockquote {
  font-style: italic;
  color: #555;
  border-left: 4px solid #007BFF;
  padding-left: 10px;
  margin: 10px 0;
}

/* ========================= */
/* Timeline Section */
/* ========================= */
.timeline ul {
  list-style: none;
  padding: 0;
}

.timeline li {
  margin: 10px 0;
  padding: 10px;
  background-color: #e9ecef;
  border-radius: 5px;
}

/* ========================= */
/* Fun Facts Section */
/* ========================= */
.fun-facts ul {
  list-style: disc;
  padding-left: 20px;
}

.fun-facts li {
  margin: 5px 0;
}

/* ========================= */
/* Portfolio Section */
/* ========================= */
.portfolio-section {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.portfolio-section img {
    margin-bottom: 15px;
}

.portfolio-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-section p {
    font-size: 16px;
    margin-bottom: 20px;
}

.portfolio-section .btn {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.portfolio-section .btn:hover {
    background-color: #0056b3;
}

/* Row Styling */
.row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 10px 0;
    padding: 20px;
}

.row article {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.row article h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.row article p {
    font-size: 14px;
    line-height: 1.6;
}

.row article .btn {
    margin-top: 10px;
    display: inline-block;
    padding: 8px 15px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.row article .btn:hover {
    background-color: #0056b3;
}

/* HEADER */
.banner {
  background: linear-gradient(135deg, #2fc158, #2c85df);
  color: white;
  padding: 80px 20px; 
  text-align: center;
  position: relative;
  overflow: hidden; 
  margin-top: 60px; 
  border-radius: 10px; /* Rounded corners */
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/header.jpg') no-repeat center center/cover; 
  opacity: 0.5;
  z-index: 0;
}

.banner a {
  font-size: 3rem; 
  font-family: 'Roboto', sans-serif; 
  font-weight: 700; 
  margin: 0;
  padding: 20px 40px; 
  background-color: rgba(0, 0, 0, 0.4); 
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); 
  z-index: 1; 
  animation: fadeIn 1s ease-in-out; 
  color: whitesmoke;
  text-decoration: none;
}

.banner-img {
  padding: 100px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1300px; 
  margin: 0 auto;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.7); 
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.banner-img:hover {
  transform: translateY(-10px);
}

/* Animation for fade-in */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.row, .row-below {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5em;
  justify-content: space-between;
  align-items: stretch;
}

.row article, .row-below article {
  flex: 1;
  min-width: 280px;
  box-sizing: border-box;
  background-color: #FCFCFC;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
  padding: 1em;
}

.row-below {
  margin-top: 2em;
}

article{
  border-left: 5px solid #2c85df;
  padding-left: 10px;
  margin: 1em 1em 1em 0;
}
article:last-of-type{
  margin-right: 0;
}

article h2{
  margin: 0;
  padding: 1.5em;
  border-left: none;
  background-position: center;
  background-size: cover;
  text-align: center;
}
article h2.best-task{
  background-image: url('../img/task.jpg');
  text-shadow: 
  0 0 0 #FCFCFC,
  -1px -1px 0 #FCFCFC,  
  1px -1px 0 #FCFCFC,
  -1px 1px 0 #FCFCFC,
  1px 1px 0 #FCFCFC;

}
article h2.accessibility{
  background-image: url('../img/easyfast.png');
  text-shadow: 
  0 0 0 #FCFCFC,
  -1px -1px 0 #FCFCFC,  
  1px -1px 0 #FCFCFC,
  -1px 1px 0 #FCFCFC,
  1px 1px 0 #FCFCFC;

}
article h2.support{
  background-image: url('../img/support.jpeg');
  text-shadow: 
  0 0 0 #FCFCFC,
  -1px -1px 0 #FCFCFC,  
  1px -1px 0 #FCFCFC,
  -1px 1px 0 #FCFCFC,
  1px 1px 0 #FCFCFC;

}
article h2.rating{
  background-image: url('../img/stars.jpg');
  text-shadow: 
  0 0 0 #FCFCFC,
  -1px -1px 0 #FCFCFC,  
  1px -1px 0 #FCFCFC,
  -1px 1px 0 #FCFCFC,
  1px 1px 0 #FCFCFC;

}

/* ========================= */
/* Contact Form Section */
/* ========================= */
.contact-form-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container h1 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

.form-container p {
    margin-bottom: 30px;
    font-size: 16px;
    color: #666;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group textarea {
    resize: none;
}

.submit-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* ========================= */
/* Hobbies Section */
/* ========================= */
.hobbies-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.hobbies-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.hobbies-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.hobbies-section p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
}

.hobby-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.hobby-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hobby-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.hobby-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hobby-item h3 {
    font-size: 24px;
    margin: 15px 0;
    color: #007BFF;
}

.hobby-item p {
    font-size: 16px;
    color: #555;
    padding: 0 15px 20px;
}

/* Playlist Section */
.playlist-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.playlist-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.playlist-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.playlist-section p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.video-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.video-item h3 {
    font-size: 20px;
    margin: 15px 0;
    color: #007BFF;
}

.video-item iframe {
    width: 100%;
    height: 200px;
    border: none;
}

/* Projects Section */
.projects-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.projects-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.projects-section p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-item h3 {
    font-size: 24px;
    margin: 15px 0;
    color: #007BFF;
}

.project-item p {
    font-size: 16px;
    color: #555;
    padding: 0 15px 20px;
}

.project-item .btn {
    display: inline-block;
    margin-bottom: 15px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.project-item .btn:hover {
    background-color: #0056b3;
}
