:root {
  --blue-1: hsl(202, 84%, 59%);
  --blue-2: hsl(255, 66%, 23%);
  --red: hsl(6, 69%, 49%);
  --text: hsl(0, 0%, 11%);
  --link: hsl(215, 56%, 49%);
  --link-hover: hsl(215, 56%, 19%);
  --header: hsl(227, 73%, 22%);
  --shadow: hsl(254deg 65% 26% / 20%)
}

body {
  color: black;
  font-size: 15px;
  font-family: "Montserrat" !important;
  
}


.text-justify {
  text-align: justify !important;
}

@media (max-width: 768px) {
    .text-justify {
        text-align: initial !important;
    }
}

.text-justify h2 {
  text-align: initial;
}

img {border-radius: 5px;}

h1, h2, h3, h4 {
  color: var(--header);
}

h1 {
  text-align: center;

}

table.table-custom th {
  background: var(--blue-2);
  color: #fff !important
}

.card>a {
  text-decoration: none;
  color: var(--text);
}

.card h2 {
  font-size: 19px;
}

#home .card .card-body {
  margin-bottom: -55px;
}

#home_cards > div > div {
  margin-bottom: 30px;
}


.card.shadow {
  margin-bottom: 50px;
  padding-top: 20px;
}

.card .card-image {
  height:200px;
  position: relative;
  overflow: hidden;
  margin: 10px 15px -20px 15px;
  border-radius: 6px;
  box-shadow: 0 16px 38px -12px rgb(0 0 0 / 56%), 0 4px 25px 0px rgb(0 0 0 / 12%), 0 8px 10px -5px rgb(0 0 0 / 20%);
}

.card-img-bottom {
  object-fit: cover;
  height: 100%;
  width: 100%;
}



.navbar-nav a {
  font-weight: bold;
  font-size: 17px;
}

.navbar-nav a.nav-link {
  white-space: nowrap;
}

@media (min-width: 992px) {
  header#header nav {
    background-color: var(--blue-1);
    z-index: 100000;
  }

  header#header nav .navbar-nav>li>a {
    color: #fff;
    margin: 0 20px;
  }

  .navbar-nav .show>.nav-link,
  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link:hover {
    background: var(--blue-2);
    color: #fff !important;
  }
}

.logo img {
  max-height: 150px;
}

#main .container {
  padding: 0;
}

section {
  margin-top: 45px;
  padding: 15px;
}

.shadow {
  box-shadow: 0 0 5px 3px var(--shadow);
}

.card a span {
  display: flex;
  min-height: 100px;
  margin: auto;
  align-items: center;
}

.bestuurslid img {
  height: 150px;
  width: auto;
}

.btn-flippers {
  color: #fff;
  background: var(--blue-2);
  border-radius: 5px;
  box-shadow: 0 0 5px 3px var(--shadow);
  transition: 0.5s all;
}

.btn-flippers:hover {
  color: #fff;
  background: var(--blue-1);
}

.card.profile-card-3 {
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
  float: left;
  overflow: hidden;
  width: 100%;
  text-align: center;
  height: 285px;
  border: none;
  margin-bottom: 15px;
  padding-top: 0;
}

.profile-card-3 .background-block {
  float: left;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.profile-card-3 .background-block .background {
  width: 100%;
  vertical-align: top;
  opacity: 0.9;
  -webkit-transform: scale(2.1);
  transform: scale(3.8);
}

.profile-card-3 .card-content {
  width: 100%;
  padding: 15px 25px;
  color: #232323;
  float: left;
  background: #8fcaec;
  height: 50%;
  border-radius: 0 0 5px 5px;
  position: relative;
  z-index: 9999;
}

.profile-card-3 .card-content::before {
  content: '';
  background: #8fcaec;
  width: 120%;
  height: 100%;
  left: 7px;
  bottom: 51px;
  position: absolute;
  z-index: -1;
  transform: rotate(-13deg);
}

.profile-card-3 .profile {
  border-radius: 50%;
  position: absolute;
  bottom: 50%;
  left: 50%;
  height: 135px;
  opacity: 1;
  box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 1);
  -webkit-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
  z-index: 99999;
}

.inschrijven > div > div{
  min-height: calc(40vh);
}

.inschrijven .image {
  background-image: url(../img/AfbeeldingZwembad.jpg);
  background-size: cover;
  border-radius: 5px;
}


.inschrijven>div {
  min-height: 100%
}

a.facebookicon::before {
  content: '';
  margin-right: 5px;
  background-image: url('../img/facebook.svg');
  background-size: contain;
  height: 20px;
  width: 20px;
  display: block;
  position: relative;
  top: 0px;
  float: left;
}


