:root{
    --sans:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --serif:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* Prevent mobile browsers from inflating text sizes */
html{
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body{
    margin: 0;
    padding: 0;
    background-color: #000;
}

body.index::before{
    content: "";
    position: fixed;
    inset: 0;
    /*background: url("../img/background.png") bottom left / cover no-repeat;*/
    z-index: -1;
}

@media (max-width: 56.25rem){ /* 900px */
  body.index{ overflow-x: hidden; }

  /* Stop “fake zoom” */
  body.index #container{
    transform: none;
    width: 100%;
  }
}

#container{
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    width: 100%;
}

/* =========================
   TWINKLING STARS
   ========================= */
#pixel-noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    image-rendering: pixelated;
}

/* ==================================================
   INDEX PAGE
   ================================================== */
#top-row{
    grid-row: 1;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
}

#middle-row{
    grid-row: 2;
}

#bottom-row{
    grid-row: 3;
    align-self: center;
    justify-self: center;
    text-align: center;
}

/*MIDDLE ROW */
#title-stroke{
    position: relative;
    overflow: visible;
    text-align: center;
    height: 9rem;
    width: 100%;
    border-top: 1px solid rgb(66, 3, 3);
    border-bottom: 1px solid rgb(95, 6, 6);
    background: linear-gradient(
    to bottom,
    rgb(0, 0, 10) 0%,
    rgba(4, 4, 60) 100%
    );
}

#title-stroke .stroke-stars{
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

#title-stroke .stroke-stars #pixel-noise{
    position: absolute;
    inset: 0;
}

#title-stroke > h1,
#title-stroke > p{
    position: relative;
    z-index: 1;
}

p.index-sub{
    padding: 0;
    margin: 0;
    /* was: 5rem (desktop). Now scales down on small screens but stays 5rem on desktop */
    font-size: clamp(2.2rem, 1.2rem + 4.6vw, 5rem);
    color: rgb(250,235,215, .8);
    text-shadow: .1rem .1rem 1rem #000;
}

h1.index-title{
    padding: 0;
    margin: 1.5rem auto 0.7rem auto;
    /* was: 2.8rem */
    font-size: clamp(0.6rem, 0.6rem + 2.1vw, 2.3rem);
    color: rgb(250,235,215);
    font-weight: 100;
}

/*TOP POEM*/
.index-poem{
    /* was: 3rem */
    font-size: clamp(1.6rem, 1.05rem + 2.6vw, 3rem);
    color: rgb(255,255,255,.8);
    text-shadow: .1rem .1rem .5rem #000;
}

/*CTA INDEX*/
a.index-cta {
    margin: auto;
    padding: 1rem 1.75rem 1rem 1.75rem;
    color: rgb(225, 225, 225);
    font-size: clamp(1.15rem, 4.3124vw, 1.5rem);
    font-weight: 400;
    text-decoration: none;
    border-radius: 1rem;
    border-top: 1px solid rgb(88, 0, 0);
    border-right: 1px solid rgb(55, 0, 0);
    border-bottom: 1px solid rgb(22, 0, 0);
    border-left: 1px solid rgb(22, 0, 0);
    background: linear-gradient(
        to right,
        rgb(11, 0, 0) 0%,
        rgb(22, 0, 0) 35%,
        rgb(33, 0, 0) 50%,
        rgb(22, 0, 0) 65%,
        rgb(55, 0, 0) 100%
    );
    font-family: var(--sans);
    gap: 5rem;
}

a.index-cta:hover {
    border-bottom: 1px solid rgb(0, 0, 99);
    border-left: 1px solid rgb(0, 0, 33);
    border-top: 1px solid rgb(0, 0, 55);
    border-right: 1px solid rgb(0, 0, 99);

    background: linear-gradient(
        to right,
        rgb(0, 0, 22) 0%,
        rgb(0, 0, 33) 35%,
        rgb(0, 0, 55) 50%,
        rgb(0, 0, 33) 65%,
        rgba(0, 0, 77, 0.7) 100%
    );
}

/*Light CTA*/
#cta-bottom{  
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem
}

a.index-light-cta{
    padding: 0.75rem 1.5rem 0.75rem 1.5rem;
    color: rgb(225, 225, 225);
    font-size: clamp(1.15rem, 4.3124vw, 1.5rem);
    font-weight: 200;
    text-decoration: none;
    border-radius: 1rem;
    border-top: 1px solid rgb(88, 0, 0);
    border-right: 1px solid rgb(55, 0, 0);
    border-bottom: 1px solid rgb(22, 0, 0);
    border-left: 1px solid rgb(22, 0, 0);
    background: linear-gradient(
        to top,
        rgb(11, 0, 0, 0.9) 0%,
        rgb(22, 0, 0, 0.9) 50%,
        rgb(55, 0, 0, 0.9) 100%
    );
    font-family:  var(--sans);
}

a.index-light-cta:hover{
    border: 1px solid rgb(66, 3, 3);
    background: linear-gradient(
    to bottom,
    rgb(0, 0, 10) 0%,
    rgba(4, 4, 60) 100%
    );
}

