
*, *::after, *::before {
  box-sizing:border-box;  
}

:root {
 color-scheme: light dark;
 --bg: light-dark(white, black);
 --clr: light-dark(Black, White);
 --crd: light-dark(rgb(240, 240, 240), rgb(54, 54, 54));
 --crdt: light-dark (rgb(209, 209, 209), rgb(156, 156, 156));

}
html:has([value="light"]:checked) {
color-scheme: light;
}
html:has([value="dark"]:checked) {
color-scheme: dark;
}
html {
color: var(--clr);
background-color: var(--bg); 
/*card color:: var(--crd);*/
/*card text color:: var(--crdt);*/
}

:root {

    --color-nintendo:#e60012; 
}

body {
  padding: 0;
  margin: 0;
  background-color: var(--bg);
}


header {
    background-color: #e60012;
    color: white;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 1em 2em; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
    z-index: 1000;
    box-sizing: border-box;
}

header img {
    height: 40px; 
}

.header-links {
    display: flex;
    gap: 1.5em;
    align-items: center;
}

.header-links a {
    display: flex;
    flex-direction: column;  
    align-items: center;     
    gap: 0.25em;            
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
}

.header-links a img {
    width: 24px;   
    height: 24px;  
}

header a:hover{

text-decoration: underline;

}




/*Footer--------------------------------------------------------------------------------------*/

footer {
  background-color: #a8000e;
  color: white;
  margin-left: 5em;
}


.taal-balk {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  background-color: #e60012;
}

.taal-balk img {
  height: 40px;
}


.footer-links {
  display: grid;
  grid-template-columns: repeat(6, auto);
  gap: 1em;
  padding: 2em;
}

.footer-links a {
  text-decoration: none;
  color: white;
}

.footer-links a:hover {
  text-decoration: underline;
}


.copyright {
  text-align: left;
  padding: 1em 2em;
}

.copyright p {
  margin: 0;
  font-size: 0.85em;
}


@media (max-width: 1024px) {
  footer{
    margin-left: 0em;
  }
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}


@media (max-width: 768px) {
  .taal-balk {
    flex-direction: column;
    gap: 0.5em;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .copyright {
    text-align: center;
  }
}
/* Main---------------------------------*/


html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

main{
background-color: var(--bg); 

}


/*Updates--------------------------------------------------------*/


.updates {
  padding: 2rem 10%;
}

.update-main {
  display: flex;
  gap: 1.5em;
  align-items: flex-start;
  background-color: var(--crd);
  font-size: medium;
  padding: 1em;
  color: var(--crdt);
  border-radius: 1em;
}

.update-main img {
  width: 60%;
  height: auto;
  border-radius: 1em;
  object-fit: cover;
}

.update-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.update-main h3 {
  font-size: larger;
  color: var(--clr);
}

.update-main a {
  font-size: small;
  text-decoration: none;
  color: var(--crdt);
}

.updatesub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5em;
  margin-top: 2em;
}

.update-card {
  background-color: var(--crd);
  border-radius: 1em;
  overflow: hidden;
}

.update-card img {
  width: 100%;
  height: auto;
  display: block;
}

.update-card p,
.update-card h4 {
  padding: 0 1em;
  color: var(--crdt);
}

@media (max-width: 1024px) {

  .updates {
    padding: 2rem 5%;
  }

  .updatesub {
    grid-template-columns: repeat(2, 1fr);
  }

  .update-main img {
    width: 50%;
  }
}

@media (max-width: 768px) {

  .update-main {
    flex-direction: column;
  }

  .update-main img {
    width: 100%;
  }

  .updatesub {
    grid-template-columns: 1fr;
  }

  .update-main {
    padding: 1em;
  }
}

/*Games-------------------------------------------------------------------------------------------------*/

.games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5em;
  margin-top: 2em;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.games h2 {
  grid-column: 1 / -1;
}

.game-card {
  background-color: var(--crd);
  border-radius: 1em;
  overflow: hidden;
}

.games img {
  width: 100%;
  height: auto;
  display: block;
}

.game-card p {
  font-size: small;
  padding-left: 1em;
  color: var(--crdt);
}

.game-card h3 {
  padding-left: 1em;
  padding-right: 1em;
  color: var(--clr);
}

