@import url(https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap);
.button:focus {
    outline: 0;
}

.button:hover {
    opacity: 0.8;
}

.button:active {
    opacity: 0.6;
}

.button {
    display: flex;
    position: relative;
    transition: 0.2s;
    transition-timing-function: cubic-bezier(.81, -0.43, .19, 1.42);
    cursor: pointer;
    background: transparent;
    padding: 0;
    border: 0;
}

.button-state-interactive, .button-state-interactiveOutlined, .button-state-disabled {
    padding: 1rem 2.5rem;
    border-radius: Var(--style-borderRadius);
}

.button-state-interactive {
    background: linear-gradient(90deg, var(--colour-secondary-accent) 0%, var(--colour-accent) 100%);
    color: white;
}

.button-state-interactiveOutlined {
    border: 2px solid white;
    color: white;
}

.button-state-disabled {
    background: Var(--colour-seconary);
    color: Var(--colour-midtone);
    pointer-events: none;
}

.text{
    font-weight: 400;
}

.card {
    padding: 2.5rem;
    border-radius: var(--style-borderRadius);
    background-color: var(--colour-secondary);
}

.card-clickable {
    cursor: pointer;
}

.image {
    display: flex;
    object-fit: cover;
}

.video {
    display: flex;
    object-fit: cover;
}

.scroll-container {
    display: flex;  
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.scroll-container-horizontal {
    display: flex;  
    overflow-y: hidden;
    overflow-x: auto;
}

.scroll-container-content {
    width: 100%;
    height: fit-content;
}

.scroll-container-content-horizontal {
    width: fit-content;
    height: 100%;
}

.scroll-container-noscrollbar::-webkit-scrollbar {
    display: none;
}

.svgicon {
    display: flex;
    fill: none;
}

.header-underline {
    width: 6rem;
    height: 0.5rem;
    border-radius: 0.25rem;
    margin-top: 0.8rem;
    background: linear-gradient(90deg, var(--colour-accent) 0%, var(--colour-secondary-accent) 100%);
}

.lightBox-container {
    position: sticky;
    inset: 0;
    z-index: 2;
}

.lightBox{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, 0.9);
    padding: 4rem 4rem 8rem;
}

.lightBox-close{
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    z-index: 2;
    background: white;
    border-radius: 50%;
    padding: 0.8rem;
}

.loader {
    display: inline-block;
    width: 84px;
    height: 84px;
    position: relative;
    overflow: hidden;
}

.loader::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: absolute;
    display: block;
    background: var(--colour-inverted-faded);
    top: 0;
    left: 0;
    transform: translate(35px, 0);
    animation: dotRect 3s cubic-bezier(0.6, 0.1, 0.15, 0.8) infinite;
}

.loader-svg{
    display: block;
    width: 84px;
    height: 84px;
    border-radius: 14px;
}

.loader-svg-rect{
    fill: none;
    stroke: var(--colour-accent);
    stroke-width: 7px;
    /* stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 220, 50;
    stroke-dashoffset: 213; */

    stroke-linecap: round;
    stroke-dashoffset: 30;
    stroke-dasharray: 160, 70;
    transform-origin: center;
    animation: pathRect 3s cubic-bezier(0.6, 0, 0.2, 1) infinite;
}


