/* Algemene stijlen */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F6F5EC;
    max-width: 100%;
    overflow-x: hidden; /* Voorkomt horizontaal scrollen */
    align-content: center;
    
    
    
}



/* Header */
header {
    background: #016450;
    padding: 15px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Logo links, nav rechts */
    color: white;
    
    
}

header ul {
    list-style: none;
    padding: 0;
    
}

header ul li {
    display: inline;
    margin: 0 50px;
}

header ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    
    
}
.nav { padding-right: 40px;}

p {
    margin-bottom: 1em; /* of bijvoorbeeld 16px */
  }

#intro{

        background-image: url("images/introductie.JPG");
        background-size: cover; /* Zorgt dat de afbeelding binnen de container blijft */
        background-repeat: no-repeat; /* Voorkomt herhaling */
        background-position: center right; /* Centreert de afbeelding */
        min-height: 600px;
        padding-top: 130px;
        
    }

    .intro-tekst {
color: white;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Verticale centrering */
        align-items: center;     /* Horizontale centrering */
    margin: 180px 20px 50px 20px ;  
   
 }

 #h1intro {

    font-size: 40px;
 }
    

    
    
 
/* Containers */
.container {
    max-width: 100%;
    margin: auto;
    padding: 50px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    
}


.image-container img {
    max-width: 100%; /* Zorgt ervoor dat de afbeelding niet groter wordt dan de container */
    height: auto; /* Houdt de originele verhoudingen */
    display: block;
    
}




/* Werksectie met Grid */
#work .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* Maak een grid met 12 kolommen */
    gap: 20px; /* Afstand tussen de elementen */
    
}

 

/* Plaats de tekst in de eerste kolommen (kolom 1 tot 7) */
.text {
    grid-column: 1 / 7; /* Begin bij kolom 1, eindig bij kolom 7 */
    padding: 20px;
    
}

/* Plaats de video in de laatste kolommen (kolom 7 tot 13) */
.video {
    grid-column: 7 / 13; /* Begin bij kolom 7, eindig bij kolom 13 */
}

.video video {
    max-width: 100%;
    border-radius: 10px;
}





#profile h2 {

    font-size: 30px;
    margin-left: 40px;
    margin-bottom: 0px;
}

/* Profile sectie */
.card {
    background: white;
    padding: 20px;
    margin: 10px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(25% - 20px);
}

.card img {
   
    max-width: 100%;
    border-radius: 5px;
}




/* Buttons */
.button {
    display: inline-block;
    padding: 10px 15px;
    background: #016450;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}




.small-text {
    font-size: 15px;
    max-width: 400px;
}

.button-nav {
    display: inline-block;
    padding: 10px 15px;
    background: #20d564;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    
}




.button-nav:hover {
    background-color: #2e3330; 
}

.contact {
    max-width: 400px;
    margin: 170px auto;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    
}

fieldset {
    margin-bottom: 20px; /* Ruimte tussen de secties */
    padding: 15px; /* Binnenruimte voor betere leesbaarheid */
    border-radius: 5px; /* Afgeronde hoeken voor een nettere uitstraling */
   
    
}


/* Formulierelementen */
form {
    display: flex;
    flex-direction: column;
    
}

label {
    margin-bottom: 5px;
    font-weight: bold;
    
   
}

input, textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
    
}
button {
    padding: 10px 15px;
    background-color: #20d564;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    
    
}

button:hover {
    background-color: #208446;
}



.button:hover {
    background-color: #2e3330; 
}


#about {
    padding: 100px 20px;
    background-color: #F6F5EC;
  }
  
  .about-container {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Foto 1/3, tekst 2/3 */
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    margin-top: 100px;
  }
  
  .about-photo img {
    max-width: 100%;
    height: auto;
    border: 5px solid #016450;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .about-text h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  
  .about-text p {
    font-size: 16px;
    max-width: 600px;
  }
  

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
   
   
}





.footer .social-links a {
    display: inline-block;
    margin: 0 10px;
}

.footer .social-links img {
    width: 40px;  /* Stel een vaste breedte in */
    height: 40px; /* Stel een vaste hoogte in */
    object-fit: cover; /* Zorgt ervoor dat de afbeeldingen goed worden bijgesneden als ze een andere verhouding hebben */
}


    
    
    
    



@media (max-width: 668px) { /* Voor kleinere schermen */
   
    header ul li {
        display: inline;
        margin: 0 5px;
        padding-right: 20px;
        
        
    }

    header ul li a {
       
        font-size: 12px;
        
    }

    
    
   
   
   
    #work .container {
        display: flex;
        flex-direction: column; /* Zet items onder elkaar */
        align-items: center; /* Centreer inhoud */
        
    }

    



    .text {
        grid-column: auto; /* Zet de tekst op volledige breedte */
        max-width: 100%;
        text-align: center; /* Optioneel: centreer de tekst */
    }

    .video {
        grid-column: auto; /* Zet de video op volledige breedte */
        max-width: 100%;
    }

    

    .card {
        flex: none; /* Voorkomt dat de kaarten naast elkaar blijven staan */
        width: 80%; /* Kaarten nemen 80% van de breedte */
        max-width: 100%; /* Optioneel: Maximale breedte */
        margin-bottom: 10px; /* Extra ruimte tussen kaarten */
    }

    .contact {
        display: block;
    }
    
    input, textarea, button {
        width: 100%;
        box-sizing: border-box;
    }
    .about-container {
        grid-template-columns: 1fr; /* Stapelt alles onder elkaar */
        text-align: center;
      }
    
      .about-photo {
        margin-bottom: 20px;
      }
    
      .about-text p {
        margin: 0 auto; /* Centreer de tekst op kleinere schermen */
       
            margin-bottom: 1em; /* of bijvoorbeeld 16px */
          
      }
}