@media (max-width: 1024px) {
  .games {
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
  }
}

@media (max-width: 768px) {
  .games {
    grid-template-columns: 1fr;
    width: 95%;
  }
}
/*Apps-----------------------------------------------------------------------------*/

.apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5em;
  margin-top: 2em;

  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.apps h2 {
  grid-column: 1 / -1;
}

.apps-card {
  background-color: var(--crd);
  border-radius: 1em;
  overflow: hidden;
}

.apps img {
  width: 100%;
  height: auto;
  display: block;
}

.apps-card p {
  font-size: small;
  padding-left: 1em;
  color: var(--crdt);
}

.apps-card h3 {
  padding-left: 1em;
  padding-right: 1em;
  color: var(--clr);
}

@media (max-width: 1024px) {
  .apps {
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
  }
}
@media (max-width: 768px) {
  .apps {
    grid-template-columns: 1fr;
    width: 95%;
  }
}


/*My nintendo store-----------------------------------------------------------------------*/

.store-wrapper {
  background-color: #e60012;
  width: 100%;
}

.store {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5em;

  width: 80%;
  margin: 2em auto;

  background-color: #e60012;
}

.store h2 {
  display: none;
}

.store-logo {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 300px;
  padding-top: 2em;
}

.store-card {
  background-color: var(--crd);
  border-radius: 1em;
  overflow: hidden;
}

.store-card img {
  width: 100%;
  height: auto;
  display: block;
}

.store-card p {
  font-size: small;
  padding-left: 1em;
  color: var(--crdt);
}

.store-card h3 {
  padding-left: 1em;
  padding-right: 1em;
  color: var(--clr);
}

.store-button {
  grid-column: 1 / -1;
  justify-self: center;

  margin: 2em 0;
  color: white;
  border: solid 2px white;
  font-size: medium;
  padding: 1em;
  font-weight: bold;
  border-radius: 0.5em;
}
.store-button:hover { 
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); }

@media (max-width: 1024px) {
  .store {
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
  }
}

@media (max-width: 768px) {
  .store {
    grid-template-columns: 1fr;
    width: 95%;
  }

  .store-logo {
    max-width: 800px;
  }
}


/*Hardware-----------------------------------------------------------------------*/


.hardware {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2em;
  margin-top: 2em;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.hardware h2 {
  grid-column: 1 / -1;
}

.hardware-card-upper {
  display: flex;
  align-items: center;
  gap: 1em;
  background-color: #e60012;
  border-radius: 1em;
  padding: 1.5em;
}

.hardware-card-upper .logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  font-size: x-large;
  color: white;
  text-align: center;
}

.hardware-card-upper .logo-text img {
  max-width: 150px;
  height: auto;
}

.hardware-card-upper > img:last-child {
  max-width: 60%;
  height: auto;
  object-fit: cover;
}

.hardware-card-lower {
  display: flex;
  align-items: center;
  gap: 1em;
  border-radius: 1em;
  padding: 1.5em;
}

.hardware-card-lower .logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  font-size: x-large;
  color: var(--clr);
  text-align: center;
}

.hardware-card-lower .logo-text img {
  max-width: 150px;
  height: auto;
}

.hardware-card-lower > img:first-child {
  max-width: 60%;
  height: auto;
  object-fit: cover;
  border-radius: 1em;
}

@media (max-width: 1024px) {
  .hardware {
    width: 90%;
  }

  .hardware-card-upper,
  .hardware-card-lower {
    flex-direction: column;
    text-align: center;
  }

  .hardware-card-upper > img:last-child,
  .hardware-card-lower > img:first-child {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hardware {
    width: 95%;
  }

  .hardware-card-upper,
  .hardware-card-lower {
    padding: 1em;
  }

  .hardware-card-upper .logo-text,
  .hardware-card-lower .logo-text {
    font-size: large;
  }
}


/*Online-----------------------------------------------------------------------*/

.online {
  width: 80%;
  margin: 2em auto;
}

.online-card {
  display: flex;
  align-items: center;
  gap: 1em;

  background-color: #e60012;
  border-radius: 1em;
  padding: 1em;

  color: white;
  margin-top: 3em;
}

.online-card .images {
  display: flex;
  gap: 0.5em;
}

.online-card .images img {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 0.5em;
}

.online-card .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5em;
  flex: 1;
}

