*{
box-sizing:border-box;
margin:0;
padding:0;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#e8e8e8;
}

/* HEADER */

header{
background:white;
padding:20px 40px;
}

.header-container{
display:flex;
justify-content:space-between;
align-items:center;
max-width:1200px;
margin:auto;
}

.logo-section{
display:flex;
align-items:center;
gap:15px;
}

.logo{
height:120px;
}

.title{
font-size:26px;
color:#8c1a1a;
}

.line{
margin-top:8px;
height:4px;
width:250px;
background:linear-gradient(
to right,
red,
green,
blue,
lightblue,
red,
green,
blue
);
}

.home-btn{
background:#3e8fb7;
color:white;
padding:20px 25px;
font-weight:bold;
}

/* HERO */

.hero{
position:relative;
height:650px;
background:url("img/achtergrond.jpg") center/cover no-repeat;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
}

/* TEXT */

.hero-text{
position:relative;
top:auto;
right:auto;
text-align:center;
color:white;
font-size:42px;
font-weight:bold;
margin-top: 100px;
margin-bottom: 40px;
animation:fadeUp 1.2s ease forwards;
}

/* CARDS */

.cards{
display:flex;
gap:40px;
align-items:flex-start;
}

.card{
background:#3e8fb7;
color:white;
padding:25px;
box-shadow:0 6px 18px rgba(0,0,0,0.2);
transition:transform .3s, box-shadow .3s;
}

.card:hover{
transform:translateY(-6px);
box-shadow:0 12px 25px rgba(0,0,0,0.25);
}

.small{
width:240px;
text-align:center;
font-weight:bold;
font-size:20px;
padding:40px 20px;
}

.main{
width:360px;
}

.main h2{
margin-bottom:20px;
font-size:22px;
}

.main p{
font-size:14px;
line-height:1.5;
margin-bottom:15px;
}

/* ANIMATIONS */

.fade{
opacity:0;
animation:fadeUp 1s ease forwards;
}

.delay{
animation-delay:.4s;
}

.delay2{
animation-delay:.8s;
}

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(30px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* RESPONSIVE */

@media (max-width:1000px){

.cards{
flex-direction:column;
align-items:center;
gap:20px;
}

.small,
.main{
width:90%;
max-width:420px;
}

.hero-text{
position:relative;
top:auto;
right:auto;
text-align:center;
margin-bottom:40px;
font-size:32px;
}

.hero{
height:auto;
padding:80px 20px;
}

}

@media (max-width:600px){

.title{
font-size:20px;
}

.home-btn{
padding:14px 18px;
}

.hero-text{
font-size:26px;
}

}