/* @import "navbarEnfooter.css";
@import "icomoon.css"; */

/************************************
***************ACTIVITEITEN**********
************************************/
main {
  display: flex;
  flex-direction: row;
  background-color: rgb(245, 245, 245);
  font-family: Inter;
}

h1 {
  font-family: roboto;
  color: #039fbe;
  font-weight: bolder;
  font-size: 3em;
}

.container h1 {
  margin-bottom: 2%;
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
  padding-bottom: 1%;
}

.activiteiten {
  width: 85%;
  padding: 1%;
  margin: 50px auto;
  color: #039fbe;
  background-color: #039fbe;
}

.activiteittext {
  color: #ffffff;
}

.activiteiten p,
h2,
h3,
h4 {
  font-family: Inter;
}

div h2 {
  font-size: 2.3em;
  margin-bottom: 2%;
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
  padding-bottom: 2%;
}

form h2 {
  font-size: 1.5em;
  margin-bottom: 2%;
}

h4 {
  margin: 2.5% 0% 1.5% 0%;
}

h3 {
  margin: 5% 0% 0.5% 0%;
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
  padding-bottom: 2%;
}

p {
  line-height: 1.4em;
  text-align: justify;
  margin-bottom: 2%;
  width: 70%;
}

.activiteiten img {
  height: 20em;
  width: 20%;
  object-fit: cover;
  margin-right: 1.5%;
}

span p {
  font-family: roboto;
}

.activiteit {
  display: flex;
  flex-wrap: nowrap;
  padding: 1% 2% 3% 1.5%;
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.activiteit:last-child {
  border: none;
}

.activiteittext {
  width: 55%;
  padding-left: 1.5%;
  padding-right: 1.5%;
}

.leeftijd {
  padding: 1% 1.5% 1.5% 1.5%;
  float: right;
  width: 25%;
  background-color: #ffffff;
}

/************************
**** FORM******
*************************/
* {
  box-sizing: border-box;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 2%;
  resize: vertical;
  font-family: Inter;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type="submit"] {
  background-color: #039fbe;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  float: right;
}

input[type="submit"]:hover {
  background-color: #005572;
  transition: 0.5s ease;
  box-shadow: 2px 2px rgb(238, 235, 235);
}

.container {
  padding: 3.5%;
  width: 70%;
  margin: 3% auto 5% auto;
  display: block;
  background-color: #ffffff;
  border-top-left-radius: 75px;
  border-bottom-right-radius: 75px;
  border-bottom: 1.5px solid white;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
  margin-bottom: 1%;
}

.col-45 {
  float: left;
  width: 36.5%;
  margin-top: 6px;
  margin-right: 2%;
}

.col-45-2 {
  float: left;
  width: 36.5%;
  margin-top: 6px;
}

/******************************
********* RESPONSIVE **********
******************************/

@media only screen and (max-width: 1024px) {
  /* Alle activiteiten */
  .activiteit {
    flex-direction: column;
  }

  .activiteit img,
  .activiteit .activiteittext,
  .container {
    width: 90%;
    margin: 10px auto;
  }

  .activiteittext {
    width: 90%;
    padding: 0;
  }

  .activiteit .leeftijd {
    width: 90%;
    margin: 10px auto 10px 5%;
  }
}

@media only screen and (max-width: 768px) {
  /* Activiteit inschrijving */
  .row {
    display: flex;
    flex-direction: column;
  }
}

/******************************
***END OF RESPONSIVE EVENTS****
******************************/
