/* @import "navbarEnfooter.css";
@import "icomoon.css"; */

/******************************
*******KOMENDE EVENEMENTEN*****
******************************/
h1 {
  font-family: roboto Medium;
  color: #039fbe;
  font-size: 3.5em;
  margin-left: 4.5%;
  margin-top: 2%;
}

section.activiteit figcaption.datum {
  background-color: #ffffff;
  font-family: roboto;
  font-weight: bold;
  padding: 3%;
  color: #039fbe;
  font-size: 1em;
  width: fit-content;
  height: fit-content;
}

.activiteiten {
  display: flex;
  flex-direction: row;
  width: 90%;
  padding: 0px 20px;
  margin: 50px auto;

  color: white;
}

.activiteiten h2 {
  font-family: Roboto;
  font-size: 2.4em;
}

.activiteiten h3 {
  font-family: Roboto;
}

.inschrijven {
  background-color: #ffffff;
  padding: 3%;
  transition: 0.3s;
  float: right;
  margin-top: 5%;
}

.inschrijven:link {
  color: #039fbe;
}

.inschrijven:visited {
  color: #039fbe;
}

.inschrijven:hover {
  box-shadow: 3px 3px rgba(50, 50, 50, 0.89);
  text-shadow: 2px 2px 5px rgb(50, 50, 50);
}

.inschrijven b {
  font-weight: bold;
  font-size: 1.2em;
}

.activiteiten h2,
h3,
p {
  font-family: Inter;
  margin-top: 2%;
}

.activiteiten img {
  width: 100%;
  height: 18em;
  object-fit: cover;
}

span p {
  font-family: roboto;
}

.activiteit {
  padding: 2% 2% 1.5% 1.5%;
  background-color: #039fbe;
  margin-bottom: 2%;
  margin-right: 2%;
  width: 100%;
  box-shadow: 0px 3px #01596b;
}

.activiteit:last-child {
  border: none;
}

.activiteittext {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 2%;
  margin-bottom: 2%;
}

/******************************
****** END OF EVENEMENTEN *****
******************************/

/******************************
****** FORM *****
******************************/

/******************************
****** EINDE FORM *****
******************************/

/******************************
***********NIEUWS**************
******************************/
.content {
  display: flex;
  flex-direction: row;
  margin-bottom: 3%;
  margin-top: 5%;
}
.news {
  width: 40%;
  margin-left: 4%;
}

.news h2 {
  padding: 2%;
  background-color: #039fbe;
  font-family: roboto;
  color: #ffffff;
  font-size: 1.5em;
  display: flex;
}

.news-image {
  background-image: url(../img/nieuws.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 35%;
  margin-top: 2%;
}

.news-link {
  padding: 3%;
  background-color: #039fbe;
  font-family: roboto;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}

.news-link a {
  color: #ffffff;
  transition: 0.3s;
}

.news-link a:hover {
  color: #ffffff88;
}

/********#ffffff62*************
*******EINDE NIEUWS************
******************************/

/******************************
********* GOOGLE MAPS *********
******************************/

iframe {
  width: 50%;
  margin-left: 2%;
}

.poster {
  width: 70%;
  margin: auto;
}

/******************************
*******ACTIVITIES**************
******************************/

/******************************
********* RESPONSIVE **********
******************************/

@media only screen and (max-width: 1024px) {
  /* Komende Evenementen */

  .evenementen {
    display: flex;
    flex-wrap: wrap;
  }

  .evenementen > figure {
    padding: 15%;
    width: 100%;
    margin-bottom: 5%;
    box-shadow: none;
  }

  .evenementen figure:first-child {
    background-image: url("img/bingo.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 35%;
  }

  .evenementen figure:nth-child(2) {
    background-image: url("img/cinema.jpg");
    background-size: contain;
    position: relative;
    padding: 35%;
  }

  .evenementen figure:nth-child(3) {
    background-image: url("img/speelplein.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 35%;
  }
  .events {
    background-color: #c2dfff;
    padding: 10%;
  }

  .events h1 {
    font-size: 2.5em;
    font-weight: bold;
    font-family: inter;
    margin-left: 0;
  }

  .evenementen figcaption {
    background-color: #5db5d0;
    font-family: roboto;
    font-weight: bold;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 5%;
    color: white;
    font-size: 1.2em;
    width: 90%;
  }

  .evenementen figcaption.datum {
    background-color: #5db5d0;
    font-family: roboto;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 5%;
    padding: 3%;
    text-shadow: 2px 2px 5px #000000;
    color: white;
    font-size: 1.1em;
    width: fit-content;
    height: fit-content;
  }

  .evenementen figcaption a {
    color: white;
    text-decoration: underline;
    float: left;
    width: 100%;
    margin-top: 3%;
    font-size: 0.8em;
    font-weight: lighter;
    text-shadow: 2px 2px 6px #000000;
  }

  .activiteiten,
  h1 {
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
    margin-top: 5%;
  }

  .activiteit {
    padding: 2%;
  }

  .content {
    flex-direction: column;
  }

  .news {
    width: 80%;
    margin: 25px auto;
  }

  iframe {
    width: 80%;
    height: 300px;
    margin: 25px auto;
  }
}

@media only screen and (max-width: 960px) {
  /* Komende Evenementen */

  .activiteiten {
    flex-direction: column;
  }

  .activiteittext {
    display: flex;
    flex-direction: column;
    margin-top: 2%;
    width: 85%;
    margin-bottom: 2%;
    padding: 3%;
  }
}
/******************************
***END OF RESPONSIVE EVENTS****
******************************/
