body {
    margin: 0;
    background-color: antiquewhite;

}
.main {
    margin-left: 20px;
    margin-right: 20px;
}
/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: rgb(0, 0, 0);
    padding: 10px;
}
#title {
    margin-bottom: 0;
    margin-top: 0;
    text-align: center;/* Zet h1 tytel text centraal */
    flex: 1; /* Laat de titel uitrekken om ruimte te vullen*/
    color: white;
    display: inline;
    text-decoration: none;
    
}
#title a {
    text-decoration: none; /* Verwijder onderlijning van de link */
    color: white; /* Zorg ervoor dat de link wit is */
}
/* Navbar Styles */

.navbar ul {
    list-style-type: none;
    background-color: rgb(0, 0, 0);
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.navbar li {
    float: left; /* horizonatle lijst*/
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 12px;
    display: block;
    text-align: left;
}

.navbar a:hover {
    background-color: rgb(3, 34, 24);
}

#menu-bar {
    display: none;
}

header label {
    font-size: 20px;
    color: #000307;
    cursor: pointer;
    display: none;
}

@media (max-width: 900px) {
    header {
        padding: 20px;
    }

    header label {
        display: inline-block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ccc;
        border-top: 1px solid rgb(176, 150, 150);
        display: none;
        flex-direction: column;
    }

    .navbar ul li {
        width: 100%;
        float: none;
    }

    .navbar ul li ul {
        position: relative;
        width: 100%;
        background-color: #ccc;
        left: 0;
    }

    #menu-bar:checked ~ .navbar { /* wanneer de checkbox is aangevinked*/
        display: flex;
        flex-direction: row;
        position: fixed;
        top: 120px;
        left: 0;
        right: 0;
        bottom: 0;
    }

    
    #menu-bar:checked ~ .navbar ul {/* wanneer de checkbox is aangevinked*/
        flex-direction: column;
        width: 100%; /* Neem de volledige breedte in beslag */
    }

    
    #menu-bar:checked ~ .navbar li { /* Pas de breedte van de menu-items aan */
        width: 100%;
        box-sizing: border-box;  /*inclusief padding en grens */
    }

    .navbar ul {
        background-color: antiquewhite;
    }

    .navbar a {
        color: #000307;
        padding: 20px;
        font-size: x-large;
        text-align: center;
    }
}

@media screen and (max-width: 900px) {
    .navbar {
        display: none;
    }

    .main {
        margin-left: 20px;
        margin-right: 20px;
    }
}




.fotohoofdpagina {
    display: flex;
    justify-content: flex-start; /* Uitlijnen naar links */
    
    margin-top: 50px; 
    margin-bottom: 100px;
}
.fotohoofdpagina img {
    max-width: 100%; /* Zorg ervoor dat de afbeelding responsief is */
    height: 600px;
}
.teksthoofdpagina {
    
    margin-left: 20px; 
    max-width: auto; 
    margin-bottom: 40px;
}


.teksthoofdpagina ul {
   
    padding: 0;
    margin: 0;
}
.teksthoofdpagina li {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px;
    border-bottom: 1px solid #ccc; /* maakt enkel de onderste lijn van de border aan*/
    
}

.teksthoofdpagina i {
    margin-right: 15px;
    margin-bottom: 5px;
    font-size: 24px;
    color: #0f522d;
}
h4{ /* de fonts*/
    margin-bottom: 2px;
    margin-right: 17px;
}
@media screen and (max-width: 900px) {
    .fotohoofdpagina {
        flex-direction: column; /* Plaats de elementen onder elkaar op kleinere schermen */
        align-items: center; /* Centreer de items horizontaal op kleinere schermen */
    }

    .fotohoofdpagina img {
        max-width: 100%; /* Zorg ervoor dat de afbeelding responsief is op kleinere schermen */
        height: auto;
    }

    .teksthoofdpagina {
        margin-left: 0; /* Verwijder de linkermarge op kleinere schermen */
        margin-top: 20px; /* Voeg bovenmarge toe op kleinere schermen */
    }
    
}
@media screen and (max-width: 1400px) and (min-width: 900px){ /* tablet schermen */
    .fotohoofdpagina img {
        max-width: 60%; /* Zorg ervoor dat de afbeelding responsief is op kleinere schermen */
        height: auto;
    }
}
/* VOORSTELLING HOBBY*/ /* TIPS*/
.periode, .teamtraining, .analyseren {
    display: flex; /* zorft ervoor dat de items het scherm opvullen*/
    
    margin-top: 50px;
}
.periode2, .individueletraining{
    display: flex;
    flex-direction: row-reverse; /* zorgt ervoor dat 2de afbeelding rechts staat voor wat dynamische structuur */
}

/* Stijlen voor periode-foto en periode-tekst */
.periode-foto, .tips-foto, .tips-text,
.periode-tekst {
    margin: 0 auto; /* geen boven en onder marge en links en rechts worden berekent */
    margin-bottom: 70px;
    
}

/* Maak afbeeldingen binnen periode-foto en tips-foto responsive */
.periode-foto img, .tips-foto img {
    
    width: 100%;
    height: auto;
    max-height: 450px;
    max-width: 600px;
}

/* Stijlen voor periode-tekst */
.periode-tekst, .tips-tekst{   
    flex: 1; /* alle beschikbare ruimte */
    text-align: center;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 50px;
}
.tips h1{
    font-size: xx-large;
}


@media screen and (max-width: 900px) {
    .periode, .periode2, .teamtraining, .analyseren, .individueletraining {
        flex-direction: column;
    }

    .periode-foto, .tips-foto, .tips-text,
    .periode-tekst {
        height: 100%;
        width: 100%;
        text-align: center;
        margin-left: 0px;
    }
   
}

.fotogalerij {
    text-align: center;
}

.foto-rij {
    display: flex;
    flex-wrap: wrap; /* naar volgende regel als er geen plaats is */
    justify-content: space-around;
    margin-top: 20px;
}

.foto-item {
    width: 40%; 
  
}

.foto-item img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* rand oor een betere weergave */
    
}



@media screen and (max-width: 600px) {
    .foto-item {
        width: 100%;
    }
}

.myfavorite {
    text-align: center;
    margin-top: 50px;
}

.zidane-foto img {
    width: auto;
    height: auto;
    max-height: 250px;
    border-radius: 8px;
    margin-top: 20px;
}

.zidane-tekst {
    max-width: 800px;
    margin: 20px auto;
    margin-bottom: 70px;
    text-align: left;
    line-height: 1.6;
}
.foto-licentie p{
    font-size: xx-small;
}

.contact-form {
    max-width: 600px;
    margin: 50px auto;
    
}

.contact-form h2 {
    text-align: center;
    color: #333;
}

.contact-form form {
    display: grid; /* maakt alles zelfde foprmaat */
    grid-gap: 15px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.contact-form button {
    padding: 10px;
    background-color: #000307;
    color: #fff;
    
    border-radius: 4px;
    cursor: pointer;
    
}
footer{
    width: 100%;
    position: fixed;
    bottom: 0;
    background-color: rgb(37, 37, 37);
}
footer p{
    text-align: center;
    color: white;
}
