/*
Theme Name: Mijn Thema
Theme URI: https://amptraide.org
Author: Mijn Naam
Author URI: https://amptraide.org
Description: Amptraide thema
Version: 1.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mijn-thema
*/

body {
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.header-tekst {
  padding-left: 5%;
  padding-top: 20%;
  color: white;
  position: absolute;
  z-index: 100;
  line-height: 1.3;
  width: 33%;
  margin-left: 8%;
}

.header img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: auto;
}

.header h1 {
  font-family: "Tekton-Pro", sans-serif;
  font-size: 5em;
  line-height: 100%;
  margin-bottom: 10px;
}

.header p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5em;
}

/*     HEADER     */

.custom-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  z-index: 10;
  background: transparent; /* Zodat het overlapt */
  margin-top: 30px;
  font-family: "Tekton-Pro", sans-serif;
  font-size: 1.3em;
  padding: 20px 40px;
}

.logo img {
  height: 50px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  margin-right: 50px;
}

.nav-links a.active {
  font-weight: bold;
}

.dropbtn img {
  width: 30px;
  height: auto;
}

.language-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}

.dropbtn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 50px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  text-align: center;
}

.dropdown-content a img {
  width: 30px;
  height: auto;
  padding: 5px;
}

.language-dropdown:hover .dropdown-content {
  display: block;
}

.sticky-element {
  position: sticky;
  top: 0;
  z-index: 5;
}

/*                  */

.about {
  text-align: center;
  margin: 0;
  padding: 0;
}

.row {
  display: flex;

  justify-content: center;
  margin: 0;
  width: 100%;
  height: auto;
}

.image,
.video {
  width: 50%;
  padding: 0;
  margin: 0;
}

.text {
  background-color: #f4f4f4; /* Optioneel om tekstvlak te onderscheiden */
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40%;
  padding-left: 5%;
  padding-right: 5%;
  line-height: 1;
}

.text h2 {
  font-family: "Tekton-Pro", sans-serif;
  font-size: 5em;
  margin-bottom: 10px;
  color: #1a5fa2;
  text-align: left;
}

.text p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 1.6;
  text-align: left;
  color: #1a5fa2;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000; /* Optioneel voor een achtergrond */
  width: 50%;
  height: 40vw; /* Maakt de video vierkant */
  max-height: 700px; /* Zorgt ervoor dat het niet te groot wordt */
}

.video iframe {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

/*     ACTIVITY     */

.activity {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70vh;
  position: relative;
  margin: 0;
  padding: 0;
  background: url("images/activity-achtergrond.png") no-repeat center
    center/cover;
}

.activity-overlay {
  display: flex;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Donkere overlay voor leesbaarheid */
  align-items: center;
  justify-content: center;
}

.activity-text,
.activity-image {
  width: 50%;
  padding: 40px;
  color: #fff; /* Witte tekst voor contrast */
}

.activity-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.activity-subtitle {
  font-size: 20px;
  letter-spacing: 1px;
  font-family: Arial, Helvetica, sans-serif;
}

.activity-title {
  font-family: "Tekton-Pro", sans-serif;
  font-size: 5em;
  margin-bottom: 15px;
  margin-top: -20px;
  line-height: 1;
}

.activity-description {
  font-size: 20px;
  line-height: 1.4;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  width: 50%;
  margin: 0 auto;
}

.activity-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.activity-image img {
  width: 70%;
  height: auto;
  border-radius: 8px;
}

.activity-button {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid white; /* Opvallende kleur */
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.1s ease-in-out;
  font-family: Arial, Helvetica, sans-serif;
  width: 20%;
  margin: 0 auto;
  margin-top: 50px;
}

.activity-button:hover {
  background-color: white; /* Donkerdere tint bij hover */
  color: #1a5fa2;
}

/* RESPONSIVE DESIGN */

/* Algemene responsive regels */
@media (max-width: 1024px) {
  .custom-header {
    width: 100%;
    padding: 10px 20px;
  }

  .nav-links {
    gap: 10px;
    font-size: 1em;
  }

  .activity {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .activity-text,
  .activity-image {
    width: 100%;
    text-align: center;
  }

  .activity-description {
    width: 80%;
    margin: 0 auto;
  }

  .activity-button {
    width: 50%;
  }
}

/* Mobiele schermen */
@media (max-width: 768px) {
  .header-tekst {
    width: 90%;
    padding-top: 15%;
  }

  .header h1 {
    font-size: 3em;
  }

  .header p {
    font-size: 1.2em;
  }

  .custom-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .dropbtn img {
    width: 25px;
  }

  .about .row {
    flex-direction: column;
    align-items: center;
  }

  .image,
  .video,
  .text {
    width: 100%;
    padding: 10px;
    text-align: center;
  }

  .video {
    height: 50vw; /* Houd de video vierkant */
  }

  .activity {
    flex-direction: column;
    padding: 20px;
  }

  .activity-title {
    font-size: 2.5em;
  }

  .activity-description {
    font-size: 16px;
    width: 90%;
  }

  .activity-button {
    width: 80%;
    font-size: 16px;
    padding: 10px;
  }

  .activity-image img {
    width: 90%;
  }
}

/* Extra kleine schermen */
@media (max-width: 480px) {
  .header h1 {
    font-size: 2.5em;
  }

  .activity-title {
    font-size: 2em;
  }

  .activity-button {
    width: 90%;
    font-size: 14px;
    padding: 8px;
  }
}