/*BOTTOM TEXT*/
#index-text{
    margin: -2rem auto 6rem auto;
    padding: 1rem;
    text-align: center;
    max-width: 777px;  
    background-color: rgba(255,255,255,0.05);  
    background: linear-gradient(to bottom,
        rgba(0,0,33,0.5) 1%,
        rgba(77,0,0,0) 15%,
        rgba(77,0,0,0) 50%,
        rgba(99,0,0,0) 100%
    ), linear-gradient(to left,
        rgba(33,0,0,0.1) 0%,
        rgba(55,0,0,0.2) 25%,
        rgba(77,0,0,0.25) 50%,
        rgba(55,0,0,0.2) 75%,
        rgba(33,0,0,0.1) 100%
    );
    backdrop-filter: blur(0.375rem); /* 6px */
    border-top:0px;
    border-right: 1px solid rgb(95, 3, 3);
    border-bottom: 0px solid rgb(66, 3, 3);
    border-left: 1px solid rgb(66, 6, 6);
    border-radius: 2rem;
}

p.index-text{
    font-size: 1.25rem;
    font-family: var(--sans);
    font-weight: 100;
    color: rgb(255, 250, 244);
    text-shadow: .02rem .02rem .04rem #000;
}

/* ==================================================
   PAGES
   ================================================== */
/* =========================
   HEADER BANNER
   ========================= */
/* Header: left-aligned brand row */
#header{
  display: flex;
  align-items: center;    
  width: 100vw;    
  height: 5rem;    
  border-bottom: 1px solid rgb(66, 3, 3);
  background: linear-gradient(
    to top,
    rgb(0, 0, 10) 0%,
    rgba(4, 4, 60) 100%
  );
}

#header .header-inner{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  width: 100%;
  padding-left: 2rem;
  gap: 1rem;
  height: 100%;
}

/* Logo sizing */
#header .header-logo{
  height: 3rem;
  width: auto;
  flex: 0 0 auto;
  display: block;
}

/* Header brand text (no h1) */
#header .header-text span{
  display: block;
}

/* company descriptor */
#header .brand-tagline{
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.2;
  color: rgb(250,235,215);
  margin: 0;
}

/* company name */
#header .brand-name{
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0;
  color: rgb(250,235,215,.85);
  text-shadow: .1rem .1rem 1rem #000;
}

/* Keep text stacked neatly */
#header .header-text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 0.25rem;
}

.header-link{
  display: block;
  text-decoration: none;
  color: inherit;
}

a.header-link{
  text-decoration: none;
}

/* ==================================================
   FOOTER
   ================================================== */
#footer {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100vw;
    height: 2rem;
    vertical-align: middle;
    border-top: 1px solid rgb(66, 3, 3);
    background: linear-gradient(
    to bottom,
    rgb(0, 0, 10) 0%,
    rgba(4, 4, 60) 100%
    );
}
#footer a{
    font-size: 1rem;
    font-family: var(--sans);
    color:rgb(250,235,215);
    text-decoration: none;
    padding: 0.5rem;
}

/* ==================================================
   PAGE MAIN CONTENT
   ================================================== */
#page-content{
    max-width: 900px;
    margin: 2rem auto 6rem auto;
    overflow: hidden;
    padding: 1rem;
    box-sizing: border-box;
}

/*flex pages*/
#wrap-content{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

/*2/3 > 1/3 column*/
#item-content{
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

/* collapse to one column on small screens */
@media (max-width: 900px){
  #item-content{
    grid-template-columns: 1fr;
  }
}

