* {
    margin: 0;
    padding: 0;
    margin: 0;
    padding: 0;
}
.main {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('achtergrond.jpg')
}

/* Header */

nav{
    background-color: #fff;
    display: flex;
    padding: 0% 2%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 130px;
}
.nav-links{
    flex: 1;
    text-align: center;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    margin: 8px 3%;
    position: relative;
}
.nav-links ul li a{
    text-decoration: none;
    font-size: clamp(18px, 2vw, 28px);
    color: #000000;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000000;
  transition: transform 0.25s ease-out;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Center */

.dirigent {
    width: 7vw;
    height: 7vw;
    object-fit: cover;
    cursor: pointer;
    bottom: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2%;
    border-radius: 50%;
}
.popup {
    display: none; 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
    color: white;
    z-index: 9999; 
}
.infoCont {
    width: 90%;
    height: 90%;
    margin: auto;
    display: flex;
    flex-direction: row;
    background-size: cover;
    background-color: rgb(0 0 0 / 50%);
    background-blend-mode: hard-light;
    border-radius: 10px;
}
.fade {
  animation-name: fade;
  animation-duration: .5s;
}
@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
.infoCont img {
    max-width: 50%;
    border-radius: 10px;
    margin: auto;
    display: block;
    width: 100%;
    height: 100%;
    object-fit:contain;
}
.infoCont button {
    position: absolute;
    right: 0;
    font-size: 24px;
    background-color: transparent;
    color: #ffff;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
    margin: 1%;
}
.infoCont button:hover {
    color: rgb(225,225,225,50%)
}
.description {
    background-color: white;
    color: black;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    overflow-y: auto; 
    max-height: 100%; 
}
.infoCont h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    width: 80%;
}
.infoCont p {
    font-size: 100%;
    margin: 1%;
}
.title-bar {
    position: relative;
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.title-bar h2 {
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    font-size: 120%;
}
.title-bar button {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 24px;
    background-color: transparent;
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}
.title-bar button:hover {
    color: rgb(0,0,0,50%)
}
.image-grid {
    margin: auto;
    width: 80%;
}
.image-grid img {
    width: 7vw;
    height: 7vw;
    object-fit: cover;
    cursor: pointer;
}
.origin {
    width: 82%;
    margin: 1% auto 2% auto;
    font-size: 130%;
    text-align: center;
    line-height: 1.3;
}
.special-wrapper {
    position: relative;
    width: 7vw;
    height: 7vw;
    display: inline-block;
}

.special-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.special-label {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #3dc0e5;
    color: #fff;
    text-align: center;
    padding: 0.3vw 0;
    font-size: 0.9vw;
    font-weight: bold;
    box-sizing: border-box;
    pointer-events: none; 
}
.color {background: rgb(248, 157, 19) !important}

@media screen and (max-width: 1440px) {
    nav {
        background-color: unset;
    }
    .main {
        background-size: cover;
    }
    .origin {
        font-size: 110%;
    }
}
@media screen and (max-width: 1024px) {
    .origin {
        font-size: 100%;
    }
    .dirigent, .image-grid img {
        width: 8vw;
        height: 8vw;
    }
    .special-wrapper {
        width: 8vw;
        height: 8vw;
    }

}
@media screen and (max-width: 768px) {
    .infoCont img {
        display: none;
    }
    .dirigent, .image-grid img {
        width: 9vw;
        height: 9vw;
    }
    .special-wrapper {
        width: 9vw;
        height: 9vw;
    }
}
@media screen and (max-width: 425px) { 
    .origin {
        font-size: 90%;
    }
    .infoCont p,.title-bar h2 {
        font-size: 90%;
    }
    .image-grid {
        display: flex;
        flex-direction: column;
    }
    .dirigent, .image-grid img {
        width: 50vw;
        height: 50vw;
        margin: auto;
        padding: 1% 0 1% 0;
        position: unset;
        transform: unset;
    }
    .main {
        background-size: unset;
    }
    .special-wrapper {
        width: 50vw;
        height: 50vw;
        margin: auto;
    }
    .special-label {
        font-size: 4vw;
        padding: 2% 0;
    }
}
