@font-face {
	font-family: 'Arial';
	src: url(../fonts/arial_narrow-webfont.woff2);
}
@font-face {
	font-family: 'Times';
	src: url(../fonts/times_new_roman-webfont.woff);
}
@font-face {
	font-family: 'Times Italic';
	src: url(../fonts/times_new_roman_italic-webfont.woff);
}
:root {
    --backgroundcolor: rgb(255, 255, 255);
    --buttoncolor: #ffffff;
    --buttonhovercolor: var(--backgroundcolor);
    --textcolor: black;
    --accentcolor: blue;
    --buttonShadow: 0px 7px 15px rgba(0, 0, 0, 0.2);
    --borderRadius01: 5px;
    --borderRadius02: calc(var(--borderRadius01) + 0.9rem)
}
* {
    margin: 0;
    box-sizing: border-box;
}
::selection {
    background: none;
}
main {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}
body {
    background-color: var(--backgroundcolor);
    
}
html {
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}
p {
    font-family: "Arial";
    font-size: 10pt;
}
a {
    font-size: 10pt;
    text-decoration: none;
    color: var(--textcolor);
}
a:hover {
    cursor: url(../imgs/hand_up.gif), auto;
}
.menu {
    
    position: fixed;
    padding: 2rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.menu-link {
    min-width: 88px;
    height: 32px;
}
h1 {
    font-family: "Arial";
    font-weight: normal;
    text-align: left;
    font-size: unset;
    padding-top: 2px;
}
.home-link {
    width: fit-content;
    margin-right: auto;
}
.logo-image {
    height: 30px;
    width: auto;
    align-self: center;
}
.logo-container {
    display: flex;
    flex-direction: row;
    width: fit-content;
    background-color: var(--buttoncolor);
    border-radius: var(--borderRadius01);
    padding-left: 3px;
    padding-right: 0.65rem;
    height: 32px;
    gap: 0.75rem;
    box-shadow: var(--buttonShadow);
}
.menulink-container {
    display: flex;
    flex-direction: row;
    background-color: var(--buttoncolor);
    border-radius: var(--borderRadius01);
    
    gap: 0.85rem;
    height: 32px;
    text-align: center;
    width: 100%;

    background-repeat: no-repeat;
    background-size: 0; /* Hide the background image by default */
    background-position: center;
    transition: background-size 0.3s ease; /* Smooth transition */
    box-shadow: var(--buttonShadow);
    /* padding: 0.5rem;
    padding-left: 0.65rem;
    padding-right: 0.7rem; */
}
.btn-container {
    display: flex;
    flex-direction: row;
    background-color: var(--buttoncolor);
    border-radius: var(--borderRadius01);
    
    gap: 0.85rem;
    height: 32px;
    text-align: center;
    width: auto;

    padding-left: 10px;
    padding-right: 10px;
    box-shadow: var(--buttonShadow);
    /* padding: 0.5rem;
    padding-left: 0.65rem;
    padding-right: 0.7rem; */
}
.menu-link:hover .menulink-container {
    background-size: cover; /* Show the background image on hover */
}
.menulink-container > h1 {
    width: 100%;
    text-align: center;
    transition: opacity 0.1s ease; /* Smooth fade-out effect for the title */
}
.menu-link:hover .menulink-container h1 {
    opacity: 0; /* Hide the title when the background image appears */
}

.menu-btns a > div > h1 {
    text-align: center;
    width: 100%;
}
.menu-btns {
    float: right;
}
a:hover > div > h1 {
    /* color: var(--accentcolor); */
}
.projects-container {
    
    position: relative;
    width: 100%;
    height: auto;
    padding: 1rem;
    border-radius: var(--borderRadius02);

    /* overflow-y: scroll; */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}
.project-container {
    position: relative;
    width: 100%;
    /* height: calc(100vh - 2rem); */
    height: 100%;
    overflow: hidden;
    border-radius: var(--borderRadius02);
    scroll-snap-align: start;
    background-color: black;
    

}

.project-images-container {
    width: 100%;
    height: calc(100vh - 2rem);
    position: relative;
    scroll-snap-align: center;
    /* background-color: black; */
    border-radius: var(--borderRadius02);
    overflow: hidden;
    cursor: pointer;
}
.project-images-container::before,
.project-images-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    pointer-events: none;
}
/* .project-images-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
} */

