@font-face {
    font-family: 'Rubik';
    src: url('./Rubik-variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
    
html
    {
    font-family: 'Rubik', sans-serif;
    background-color: black; }
body {
    margin: 0;
    color: white;  }
    
body {
    margin: 0;
    height: 100vw;  }

.upperhalf,
.bottomhalf {
    height: calc(8vh + 40vw); }
.upperhalf2,
.bottomhalf2 {
    height: calc(8vh + 23vw); }
.footer {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.5rem;
    margin-top: -0.5rem;    }
.footeritem {
    width: clamp(450px, 70vw, 550px);
    margin: auto;   }
main {
    z-index: 0.5;    }
a {
    color: orange;  }
a:visited {
    text-decoration-style: dotted;}
p {
    text-align: justify;   }
h2 {
    text-transform: uppercase;
    text-align: center; }
h4 {
    margin: 0;
    color: orange;
    font-family: 'Rubik-bold';
    letter-spacing: 0.10rem;
    text-align: right;  }
b {
    color: orange; }

button {
    display: flex;
    vertical-align: center;
    padding: 3px 3px 1px 1px;
}
BUTTON SPAN {
    line-height: 14px;
    font-size: clamp(0.5rem, 1vw, 1rem);
    display: inline-block;
    vertical-align: center;
    text-align: center;    }
nav {
    background-color: black;
    font-weight: bold; }
nav a {
    color: white;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 0px 0px 5px black; }
nav a:visited {
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 0px 0px 5px black; }
.navbar {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    box-shadow: 0 0px 80px rgba(0, 0, 0, 0.5);
 }
 .hovertje:hover {
    transform: scale(1.05);
  }

.navbar ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: clamp(1px, 2vw, 20px);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin: 0;
    margin-right: 8px;
    margin-left: 8px;
    padding: 0;
    justify-content: center; }
    /* Break the navbar when the available width becomes small */
@media (max-width: 900px) {
    .navbar ul {
        max-width: 600px;
        margin: 0 auto;
    }
}
.nav-left,
.nav-right {
    flex: 1;
    display: flex;
    margin: 1rem;
    align-items: center; }
.nav-left {
    justify-content: flex-start; }
.nav-right {
    justify-content: flex-end; }
/*          HERO-IMAGE                   */
/*                                       */
.hero-image {
    width: 100%;
    height: clamp(100px, 38vw, 800px); /* controls how far it extends down */
    object-fit: cover;
    z-index: -10;
    border-radius: 0 0 500px 500px / 0 80px 80px;
    -webkit-mask-image: linear-gradient(
        to bottom,
        black 20%,
        transparent 100%);
    mask-image: linear-gradient(
        to bottom,
        black 10%,
        transparent 100%);  }
#hero-image2 {
    height: clamp(100px, 25vw, 800px);
}

.hero {
    position: relative; }
.hero-image {
    width: 100%;
    display: block; }
.fade-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: black;
    opacity: 0;
    pointer-events: none;   }
.flag {
    height: 1rem;
    width: auto;
    vertical-align: middle;
    position: relative;
    top: -1px;
    }
.maxnaam {
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 3rem);
    position: relative;
    text-align: center;
    margin-top: clamp(-150px, -15vw, -40px);
    text-shadow: 0 0 10px rgba(0,0,0, 0.5);
    margin-bottom: clamp(2px, 1vw, 10px);    }
@media (max-width: 650px) {
    .maxnaam {
        font-size: 2rem;
    }
}
#medianaam{
    margin-top: clamp(-150px, -15vw, -40px);    }
#contactnaam{
    margin-top: 2rem;
}
/*                 FLEXBOX               */
/*                                       */
.container{
    display: flex;
    flex-direction: column;
    align-items: center;   
    z-index: 1001;
 }
.item{
    width: clamp(0px, 70vw, 550px);   }
.agendaitem {
    width: clamp(0px, 70vw, 700px);   }

.projectcontainer {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.project h3 {
    font-family: 'Rubik-bold';
    font-size: 1rem;
    padding: 1rem 0 0 0;
    margin: 0;  }
.contactitem{
    display: flex;
    
    flex-direction: column;
    align-items: center; }
.contactitem hr {
    width: clamp(0px, 90vw, 600px);
}
.project {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    padding: clamp(0px, 5vw, 1rem);
    border: 2px solid rgba(255, 255, 255, 0.34);
    width: clamp(0px, 90vw, 650px);   }
/* Stack vertically when the viewport gets narrow */
@media (max-width: 500px) {
    .project {
      flex-direction: column;
    }
  }

.project + .project {
  border-top: none;
}
.project img {
    height: clamp(10px, 15vw, 150px);
    aspect-ratio: 1 / 1;   /* forces square */
    object-fit: cover;     /* prevents distortion */
    padding: 0; }
.project p {
    text-align: center; 
    margin: 0;
    padding: 0;
    font-size: clamp(0.7rem, 2vw, 0.9rem);   }
#musiccontainer {
    margin: 0 auto; }
.projectlink {
    color: white;
    text-decoration: 0; }
/*          FOTO's                       */
/*                                       */
.inline-img img {
    height: clamp(10px, 40vw, 235px);
    margin-left: 20px;
    float: right;   }
#indent {
    text-indent: 50px;  }
/*               TABLES                  */
/*                                       */
table {
    width: auto;
    border-collapse: collapse;
    margin-bottom: 15px;
    margin: 0 auto;    }
th {
    background-color: rgba(255, 255, 255, 0.14);
    color: white;
    text-align: left;
    padding: 1rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.14);    }
td {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: white;   }

