@font-face {
    font-family: 'headers'; /*a name to be used later*/
    src: url('PTSans-Bold.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'quotes'; /*a name to be used later*/
    src: url('Gloock-Regular.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'body'; /*a name to be used later*/
    src: url('Prata-Regular.ttf'); /*URL to font*/
}

:root {
	--water: #425262;
    --light: #f3f4f5;
    --dark: #060809;
}

html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--light); /* Background behind canvas */
  font-family: 'body';
  color: var(--dark);
  font-size: clamp(14px, 2vw, 18px);
}
h1 {
  font-size: clamp(2.5rem, 6vw, 3.4rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.3;
}

h4 {
  font-size: clamp(1.4rem, 3vw, 2.0rem);
  line-height: 1.4;
  margin: 5px;
}

/* Adjust body height after canvas fades out */
body.expanded {
  height: auto; /* Allow the body to grow if necessary */
}

h1, h2, h3, h4 {
    font-family: 'headers';
}

p {
  margin: 8px;
}

#container {
    z-index: 1000;
    position: relative;
    width: 100vw;
    height: 100vh;
    opacity: 1;
    transition: opacity 6s ease;
}

#landing_h1, #landing_h2 {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 102;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  pointer-events: none; /* Let clicks pass through if needed */
  opacity: 1;
  transition: opacity 1s ease;
}
#landing_h2 {
    top: 80px;
}
#landing_h1 {
    top: 160px;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 10;
  opacity: 1;
  transition: opacity 1s ease, visibility 1s ease;
}


#content {
  position: absolute;
  top: calc(160px - 4rem);
  left: 0;
  z-index: 103;
  width: 100%;
  height: auto;
}

.post-result {
    border: solid 1px;
    border-top: solid 10px;
    border-color:  var(--water);
    border-radius: 2px;
    padding-bottom: 5px;
    margin: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.post-result p, .post-result h4 {
  margin: 0px 8px;
}

#navbar {
  position: fixed;
  z-index: 102;
  top: 0;
  width: 100vw;
  height: 5rem;
  background: var(--water);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
}

#navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* or 'center' depending on layout */
  position: relative;
  width: 100vw;
  margin: auto;
  height: 5rem; /* match navbar height */
}

#navbar-content img {
  width: 5rem;
  height: 5rem;
  position: relative;
  top: 0;
  left: 0;
}
#navbar-content h2 {
  font-size: 2.5rem;
  text-align: center;
  line-height: 5rem;
  margin: 0;

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#menu-cont-fixed {
    position: fixed;
    top: 5rem;
    height: auto;
    z-index: 1000;
    width: 100vw;
    display: none;
}
#menu-container {
    font-family: 'headers';
    position: relative;
    width:800px;
    margin: auto;
    color: white;
    background-color: var(--water);
    padding-bottom: 8px;
}
#menu-container a, #menu-container a:visited {
    color: white;
    text-decoration: black;
    font-weight: 570;
    font-size: 2rem;
    padding: 15px 15px;
    opacity: 0.8;
    transition: 0.3s;
    display: inline-block;
    width: 100%;
    text-align: center;
}

#menu-container a:hover {
    opacity: 1;
}
#nav-icon2 {
}
#nav-icon1, #nav-icon2, #nav-icon3, #nav-icon4 {
  width: 4rem;
  height: 3rem;
  position: absolute;
  top: 1.1rem;
  right: 1rem;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}
#nav-icon2 span {
  display: block;
  position: absolute;
  height: 9px;
  width: 50%;
  background: var(--light);
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon2 span:nth-child(even) {
  left: 50%;
  border-radius: 0 9px 9px 0;
}

#nav-icon2 span:nth-child(odd) {
  left:0px;
  border-radius: 9px 0 0 9px;
}

#nav-icon2 span:nth-child(1), #nav-icon2 span:nth-child(2) {
  top: 0px;
}

#nav-icon2 span:nth-child(3), #nav-icon2 span:nth-child(4) {
  top: 18px;
}

#nav-icon2 span:nth-child(5), #nav-icon2 span:nth-child(6) {
  top: 36px;
}

#nav-icon2.open span:nth-child(1),#nav-icon2.open span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon2.open span:nth-child(2),#nav-icon2.open span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon2.open span:nth-child(1) {
  left: 5px;
  top: 7px;
}

#nav-icon2.open span:nth-child(2) {
  left: calc(50% - 5px);
  top: 7px;
}

#nav-icon2.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#nav-icon2.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#nav-icon2.open span:nth-child(5) {
  left: 5px;
  top: 29px;
}

#nav-icon2.open span:nth-child(6) {
  left: calc(50% - 5px);
  top: 29px;
}

.content-section{
  position: relative;
  width: 800px;
  margin: auto;
  scroll-margin-top: 5rem; /* or your actual navbar height */
}

.result-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em 0; /* optional: adds vertical spacing */
}

#weekmarkt img {
 width:100%;
}

#dekerk h4, #bazaar-header {
  background-color: var(--water);
  color: var(--light);
  padding: 8px;
  font-family: 'headers';
}

@media only screen and (min-width: 800px) {
	#navbar-content {
		width: 800px;
        margin: auto;
	}
}
@media only screen and (max-width: 800px) {
  #menu-container {
    width: 100vw;
  }
  .content-section {
    width: 100vw;
  }
}