.online-card .text h3 {
  margin: 0;
  font-size: x-large;
}

.online-card .text p {
  margin: 0;
  font-size: medium;
}

@media (max-width: 1024px) {
  .online {
    width: 90%;
  }

  .online-card {
    flex-direction: column;
    text-align: center;
  }

  .online-card .images {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .online {
    width: 95%;
  }

  .online-card {
    padding: 1em;
  }

  .online-card .images {
    flex-direction: column;
    align-items: center;
  }

  .online-card .images img {
    max-width: 100%;
  }
}

/* Carousel----------------------------------------------------------------------------*/

.carousel {
  width: 80%;
  max-width: 1250px;
  margin: 2em auto;
  padding-top: 1em;
  padding-bottom: 0em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg);
}

.carousel img {
  width: 100%;
  max-height: 650px;
  border-radius: 10px;
  display: block;
  margin: 0 1em;
  object-fit: cover;
}

button {
  color: var(--clr);
  font-size: 2em;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .carousel {
    width: 90%;
  }

  .carousel img {
    max-height: 450px;
  }

  button {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .carousel {
    width: 95%;
  }

  .carousel img {
    max-height: 250px;
    margin: 0;
  }

  button {
    font-size: 1.5em;
  }
}

/*Sidebar-----------------------------------------------------------------------------------------------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 67px;               
    left: 0;
    width: 100px;
    height: calc(100% - 60px);
    background-color: #a8000e;
    padding-top: 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li a {
    display: block;
    background-color: #e60012;  
    color: white;
    padding: 15px;
    margin: 1px;              
    text-align: center;
    text-decoration: none;
    border-top-right-radius: 20px;       
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: small;
}

.sidebar ul li a:hover {
    background-color: #c20010;
}

.sidebar ul li a img {
    display: block;
    margin: 0 auto 5px auto;
}

@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }
}

/*sidebar popup-----------------------------------------------------------------*/ 

.sidenav {
  height: 100%; 
  width: 0; 
  position: fixed; 
  z-index: 1; 
  top: 00; 
  left: 100px; 
  background-color: var(--bg);
  overflow-x: hidden; 
  padding-top: 90px; 
  
}

.sidenav a {
  padding-left: 1em;
  text-decoration: none;
  color: var(--clr);
  display: block;
  padding-bottom: 1em;
}

.sidenav h2{
padding-left: 0.8em;
}

.sidenav h3{
padding-left: 1em;
}

.sidenav a:hover {
 color: #e60012;
 text-decoration: underline;
}

@media (max-width: 1024px) {
  .sidenav {
     left: 150px; 
  }
}


/*Overzicht pagina-----------------------------------------------------------------*/

.overzicht-pagina {
  width: 80%;
  margin: 0 auto;

  background-color: var(--bg);
  padding: 2em;
}

.youtube {
  color: white;
  background-color: #e60012;
  border-radius: 1em;
  text-align: center;
  padding: 2em;
  margin-bottom: 2em;
}

.youtube-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.youtube-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1024px) {
  .overzicht-pagina {
    width: 90%;
    padding: 1.5em;
  }
}

@media (max-width: 768px) {
  .overzicht-pagina {
    width: 95%;
    padding: 1em;
  }

  .youtube {
    padding: 1em;
  }
}


/*Videos----------------------------------------------------------------------------------*/

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

  width: 80%;
  margin: 2em auto;
}

.video-card {
  border-radius: 1em;
  background-color: var(--crd);
  overflow: hidden;
}

.video-card video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1em;
}

.video-card h3 {
  margin-top: 10px;
  font-size: larger;
  padding-left: 1em;
}

@media (max-width: 1024px) {
  .video-grid {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    width: 95%;
  }
}


/*Uitgelichte games------------------------------------------------------------------*/

.uitgelicht {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;

  width: 80%;
  margin: 2em auto;
}

.uitgelicht h2 {
  grid-column: 1 / -1;
}

.uitgelicht-card {
  background-color: var(--crd);
  border-radius: 1em;
  overflow: hidden;
}

.uitgelicht-card img {
  width: 100%;
  height: auto;
  display: block;
}

