/* Algemene instellingen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    font-size: 2rem;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

nav a:hover {
    text-decoration: underline;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Info Card */
.info-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 2rem;
}

.info-text {
    max-width: 600px;
}

.info-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.info-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.more-info-btn {
    padding: 0.8rem 1.5rem;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.more-info-btn:hover {
    background-color: #555;
}

#extra-info {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #555;
}

/* Tegels (hobby's, skills, goals) */
.tiles {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.tile {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: center;
    overflow: hidden; /* Zorgt ervoor dat de tekst niet buiten de tegel komt */
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.tile:hover {
    transform: translateY(-10px);
    background-color: #f0f0f0;
}

.tile h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Standaard tekst op de tegel */
.tile .tile-text {
    font-size: 1.1rem;
    color: #555;
    opacity: 1; /* Standaard tekst is zichtbaar */
    transition: opacity 0.3s ease; /* Zachte overgang bij hover */
}

/* Tekst die verborgen is standaard en verschijnt bij hover */
.tile .tile-hover-text {
    font-size: 1.1rem;
    color: #333;
    opacity: 0; /* Standaard verborgen */
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    transition: opacity 0.3s ease; /* Zachte overgang bij hover */
}

/* Tekst die verschijnt bij hover */
.tile:hover .tile-text {
    opacity: 0; /* Maak standaardtekst onzichtbaar bij hover */
}

.tile:hover .tile-hover-text {
    opacity: 1; /* Maak verborgen tekst zichtbaar bij hover */
}

footer {
    background-color: #333;
    color: white;
    padding: 1rem 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer p {
    font-size: 1rem;
}
