@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Text:ital@0;1&display=swap');

* {
    margin: 0;
    list-style: none;
    text-decoration: none;
}

body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 90vw;
    padding-left: 5vw;
    padding-top: 3vw;
}

html {
    scroll-behavior: smooth;
}

p {
    font-family: "DM Sans", serif;
    font-size: 1.2vw;
}

h1 {
    font-family: "DM Serif Text", serif;
    font-weight: normal;
    font-size: 5vw;
    font-style: italic;
    margin-bottom: 2vw;
}

h2 {
    font-family: "DM Serif Text", serif;
    font-weight: normal;
    font-size: 2.5vw;
    word-spacing: 2vw;
    padding-right: 8vw;
}

h3 {
    font-family: "DM Serif Text", serif;
    font-weight: normal;
    font-size: 1.8vw;
    padding-bottom: 1vw;
    padding-top: 2.5vw;
}

h4 {
    margin-top: 3vw;
    font-size: 1.5vw;
    font-family: "DM Sans", serif;
}

.box {
    display: flex;
    position: relative;
    flex-direction: column;
    border: 0.1vw solid #1C46FF;
    border-radius: 0.5vw;
    padding: 1vw 3vw;
    margin-top: 1vw;
    margin-right: 5vw;
    width: 83vw;
}

#navBar .content a[href="#stage"] h2 {
    padding-right: 8vw;
}

#navBar .content a[href="#fotografie"] h2 {
    padding-right: 0vw;
}


#een {
    display: flex;
    flex-direction: row;
    width: 80vw;
    padding-top: 2vw;
}

.title {
    padding-top: 2vw;
}

.paginaNummer {
    font-size: 1.7vw;
    padding: 0.3vw 2vw;
    border-radius: 10vw;
    background-color: #D9D9D9;
    height: fit-content;
    margin-left: 3vw;
    margin-top: 1.5vw;
}

.content {
    display: flex;
    position: flex;
    flex-direction: row;
    flex-wrap: wrap;
    top: 10vw;
    row-gap: 2vw;
    padding-top: 2vw;
}

.content img {
    width: 40vw;
    margin-top: 2.5vw;
    padding-right: 1.3vw;
}

.content a {
    text-decoration: none;
    color: inherit; 
}

.content h2 {
    cursor: pointer;
    transition: color 0.3s ease;
}

.content h2:hover {
    color: #1C46FF;
}

video {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin-top: 2vw;
}

img {
    margin-top: 2vw;
    overflow: hidden;    
}

.dropShadow {
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
}

.project-box {
    display: flex;
    flex-wrap: wrap;
    border-radius: 0.5vw;
    margin-bottom: 2vw;
}

.project-logo {
    padding: 2vw;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: 15%;
    min-width: 120px;
}

.project-logo img {
    max-width: 100%;
    height: auto;
}

.project-info {
    padding: 2vw;
    flex-grow: 1;
    flex-basis: 70%;  
}

.project-content {
    width: 100%;
    padding: 0 2vw 2vw 2vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.project-content > div {
    flex-basis: 48%;
}

.project-content img {
    max-width: 100%;
    height: auto;
}

iframe {
    margin-top: 2vw;
}

.communicatiekaart {
    margin-right: 4vw;
}

#navBar {
    margin-top: 5vw;
}

#posterBox .content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  
    gap: 10px;  
    margin-bottom: 2vw;
}

#posterBox .content img {
    width: 100%;  
}

#fotoBox .content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  
    gap: 10px;  
    margin-bottom: 2vw;
}

#fotoBox .content img {
    width: 100%;  
    width: 15vw;
    height: 15vw;
    object-fit: cover;
}

.cta {
    position: absolute;
    top: 20px;           
    right: 20px;
    margin: auto;
    padding: 12px 18px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
  }
  
  .cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 50px;
    background: #D9D9D9;
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
  }
  
  .cta span {
    position: relative;
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #234567;
  }
  
  .cta svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #1C46FF;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
  }
  
  .cta:hover:before {
    width: 100%;
    background: #D9D9D9;
  }
  
  .cta:hover svg {
    transform: translateX(0);
  }
  
  .cta:active {
    transform: scale(0.95);
  }
  
 
.button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #234567;
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 4px #D9D9D9;
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: fixed;
    bottom: 20px; 
    right: 20px;
  }
  
  .svgIcon {
    width: 12px;
    transition-duration: 0.3s;
  }
  
  .svgIcon path {
    fill: white;
  }
  
  .button:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: #234567;
    align-items: center;
  }
  
  .button:hover .svgIcon {
    /* width: 20px; */
    transition-duration: 0.3s;
    transform: translateY(-200%);
  }
  
  .button::before {
    position: absolute;
    bottom: -20px;
    content: "Back to Top";
    color: white;
    /* transition-duration: .3s; */
    font-size: 0px;
  }
  
  .button:hover::before {
    font-size: 13px;
    opacity: 1;
    bottom: unset;
    /* transform: translateY(-30px); */
    transition-duration: 0.3s;
  }
  
