

.masterclass {
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0px;
    margin-left: auto;
    margin-right:auto;
    background-color: black;
    width: 100vw;
}

/*
.subclass1, .subclass2 , .subclass3{
    flex: 30%; /* Set the width of the sidebar */
    /*padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 0px;
    padding-top: 0px;
    text-align:left;
    margin-top: 0px;
    margin-bottom: 0px;
    margin: 10px;
    /*widht: 100px;*/
    /*width: 400px;
    display: inline-block;

}*/

.subdienstenclass1, .subdienstenclass2 , .subdienstenclass3, .subdienstenclass4 {
    flex: 22%; /* Set the width of the sidebar */
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 0px;
    padding-top: 0px;
    text-align:left;
    margin-top: 0px;
    margin-bottom: 0px;
    margin: 0px;
    /*widht: 100px;*/
    width: 220px;
    display: inline-block;
    

}


.linkknop {
    background-color: black;
    color:white;
    cursor: pointer;
    padding: 5px;
    border-radius: 10px;
}

.linkknop:hover {
    background-color: white;
    color:black;
}

.row {
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
   /* background: url("../images/marmer_bruin.jpg");*/
    background-color: #ddd;
    padding: 0 px;
    
    
    
}
/* we maken 2 ongelijke kolommen (side en main) naast mekaar. Wanneer scherm te klein komen deze onder mekaar */

.side , .main{
    flex: 50%; /* Set the width of the sidebar */
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 20px;
    padding-top: 20px;
    text-align:left;
    margin-top: 0px;
    margin-bottom: 0px;
}

.card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 15px;
    text-align: center;
    /*border-color: black;
    border-style: solid;
    border-width: 3px;*/
    background-color: #ddd;
    height:450px;
    max-width:290px;
    margin-left:auto;
    margin-right:auto;



    }

/* On mouse-over, add a deeper shadow */
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.cardimage{
    height:200px;
    background-color: #ddd;
    border-style: solid;
    border-color: #ddd;
    border-width: 3px;
    border-radius: 10px;
}
.afbeelding{
    max-width: 240px;
    height:150px;
    margin-top: 15px;
    border-style: solid;
    border-color: black;
    border-width: 3px;
    border-radius: 10px;
}
h2 {
    
    font-size: 16px;
    font-weight: 900;
}

.teksthoogte {
    height: 150px;
}

.paragraaf {
    text-align: center;
    font-size: 1.1em;
    padding-left: 10px;
    padding-right: 10px; 
}



/* begin video */

.overlayText {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /*background-color: yellow;*/
    margin-top: -45vw;
    z-index: 1;
    }

#topText {
    /*color: black;*/
    font-size: 10vw;
    text-align: center;

    animation-name: groei;
    animation-duration: 7s;



    }

    .parent {
        position: fixed;
        
        width: 100vw;
        height: 100vh;
    }
    .bottom {
        position: absolute;
        width: 30%;
        min-width: 300px;
        height: auto;
        /*min-height: 400px;*/
        background-color: lightgrey;
        bottom: 25px;
        right: 10px;
        overflow: auto;
        z-index: 999999999;
        border-radius: 15px;
        border-color: black;
        border-width: 2px;
        padding-bottom: 75px;
    }
    .titel {
        text-align:center;
        font-size: 1.2em;

    }
    .paragraaf {
        text-align: left;
        padding: 15px;
        font-size: 0.9em;
    }
    button {
        background-color: lightgreen;
        border-radius: 15px;
        opacity: 0.7;

    }
    button:hover {
        background-color: red;
        cursor: pointer;
        opacity: 1;
        padding: 10px;
    }
    .toestemming-selectie {
        text-align: center;
    }

@keyframes groei {
    from {
            opacity: 0.3;
            color: white;  
            font-size: 3vw;
        }
    to {
            opacity: 1;
            color: black;
            font-size: 10 vw;
        }
}


.overlayText2 {
    color: red;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
   
    margin-top: -55vw;
    z-index: 1;

    animation-name: showme;
    animation-duration: 7s;

    }

    @keyframes showme {
        from {
                opacity: 0.0;
                
                 
               
            }
        to {
                opacity: 1;
               
               
                
            }
    }

#topText2 {
    color: white;
    font-size: 6vw;
    text-align: center;
    }


.overlayText3 {
    position: absolute;
    left: 30%;
    transform: translateX(-15%);
   
    margin-top: -61vw;
    z-index: 1;
    }

#topText3 {
    color: white;
    font-size: 5vw;
    text-align: center;
    }

#video {
        width: 100vw;
        height: auto;
    }

.container_video {
        position: relative;
       
    }



/* einde video */







@media screen and (max-width: 1024px) {

    .masterclass {
        flex-direction: column;
        background-color: black;

    }


    .subdienstenclass1, .subdienstenclass2,  .subdienstenclass3, .subdienstenclass4 {
        /*flex: 80%;*/
        width: 100vw;
        margin-left: auto;
        margin-right: auto;
        
    } 
    .navbar {
        display:none;
    }
    .topnav {
        display:block;
        
        
    }
    .row {
        flex-direction: column;
        
    }





    .card {
            /* Add shadows to create the "card" effect */
            
           
            background-color: #ddd;
            height:400px;
            max-width:800px;
            margin-bottom: 50px;
        
        
        
    }
        
        /* On mouse-over, add a deeper shadow */
        .card:hover {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
        }
        
    .teksthoogte {
            height: 120px;
    }
    h2 {
    
            font-size: 24px;
            font-weight: 900;
    }
    .afbeelding {
        width: 100vw;
    }
    
} 

@media screen and (max-width: 800px) {

.subclass1, .subclass2, .subclass3 {
    
    width: 95%;
   
} 

.bottom {
   
    min-width: 280px;
    padding-bottom: 50px;
    
}

.titel {
    
    font-size: 1.1em;

}
.paragraaf {
    text-align: left;
    padding: 10px;
    font-size: 0.8em;
}



} 