body{
    margin:0;
    padding:0;
    display:grid;
    grid-template-columns: 65% 1fr;
    grid-template-rows:90vh 1fr;
    height:100vh;
    font-family:calibri;
}


/* main image */
main{
    height:100%;
    background-image: url('../images/Bear.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
    grid-column: 1/2;
    grid-row:1/2;
}

/* navigation image */

header{
    background-color: rgb(31, 52, 58);
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 2/2;
    flex-direction: column;
    color:white;
}
header h1{
    font-size: 3rem;
}

nav{

    width:80%;
}

form{
    display: grid;
    grid-template-rows:1fr;
    grid-template-rows: repeat(7, 40px);
    width:100%;
    height:47%;
    gap:5px;
}
label{
    color:white;
}


input{
    margin-bottom: 10px;
}
input[type=submit]{
    grid-column: 1/-1;
    
}

button{
    background-color:  rgb(54, 156, 185);
    border:1px solid white;
    color:white;
    cursor: pointer;
    border-radius: 5px;
    padding:5px;
}

#Statement{
    width: 80%;
    color:white;
    text-align: center;
}
.statement{
    color:red;
    animation: Notice ease-in-out 10s forwards;
}

@keyframes Notice{
    0%{
        color:red;
    }
    25%{
        color:white;
    }
    75%{
        color:white;
    }
    100%{
        opacity: 0;
    }
}


/* footer */

footer{
    grid-column: 1/ -1;
    width:100%;
    background-color: rgb(255, 255, 255);
    display: grid;
    grid-template-columns: repeat(4, minmax(100px, 4fr));
    align-items: center;
}

footer div{
    height:100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#Movement1{
    background-image: url('../images/logo1.png');
}

#Movement2{
    background-image: url('../images/logo2.png');
}
#Movement3{
    background-image: url('../images/logo3.png');
}
#Movement4{
    background-image: url('../images/logo4.png');
}



img{
    height:80%;
    width:80px;
}


/* @media (max-width: 950px){
    body{
        grid-template-columns: 1fr;
        grid-template-rows: 50vh 40vh 1fr;
    }

    main{
        grid-column: 1/-1;
        grid-row:1/2;
    }

    header{
        grid-column:1/-1;
        grid-row:2/3;
        align-items: flex-start;
        flex-direction: row;
    }
    
    header h1{
        display:none
    }



    nav{
    display: flex;
    justify-content: center;
    align-items: center;

    }
    form{
        display: grid;
    grid-template-rows:1fr;
    grid-template-rows: repeat(7, 30px);
    width:80%;
    height:70%;
    gap:5px;
    margin-top: 30px;
    }
    label{
        color:white;
    }
    #Statement{position:absolute;}


    input{
        margin-bottom: 10px;
    }
} */


/* MEDIA QUERIES VOOR MOBIEL */
@media (max-width: 950px){
    body{
        grid-template-columns: 1fr;
        grid-template-rows: 50vh auto 1fr; /* footer niet mee laten groeien */
        min-height: 100vh; /* volledige viewport hoogte */
        padding-bottom: 100px; /* ruimte voor de footer zodat content niet eronder verdwijnt */
    }

    main{
        grid-column: 1/-1;
        grid-row:1/2;
    }

    header{
        grid-column:1/-1;
        grid-row:2/3;
        align-items: center;
        padding-bottom:40px;
    }
    
    header h1{
        display:none;
    }

    nav{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    form{
        display: grid;
        grid-template-rows: repeat(7, 30px);
        width:80%;
        height:auto; /* laat het formulier groeien indien nodig */
        gap:5px;
        margin-top: 30px;
        z-index: 1; /* formulier boven de footer */
    }

    #Statement{
        position:relative; /* geen absolute, anders kan hij overlappen */
    }

    input{
        margin-bottom: 10px;
    }

    /* FIXED FOOTER OP MOBIEL */
    footer{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 100; /* boven andere content */
    }

    /* footer div en images behouden */
    footer div{
        height:100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    img{
        height:80%;
        width:80px;
    }
}