/*Stijl voor body*/
body, ul, li, h1, #menu 
{
    margin: 0;
    padding: 0;
}

body 
{
    font-family: Arial, Helvetica, sans-serif;
    background-image: url('../images/fotouden.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Specifieke achtergrond voor sports pagina */
.sports-pagina {
    background-image: url('../images/basicfituden.avif') !important;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Achtergrond voor tourist pagina */
.touristenpagina {
    background-image: url('../images/tzusjeuden.jpg') !important;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/*Stijl voor flex container*/
#introflex 
{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    margin: 20px;
    padding: 20px;
    border: 2px solid black;
    border-radius: 10px;
    background-color: rgba(211, 211, 211, 0.8);
}

/*Stijl voor tekstblok*/
#textblok 
{
    flex: 1;
    min-width: 250px;
}

/*Stijl voor video*/
#videouden
{
    flex: 1;
    max-width: 560px;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 2px solid black;
    border-radius: 10px;
    display: block;
}

.foto-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

#eetkameruden {
    object-fit: cover;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    border: 2px;
}

.foto-link {
    color: black;
    text-decoration: none;
}

/*Stijl voor tekst H1*/
h1 
{
    font-size: 2em;
    margin-bottom: 10px;
}

/*Stijl voor tekst P*/
p 
{
    line-height: 1.6;
    margin-bottom: 10px;
}

/*Stijl voor footer*/
footer 
{
    text-align: left;
    padding: 10px;
    font-size: 14px;
}

/*Footer design*/
footer {
    background-color: darkgrey;
    color: white;
    padding: 3px;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}
footer a {
    color: white;
    text-decoration: none;
}
#mapuden {
    border: 10px solid black;
    border-radius: 10px;
}
footer p {
    margin: 0;
    font-size: 18px;
}

/* Stijl voor actieve pagina in menu */
.active {
    background-color: lightblue !important;
    font-weight: bold !important;
}

/*Responsive design voor kleine beeldschermen*/
@media (max-width: 700px) 
{
    #introflex 
    {
        flex-direction: column;
        align-items: center;
    }

    #textblok 
    {
        width: 100%;
    }

    #videouden 
    {
        max-width: 100%;
        height: auto;
    }

    h1 
    {
        text-align: center;
    }

    /* Responsive footer */
    footer {
        position: relative;
        flex-direction: column;
        gap: 10px;
        padding: 15px 5px;
    }

    footer p {
        margin: 5px 0;
    }

    #mapuden {
        width: 90%;
        max-width: 300px;
        height: 100px;
        margin-top: 10px;
    }
}

/*Stijl voor fotogallerij*/
#fotogallerij {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px;
    padding: 20px;
    background-color: rgba(211, 211, 211, 0.7);
    border: 2px solid black;
    border-radius: 10px;
}

.gallerijitems {
    width: calc(33.33% - 14px);
    text-align: center;
    transition: transform 0.3s ease;
}

.gallerijitems:hover {
    transform: translateY(-10px);
}

.gallerijfotos {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid black;
    border-radius: 10px;
    margin-bottom: 10px;
    background-color: rgba(211, 211, 211, 0.2);
    opacity: 0.8;
}

.gallerijcaption {
    font-weight: bold;
    margin: 0;
    color: black;
    font-size: 1.2em;
    text-decoration: none;
}

.gallerijitems a {
    text-decoration: none;
}

.gallerijitems a {
    color: inherit;
    text-decoration: none;
}

.gallerijitems a:hover {
    text-decoration: none;
    color: inherit;
}

/* Responsive design voor de gallery */
@media (max-width: 700px) {
    #fotogallerij {
        flex-direction: column;
    }
    
    .gallerijitems {
        width: 100%;
    }
    
    .gallerijfotos {
        width: 100%;
        height: 200px;
    }
}
