.grid-container {
    display: grid;
    grid-template-areas: "nav nav" "header header" "sidebar mainbar" "empty empty" "myArea side" "leeg leeg" "kerst kerst" "footer footer";
    grid-template-columns: 50% 50%;
    left: 0;
    right: 0;
    position: absolute;
    top: 0;
    
}

header {
    grid-area: header;
    width: 100%;
    background-image: url(img/chocolates\ banner.png);
    background-repeat: none;
    height: 400px;
    width: auto;
    background-size: cover;
    margin-bottom: 5%;


}

header h1 {
    text-align: center;
    color: white;
    font-weight: bold;
    
}



header h2 {
    text-align: center;
    color: white;
    text-decoration: underline;
    padding-top: 100px;
    text-shadow: 2px 2Px #ff0000;
    font-weight: bolder;
    
}

header button {
    background-color: rgb(114, 45, 114);
    color:white;
}

header button:hover {
    cursor: pointer;
}

button {
    font-size: 20px;
}

a:hover { text-decoration: none;

}


.nav {
    grid-area: nav;
    background-color: rgb(168, 94, 236);
    text-align: right;
    padding-top: 10px ;
    padding-bottom: 10px;

}

.nav a {
    padding: 1.5rem;
    color: white;
    font-size: larger;

}

.nav a:hover {
    color: rgb(114, 45, 114);
    font-weight: 900;

}

.nav h1 {
    text-align: center;
}

.sidebar {
    grid-area: sidebar;
    background-color: rgba(171, 171, 171, 0.348);
    margin-top: 5%;
    text-align: center;
    padding-bottom: 5%;
    width: 75%;
    margin: auto;


    
}

.sidebar img {
    border: solid black 2px;
    width: 400px;
    height: 400px;
}



.sidebar button {
    background-color: rgb(114, 45, 114);
}

.sidebar button:hover {
    cursor: pointer;
}

.sidebar h2 {
    text-decoration: underline;
    font-size: bold;
}

.card {
    width: 400px;
    height: 400px;
    margin: 50px auto;
    perspective: 900px; 
    align-items: center;
    
}

.inner {
    background-color: transparent;
    width: 400px;
    height: 400px;
    position: absolute;
    text-align: center;
    align-items: center;
    transform: rotate3d(0,0,0,0deg);
    transition: 1s;
    transform-style: preserve-3d;
}

.card:hover .inner
{
    transform: rotateY(180deg);

}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

}

.front {

    color: black;
}

.back {
    
    color: white;
    transform: rotateY(180deg);
}

.mainbar {
    grid-area: mainbar;
    background-color: rgba(171, 171, 171, 0.348);
    text-align: center;
    padding-bottom: 5%;
    width: 75%;
    float: right;
    margin: auto;

}

.mainbar h2 {
    text-decoration: underline;
}

.mainbar img {
    width: 400px;
    height: 400Px;
    border: solid black 2px;
}

.mainbar button {
    background-color: rgb(114, 45, 114);
}

.mainbar button:hover {
    cursor: pointer;
}



.myArea {
    grid-area: myArea;
    text-align: center;
    background-color:rgba(171, 171, 171, 0.348) ;
    padding-top: 50px;
    padding-bottom: 5%;
}

.myArea h2 {
    text-decoration: underline;
}

.myArea img{
width: 75%;
border: solid black 2px;
height: 400px;

}

.myArea img:hover{
    width: 85%;
    transition: 2.5s;
    }

.myArea p {
    width: 50%;
    margin: auto;
    padding-bottom: 2%;

}

.side {
    grid-area: side;
    text-align: center;
    background-color:rgba(171, 171, 171, 0.348) ;
    padding-top: 50px;
    padding-bottom: 5%;
}

.side img {
    width: 75%;
    height: 400px;
    border: solid black 2px;


}

.side img:hover{
    width: 85%;
    transition: 2.5s;
    }

.side p {
    width: 50%;
    margin: auto;
    padding-bottom: 2%;
}

.side, .myArea p {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.leeg {
    height: 200px;
    width: 100%;
    grid-area: leeg;
}

.empty {
    height: 200px;
    width: 100%;
    grid-area: empty;
}

.kerst {
    grid-area: kerst;
    text-align: center;
    padding-bottom: 3%;
    padding-top: 3%;
    background-color:rgba(171, 171, 171, 0.348)  ;
}


.kerst button {
    background-color: red;
    color: white;

}

button:hover {
    cursor: pointer;
}

footer {
    grid-area: footer;
    background-color: rgb(114, 45, 114);
    padding-bottom: 3%;
    padding-top: 2%;
    margin-top: 100px;

}

.formulier {
    float: right;
    padding-right: 10%;
}

.invul {
    margin-bottom: 20px;
}

.verzend {
    margin-top: 10px;
    margin-left: 60px;
}

footer a {
    color: blue;
    text-decoration: none;

}

.knoppen {

    color: white;
    float: left;
    padding-left: 10%;
}
.knoppen p {
    color: black;

}

.fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
}
  
.fa:hover {
      opacity: 0.7;
}

.fa-instagram {
    background: #9c0b54;
    color: white;
  } 


h2 {
    text-transform: uppercase;
    text-decoration: underline;
}

h1 {
    text-transform: uppercase;
}

@media only screen and (min-width: 1px) and (max-width: 1023px) {

.grid-container {
    display: grid;
    grid-template-areas: "nav" "nav" "header" "header" "sidebar" "mainbar" "empty" "empty" "myArea" "side" "leeg" "leeg" "kerst" "kerst" "footer" "footer";
    grid-template-columns: 100%;
    left: 0;
    right: 0;
    position: absolute;
    top: 0;
        
    }
    .mainbar {
        grid-area: mainbar;
        background-color: rgba(171, 171, 171, 0.348);
        text-align: center;
        padding-bottom: 5%;
        width: 100%;
        margin: auto;
        margin-top: 3%;
    }
    .sidebar {
        grid-area: sidebar;
        background-color: rgba(171, 171, 171, 0.348);
        text-align: center;
        padding-bottom: 5%;
        width: 100%;
        margin: auto;
        margin-top: 3%;
    }

    .sidebar img {
        border: solid black 2px;
        width: 175px;
        height: auto;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .mainbar img {
        border: solid black 2px;
        width: 250px;
        height: auto;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .side img {
        width: 250px;
        height: auto;
    }

    .myArea img { width: 250px;
        height: auto;

    }

    .card {
        width: 300px;
        height: 150px;
        margin: 50px auto;
        perspective: 900px; 
        align-items: center;
        
    }
    
    .inner {
        background-color: transparent;
        width: 300px;
        height: 200px;
        position: absolute;
        text-align: center;
        align-items: center;
        transform: rotate3d(0,0,0,0deg);
        transition: 1s;
        transform-style: preserve-3d;
    }
    
    .card:hover .inner
    {
        transform: rotateY(180deg);
    
    }
    
    .front, .back {
        position: absolute;
        width: 100%;
        height: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    
    }
    
    .front {
    
        color: black;
    }
    
    .back {
        
        color: white;
        transform: rotateY(180deg);
    }

    button {
        font-size: 10px;
    }

    .nav {
        text-align: center;
    }

    .formulier {
        text-align: right;
        padding-right: 1%;
    }

    .knoppen {
        text-align: left;
        padding-left: 1%;
    }

    header {
        margin-bottom: 0%;
    }




}
