/* ===== Font: Rijksoverheid Sans ===== */
@font-face {
  font-family: "RO Sans";
  src: url("../fonts/ROsanswebtextregular.woff") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "RO Sans";
  src: url("../fonts/ROsanswebtextbold.woff") format("opentype");
  font-weight: 700;
  font-style: bold;
}

@font-face {
  font-family: "RO Sans";
  src: url("../fonts/ROsanswebtextitalic.woff") format("opentype");
  font-weight: 400;
  font-style: italic;
}

/* ===== Basis ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "RO Sans", sans-serif;
  color: #164374;
  background-color: #fff;
  line-height: 1.6;
}

.container {
  max-width: 456px;
  margin: 0 auto;
  /*padding: 24px;*/
}

/* ===== Logo ===== */
.logo {
  display: flex;
  justify-content: center;
  /*margin-top: 12px;*/
}

.logo img {
  max-width: 260px;
  height: auto;
}

.quote {
    margin-top: 3em;
    color: #cb015e;
    font-style: italic;
    font-size: 0.9em;
}

/* ===== Spacing ===== */
.space {
  height: 2em;
}

/* ===== Tekst secties ===== */
.text-left p, .text-left table {
  text-align: left;
  margin-bottom: 1em;
  margin-left: 2em;
  margin-right: 2em;
}

.text-left td {
  padding: 0px;
}

.text-justify {
  text-align: justify;
  margin-left: 0.2em;
  margin-right: 0.2em;
}

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


/* ===== Profiel + handtekening ===== */
.profile {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  margin-left: 2em;
}

.profile img.photo {
  width: 99px;
  height: 99px;
  border-radius: 50%;
  border: none;
  object-fit: cover;
}

.btn {
  width: 14px;
  height: 14px;
  border: none;
  margin-left: 7px;
}

.allisone {
	color: #777;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	.text-left p, .text-left table {
  		margin-left: 0.24em;
  		margin-right:0.24em;
	}


  .profile {
    /*flex-direction: column;*/
    /*align-items: flex-start;*/
    margin-left: 1em;    
  }

  .space {
    height: 1em;
  }
}

/* container just below header */
.overlay-button-container {
    display: flex;
    justify-content: right; /* center horizontally */
    margin-top: 12px; /* spacing under header */
    margin-bottom: 0px;
    /*margin-left: 100px;*/
    margin-right: 10px;
    color: white;
}

/* animation */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* the red button */
.overlay-red-button {
    background-color: #ca005d; /* red */
    color: #ffffff;
    padding: 2px 8px;
    font-size: 1.0em;
    font-weight: bold;
    text-decoration: none;
    text-align: right;
    /*border-radius: 6px;*/
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s, background-color 0.2s;
    /*transform: rotate(10deg);*/
    
    /*animation: slideInFromRight 0.6s ease-out;*/
    /*opacity: 0;*/ /* important: start hidden */
    /*animation: slideInFromRight 0.7s ease-out forwards;*/
}

.overlay-red-button:hover {
    background-color: #a90061; /* violet */
    /*transform: translateY(-2px);*/
    transform: rotate(10deg);
}

/* the green button */
.overlay-green-button {
    background-color: #777b00; /* green */
    color: #ffffff;
    padding: 2px 8px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s, background-color 0.2s;
}

.overlay-green-button:hover {
    background-color: #555b00; /* green */
    transform: translateY(-2px);
}

/* the blue button */
.overlay-blue-button {
    background-color: #8fcae7; /* lightblue coming soon */
    color: #ffffff;
    padding: 2px 4px;
    font-size: .6em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s, background-color 0.2s;
    transform: rotate(10deg);
}

.overlay-blue-button:hover {
    background-color: #007bc7; /* blue coming soon */
    transform: translateY(-2px);
}

.text-left ul {
  margin-left: 1em;
  color: #cb015e;
}

.slideshow {
  width: 100%;
  max-width: calc(100% - 32px);
  margin: 16px; /*60px auto;*/
  position: relative;
  height: 640px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;

  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);

  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.impression {
    width: 100%;
    height: 424px; /*369px;*/
    max-width: calc(100% - 32px);
    margin: 16px; /*60px auto;*/
    position: relative;
}

#schedule {
    margin-left: 32px; /* 32-4*/
    border: none;
    font-size: 0.8em;
}

#schedule td {
    /*margin: 5px 5px 0px 0px;*/
    padding: 4px;
    /*font-size: 1.0em;*/
}

#schedule .available {
  padding: 4px;
  border-radius: 4px;
  color: #777b00;
  font-weight: bold;
  text-align: right;
}

#schedule .available a {
  color: #777b00;
}

#schedule .booked {
  padding: 4px;
  border-radius: 4px;
  color: #e17000;
  font-weight: bold;
  text-align: right;  
}

#schedule .booked a {
  color: #e17000;
}

#schedule .executed {
  padding: 4px;
  border-radius: 4px;
  color: #007bc7;
  font-weight: bold;
  text-align: right;  
}

#schedule .executed a {
  color: #007bc7;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.fade {
  animation: fadeInOut 2s ease-in-out infinite;
}

.text-rotator {
  position: relative;
  display: inline-block;
}

.text {
  position: relative;
  left: 0;
  top: 0;
  opacity: 0;
  animation: swap 4s infinite;
}

/* First text */
.t1 {
  animation-delay: 0s;
}

/* Second text */
.t2 {
  animation-delay: 2s;
}

@keyframes swap {
  0%, 45% {
    /*max-width: 300px;*/
    display: inline-block;  
    opacity: 1;
  }
  50%, 100% {
    /*max-width: 0;*/
    display: none;
    opacity: 0;
  }
}

.quote-card {
    margin-top: 36px;
    background: #fffdf7;
    padding: 5px 10px;
    max-width: 300px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transform: rotate(-2deg);
    border-left: 4px solid #c9b37e;
}

.quote-text {
    font-family: 'Shadows Into Light', cursive;
    font-size: 1.0em; /*26px;*/
    line-height: 1.4;
    color: #333;
}

.quote-meta {
    margin-top: 12px;
    font-size: 0.8em; /*14px;*/
    color: #666;
    font-style: italic;
}

.pointer-card {
    margin-top: 36px;
    background: #fcfcff;
    padding: 5px 10px;
    max-width: 360px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transform: rotate(-2deg);
    border-left: 4px solid #284B95;
}

.pointer-text {
    font-family: 'Shadows Into Light', cursive;
    font-size: 1.1em;
    line-height: 1.8;   
    color: #333;
}


a,
a:visited,
a:hover,
a:active {
color: inherit;
}