/* Kleurenpalet */
:root {
    --background-color: #2A2A2A;
    --secondary-background-color: #515151;

    --primary-text-color: #FFFFFF;
    --accent-color: #FFD700;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --hover-shadow: rgba(0, 0, 0, 0.2);
}

body {
    font-family: Montserrat, sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.landingpage {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

.landingpage h1 {
    font-size: 5rem;
    font-weight: bold;
    letter-spacing: 1rem;
    margin: 0;
    color: white;
}


.menubalk {
  background-color: var(--secondary-background-color)

}

.menubalk ul {
  list-style-type: none;
  text-align: center;
  margin: 0px;
  padding: 0;
  padding-top: 40px;
  overflow: hidden;


}

.menubalk ul li {
  display: block;
  display: inline-block;


}

.menubalk ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  border-radius: 15px;
  background-color: var(--background-color);
}

.menubalk a:hover {
  background-color: #111111;
}


.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
    background-color: var(--secondary-background-color)
}

.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    justify-content: center;
}

.projectcard {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px var(--shadow-color);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projectcard img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.projectcard:hover img {
    transform: scale(1.1);
}

.project-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--primary-text-color);
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projectcard:hover .project-title {
    opacity: 1;
}

.hover-software {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--primary-text-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hover-software img {
    width: 30px;
    height: 25px;
    margin: 5px;
    vertical-align: middle;
    border-radius: 0px;
}

.projectcard:hover .hover-software {
    opacity: 1;
}

/* Overlay Styling
.album-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    text-align: center;
    padding: 20px;
}

.album-overlay.hidden {
    display: none;
}

.album-overlay img {
    max-width: 80%;
    max-height: 60%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.album-overlay h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.album-overlay p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.album-navigation button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    background-color: var(--accent-color);
    color: #000;
    border-radius: 5px;
    cursor: pointer;
}

.album-navigation button:hover {
    background-color: #FFC107;
}

.close-button {
    position: static;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin: 10px;
    padding: 10px 20px;
    font-weight: bold;
    background-color: var(--accent-color);
    color: #000;
    border-radius: 5px;
}

.close-button:hover {
    background-color: #FFC107;
}

*/

/* Voor schermen kleiner dan 768px */
@media (max-width: 768px) {
  .landingpage h1 {
    font-size: 3rem; /* Kleinere titel */
    letter-spacing: 0.5rem;
  }

  .grid {
    grid-template-columns: repeat(1, 1fr); /* 2 kaarten naast elkaar */
    gap: 15px; /* Minder ruimte tussen kaarten */
  }

  .projectcard img {
    height: 400px; /* Lagere hoogte voor afbeeldingen */
  }

  .album-overlay img {
    max-width: 90%; /* Afbeelding past beter op kleinere schermen */
    max-height: 50%; /* Hoogte beperken */
  }

  .album-overlay h1 {
    font-size: 2rem; /* Titelgrootte aanpassen */
  }

  .album-overlay p {
    font-size: 1rem; /* Beschrijving verkleinen */
  }

  .album-navigation button {
    padding: 8px 15px; /* Knoppen compacter maken */
    font-size: 0.9rem;
  }
  .hover-software img {
      width: 30px;
      height: 25px;
      margin: 5px;
      vertical-align: middle;
      border-radius: 0px;
  }
}

/* Voor schermen kleiner dan 500px */
@media (max-width: 500px) {
  .landingpage h1 {
    font-size: 2.5rem;
    letter-spacing: 0.3rem;
  }

  .grid {
    grid-template-columns: 1fr; /* 1 kaart per rij */
    gap: 10px;
  }

  .projectcard img {
    height: 250px; /* Kleinere hoogte voor afbeeldingen */
  }

  .album-overlay img {
    max-width: 95%; /* Afbeelding neemt bijna volledige breedte in */
    max-height: 40%; /* Hoogte verder beperken */
  }

  .album-overlay h1 {
    font-size: 1.8rem; /* Titel nog iets kleiner */
  }

  .album-overlay p {
    font-size: 0.9rem; /* Beschrijving kleiner */
  }

  .album-navigation button {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .hover-software img {
      width: 30px;
      height: 25px;
      margin: 5px;
      vertical-align: middle;
      border-radius: 0px;
  }
}

/* Voor schermen kleiner dan 360px */
@media (max-width: 360px) {
  .landingpage h1 {
    font-size: 2rem;
    letter-spacing: 0.2rem;
  }

  .album-overlay h1 {
    font-size: 1.5rem;
  }

  .album-navigation button {
    font-size: 0.7rem;
  }
}

/* Footer Legend */
.footer-legend {
    background-color: var(--background-color);
    color: var(--primary-text-color);
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 5%;
}

.footer-legend h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.footer-legend .legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-legend .legend div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.footer-legend .legend img {
    width: 30px;
    height: 30px;
}

/* contacts  */

.footer-legend .contacts {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legend a {
  text-decoration: none;
  color: inherit; /* Match your site's color scheme */
  display: flex;
  align-items: center;
  gap: 8px; /* Space between icon and text */
}


.footer-legend .contacts div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.footer-legend .contacts img {
    width: 30px;
    height: 30px;
}