@keyframes pathRect {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dotRect {
    0% {
        transform: translate(35px, 0) scale(0.8);
    }
    25% {
        transform: translate(70px, 35px);
    }
    50% {
        transform: translate(35px, 70px) scale(0.8);
    }
    75% {
        transform: translate(0px, 35px);
    }
    100% {
        transform: translate(35px, 0) scale(0.8);
    }
}
:root {
    --colour-primary: #130a14;
    --colour-secondary: #241438;
    --colour-inverted: white;
    --colour-inverted-faded: #a0a0a0;
    --colour-inverted-light: #f0f0f0;

    --colour-accent: #8063fa;
    --colour-secondary-accent: #39b5f8;

    --style-borderRadius: 0.7rem;
    --style-pagePadding: 5rem;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    font-size: 18px;
    background: var(--colour-primary);
    perspective: 10px;
    perspective-origin: center;
}

a {
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 0.8rem;
    height: 1rem;
}

::-webkit-scrollbar-button {
    width: 0;
    height: 0;
    display: none;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 0 1rem var(--colour-inverted);
}

::-webkit-scrollbar-thumb {
    border-radius: 0.5rem;
    border: solid 0.2rem transparent;
    box-shadow: inset 0 0 0 1rem var(--colour-inverted-faded);
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: inset 0 0 0 3rem var(--colour-accent);
}

::-webkit-scrollbar-corner {
    width: 0;
    height: 0;
    display: none;
}
* {
    font-family: 'Rubik', sans-serif !important;
    margin: 0rem;
    box-sizing: border-box;
    /* user-select: none; */
}

.text, .text-bold, .text-p, .text-h1,.text-h2, .text-h3, .text-h4 {
    text-overflow: ellipsis;
    letter-spacing: 0.015em;
    color: Var(--colour-inverted);
    white-space: pre-wrap;
    border: 0;
    text-align: left;
}

.text-bold {
    font-weight: 700;
}

.text-nowrap {
    white-space: nowrap;
}


.text-p {
    font-size: 1rem;
    color: Var(--colour-inverted-faded);
    line-height: 1.7rem;
}

.text-h0 {
    font-size: 5rem;
    white-space: pre-line;
}

.text-h1 {
    font-size: 4rem;
    white-space: pre-line;
}

.text-h2 {
    font-size: 2.8rem;
}

.text-h3 {
    font-size: 1.8rem;
    line-height: 2.4rem;
}

.text-h4 {
    font-size: 1rem;
    line-height: 1.3rem;
}

.text-h5 {
    font-size: 0.8rem;
    line-height: 1rem;
}

.layout-flex, .layout-flex-Horizontal {
    display: flex;
    position: relative;
    width: fit-content;
    height: fit-content;
    flex-direction: column;
}

.layout-flex-Horizontal {
    flex-direction: row;
}

.layout-fill {
    width: 100%;
    height: 100%;
}

.layout-fill-width {
    width: 100%;
}

.layout-fill-height {
    height: 100%;
}

.layout-center {
    justify-content: center;
    align-items: center;
}

.text-center {
    text-align: center;
}

.clickable {
    cursor: pointer;
}

.light-shadow{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

@media (max-width: 1100px), (max-height: 600px) {
     :root {
        font-size: 12px;
    }
}

@media (max-width: 520px) {
   .text-h0 {
       font-size: 3rem;
   }
   .text-h1 {
       font-size: 2.5rem;
   }
   .text-h2 {
       font-size: 1.6rem;
   }
   :root {
    --style-pagePadding: 3rem;
}
}

@media (max-width: 380px) {
    :root {
       --style-pagePadding: 2rem;
   }
}
.navbarContainer {
    display: flex;
    width: 100%;
    height: 10rem;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 2rem;
    justify-content: center;
    z-index: 99;
}

.navbar-large {
    display: flex;
    width: 100%;
    max-width: 100rem;
    height: 100%;
    align-items: center;
}

.navbar-small {
    display: none;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    gap: 1rem;
}

.navbar-draw-catcher,
.navbar-draw {
    display: flex;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    right: 0;
}

.navbar-draw-catcher {
    z-index: 98;
    background: rgba(0, 0, 0, 0.6);
    align-items: flex-end;
    backdrop-filter: blur(5px);
}

.navbar-draw {
    z-index: 99;
    width: 100vw;
    height: fit-content;
    padding: 4rem 2rem;
    gap: 1rem;
    align-items: center;
    flex-direction: column;
    background: var(--colour-accent);
    transition: transform ease-in-out 0.5s;
}

.navbar-draw-closed {
    transform: translateY(-100%);
}

.projectCard {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 25rem;
    transition: transform 0.3s ease-in-out;
    text-decoration: "inherit";
}

.projectCard:hover .projectCard-hover {
    opacity: 1;
    transform: translateY(0);
}

.projectCard-imageFader {
    position: absolute;
    inset: -1px;
    background: linear-gradient(transparent 0%, var(--colour-primary) 100%);
    border-radius: var(--style-borderRadius);
    z-index: 1;
}

.projectCard-hover {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    gap: 2rem;
    inset: -1px;
    background: var(--colour-accent);
    border-radius: var(--style-borderRadius);
    opacity: 0;
    transition: 0.4s ease-in-out;
    transform: translateY(1rem);
    z-index: 3;
}

.projectCard-info {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 2rem;
    z-index: 2;
}

.FooterCurve {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 6rem;
    background: var(--colour-primary);
    z-index: 1;

    border-bottom-right-radius: 30% 100%;
    border-bottom-left-radius: 70% 100%;
}

.navbar-burgerMenu {
    display: none;
}

.navbar-buttons {
    display: flex;
    width: 100%;
}

.dividerLine {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    margin: 3rem 0;
}

.navbar-link {
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, var(--colour-secondary-accent) 0%, var(--colour-accent) 100%);
    border-radius: var(--style-borderRadius);
}

.navbar-link-active {
    background: transparent;
    border: 2px solid white;
}

.scrollHintContainer {
    display: flex;
    flex-direction: column;
    margin-top: 8rem;
    gap: 0.8rem;
    width: 1.8rem;
}

.scrollHintMouse {
    display: flex;
    width: 100%;
    height: 2.8rem;
    border-radius: 0.8rem;
    border: 2px solid white;
    padding-top: 6px;
    justify-content: center;
}

.scrollHintMouseWheel {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 3px;
    animation: mouseWheelScroll 3s ease-in-out infinite;
}

.unesco-footer-mobile {
    display: none;
    background: rgba(47, 40, 52, 0.50);
    border-radius: 1rem 1rem 0 0;
    transition: background 0.05s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.unesco-footer-desktop {
    display: flex;
    background: rgba(47, 40, 52, 0.50);
    border-radius: 1rem 1rem 0 0;
    transition: background 0.05s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.unesco-footer-desktop:hover {
    background: var(--colour-accent);
}


@keyframes mouseWheelScroll {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .navbar-large {
        display: none;
    }

    .navbar-small {
        display: flex;
    }
}

@media (max-width: 512px) {
    .unesco-footer-mobile {
        display: flex;
    }

    .unesco-footer-desktop {
        display: none;
    }
}
.hero-image-blink{
    animation: blink 3s ease-in-out infinite;
}

.hero-image-float{
    animation: float 4s ease-in-out infinite;
}

.hero-image-float-slow{
    animation: float 6s ease-in-out infinite;
}

@keyframes blink{
    0%{
        opacity: 0.2;
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0.2;
    }
}

@keyframes float{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-1rem);
    }
    100%{
        transform: translateY(0);
    }
}
body {
    min-width: 360px;
}

.backgroundBlob1, .backgroundBlob2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 120%;
    background: var(--colour-secondary);
    opacity: 0.1;
    transform: translate(15%, 0%) translateZ(-1.5px);
    pointer-events: none;
}

