html {
  --padding-inline: 3rem;
  --content-max-width: 800px;
  --windowsizemin: 250px;

  --textcolor: #425358;
  --linkcolor: #425358;

  --headertextcolor: #ffffff;
  --header1color: #aa78ba;

  --headerbgheight: 177px;
  --navigation-height: 4.5rem;

  --textsize: 1.1rem;
  --headertextsize: 5.8rem;
  --imagesize:170px;
}

@media (max-width: 420px) {
  html{
    --navigation-height: 4rem;
  }
}

@media (max-width: 600px) {
  html{
    --headerbgheight: 32vw;
    --padding-inline: 1rem;
  }
}


@font-face {
  font-family: 'Gilroy';
  src: url('../font/Gilroy-Medium.ttf');
  font-weight: normal;
  font-style: normal;
}


body {
  margin: 0;
  min-width: 300px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-weight: 300;
  font-size: var(--textsize);
  color: var(--textcolor);
  font-style: normal;
  line-height: 1.6;

  background: linear-gradient(135deg, rgba(186,139,201,1) 0%,rgba(186,139,201,1) 38%,rgba(221,182,234,1) 100%);
  background-repeat: no-repeat;
  background-size: auto var(--headerbgheight);
}


/* Link colors */
a,
a:hover,
a:visited
{
  color: black;
  color: var(--header1color);
  color: var(--textcolor);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--header1color);
}

a:hover
{
  text-decoration: none;
}


/* Grid */
.main-grid {
  display: grid;
  grid-template-columns:
    [full-start]
      minmax(var(--padding-inline), 1fr)
      [content-start]
          min(100% - (var(--padding-inline) * 2), var(--content-max-width))
      [content-end]
      minmax(var(--padding-inline), 1fr)
    [full-end];
}

header.main-grid {
  grid-template-rows:
  [header-start
    color-start]
      var(--headerbgheight)
    [color-end
    navigation-start]
      var(--navigation-height)
    [navigation-end
  header-end];
  grid-row-gap: 0px;
}


/* Header */
.header-image {
  /* header image grows with window size */
  width: var(--imagesize);
  height: var(--imagesize);
  padding-right: 50px; 

  grid-row: header; 
  padding-top: calc(var(--headerbgheight) - var(--imagesize) / 2);
  justify-self: end;
  filter: drop-shadow(0 0 0.5rem rgb(255, 255, 255, 0.4));
}

@media (max-width: 1190px) {
  .header-image {
    display: none;
  }
}

.header-wrap {
  grid-column: content;
  grid-row: color;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: end;
}

.header-name-logo {
  /* Yvonne Oosterholt logo */
  margin-left: -1.75rem; /* De Y iets naar links */
  width: 70%;
  width: 34rem;
}

@media (max-width: 600px) {
  .header-name-logo {
    margin-left: 0;
  }
}


/* for use in javascript transform logo to small */
.header-name-logo svg g.compact {
  transition: 0.8s ease-in-out;
  transform: translate(570px, -105px);
}
/* einde javascript */


