body {
  background-color: white;
  margin: 0px;
}



.onpage_links a{
  color: #00FF00;
  font-size: 18px;
  border: 2px solid #32CD32;
  text-decoration: none;
  font-weight: bold;
  width:200px;
  height: 40px;
  padding-top: 20px;
  display: inline-block;
  border-radius: 5px;
  background-color: transparent;
  transition: all 0.3s ease;
  margin: 10px;
}

.onpage_links_div {
  display: flex;
  justify-content: center;
}


.onpage_links a:hover {
  background-color: #00FF00;
  color: #222;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 255, 0, 0.6);
}


.onpage_links a:active {
  transform: translateY(1px);
  box-shadow: none;
}





h3 {
  font-size: 30px;
}

p {
  font-size: 20px;
}

.vakken {
  margin-top: 150px;
}

.cards::-webkit-scrollbar {
  display: none; 
}

.cards {
  display: flex;
  gap: 40px;
  overflow-x: scroll;
  white-space: nowrap;
  scrollbar-width: none;

  /* Fade meer naar buiten van chatgpt*/
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 2%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 98%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to right, rgba(0,0,0,0) 2%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 98%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;

  /* Verticale ruimte */
  padding-top: 50px;
  padding-bottom: 50px;
}






.card{
  flex: 0 0 auto;          
  width: 400px;
  height: 600px;
  background-color: black;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: #00FF00;
  flex-direction: column;
  
}

#vergelijking-id {
  width: 60%;
  margin-top: -100px;
}


.knop-js {
  text-align: center;
}

.knop-js button {
  color: #00FF00;
  background-color: black;
  border-color: #00FF00;
  padding: 20px 200px;
}

.randomdiv {
  text-align: center;
  margin: 40px;
}

.knop-js button:hover {
  color: white;
  background-color: black;
  border-color: white;
}

.random {
  
}

.random-start,
.random-stop {
  padding: 20px 200px;
  background-color: black;
  border: 2px solid; 
  transition: 0.2s;  
}


.random-start {
  color: #00FF00;
  border-color: #00FF00;
}

.random-stop {
  color: #FF0000;
  border-color: #FF0000;
}


.random-start:hover,
.random-stop:hover {
  color: white;
  border-color: white;
}
a {
  text-decoration: none;
}

.card:hover{
  background-color: #222222;
}

.info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 50px;
}

.vak {
  background-color: black;
  color: #00FF00;
  width: 500px;
  height: 500px;
  border-radius: 10px;
  display: inline;
  padding: 30px;
}

.vak img {
  display: block;
  padding-top: 100px;
  margin: auto;
  width: 90%;
  height: auto;
 
}

#python-ifelifelse {
  width: 60%;
}

#python-loops{
  width: 45%;
  margin-top: -80px;
}

#javascript-logo_id {
  margin-top: -100px;
}

#python-logo {
  width: 70%;
}

#python-lijsten{
  width: 60%;
}

#lua-logo {
  width: 70%;
}

#cpp-klassen {
  width: 70%;
}

#cpp-logo{
  width: 70%;
}

#css_file_invoegen_31_id {
  margin-top: -70px;
  width:50%;
}

#css_file_invoegen_3_id {
  margin-top: -70px;
}

#css_file_invoegen_2_id {
  margin-top: -50px;
  width:30%;
}

#list_voorbeeld_id {
  width: 30%;
}

#images_voorbeeld_id {
  width: 50%;
}

#tabel_voorbeeld_id {
  width: 50%;
}

#css_voorbeeld1_id {
  width: 60%;
}

.dubbelvak {
  background-color: black;
  color: #00FF00;
  width: 1130px;
  height: 500px;
  border-radius: 10px;
  display: inline-block;
  text-align: center;
}

#html-dubbelvak{
  height: 700px;
}

.dubbelvaklang {
  background-color: black;
  color: #00FF00;
  width: 1130px;
  height: 700px;
  border-radius: 10px;
  display: inline-block;
  text-align: center;
}

.dubbelvak ul {
  list-style: none;
}


.dubbelvak a {
  color: #00FF00;
}

.dubbelvak a:hover {
  color: white;
}


.text{
  text-align: center;
  align-items: center;
  margin:30px;
}
      
/* --- Container animatie --- */
.extravak {
  width: 1130px;
  height: 70px;
  background-color: black;
  color: #00FF00;
  border-radius: 10px;
  padding: 15px;
  overflow: hidden;
  transition: height 0.35s ease;
}

.extravak.open {
  height: 2100px; /* voldoende voor tabel */
}

/* --- Knop --- */
.openBtn {
  padding: 10px 15px;
  background-color: black;
  color: #00FF00;
  border: 2px solid #00FF00;
  cursor: pointer;
}

.openBtn:hover {
  color: white;
  border-color: white;
}

/* --- Verborgen content --- */
.hiddenContent {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin-top: 20px;
}

.extravak.open .hiddenContent {
  opacity: 1;
  pointer-events: auto;
}

.htmlTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  color: white;
  font-size: 18px;
}

.htmlTable th {
  background-color: #333;
  color: #00FF00;
  padding: 12px;
  border: 1px solid #555;
}

.htmlTable td {
  background-color: #222;
  padding: 12px;
  border: 1px solid #444;
}

.htmlTable tr:nth-child(even) td {
  background-color: #303030;
}

.htmlTable tr:hover td {
  background-color: #444;
  color: white;
}

.intro {
  background-color: #000;      /* zwarte achtergrond zoals jouw site */
  color: #00FF00;              /* zelfde groen als jouw thema */
  padding: 80px 20px;
  text-align: center;
  margin-top: 20px;
}

.intro h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.intro p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.5;
}

/* knop */
.intro-button {
  display: inline-block;
  padding: 15px 40px;
  border: 2px solid #00FF00;
  color: #00FF00;
  text-decoration: none;
  font-size: 20px;
  transition: 0.2s;
}

/* hover effect */
.intro-button:hover {
  color: white;
  border-color: white;
}

.footer {
  background-color: black;
}

.footertext {
  margin: 5px;
}

.footerrow1 {
  display: flex;
  background-color: black;
  flex-direction: row;
  padding: 30px;
  justify-content: space-evenly;
  text-align: center;
  color: #00FF00;
}

.footerrow2 {
  display: flex;
  justify-content: center;
  padding-bottom: 50px;
}

.footerlinks{
  display: flex;
  flex-direction: column;
  color: #00FF00;
  justify-content: center;
  align-items: center;
  
}

.footerlinks ul{
  list-style: none;
}

.footerlinks li{
  margin: 30px 0;
}

.footer a{
  color: #00FF00;
  transition: transform 0.3s ease;
}

.footer a:hover {
  color: white;
  transform: scale(1.3);
}

.url {
  color: #00FF00;
  text-align: center;
  align-items: center;
  font-size: 24px;
  padding: 10px;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.url:hover {
  color: white;
  transform: scale(1.3);
}

.links {
  display: flex;
  justify-content: space-evenly;
  background-color: #000000;
  width: 100%;
  position: fixed;
  margin-top: -151px;
  z-index: 1000;
  
}

.homepage-nav{
  margin-top: -21px;
}

#logo {
  padding: 20px;
}





