.gridcontainer {
    display: grid;
    overflow: auto;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: 60% 40%;
    grid-template-rows: 10px 300px 10px 300px 10px 300px 10px;
    grid-template-areas:
    ". ."
    "volgende bfair"
    ". ."
    "vorige cup"
    ". ."
    "alle doelpunten"
    ". ."
}

.volgende {
    background-color: #f4edec;
    grid-area: volgende;
    width: 95%;
    margin-right: 5px;
}

.indexheader {
    height: 35px;
    background-color: #ED003A;
    padding-left: 5px;
    padding-top: 5px;
    color: white;
    text-align: start;
}

.volgendedatum {
    height: 35px;
    border-bottom: 3px solid #ED003A;
    padding-left: 5px;
    padding-top: 7px;
}

.volgendematch {
    height: 200px;
    line-height: 200px;
    padding-left: 5px;
    padding-top: 5px;
    text-align: center;
    border-bottom: 3px solid #ED003A;
}

.bfair {
    grid-area: bfair;
    width: 95%;
    margin-left: 5px;
}

.vorige {
    width: 95%;
    grid-area: vorige;
    margin-right: 5px;
}

.vorigediv {
    height: 300px;
    background-color: #f4edec;
}

.vorigematch {
    height: 170px;
    line-height: 100px;
    padding-left: 5px;
    padding-top: 5px;
    margin-bottom: 5px;
    border-top: 3px solid #ED003A;
    text-align: center;
}

.alle {
    grid-area: alle;
    width: 95%;
    margin-right: 5px;
}

.cup {
    grid-area: cup;
    width: 95%;
    margin-left: 5px;
}

.doelpunten {
    grid-area: doelpunten;
    width: 95%;
    margin-left: 5px;
}

.mybutton {
    align: center;
    margin-left: 5px;
    margin-top: 10px;
    background-color: #ED003A;
    border: 1px solid black;
    color: white;
    border-radius: 4px;
}

.tabelrij {
    height: 40px;
}

.tabelvak {
    text-align: center;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .gridcontainer {
    width: 750px;
  }
  
    .vorigematch {
    height: 170px;
    line-height: 100px;
    padding-left: 5px;
    padding-top: 5px;
    margin-bottom: 5px;
    border-top: 3px solid #ED003A;
    text-align: center;
    font-size: 20px;
}
}

@media (min-width: 380px) and (max-width: 767px) {
  .gridcontainer {
    width: 90%;
    grid-template-columns: 100%;
    grid-template-rows: 10px auto 10px auto 10px auto 10px auto 10px auto 10px auto 10px;
    grid-template-areas:
    "."
    "volgende"
    "."
    "vorige"
    "."
    "alle"
    "."
    "bfair"
    "."
    "cup"
    "."
    "doelpunten"
    "."
  }
  
  .vorigematch {
    height: 170px;
    line-height: 100px;
    padding-left: 5px;
    padding-top: 5px;
    margin-bottom: 5px;
    border-top: 3px solid #ED003A;
    text-align: center;
    font-size: 25px;
}
  
  .volgendedatum {
    height: 50px;
    }
    
}

@media (max-width: 380px) {
  .gridcontainer {
    width: 90%;
    grid-template-columns: 100%;
    grid-template-rows: 10px auto 10px auto 10px auto 10px auto 10px auto 10px auto 10px;
    grid-template-areas:
    "."
    "volgende"
    "."
    "vorige"
    "."
    "alle"
    "."
    "bfair"
    "."
    "cup"
    "."
    "doelpunten"
    "."
  }
  
  
  .volgendedatum {
    height: 50px;
    }
    
  .volgendematch {
    height: 100px;
    line-height: 40px;
    font-size: large;
    padding-left: 5px;
    padding-top: 5px;
    text-align: center;
    border-bottom: 3px solid #ED003A;
    }
    
    .vorigematch {
    height: 170px;
    line-height: 75px;
    font-size: large;
    padding-left: 5px;
    padding-top: 5px;
    margin-bottom: 5px;
    border-top: 3px solid #ED003A;
    text-align: center;
}
}

@media (min-width: 992px) {
  .gridcontainer {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .gridcontainer {
    width: 1170px;
  }
}


