@import url('https://fonts.googleapis.com/css?family=Open+Sans:400|Open+Sans:300|Open+Sans+Condensed:300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shalimar&display=swap');

/* General styles */

:root {
  --red: #DA1421;
  --red-dark: #A5121C;
  --red-darker: #2F080B;
  --yellow: #D2F0AD;
  --green: #72AA2D;
  --green-dark: #427140;
  --blue: #006376;

  --text-color: #404743;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  min-width: 360px;

  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: var(--text-color);
  font-size: 13pt;
  line-height: 1.9em;
  /* line-height: 1.5em; */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Papyrus', 'Shalimar', cursive;
  color: var(--red);
  /* letter-spacing: 0.05em; */
}

h1 { font-size: 36px; }
h2 { font-size: 32px; }
h3 { font-size: 28px; }

nav {
  width: 100%;
  background-color: var(--green-dark);
  font-family: 'Open Sans Condensed', sans-serif;
  margin: auto;
  /* border-bottom: 1px solid var(--red-darker); */
}

nav ul {
  list-style-type: none;
  margin: auto;
  /* padding: 8px; */
  padding: 0px;
  max-width: 800px;
  /* text-transform: uppercase; */
}

nav ul li {
  width: 15%;
  display: inline-block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

nav a {
  width: 100%;
  display: block;

  color: white;
  
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

a:hover {
  color: var(--green);
  text-decoration: none;
}

section, .section-content {
  max-width: 800px;
  margin: auto;
  padding: 4px;
}

section.wide {
  max-width: 100%;
  padding: 0;
}

section.alt {
  background-color: var(--yellow);
  color: white;
}

section.alt h1 {
  color: white;
}

footer {
  background-color: var(--yellow);
  /* color: white; */
  /* padding: 24px; */
  /* text-align: center; */
  /* max-width: 800px; */
}

.center {
  text-align: center;
}

.left {
  text-align: left;
  display: inline-block;
}

.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;

  align-items: center;
  justify-content: center;
  
  /* justify-content: space-between; */
}

.wide-container {
  max-width: 1200px;
  margin: auto;
  padding: 4px;
}

.half-width {
  width: 50%;
  min-width: 360px;
  max-width: calc(min(600px, 100%));
  flex: 1;
  /* margin: 8px; */
}

main figure, main picture {
  margin: auto;
  padding: 16px;
  display: inline-block;
}

img {
  max-width: calc(min(600px, 100%));
  max-height: 600px;
  object-fit: contain;
  margin: auto;
}

/* Content-specific styles */
header {
  text-align: center;
  
  border-bottom: 1px solid var(--red-darker);
}

h1.title {
  font-size: 64px;
  margin: 30px;

  /* TESTING */
  /* margin-top: -360px;
  margin-bottom: 360px;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: white; */
}

.bg-flower {
  background-image: url('res/moroccan-flower.png');
}
.bg-flower-dark {
  background-image: url('res/moroccan-flower-dark.webp');
}

#bg-presentatie {
  background-image: url('res/image012.webp');
  /* background-image: url('res/image012.jpg'); */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  background-position-x: 80%;
  background-size: auto 100%;
}

#bg-optreden {
  background-image: url('res/image006.webp');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  background-position-x: 24%;
  background-size: 40% auto;
}

@media only screen and (max-width: 900px) {
  #bg-optreden {
    background-size: 100% auto;
  }
}

.program-left .program-content {
  max-width: 600px;
  min-width: 400px;
  padding-right: 20px;
  padding-left: calc(50% - 600px);
  margin-right: auto;
}

.program-right .program-content {
  max-width: 400px;
  min-width: 400px;
  padding-left: 20px;
  padding-right: calc(50% - 440px);
  margin-left: auto;
}

.program-content {
  max-width: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.program-image {
  max-width: 100%;
  flex-shrink: 1;
}

.program-content p {
  color: white;
  padding: 8px;
}

.text-offset {
  width: 400px;
  flex-shrink: 1;
}