.backgroundBlob1 {
    border-top-left-radius: 70% 60%;
    border-top-right-radius: 30% 40%;
    border-bottom-right-radius: 30% 60%;
    border-bottom-left-radius: 70% 40%;
}

.backgroundBlob2 {
    height: 70%;
    width: 70%;
    left: 2%;
    top: 15%;
    border-top-left-radius: 40% 60%;
    border-top-right-radius: 60% 30%;
    border-bottom-right-radius: 60% 70%;
    border-bottom-left-radius: 40% 40%;
}

.link {
    text-decoration: none;
}

link:focus, link:hover, link:visited, link:link, link:active {
    text-decoration: none;
}

.light-shadow{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.gradientOverlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 0%, var(--colour-primary) 100%);
    z-index: 1;
}
.projectsGrid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 50%);
}

@media (max-width: 480px) {
    .projectsGrid {
        grid-template-columns: 100%;
   }
}
.informationRow-imageContainer {
    display: flex;
    width: 40%;
    height: 30rem;
    flex-shrink: 0;

    overflow: hidden;
}

@media (max-width: 500px) {
    .informationRow-imageContainer {
       display: none;
   }
}
.UpperCurve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12rem;
    background: var(--colour-primary);
    transform: translateY(-50%);

    border-bottom-right-radius: 30% 50%;
    border-bottom-left-radius: 70% 50%;
}
.projectsPageGrid {
    display: grid;
    width: 100%;
    height: fit-content;
    gap: 2rem;
    grid-template-columns: repeat(2, 50%);
}

@media (max-width: 480px) {
    .projectsPageGrid {
        grid-template-columns: 100%;
   }
}
.mediaContainer{
    border-radius: var(--style-borderRadius);
    overflow: hidden;
}

.allProjectsGrid {
    display: grid;
    width: 100%;
    height: 100%;
    perspective: 50px;
    grid-template-columns: repeat(2, 50%);
}

.mediaItemFill, .mediaItem{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    max-height: 100rem;
    transition: transform 0.3s ease-in-out;
    text-decoration: "inherit";
}

.mediaItem{
    height: 25rem;
    border-radius: var(--style-borderRadius);
}

.mediaItemFill{
    height: 100%;
}

.mediaItem-Content{
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.mediaItem:hover > .mediaItem-Content {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .carouselContainer {
        padding: 0 6rem;
   }
   .allProjectsGrid {
        grid-template-columns: 100%;
    }
}
.privacy-link {
    cursor: pointer;
}

.privacy-policy-layout {
    display: flex;
    gap: 5rem;
}

.privacy-policy-contents {
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 22rem;
    gap: 1rem;
    position: sticky;
    top: 0;
}

@media (max-width: 600px) {
    .privacy-policy-layout {
        flex-direction: column;
    }

    .privacy-policy-contents {
        position: relative;
        width: 100%;
    }
}