.uitgelicht-card p {
  font-size: small;
  padding-left: 1em;
  color: var(--crdt);
}

.uitgelicht-card h3 {
  padding-left: 0.5em;
  padding-right: 1em;
  color: var(--crdt);
}

@media (max-width: 1024px) {
  .uitgelicht {
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
  }
}

@media (max-width: 768px) {
  .uitgelicht {
    grid-template-columns: 1fr;
    width: 95%;
  }
}

/* VRaag het de ontwikkelaars----------------------------------------------------------------*/

.ontwikkel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;

  width: 80%;
  margin: 2em auto;
}

.ontwikkel h2 {
  grid-column: 1 / -1;
}

.ontwikkel-card {
  background-color: var(--crd);
  border-radius: 1em;
  overflow: hidden;
}

.ontwikkel-card img {
  width: 100%;
  height: auto;
  display: block;
}

.ontwikkel-card h3 {
  padding-left: 1em;
  padding-right: 1em;
  color: var(--crdt);
}

@media (max-width: 1024px) {
  .ontwikkel {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .ontwikkel {
    grid-template-columns: 1fr;
    width: 95%;
  }
}

/* Creator's voice------------------------------------------------------------*/

.voice {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  width: 80%;
  margin: 2em auto;
}

.voice img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 1em;
}

.voice p {
  font-size: medium;
  max-width: 700px;
}

@media (max-width: 1024px) {
  .voice {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .voice {
    width: 95%;
  }

  .voice p {
    font-size: small;
  }
}

/* Onlineheader---------------------------------------------------*/

.OnlineHeader {
  display: flex;
  flex-wrap: wrap;          
  justify-content: center;  
  align-items: center;      
  background-color: #a8000e;
  padding: 3em 0;
  margin-top: 3em;
  margin-left: 6.5em;
}


.tekstblok {
  display: flex;
  flex-direction: column; 
  justify-content: center; 
  margin-left: 20px;        
  max-width: 400px;
}


.OnlineHeader img:first-of-type {
  width: 400px;
  flex-shrink: 0;
  margin-right: 10em;
  margin-bottom: 5em;
}


.tekstblok h1 {
  margin: 0;
  color: white;

}

.tekstblok p {
  margin-top: 10px;
  color: white;
}


.OnlineHeader img:last-of-type {
  flex-basis: 100%;         
  width: 900px;
  max-width: 60%;
  margin-top: 20px;
}

@media (max-width: 1024px) {

  .OnlineHeader {
    margin-left: 0;
    padding: 2em 1.5em;
  }

  .OnlineHeader img:first-of-type {
    width: 300px;
    margin-right: 2em;
    margin-bottom: 2em;
  }

  .tekstblok {
    max-width: 300px;
  }

  .tekstblok h1 {
    font-size: 1.6em;
  }

  .tekstblok p {
    font-size: 0.95em;
  }

  .OnlineHeader img:last-of-type {
    max-width: 80%;
  }
}

@media (max-width: 768px) {

  .OnlineHeader {
    flex-direction: column;
    text-align: center;
    margin-left: 0;
    padding: 2em 1em;
  }

  .OnlineHeader img:first-of-type {
    width: 250px;
    margin: 0 0 1em 0;
  }

  .tekstblok {
    margin: 0;
    max-width: 100%;
    align-items: center;
  }

  .tekstblok h1 {
    font-size: 1.4em;
  }

  .tekstblok p {
    font-size: 0.9em;
  }

  .OnlineHeader img:last-of-type {
    max-width: 100%;
  }
}

/* Proefknop--------------------------------------------------------------------------------*/

.Proef {
  display: flex;
  flex-direction: column;       
  justify-content: center;      
  align-items: center;          
  text-align: center;

  background-color: var(--crd);
  padding: 3em 2em;

  margin: 3em auto;       
  max-width: 1000px;      
  border-radius: 1em;     
}

.Proef button {
  background-color: #c20010;
  color: white;
  border: none;
  padding: 1em 3em;     
  border-radius: 1em;
  cursor: pointer;
  font-size: 2em;        
  font-weight: bold;
  margin: 1em 0;         

  transition: transform 0.2s ease, box-shadow 0.2s ease; 
}

.Proef button:hover {
  transform: scale(1.1);       
}

.Proef h2 {
  margin: 0 0 1em 0;           

}

.Proef p {
  max-width: 600px;
  margin: 0;
  scale: 70%;
  font-weight:100
}

/*Ontdek---------------------------------------------------------------*/
.Ontdek {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3em 2em;
}

.Ontdek > h2 {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 2em;
}

.OntdekCardsRow {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
}

.OntdekCard {
  display: flex;
  flex-direction: column;    
  align-items: center;       
  padding: 1em;
  border-radius: 1em;
  width: 300px;              
  text-align: center;
  background-color:var(--crd);
}

.OntdekCard img {
  width: 100%;               
  border-radius: 0.5em;      
  margin-bottom: 1em;        
}

.OntdekCard h3 {
  margin: 0 0 0.5em 0;
  color: var(--crdt);
}

.OntdekCard p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.4;
  color: var(--crdt);
}

