/* Om de prestatie te verbeteren maken we gebruik van de lettertypes die aanwezig zijn op de meest gebruikte toestellen in plaats van de google fonts  */
*{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    font-size: calc(15px + 0.390625vw);
}




/* Met deze div creëeren we extra ruimte */
.space {
    height: 5lvh;
}

/* hier stylen we ons logo */
.logo{
    margin: 0 auto;
    width: 250px;
    height: 250px;
    background-image: url(../images/dbtechnics.avif);
    background-position: center;
    background-size: cover;

}

/* hier maken we een standaard button aan */
.hero-btn{
    display: inline-block;
    margin-top: 1.5rem;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 1.25rem 1rem;
    font-size: 0.75rem;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover{
    border: 1px solid #60130e;
    background-color: #60130e;
    transition: 1s;
}

.red-btn{
    border: 1px solid #60130e;
    background: transparent;
    color: #60130e;
}

.red-btn:hover{
    color: #fff;
}


@media (min-width: 475px){
    .hero-btn{
        padding: 0.25rem 1.25rem;
        font-size: 0.75rem;
    }
}

@media (min-width: 640px){
    .hero-btn{
        padding: 0.5rem 1.5rem;
        font-size: 0.75rem;
    }

}

@media (min-width: 767px){
    .hero-btn{
        padding: 0.75rem 1.75rem;
        font-size: 1rem;
    }

}

@media (min-width: 1024px){
    .hero-btn{
        padding: 1rem 2rem;
        font-size: 1.25rem;
    }
}

/*------------------------------------*/

h1{
    font-size: 36px;
    font-weight: 600;
}

p{
    color: #363434;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}




/* hier Stylen we de sectie Realitaties */



.row2{
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 200px) ;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}





/* hier Stylen we de sectie Getuigenissen */
.getuigenissen {
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.getuigenissen-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.getuigenissen-col img{
    height: 60px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.getuigenissen-col p{
    padding: 0;
}

.getuigenissen-col h1{
    margin-top: 15px;
    text-align: left;
    font-size: 1.25rem;
}

.getuigenissen-col .fa{
    color: #f44336;
}

/* hier Stylen we de sectie Call To Action */
.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(
        rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
        url(../images/bg-banner.avif);
        background-position: center;
        background-size: cover;
        border-radius: 10px;
        text-align: center;
        padding: 100px 0;
}

.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}

.cta h2{
    color: #fff;
}

.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}

.comment-form button{
    margin:10px 0;
}

.container{
    max-width: 70%;
    margin: 0 auto;
}



/*Standaard css file met de meest gebruikte @media*/

/*  1) Voor Mobiele apparaten   */
@media only screen and (max-width: 767px){
    .row{
        flex-direction: column;
    }

    .row2{
        justify-content: center;
        align-items: center;
        text-align: center;
        grid-template-columns: 0.75fr;
        grid-template-rows: auto;
    }

    .getuigenissen-col img{
        margin-left: 0px;
        margin-right: 15px;
    }

    .cta h1{
        font-size: 24px;
    }

    .sub-header h1{
        font-size: 24px;
    }

    .container{
        width: 90%;
        margin: 0 auto;
    }
}

/*  2) Voor kleinere Tablets en Grotere mobiele apparaten   */
@media only screen and (min-width: 768px) and (max-width: 991px){

    .row2{
        grid-template-columns: repeat(3, 1fr);
    }
}
