@font-face {
    font-family: "PFC-Lingen";
    src: url("../assets/LingenPFCV24-RegularTestV24VF.ttf");
}


:root{
    --text-color:#ffffff;
    --background-color: #000000;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-weight: 100;
}

html {
    background: none;
    transition: background-color 1s ease-in-out;
}


body{
    color:var(--text-color);
    font-family: "PFC-Lingen";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height:1.6;
    overflow-x:hidden;
    background: none;
    transition: color 1s ease-in-out, background-color 1s ease-in-out;
}

p, h3 {
    font-size: 17px;
    letter-spacing: 0.06rem;
    font-variation-settings: "wght" 80, "CRST" 1, "VARY" 1;
}

a {
    color: var(--text-color);
    padding-bottom: 2px;
    border-bottom: 3px dotted var(--text-color);
    text-decoration: none;
    transition: all 1s ease-in-out;
}

.small a {
    border-bottom: 2px dotted var(--text-color);
}

em {
    font-style: normal;
    padding-bottom: 2px;
    border-bottom: 3px dotted var(--text-color);
    transition: border-color 1s ease-in-out;
}

.team {
    padding: 1.5rem 0 0 0;
    border-top: 3px dotted;
    border-color: var(--text-color);
    transition: border-color 1s ease-in-out;
}

p.small {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.08rem;
    font-variation-settings: "wght" 90, "CRST" 1, "VARY" 1;
}

.news {
    max-width: 780px;
}

.news p.small {
    margin-bottom: 0.75rem;
}

.team p{
    margin-top: 2rem;
}

/* Two background layers */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;

    background-color: var(--background-color);
    background-image:url("../assets/Post-flood-community_summer.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
    transition: background-color 1s ease, opacity 1s ease-in-out;
}

#bg1 {
    opacity: 1;
}

#bg2 {
    opacity: 0;
}


/* Main layout */
.wrapper{
    margin:auto;
    z-index: 1;
}

.hero{
    min-height: 100vh;
    min-height: 100svh;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    padding:0.5rem;
}

.hero-left{
    width:50%;
    padding: 1rem 1.5rem 1rem 1rem;
}

.hero-right{
    position: sticky;
    top: 1.5rem;
    height: calc(100vh - 3rem);
    width:50%;
    align-self: flex-start;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    border-left: 3px dotted;
    border-right: 3px dotted;
    border-color: var(--text-color);
    padding: 0 1.5rem 1rem;
    transition: border-color 1s ease-in-out;
    margin-right: 1rem;
}

.social {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: -1.25rem;
    border-top: 3px dotted;
    border-color: var(--text-color);
    transition: border-color 1s ease-in-out;
}

.social.mobile {
    display: none;
    border-top: none;
    border-bottom: 2px dotted;
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
}

@keyframes pfc-animation {
  0% {
    font-variation-settings: "wght" 55, "CRST" 1, "VARY" 100;
  }
  50% {
    font-variation-settings: "wght" 100, "CRST" 100, "VARY" 80;
  }
  100% {
    font-variation-settings: "wght" 1, "CRST" 100, "VARY" 1;
    letter-spacing: 0.01rem;
  }
}

.hero h1, .hero h2{
    font-size:2rem;
    line-height:1.15;
    letter-spacing:.01em;
    
    transition: font-variation-settings 0.3s ease;
    animation-name: pfc-animation;
    animation-duration: 2.5s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

#headline h2 {
    padding-bottom: 1.5rem;
    max-width: 1150px;
}


#page-title {
    width: 45%;
    position: fixed;
    top: 1.5rem;
}


.content{
    margin:0 auto;
    padding: 50vh 0 0;
}

.content p{
    margin-bottom:2rem;
     max-width: 800px;
}

.color-block {
    width: 100%;
    height: 100%;
    background-color: var(--text-color);
    background-blend-mode: multiply;
    background-size: 100% 100%;
}

.image-block {
    width:100%;
    padding-bottom: 35%;
    margin:3rem 0;
    border-radius: 8px;
    transition: background-color 1s ease-in-out;
}

#first-image {
    background-image: url("../assets/Post-flood-community_weather.jpg");
    background-repeat: no-repeat;
    background-color: var(--text-color);
    background-blend-mode: multiply;
    background-size: 100% 100%;
}

#second-image {
    background-image: url("../assets/Post-flood-community_land.jpg");
    background-repeat: no-repeat;
    background-color: var(--text-color);
    background-blend-mode: multiply;
    background-size: 100% 100%;
}

