/* Algemene instellingen voor h1 en h2 */
h1, h2 {
    color: #D4AF37;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

/* CV Sectie */
.cv {
    padding: 4rem 2rem;
    background-color: #000000;
    color: #f0f0f0;
    text-align: center;
}

.skils-details{
    background-color: #3a4a5f;
    text-align: center;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    width: 30%;
    max-width: 1000px;
    transition: box-shadow 0.3s ease;
}

.skils-details:hover {
    box-shadow: 0 0 10px 5px rgba(212, 175, 55, 0.8);
}

/* Introductie sectie van CV */
.intro {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    color: #f0f0f0;
    position: relative;
    padding: 0 20px;
}

.intro h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.intro p {
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Preview van CV */
.cv-preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.cv-preview h2 {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.cv-sample iframe {
    width: 28vw;
    height: 600px;
    border-radius: 10px;
    border: none;
    max-width: 1200px;
    margin: 0 auto;
    transform: scale(1.2); /* Zet de schaalfactor hier op 1.2 voor een 20% zoom */
    transform-origin: center; /* Zorgt ervoor dat de zoom vanuit het midden plaatsvindt */
}

/* Downloadknop */
.cv-download-button {
    background-color: #D4AF37;
    color: #121212;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
    display: inline-block;
}

.cv-download-button:hover {
    background-color: #f0c050;
}

/* CV Details */
.cv-details {
    margin-top: 3rem;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cv-details h2 {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.cv-details p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cv-details ul {
    list-style-type: none;
    padding: 0;
    margin-top: 1.5rem;
}

.cv-details ul li {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* Ervaringen sectie */
.cv-details .experience-item {
    background-color: #3a4a5f;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 1000px;
    transition: box-shadow 0.3s ease;
}

.cv-details .experience-item h3 {
    font-size: 1.5rem;
    color: #D4AF37;
    text-align: center;
}

.cv-details .experience-item p {
    font-size: 1.1rem;
}

/* Hover-effect voor het gloeien van de randen */
.cv-details .experience-item:hover {
    box-shadow: 0 0 10px 5px rgba(212, 175, 55, 0.8);
}

/* MEDIA QUERIES */

/* Smartphones (max-width: 576px) */
@media (max-width: 576px) {
    .cv-intro h1 {
        font-size: 2.5rem;
    }

    .cv-intro p {
        font-size: 1rem;
    }

    .cv-preview h2 {
        font-size: 1.6rem;
    }

    .cv-sample iframe {
        width: 90vw; /* 90% van de breedte van het scherm */
        height: 400px; /* Kleinere hoogte voor smartphones */
        transform: scale(1); /* Geen zoom voor smartphones */
    }

    .cv-details h2 {
        font-size: 1.6rem;
    }

    .cv-details p {
        font-size: 1rem;
    }

    .cv-details ul li {
        font-size: 1rem;
    }

    .cv-details .experience-item h3 {
        font-size: 1.3rem;
    }

    .skils-details {
        width: 80%;
    }
}

/* Tablets (min-width: 577px) and (max-width: 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    .cv-intro h1 {
        font-size: 2.8rem;
    }

    .cv-intro p {
        font-size: 1.1rem;
    }

    .cv-preview h2 {
        font-size: 1.8rem;
    }

    .cv-sample iframe {
        width: 80vw; /* 80% van de breedte van het scherm */
        height: 300px; /* Betere hoogte voor tablets */
        transform: scale(1.1); /* Lichte zoom-in (10%) */
        margin-bottom: 120px;
    }

    .cv-details h2 {
        font-size: 1.8rem;
    }

    .cv-details p {
        font-size: 1.1rem;
    }

    .cv-details .experience-item h3 {
        font-size: 1.4rem;
    }

    .skils-details {
        width: 70%;
    }
}

/* Desktops (min-width: 993px) */
@media (min-width: 993px) {
    .cv-intro h1 {
        font-size: 3rem;
    }

    .cv-intro p {
        font-size: 1.2rem;
    }

    .cv-preview h2 {
        font-size: 2rem;
    }

    .cv-sample iframe {
        width: 28vw; /* Standaard 28% van de breedte voor grotere schermen */
        height: 600px;
        transform: scale(1.2); /* Standaard zoom-in (20%) */
        margin-bottom: 90px;
    }

    .cv-details h2 {
        font-size: 2rem;
    }

    .cv-details p {
        font-size: 1.2rem;
    }

    .cv-details .experience-item h3 {
        font-size: 1.6rem;
    }

    .skils-details {
        width: 30%;
    }
}

