:root {
    --main-color: #FAFAFA;
    --secondary-color: #090909;
    --tertiary-color: #E64344;

    --text-title-big: 2.5em;
    --text-title-medium: 2em;
    --text-title-small: 1.5em;

}

.hero__index {
    background-color: var(--main-color);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-blend-mode: darken;

    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.hero__index img{
    max-width: 70rem;
    width: 150vw;
    opacity: 1;
    transition: opacity 1s ease-in-out; /* zachte fade van 1 seconde */
    position: relative;
}


.intro__index{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    width: 100vw;
    height: fit-content;
    padding-top: 10em;

    gap: 10em;
}


.intro__index p{
    font-size: 1.5em;
    color: var(--main-text-color);
}

.intro__index__image{
    display: flex;
    justify-content: center;
    width: 100vw;
    height: fit-content;
    position: relative;
    
}

.intro__index__image::before{
    margin-top: -5rem;
    position: absolute;
    top: 0;
    left: 65vw;
    content: "";
    background-image: url("../assets/note_one.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    min-width: 9rem;
    width: 7rem;
    height: 8rem;
    z-index: 10;
    transform: rotate(10deg);
}

.intro__index--container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro__index__image> div >img{
    margin: auto;
    height: 100%;
    width: 95vw;
    max-width: 60rem;
    margin-bottom: -2rem;
}

.add__index{
    background-color: var(--tertiary-color);
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    width: 100vw;
    height: fit-content;
    padding-top: 5em;
    padding-bottom: 5em;
    z-index: 4;
    position: relative;

    gap: 2em;
}

.list__index {
    padding-top: 5em;
    padding-bottom: 5em;
    width: fit-content;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
    justify-items: center;
    align-items: center;
    margin: auto;
    gap: 2rem;

  
    }


.list__index>a{
    width: 22vw;
    max-width: 90vw;
}

.list__index div {
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    color: var(--main-color);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 30em;
    width: 100%;

    transition: transform 0.3s ease-in-out;
}

.list__index div:hover{
    transform: scale(1.05);
    cursor: pointer;
}

.list__index div h2{
    filter: none;

    font-size: 2.5em;
    color: var(--main-color);
    padding-left: 1rem;
}

.list__index div p{
    filter: none;

    margin-top: -0.5rem;
    font-size: 1.2em;
    color: var(--tertiary-color);
    padding-left: 1rem;
    padding-bottom: 0.5em;
}

.contact__container_extra{
    width: 95vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 5rem;

}

.contact__container_extra >p{
    width: 90vw;
    max-width: 50rem;
    text-align: center;
}


.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 20/9;
    overflow: hidden;
}

.image-wrapper img {
    position: absolute;
    inset: 0; /* top, right, bottom, left = 0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2rem;
    transition: opacity 1s ease-in-out;
}

.logo__container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo__container img{
    max-height: 5rem;
    max-width: 10rem;
    object-fit: contain;
    transition: filter 0.3s ease-in-out, opacity 0.3s ease-in-out;
}


@media (max-width: 1300px){
    .list__index {
  
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 2em;
      
        }
        .list__index>a{
            width: 40vw;
        }

    .list__index div {
        min-height: 20em;
    }

} 

@media (max-width: 1100px){
    .image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 15/9;
    overflow: hidden;
}

    .hero__index {
        background-size: cover;
    }

    .intro__index{
        margin-top: -5rem;
        background-size: 20%;
    }
}

@media (max-width: 700px){
       .image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9/12;
    overflow: hidden;
}
  .list__index>a{
            width: 90vw;
        }
         .list__index div {
            min-height: 10em;
        }

    .list__index {
  
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 2em;
      
        }
    
}