.image-block img{
    width:100%;
    display:block;
}

.closing{
    margin: 3rem 0 3rem;
}

.footer{
    display:flex;
    flex-wrap: wrap;
    gap:0.25rem;
}

.logo {
    height: 3rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: var(--text-color);
    background-blend-mode: multiply;
    border-radius: 5px;
    width: 200px;
    transition: all 1s ease-in-out;

}

.logo img {
    height: 100%;
}

#logo-neb {     background-image: url("../assets/Logos/NEB-logo.jpg"); width: 140px;}
#logo-d4a {     background-image: url("../assets/Logos/DANUBE4all.jpg"); width: 110px;}
#logo-new-eu {  background-image: url("../assets/Logos/comm-+-NEW-EU-+-fundedHD.jpg"); width: 260px;}
#logo-cinl {    background-image: url("../assets/Logos/creative-industries-nl.jpg"); width: 160px;}
#logo-pa {      background-image: url("../assets/Logos/pulsaqua.jpg"); width: 140px;}



 #mobile-img {
        display: none;
    }




/* Responsive */
@media (max-width:768px){

    body {
        line-height: 1.5;
        background: var(--background-color);
    }

    html {
        background: var(--background-color);
        transition: background-color 1s ease-in-out;
    }

    #mobile-img {
        position: relative;
        display: block;
        aspect-ratio: 1/1;
        overflow: hidden;
        border-bottom: 2px dotted;
        border-color: var(--text-color);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
        transition: opacity 1s ease-in-out, border 1s ease-in-out;
    }

    .social.mobile {
        display: block;
    }

    .mobile-layer {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        margin-bottom: 1.5rem;
        border-radius: 6px;
        transition: opacity 1s ease-in-out;
    }

    #mobile1 {
        opacity: 1;
    }

    #mobile2 {
        opacity: 0;
    }

    .bg-layer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100dvh;

        background-image: none !important;
        
        z-index: -2;
        transition: opacity 1s ease-in-out;
    }

    .hero{
        flex-direction:column;
        gap:2rem;
        padding:0rem;
    }

    #page-title {
        padding-top: 1.5rem;
        position: unset;
        width: 100%;
    }

    .hero-left {
        width:100%;
        padding: 0 1.5rem 1.5rem;
    }

    .hero-right {
        display: none;
    }

    .hero h1, .hero h2{
        font-size: 2.75rem;
    }

    .content {
        padding: 10rem 0 0;
    }

    .content p {
        margin-bottom: 1.5rem;
    }

    p, h3 {
        font-size: 15px;
    }

    p.small {
        font-size: 12px;
        line-height: 18px;
        letter-spacing: 0.06rem;
    }

    .team p {
        margin-top: 1.5rem;
    }

    .image-block {
        margin: 1.5rem 0;
    }

    .social {
        border-top: 2px dotted;
    }

    .team {
        border-top: 2px dotted;
    }

    a, em {
        border-bottom: 2px dotted var(--text-color);
        padding-bottom: 0px;

    }
}



@media (min-width: 1000px){

    .hero{
        gap:0rem;
        padding: 1rem;
    }
    
    #page-title {
        top: 2rem;
    }

    .hero h1, .hero h2 {
    font-size: 2.25rem;
    }

    .hero-left {
        padding: 0 2rem 1rem 1rem;
    }
    .hero-right {
        padding: 0.5rem 2rem 1rem;
    }
}



@media (min-width: 1200px){
    .hero h1, .hero h2 {
    font-size: 3rem;
    }

    .hero-left {
        padding: 1rem 3rem 1rem 2rem;
    }

    .hero-right {
        padding: 1rem 3rem 1rem;
        margin-right: 0.5rem;
    }

    #page-title {
        top: 2.5rem;
    }

    .closing {
        margin: 3rem 0 7rem;
    }

}

@media (min-width: 1400px){
    .hero h1, .hero h2 {
    font-size: 3.5rem;
    }
    .hero-left {
        padding: 1rem 3rem 1rem 2rem;
    }

    .hero-right {
        padding: 1rem 3rem 1rem;
    }
}

@media (min-width: 1600px){
    .hero h1, .hero h2 {
    font-size: 4rem;
    }
}


@media (min-width: 1800px){
    
    .hero-left {
        width: 33.333%;
    }
    .hero-right{
        width: 66.666%;
    }
    #page-title {
        width: 28%;
    }
    .hero h1, .hero h2 {
    font-size: 4.5rem;
    }
}