*,*::before,*::after{
box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #fff;
    overflow-x: hidden;
}

header {
    background-color: #1a1a1a;
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #e63946;
    margin: 0;
    font-size: 2rem;
}

.navbar-nav {
    list-style: none;
    display: flex;
    gap: 1.56rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.kop {
    position: relative;
    text-align: center;
    padding: 5rem 1.25rem;
    height: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #1a1a1a;
}

.kop-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; 
}

.kop h1,
.kop h2 {
    position: relative;
    z-index: 1;
    margin: 0;
}

.kop h1 {
    font-size: 3rem;
    color: #e63946;
    margin-bottom: 1.25rem;
}

.kop h2 {
    font-size: 2rem;
    color: #fff;
    font-weight: 400;
}

.card-button {
    display: block;
    margin: 2.5rem auto;
    padding: 0.94rem 2.5rem;
    background-color: #e63946;
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
}

.card-workout, 
.card-motivation, 
.card-meal { 
    position: relative; 
    width: 18.75rem; 
    height: 25rem; 
    overflow: hidden; 
    border-radius: 0.75rem; } 

.card-img { 
    width: 100%; 
    height: 100%; 
    object-fit: 
    cover; } 

.card-content { 
    position: absolute; 
    bottom: 0; 
    width: 100%; 
    background: rgba(0, 0, 0, 0.85); 
    padding: 1.25rem; 
    box-sizing: border-box; } 
    
.card-text { 
    color: white; 
    font-size: 1.1rem; 
    font-weight: 700; 
    margin: 0; 
    word-wrap: break-word; 
    line-height: 1.4; 
    max-width: 100%; }

.quote-box {
    width: 18.75rem;
    min-height: 4.38rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: #1a1a1a;
    color: #e63946;
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.5);
}

.sectie1,
.sectie2,
.sectie3,
.sectie4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.75rem;
    padding: 2.5rem 1.25rem;
}

footer {
    background-color: #1a1a1a;
    padding: 2.5rem 1.25rem;
    color: #fff;
    font-weight: 600;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sectie1, .sectie2, .sectie3, .sectie4 {
    display: none;
}

.panel:nth-child(4n+1),
.card-workout:nth-child(4n+2),
.card-motivation:nth-child(4n+2),
.card-meal:nth-child(4n+2) {
    align-self: flex-start;
    margin-left: 10%;
}

.panel:nth-child(4n+3),
.card-workout:nth-child(4n+4),
.card-motivation:nth-child(4n+4),
.card-meal:nth-child(4n+4) {
    align-self: flex-end;
    margin-right: 10%;
}

.text-container {
    max-width: 68.75rem;
    margin: 5rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0 1.25rem;
}

.text-block {
    background: #1a1a1a;
    padding: 1.88rem;
    border-radius: 1rem;
    box-shadow: 0 0.625rem 1.5625rem rgba(0,0,0,0.6);
    border-left: 0.25rem solid #e63946;
}

.text-block h3 {
    margin-top: 0;
    color: #e63946;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.text-block p {
    color: #ddd;
    line-height: 1.6;
    font-size: 1rem;
}