.project-images-container::after {
    right: 0;
    background: linear-gradient(to left, black, transparent);
}
.image-scroll-container {
    display: flex;
    overflow: hidden;
    /* overflow-x: scroll; */
    height: 100%;
    scroll-behavior: smooth; /* Smooth scrolling */
}
.project-info-container {
    position: absolute;
    padding: 1rem;
    bottom: 0;
    /* left: 1rem; */
    z-index: 3;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
}
.info-btn-img {
    height: 30px;
    margin: 0 auto;
}
.project-info-btn {
    background-color: unset;
    padding: unset;
    box-shadow: unset;
}
.info-btn-img:hover {
    height: 35px;
    transition: 200ms ease-in-out;
}
.project-year-label {
    margin-right: auto;
}
.projekttitelbox {
    display: block;
    background-color: var(--buttoncolor);
    border-radius: var(--borderRadius01);
    text-align: left;
    height: 32px;
    width: fit-content;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: var(--buttonShadow);
    font-family: "Arial";
    font-weight: normal;
    text-align: left;
    font-size: 14pt;
    /* padding: 0.5rem;
    padding-left: 0.65rem;
    padding-right: 0.7rem; */
    line-height: 100%;
}
.info-blur-container-overlay {
    position: absolute;
    background-color: rgb(255 255 255 / 31%);
    bottom: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem;
    display: flex;

    /* added */
    align-items: flex-end;
    justify-content: center;

    /* Initial hidden state */
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.info-blur-container-overlay.visible {
    /* Visible state */
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.infotext-overlay {
    font-family: "Arial";
    font-size: 14pt;
    height: fit-content;
    position: relative;
    bottom: 0;
    align-self: center;
    translate: 0 50%;
    justify-content: center;
    padding: 1rem;
    background-color: var(--buttoncolor);
    border-radius: var(--borderRadius01);
    line-height: 100%;
    box-shadow: var(--buttonShadow);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.info-blur-container-overlay.visible .infotext-overlay {
    /* Animate text appearance */
    transform: translateY(0);
    opacity: 1;
}

.info-blur-container-overlay:not(.visible) .infotext-overlay {
    transform: translateY(10px);
    opacity: 0;
}
.new-icon-overlay {
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    /* translate: -50% -50%; */
    z-index: 4;
    padding: 1rem;

}
.new-icon-img {
    width: 125px;
    height: auto;
}
.projects-list {
    padding: 2rem;
    text-align: left;
    font-family: 'Times New Roman', Times, serif;
    width: fit-content;
    position: fixed;
    top: 0;
    z-index: 1000;
    mix-blend-mode: difference;
}
.name {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    color: white;
}
.projektliste {
    list-style: none;
    padding: 0;
}
a {
    color: white;
}
a:hover {
    color: rgb(45, 45, 45);
}
.project-year-list {
    display: inline-block;
    color: rgb(45, 45, 45);
}
.mail-contact {
    color: rgb(45, 45, 45);
}
.maillinks {
    color: rgb(45, 45, 45);
    font-family: 'Times New Roman', Times, serif;
}
.project-iframe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Im Hintergrund */
}
.project-iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.clip-iframe {
    height: 100%;
}
.clip-container{
    height: 100vh;
    padding: 6rem;
} 
.clip-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
    position: absolute;
    top: 50%;
    left: 0;
    translate: 0 -50%;
    color: rgb(45, 45, 45);
    opacity: 0.3;
}
.project-imgs-container {
    overflow-y: hidden;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    height: 100vh;
    white-space: nowrap;
    position: relative;
}
.project-image-container {
    height: 200px;
    width: 100%;
    flex-shrink: 0;
    position: relative;
    margin: 0 auto;
    transition: 250ms ease-in-out;
}
.project-image-container:hover > .project-image{
    height: 450px;
    transition: 250ms ease-in-out;
}
.project-image-container:hover {
    height: 450px;
    transition: 250ms ease-in-out;
}
.project-image {
    height: 200px;
    width: auto;
    object-fit: contain;
    display: block;
    align-self: center;
    text-align: center;
    margin: 0 auto;
    transition: all 250ms ease-in-out;
}
.project-image:hover {
    transition: all 250ms ease-in-out;
}
.images-container {
    display: inline-flex;
    flex-direction: column;
    overflow-x: auto;
    height: 100vh;
    width: 100%;
    scrollbar-width: none;
}
.imprint-stuff {
    display: block;
    position: fixed;
    mix-blend-mode: difference;
    bottom: 1rem;
    width: fit-content;
    left: 50%;
    translate: -50%;
}

.imprint-stuff a {
    color: rgb(45, 45, 45);
}
.imprint-textblock {
    color: rgb(45, 45, 45);
    mix-blend-mode: difference;
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 1rem;
    opacity: 0;
    transition: opacity 250ms ease-in-out;
    visibility: hidden;
    width: 35%;
}
.imprint-stuff:hover + .imprint-textblock {
    opacity: 1;
    transition: opacity 250ms ease-in-out;
    visibility: visible;
}
.social-link {
    padding: 1rem;
    position: fixed;
    right: 0;
    top: 0;
}
.projekt-link {
    line-height: 95%;
}
.projektinfos-container {
    position: fixed;
    color: rgb(45, 45, 45);
    bottom: 0;
    mix-blend-mode: difference;
    height: fit-content;
    width: 50%;
    padding: 1rem;

}
.projektinfos {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
}
.imessages-container {
    padding: 1rem;
    width: fit-content;
    position: fixed;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}
.imessages-container p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-style: normal;
    font-weight: 300;
    color: white;
}
.message-container {
    background-color: #147efb;
    padding-left: 1.3rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    padding-right: 1.3rem;
    width: fit-content;
    height: auto;
    border-radius: 25px;
}
.message-cone {
    width: 15px;
    height: 25px;
    position: relative;
    background-color: #147efb;
    justify-self: end;
    border-radius: 0 0 0 100%;
    margin-top: -25px;
}
.videos-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.project-video-container {
    width: 100%;
    height: 100dvh;
    display: flex;
    padding: 35vh 0 35vh 0;
    gap: 0;
    justify-content: center;
    align-items: center;
}
.project-video {
    display: block;
    height: 100%;
}
@media only screen and (max-width: 700px) {
    .project-video-container {
        padding: 42.7vh 0 42.7vh 0;
    }
    .logo-container h1 {
        display: none;
    }
    .logo-container {
        padding-right: 3px;
    }
    .menu {
        flex-direction: row;
        width: fit-content;
    }
    .project-images-container {
        height: calc(100vh - 26rem);
    }
    .menu-link {
        min-width: fit-content;
    }
    .menulink-container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .image-scroll-container {
        overflow-x: scroll;
    }
    .infotext-overlay {
        align-self: auto;
        translate: unset;
    }
    .new-icon-img {
        width: 100px;
        height: auto;
    }
    .projects-list {
        width: 100%;
    }
    .projektinfos-container {
        position: fixed;
        color: rgb(45, 45, 45);
        top: unset;
        bottom: 2.5rem;
        mix-blend-mode: difference;
        height: fit-content;
        width: 100%;
        text-align: center;
        padding: 1rem;
        
    }
    .project-image {
        height: 260px;
    }
    .project-image-container {
        height: 260px;
    }
    .project-image-container:hover > .project-image{
        height: 310px;
    }
    .project-image-container:hover {
        height: 310px;
        transition: 250ms ease-in-out;
    }
}