@charset "utf-8";

/* Algemene CSS voor alle pagina's */
body {
    background-color: #dbdbdb;
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: opacity 0.25s ease;
    overflow-x: hidden;
}


.button-container {
    display: flex;
    justify-content: center;
}

button {
    width: 29%;
    height: 6vh;
    background-color: rgb(106, 106, 106);
    font-size: 1.2rem;
    font-weight: bold;
    color: rgb(255, 255, 255);
    border-radius: 8px;
    margin: 0 5px;
    border: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 4vw;
    margin-right: 4vw;
}

button:hover {
    background-color: rgb(124, 124, 124);
}


.button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    justify-items: center;
}

.project-button {
    position: relative;
    overflow: hidden;
    background: none;
    cursor: pointer;
    width: 100%;
    padding-bottom: 100%;
    border-radius: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 3px solid rgb(0, 119, 255);
}

.proj_btn_cv{
margin-left: 28vw;
}


.section_02_ {
    flex: 1;
    width: 90%;
    margin-top: 20px;
    padding: 20px;
    background-color: rgb(36, 36, 36);
    border-radius: 30px;
    box-shadow: 2px 5px 14px rgba(0, 0, 0, 0.1);
    max-height: 88vh;
    overflow-y: auto;
    margin-left: 5vw;

}

.projecten_titel {
    z-index: 15;
    text-align: center;
    margin-top: 10vh;
    color: #000000;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bolder;
    font-size: 40px;
    margin-left: 13px;
    text-shadow:
        -2px -2px 0 #000000,
        2px -2px 0 #000000,
        -2px 2px 0 #000000,
        2px 2px 0 #000000;

    
}

.projecten_titel_02 {
    text-align: center;
    margin-top: -60px;
    color: #dbdbdb;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bolder;
    font-size: 40px;
    text-shadow:
        -2px -2px 0 #1e82f5,
        2px -2px 0 #1e82f5,
        -2px 2px 0 #1e82f5,
        2px 2px 0 #1e82f5;
}

.project-button::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.project-button:hover .project-image,
.project-button.active .project-image {
    transform: scale(1.1);
}

.title-bar {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 5px 0;
    font-weight: bolder;
}

.info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(74, 74, 74, 0.699);
    color: white;
    text-align: center;
    padding: 10px;
    height: 30%;
    transform: translateY(100%);
    transition: transform 0.3s ease;

}

.project-button:hover .info-bar {
    transform: translateY(0);
    height: 30%;
}

.project-button.active .info-bar {
    transform: translateY(0);
    height: 30%;
}

.full-width {
    width: 100%;
    margin: 10px 0;
}

/* Media queries voor responsiviteit */
@media (max-width: 1200px) {
    .button-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Twee knoppen naast elkaar bij <1200px */
    }
}

@media (max-width: 600px) {
    .button-grid {
        grid-template-columns: 1fr;
        /* Één knop per rij voor smalle schermen */
    }

    .project-button {
        padding-bottom: 100%;
        /* Houdt de knoppen vierkant */
    }
}
@media (max-width: 780px) {
.projecten_titel_02 {
    margin-top: -120px;
}
}
@media (max-width: 407px) {
    .projecten_titel_02 {
        font-size: 20px;
        margin-top: -60px;
    }

    .projecten_titel {
        font-size: 20px;
    }
}    