.header-services {
  font-family: 'Gilroy', sans-serif;
  flex-shrink: 0;
  color: #fff;
  text-align: end;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.header-services p {
  margin: 0;
}

@media (max-width: 850px) {
  .header-services {
    display: none;
  }
}


/* navigatie */

nav {
  grid-column: content;
  grid-row: navigation;
  padding-top: 1rem;

  font-family: "Gilroy", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.3rem;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  line-height: 1;
}

@media (max-width: 760px) {
  nav {
    justify-content: center;
  }
}

@media (max-width: 440px) {
  nav {
    font-size: 1.2rem;
  }
}


nav li {
  display: inline;
}

nav img {
  width: 7px;
  height: 7px;
  padding-top: 0.8rem;
}

nav li a {
  text-decoration: none;
  color: rgb(102, 67, 109, 0.7);
}

nav li a.current{
  border-bottom: 2px solid var(--header1color);
  color: var(--textcolor);
}

nav li a:hover  
{
  border-bottom: 2px solid var(--header1color);
}

nav span.dot:last-child {
  display: none;
}



/* content container */
.container section {
  grid-column: content;
}

/* Koppen */
.container h1, .container h2  {
  color: var(--header1color);
  font-weight: normal;
  line-height: 1.2;
  padding-bottom: 0.3rem;

  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.container h1 {
  font-family: 'Gilroy', sans-serif;
  font-size: 2.1rem;
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.container h2:after {
  content: "";
  flex: 1 1;
  border-bottom: 1px solid rgba(186,139,201,0.4);
  margin: 0 0 1rem 1rem;
}

.container h2 {
  font-family: 'Gilroy', sans-serif;
  font-size: 1.7rem;
  margin-top: 3rem;
  margin-bottom: 0;
}

.container .subtitle {
  padding-left: 0.8rem;
  font-size: 0.8em;
  align-items: baseline;
}


@media (max-width: 700px) {
  .container h1,
  .container h2
  {
    font-size: 1.8rem;
  }
}

@media (max-width: 590px) {
  .container h1,
  .container h2
  {
    font-size: calc(0.7rem + 2.5vw);
  }
}


/* Tekst en image */
.container p {
  margin-top: 0;
}

.container em {
  font-family: 'Gilroy', sans-serif;
  font-style: normal;
}

.container p.header,
.container section strong,
.rlb-preview-head2
{
  font-family: 'Gilroy', sans-serif;
  color: var(--header1color);
  font-weight: normal;
  font-size: 1.2rem;
  margin-top: 6rem;
  line-height: 1;
}

.content-image {
  float: right;
  margin: 0.5rem 0 1rem 2rem;
  max-width: 375px;
  border-top-right-radius: 10px;
}

@media (max-width: 900px) {
  .content-image {
    max-width: 45%;
  }
}


/* tabellen */
.rlb-reikicursus-tabellen {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  justify-content: center;
  gap: 1.8rem;
}

.rlb-reikicursus-tabellen .reikitable.rlb-lijst {
  flex-basis: 48%;
}

.reikitable td.cursus_vol {
  color: var(--header1color);
}

/* override width 100% van de andere lijsten  */
.rlb-reikicursus-tabellen .reikitable.rlb-lijst{
  width: auto;
}


.rlb-lijst {
  border-spacing: 0;
  width: 100%;
  background-color: color(display-p3 0.8 0.667 0.863 / 0.2);
  background-color: color(display-p3 0.961 0.933 0.973);
  background: linear-gradient(135deg,
              color(display-p3 0.961 0.933 0.973) 0%,
              color(display-p3 0.961 0.933 0.973 / 0.8) 38%,
              color(display-p3 0.961 0.933 0.973 / 0.6) 100%);
  background-repeat: no-repeat;
  border-radius: 0.8rem 0.8rem 0.8rem 0.8rem;
  padding: 0.5rem 2rem 1rem 2rem;
}

.rlb-lijst.reikitable tr:not(:last-of-type) td,
.rlb-lijst.consulten tr:not(:last-of-type) td
{
  border-bottom: 1px #ead7ef solid;
}


.rlb-lijst a {
  text-decoration: none;
  border-bottom: 1px #bb8ac9 solid;
  color: var(--linkcolor);
}


/* Definities tabellen voor   */
/* smallere schermen */
.rlb-lijst [data-type="startdag-en-datum"] {
  display: none;
}
.rlb-lijst [data-type="korte-startdatum"] {
  display: none;
}
.rlb-lijst.retraite .aantaldagen{
  display: none;
}
.rlb-lijst.retraite .datum.kort{
  display: none;
}


@media (max-width: 670px) {
  .rlb-lijst.retraite .plaats {
    display: none;
  }

  .rlb-lijst.consulten tr:not(:last-of-type) td
    {
    /* background-color: white; */
    /* border-top: 1px solid black; */
    border-bottom: 1px #ead7ef solid;
  }
}


@media (max-width: 580px) {
  .rlb-lijst [data-type='startdag-en-datum'] {
    display: table-cell;
  }
  .rlb-lijst [data-type='soortles'] {
    display: none;
  }
  .rlb-lijst [data-type='weekdag'] {
    display: none;
  }
  .rlb-lijst [data-type='startdatum'] {
    display: none;
  }
}

@media (max-width: 520px) {
  .rlb-lijst td.bedrag {
    /* display: none; */
  }
  .rlb-lijst [data-type='bijdrage'] {
    /* display: none; */
  }
  .rlb-lijst.retraite .einddatum{
    display: none;
  }
  .rlb-lijst.retraite .aantaldagen{
  }
}

@media (max-width: 460px) {
  .rlb-lijst [data-type='startdag-en-datum'] {
    display: table-cell;
  }
  .rlb-lijst [data-type='einddatum'] {
    display: none;
  }
}

@media (max-width: 410px) {
  .rlb-lijst.retraite .datum.kort {
    display: table-cell;
  }
  .rlb-lijst.retraite .datum.lang {
    display: none;
  }
  .rlb-lijst [data-type='bijdrage'] {
    /* display: none;   */
    color: transparent;
  }
}



@media (max-width: 380px) {
  .rlb-lijst [data-type='startdag-en-datum'] {
    display: none;
  }
  .rlb-lijst [data-type='korte-startdatum'] {
    display: table-cell;
  }


}

/* einde definitie tabellen */
/* smallere schermen */



.rlb-lijst tbody::before {
  content: '';
  display: block;
  margin-top: 0.4rem;
}

.rlb-lijst th {
  border-bottom: 1px #bb8ac9 solid;
  font-weight: normal;
  line-height: 1.8;
  font-family: 'Gilroy', sans-serif;
}

.rlb-lijst thead tr {
  height: 2.5rem;
}

.rlb-lijst td {
  font-size: 1rem;
}

.rlb-lijst th,
.rlb-lijst td {
  text-align: left;
}

.rlb-lijst .amp {
  padding-inline: 1rem;
}

.rlb-lijst .datum,
.rlb-lijst .getal,
.rlb-lijst .bedrag {
  text-align: end;
}

.rlb-lijst .center {
  text-align: center;
}

.rlb-lijst td.bedrag::before {
  content: '€';
  padding-right: 0.4rem;
  font-size: 0.8em;
}


/* details gegevens yoga/meditatie/retraite/ */
h2.rlb-preview{
  font-size: 1.5rem;
}

.rlb-preview-head2 {
  margin-bottom: 0.5rem;
}

.container .rlb-preview-p {
  margin-top: -0.4rem;
}


/*      footer     */
footer {
  border-top: 1px solid #f4d4ff;
  background: rgb(254,253,254);
  background: linear-gradient(180deg, rgba(249,245,250,1) 0%, rgba(248,240,250,1) 30%, rgba(248,240,250,1) 100%);
  margin-top: 2rem;
  padding-bottom: 4rem;
}

.footer-content {
  padding-top: 1rem;
  grid-column: content;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: aliceblue;
  color: #ba8bca;
  color: var(--textcolor);
  gap: 2rem;

  line-height: 1.4;
}

footer h2 {
  margin-bottom: 0;
  color: white;
  color: var(--header1color);
  font-weight: normal;
  font-size: 1.4rem;
  font-family: 'Gilroy', sans-serif;
}

footer p {
  margin-top: 0;
  margin-bottom: 0;
}

footer .midden img {
  margin-top: 4rem;
}

footer .whatsapp-link {
  display: flex;
  gap: 7px;
}

@media (max-width: 740px) {
  .footer-content {
    flex-direction: column;
  }
  footer .links, 
  footer .rechts 
  {
    text-align: center;
  }
  footer .midden{
    display: none;
  }
  footer .whatsapp-link {
    justify-content: center;
  }
}