.col{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.title-block{
  padding: 0.2rem;
  padding-left: 1.3rem;
  margin: 0;
  margin-bottom: 1.5rem;
  width: 100%;
  min-height: 1rem;
    box-sizing: border-box;
    background: linear-gradient(to bottom,
        rgba(77,0,0,0.2) 15%,
        rgba(77,0,0,0.2) 50%,
        rgba(99,0,0,0.2) 100%
    ), linear-gradient(to left,
        rgba(33,0,0,0.2) 0%,
        rgba(55,0,0,0.3) 25%,
        rgba(77,0,0,0.35) 50%,
        rgba(55,0,0,0.3) 75%,
        rgba(33,0,0,0.2) 100%
    );
    backdrop-filter: blur(0.375rem); /* 6px */
  border-right: 1px solid rgb(66, 3, 3);
  border-left: 1px solid rgb(95, 6, 6);
  border-radius: 2rem;
  box-shadow: -1rem -0.5rem 2rem rgb(3, 3, 33,0.5);
}

h1.page-title{
    margin: 0;
    padding: 0;
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    color: rgb(250,235,215, 0.85);
    font-weight: 100;
    text-shadow: .1rem .1rem 0.4rem #000;
    font-family: var(--sans); 
}

h2.page-title{
    padding: 0;
    margin: 1.5rem auto 0.7rem auto;
    font-size: 1.25rem;
    color: rgb(250,235,215);
    font-weight: 100;
    font-family: var(--sans);
}

.page-sub{
    padding: 0;
    margin: 0;
    font-size: clamp(0.9rem, 2.4vw, 1.35rem);
    color: rgb(250,235,215, .8);
    text-shadow: .1rem .1rem 1rem #000;
    font-family: var(--sans);    
}

.page-block{
    width: 100%;
    max-width: none;  
    box-sizing: border-box;
    overflow: hidden;
    padding: 1rem;
    padding-top: 0;
    margin-bottom: 0.5rem;
    background-color: rgba(255,255,255,0.05);  
    background: linear-gradient(to bottom,
        rgba(0,0,33,0.5) 1%,
        rgba(77,0,0,0) 15%,
        rgba(77,0,0,0) 50%,
        rgba(99,0,0,0) 100%
    ), linear-gradient(to left,
        rgba(33,0,0,0.1) 0%,
        rgba(55,0,0,0.2) 25%,
        rgba(77,0,0,0.25) 50%,
        rgba(55,0,0,0.2) 75%,
        rgba(33,0,0,0.1) 100%
    );
    backdrop-filter: blur(0.375rem); /* 6px */
    border-top:0px;
    border-right: 1px solid rgb(66, 3, 3);
    border-bottom: 0px solid rgb(66, 3, 3);
    border-left: 1px solid rgb(95, 6, 6);
    border-radius: 2rem;
}

p.page-text{
    font-size:1rem;
    font-family: var(--sans);
    font-weight: 100;
    color: rgb(255, 250, 244);
    text-shadow: 0.1rem 0.1rem 0.5rem rgb(0, 0, 10,0.9);
}

.item-text-title{
    display: block;
    color: rgb(250,235,215);
    font-weight: 400;
    width: calc(100% + 2rem);
    border-top: 1px solid rgb(66, 3, 3);
    background-color: rgb(3, 3, 66,0.4);
    padding: 0.2rem 0rem 0.3rem 1rem;
    margin-top: 1rem;
    margin-left: -1rem;
    margin-bottom: 0.2rem;
}

.item-text-title-first{
    border: 0px;
    font-weight: 400;
}

#link-cta{
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* or flex-start if you prefer left aligned */
  gap: 1.5rem;
  width: 100%;
}

.pages-link{
  width: 300px;
  height: 300px;
  border: 1px solid #fff;
  box-sizing: border-box;   /* important: border included in 300px */
  flex: 0 0 300px;          /* fixed tile width */
    background-color: rgba(255,255,255,0.05);  
    background: linear-gradient(to bottom,
        rgba(0,0,33,0.5) 1%,
        rgba(77,0,0,0) 15%,
        rgba(77,0,0,0) 50%,
        rgba(99,0,0,0) 100%
    ), linear-gradient(to left,
        rgba(33,0,0,0.1) 0%,
        rgba(55,0,0,0.2) 25%,
        rgba(77,0,0,0.25) 50%,
        rgba(55,0,0,0.2) 75%,
        rgba(33,0,0,0.1) 100%
    );
    backdrop-filter: blur(0.375rem); /* 6px */
    border-top:0px;
    border-right: 1px solid rgb(66, 3, 3);
    border-bottom: 0px solid rgb(66, 3, 3);
    border-left: 1px solid rgb(95, 6, 6);
    border-radius: 2rem;
}

/* Make the <a> fill the tile */
.pages-link > .pages-cta{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 1rem;            /* keep for text tile */
  box-sizing: border-box;
  overflow: hidden;
    text-decoration: none;
}

.thumb-img{
    display: block;
    width: auto;
    height: 230px;
    margin: 0;
    padding: 0;
}

.thumb-vid{
      /* fade edges */
  -webkit-mask-image: radial-gradient(
    circle at center,
    rgba(0,0,0,1) 55%,
    rgba(0,0,0,0) 75%
  );
  mask-image: radial-gradient(
    circle at center,
    rgba(0,0,0,1) 55%,
    rgba(0,0,0,0) 75%
  );
}

.coming-soon{
    background-color: rgb(51, 51, 51);
}

.link-text{
    font-size:1.5rem;
    font-family: var(--sans);
    font-weight: 100;
    color: rgb(255, 250, 244);
    text-shadow: 0.1rem 0.1rem 0.5rem rgb(0, 0, 10,0.9);
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.link-field{
    width: 300px;
    height: auto;
    padding: 0;
}

.field-text{
    font-size: 1rem;
    font-family: var(--sans);
    color:rgb(250,235,215);
    padding: 0.3rem;
}

/* ==================================================
   Wandeling Page Specific
   ================================================== */

.wandeling{
  background: linear-gradient(
    to bottom,
    rgb(4, 4, 60, 0.3) 0%,
    rgb(4, 4, 60, 0.6) 100%
  );     
}

.wandeling-info{
  background: linear-gradient(
    to bottom,
    rgba(4, 4, 60, 1) 0%,
    rgb(171, 198, 212, 0.6)100%
  );
}

.wandeling-info a{
    color: rgb(255, 250, 244);
    text-decoration: none;
}

p.wandel {
    color:rgb(255, 250, 244)
}