p {
    margin: 10px 0; }
.highlight {
    font-weight: bold;  }
.highlight2 {
    font-family: 'Rubik-italic';
    text-align: center;
    font-size: 0.75rem;  }
.highlight3 {
    font-family: 'Rubik';
    text-align: center;
    color: white;   }
.highlight3 b {
        color: orange;  }
.highlight4 {
    font-family: 'Rubik-bold';
    font-weight: regular;
    text-transform: uppercase;
    font-size: 0.8rem;
    text-align: center;
    color: white;   }
#tabletje h3{
    text-align: center;
    color: orange;
    font-family: 'Rubik-bold';  }

    .medianav {
        font-family: 'Rubik';
        width: auto;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        border-radius: clamp(10px, 3.5vw, 25px);
        padding: auto;
        margin-bottom: 3vw;
    }
    .medianav-links {
        display: flex;
        gap: clamp(1px, 1vw, 30px);
        list-style: none;
        padding: clamp(6px, 1vw, 100px);
        margin-top: 15px;
        margin-left: 8px;
        margin-bottom: 15px;
        margin-right: 8px;
    }
    .mediavideoitem {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
        
        
    .medianav-links li a {
        text-decoration: none;
        color: white;
        transition: 0.3s ease;
      text-decoration: none;
      color: white;
      padding-top: clamp(1px, 1vw, 10px);
      padding-left: clamp(1px, 1.2vw, 16px);
      padding-bottom: clamp(1px, 1vw, 10px);
      padding-right: clamp(1px, 1.2vw, 16px);
      transition: 0.3s ease;
      font-size: clamp(0.5rem, 2.5vw, 1.2rem);
      margin-top: 0px;
      margin-left: 0px;
      margin-bottom: 0px;
      margin-right: 0px;
      border-radius: clamp(4px, 1vw, 25px);
      
    }
        
    
    /* Inactive links only */
    .medianav-links .media-inactive a:hover {
        color: orange;
    }
    
    /* Active page */
    .medianav-links .media-active a {
        background: orange;
        color: white;
    }   
        .medianav-links .media-inactive a:active {
        background: orange;
          backdrop-filter: blur(0px);
        }

.mediavideoitem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery {
    width: clamp(260px, 80%, 1100px);
    display: grid;
    z-index: 50;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-rows: 220px;
    gap: 10px;
  }

  .gallery-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.5s ease;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .gallery-item:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  }
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .lightbox.active {
    display: flex;
  }

  .lightbox img {
    max-width: 90%;
    max-height: 90%;
  }

  .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
    user-select: none;
  }

  /* Different tile sizes */
  .wide {
    grid-column: span 2;
  }

  .tall {
    grid-row: span 2;
  }

  .big {
    grid-column: span 2;
    grid-row: span 2;
  }

  /* Mobile fix */
  @media (max-width: 600px) {
    .wide,
    .big {
      grid-column: span 1;
    }

    .tall,
    .big {
      grid-row: span 1;
    }
  }






.homepagebutton {
      width: 2rem;  }
.homepagebutton:hover {
    transform: scale(1.10); }



.video-container {
    width: 560px;
    height: 315px;
}

.dots {
    display: flex;
    gap: 18px;
    margin-top: 20px;
}

.dots   {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background-color: #999;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dots-active {
    background-color: #ff0000;
}

.divlink {
    color: white;
    text-decoration: none;
}
.divlink p {
    color: white;
    text-decoration: none;
}
.divlink h3 {
    text-decoration: none;
}
.videoPopup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
  }
  
  .videoPopup > div {
    overflow: visible;
    position: relative;
    display: inline-block;
    background: black;
    
  }
  
  .videoPopup video {
      width: clamp(0px, calc(30vw + 30vh + 5rem), 70vw);
      max-height: 95vh;
      height: auto;
  }
  
  .videoPopup button {
    position: absolute;
    top: 3px;
    margin: 0px;
    padding: 0px;
    z-index: 1000;
    right: 10px;
    background: none;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.37); 
    color: white;
    border: none;
    font-size: clamp(3px, 2rem, 20px);
    cursor: pointer;
    transition-duration: 0.5s;
  }
.videoPopup button:hover {
    transform: scale(1.5);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}

/* REVIEWS POPUP */
.reviewsPopup {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
}


.reviewsBox {
    position: relative;

    width: 90vw;
    max-width: 700px;
    max-height: 85vh;

    padding: 30px;
    padding-top: 20px;
    box-sizing: border-box;

    background: black;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;

    overflow: hidden;
}

.reviewsContent {
    max-height: calc(85vh - 80px);
    overflow-y: auto;

    padding-right: 15px;

    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviewsContent::-webkit-scrollbar {
    display: none;
}

.reviewsHeader {
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    margin-bottom: 15px;
}

.reviewsHeader h2 {
    margin: 0;
}

.reviewsClose {
    position: absolute;
    right: 0;

    background: none;
    border: none;

    color: white;
    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}

.review {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.review:last-child {
    border-bottom: none;
}

.review h3 {
    margin: 0 0 5px;
    color: white;
}

.review h4 {
    margin: 0 0 10px;
    color: orange;
    text-align: left;
}

.review p {
    margin: 10px 0;
}

.stars {
    color: orange;
    margin-bottom: 10px;
}

.videotitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-decoration: none;
    align-items: center;
}

#page-fade {
    position: fixed;
    inset: 0;
    background: black;
    z-index: 99999;
    pointer-events: none;
    animation: fadeFromBlack 0.8s ease-out forwards;
}

@keyframes fadeFromBlack {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}