.GamechatCard {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 2em;
  margin-top: 3em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background-color:var(--crd);
  padding: 1em;
  border-radius: 1em;
}

.GamechatText {
  display: flex;
  flex-direction: column;
}

.GamechatCard img {
  width: 500px;
  max-width: 100%;
  height: auto;
}

.GamechatText h3 {
  margin: 0 0 0.5em 0;
  color: var(--crdt);
  font-size: 2em;
}

.GamechatText p {
  margin: 0 0 1em 0;
  line-height: 1.4;
  color: var(--crdt);
  font-size: 0.8em;
}

@media (max-width: 1024px) {

  .Ontdek {
    padding: 2em 1.5em;
  }

  .Ontdek > h2 {
    font-size: 1.8em;
  }

  .OntdekCardsRow {
    gap: 1.5em;
  }

  .OntdekCard {
    width: 45%;
  }

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

  .GamechatCard img {
    width: 100%;
  }

  .GamechatText h3 {
    font-size: 1.6em;
  }

  .GamechatText p {
    font-size: 0.9em;
  }
}



@media (max-width: 768px) {

  .Ontdek {
    padding: 2em 1em;
  }

  .Ontdek > h2 {
    font-size: 1.5em;
  }

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

  .OntdekCard {
    width: 100%;
  }

  .OntdekCard p {
    font-size: 0.9em;
  }

  .GamechatCard {
    gap: 1em;
    padding: 1em;
  }

  .GamechatText h3 {
    font-size: 1.4em;
  }

  .GamechatText p {
    font-size: 0.85em;
  }
}
/*Voordelen-------------------------------------------------------------------------------------------*/
.Voordelen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
  margin-top: 3em;
  text-align: center;
}

.Voordelen > h2 {
  font-size: 2em;
  margin: 0;
}


.VoordelenRow {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 2em;
  max-width: 900px;
}

.VoordelenRow img {
  width: 500px;
  max-width: 100%;
  height: auto;
}

.VoordelenText {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.VoordelenText p {
  margin: 0;
  line-height: 1.4;
  text-align: left;
  font-size: 0.9em;
}

.VoordelenText a {
  margin: 0;
  line-height: 1.4;
  text-align: left;
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #c20010;
}
  .VoordelenText a:hover {
    text-decoration: none;
  }

@media (max-width: 1024px) {

  .VoordelenRow {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }

  .VoordelenRow img {
    width: 100%;
  }

  .VoordelenText {
    align-items: center;
  }

  .VoordelenText p,
  .VoordelenText a {
    text-align: center;
  }
}

@media (max-width: 768px) {

  .Voordelen > h2 {
    font-size: 1.5em;
  }

  .VoordelenText p,
  .VoordelenText a {
    font-size: 0.9em;
  }
}
  
/*Lidmaatschap-------------------------------------------------------------------------------------------*/
.lidmaatschap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
  text-align: center;
  padding: 2em;
}

.lidmaatschap > h2 {
  font-size: 2em;
  margin: 0;
  color: var(--crdt);
}

.lidmaatschap > p {
  max-width: 700px;
  color: var(--crdt);
}

.lidmaatschapCardsRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
}

.lidmaatschapCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 500px;
  text-align: center;
  background-color:var(--crd);
  padding: 3em;
  border-radius: 1em;
  border: 1px solid grey;
  border-radius: 10px;
}

.lidmaatschapCard img {
  width: 60%;
  height: auto;
  margin-bottom: 1em;
}

.lidmaatschapCard h3 {
  margin: 0 0 0.5em 0;
  color: var(--crdt);
}

.lidmaatschapCard p {
  margin: 0;
  line-height: 1.4;
  color: var(--crdt);
}

.lidmaatschapCard a {
  margin: 0;
  line-height: 1.4;
  color: #c20010;
  margin-top: 0.5em;
}

.lidmaatschapCard a:hover {
    text-decoration: none;
  }

@media (max-width: 1024px) {

  .lidmaatschapCard {
    width: 80%;
    padding: 2em;
  }

  .lidmaatschap > h2 {
    font-size: 1.8em;
  }

  .lidmaatschap > p {
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {

  .lidmaatschap {
    padding: 1.5em 1em;
  }

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

  .lidmaatschapCard {
    width: 100%;
    padding: 1.5em;
  }

  .lidmaatschapCard img {
    width: 80%;
  }

  .lidmaatschap > h2 {
    font-size: 1.5em;
  }

  .lidmaatschap > p {
    font-size: 0.9em;
  }
}
/*Vragen----------------------------------------------------------------------*/
.Vragen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
  text-align: center;
  margin-top: 3em;
  margin-bottom: 3em;
  
}


.VragenHeader {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1em;
}

.VragenHeader img {
  width: 80px;
  height: auto;
}


.VragenHeader h2 {
  margin: 0;
}

.Vragen > p {
  max-width: 700px;
  line-height: 1.4;
}

.VragenButtons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8em;
}

.VragenButtons button {
  width: 1000px;
  padding: 1em 1.5em;
  font-size: 1.1em;
  text-align: left;
  background-color:var(--crd);
  border: none;
  border-radius: 0.5em;
  cursor: pointer;
  font-weight: bolder;
}

.VragenSupportButton {
  width: 600px;
  padding: 1em;
  font-size: 1.5em;
  text-align: center;
  color: #c20010;
  background-color: transparent;
  border: 1px solid #c20010;
  border-radius: 0.5em;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bolder;
}

.VragenButtons button:hover {
  background-color: #8a8a8a;
  color: white;
}

.VragenSupportButton:hover {
  background-color: #c20010;
  color: white;
}

@media (max-width: 1024px) {

  .VragenButtons button {
    width: 90%;
    font-size: 1em;
  }

  .VragenSupportButton {
    width: 80%;
    font-size: 1.3em;
  }

  .VragenHeader img {
    width: 60px;
  }

  .Vragen > p {
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {

  .Vragen {
    padding: 0 1em;
  }

  .VragenHeader {
    flex-direction: column;
    text-align: center;
  }

  .VragenHeader img {
    width: 50px;
  }

  .VragenButtons button {
    width: 100%;
    font-size: 0.95em;
    padding: 0.9em 1em;
  }

  .VragenSupportButton {
    width: 100%;
    font-size: 1.1em;
  }

  .Vragen > p {
    font-size: 0.9em;
  }
}

.hamburger {
  display: none;
  position: static; 
  margin-right: 1em;
  background: #e60012;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
}


@media (max-width: 1024px) {

  .hamburger {
    display: block;
  }

  .sidebar {
    display: block;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 150px;
    z-index: 1000;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  header {
    justify-content: flex-start;
    gap: 1em;
  }

  .hamburger {
    display: block;
  }

  .header-links {
    margin-left: auto;
  }
}

@media (max-width: 1024px) {

  header {
    padding: 0.8em 1em;
    gap: 0.5em;
  }

  header img {
    height: 30px;
  }

  header label {
    font-size: 0.7em;
  }

  .header-links {
    gap: 0.5em;
  }

  .header-links a {
    font-size: 0.7em;
  }

  .header-links a img {
    width: 18px;
    height: 18px;
  }
}


@media (max-width: 768px) {

  header {
    padding: 0.5em;
    gap: 0.3em;
  }

  header img {
    height: 25px;
  }

  .header-links {
    gap: 0.3em;
  }

  .header-links a {
    font-size: 0.6em;
  }

  .header-links a img {
    width: 14px;
    height: 14px;
  }
}