@font-face {
    font-family: 'TimmonsNY';
    src: url("../fonts/TIMMONSNY2.0-Regular.woff2") format('woff2');
}

@font-face {
    font-family: 'Inter';
    src: url("../fonts/Inter-Light.ttf") format('truetype');
}

:root {
    --primary: #46EBE1;
    --secondary: #F4D952;
    --black: black;
    --white: white;
  }

html {
    scroll-behavior: smooth;
}

* {
    color: var(--black);
    font-family: Inter, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    height: 100vh;
    overflow: hidden;
}

body {
    background: var(--white);
    margin: 0;
    display: flex;
    padding: 32px;
}

p {
    margin: 0;
    font-size: 1rem;
}

h1 {
    font-family: TimmonsNY, sans-serif;
    font-weight: 500;
    margin: 0;
    font-size: 4rem;
    color: var(--black);
}

h1 a {
    font-family: TimmonsNY, sans-serif;
    font-weight: 500;
    margin: 0;
    font-size: 20rem;
    line-height: 16rem;
}

h2 {
    font-family: TimmonsNY, sans-serif;
    font-weight: 500;
    font-size: 3rem;
    line-height: 1.1;
}

.hero {
    height: 100%;
    width: 40%;
    padding: 32px;
    background: url(../images/hero-min.jpg) no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

.main-frame {
    height: 100%;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.copy-banner {
    height: 24px;
    overflow: hidden;
    width: 100%;
    z-index: 10;
    position: relative;
    top: 0;
    left: 0;
}

.banner-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    animation: scrollBannerX 20s linear infinite;
    white-space: nowrap;
    height: 100%;
    transition: animation-duration 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    gap: 8px;
    will-change: transform;
}

.banner-content span {
    height: 24px;
    line-height: 1.4;
    font-weight: 300;
    font-size: 1rem;
    white-space: nowrap;
}



@keyframes scrollBannerX {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 235px;
    background: var(--white);
}

/* fixed content */

.contact {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-wrap: wrap;
    text-align: right;
}

/* section 1 */

.section-1 {
    height: calc(100vh - 299px);
    padding: 32px;
    background: url(../images/project_gastromatic-min.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
}

.divider {
    height: 1px;
    width: calc(100% - 64px);
    background-color: var(--black);
}

.preview-container {
    display: flex;
    flex: 1 0 0;
    flex-direction: row;
    align-items: center;
}

.preview-container a {
    position: absolute;
    right: 96px;
}

.preview-image {
    width: 10%;
    height: 10%;
    margin: 16px;
    transition: all 500ms ease;
}

.preview-image:hover {
    width: 40%;
    height: 40%;
    transition: all 500ms ease;
}


/* section 2 */

.section-2 {
    height: calc(100vh - 64px);
    padding: 32px;
    background: url(../images/project_vault93-min.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
}

.section-3 {
    position: relative;
    background: var(--white);
    height: calc(100vh - 64px);
    padding: 32px;
}

.section-3 h1 {
    position: absolute;
    bottom: 32px;
}

.menu {
    display: flex;
    z-index: 1;
    position: fixed;
    text-align: right;
    right: 32px;
    bottom: 168px;
    font-size: 1rem;
    list-style: none;
    flex-direction: row;
    gap: 32px;
    /* transform: rotate(-90deg); */
    -webkit-transition: all ease 0.8s;
	-moz-transition: all ease 0.8s;
	transition: all ease 0.8s;
}

@media only screen and (max-width: 412px) {
    .menu {
        gap: 12px;
        -webkit-transition: all ease 0.8s;
        -moz-transition: all ease 0.8s;
        transition: all ease 0.8s;
    }
  }

.menu .active {
    box-shadow: inset 1000px 0 0 0 var(--black);
}

a {
    box-shadow: inset 0 0 0 0 #31302B;
    -webkit-transition: all ease 0.8s;
	-moz-transition: all ease 0.8s;
	transition: all ease 0.8s;
}

/* a:hover {
    color: var(--white);
    box-shadow: inset 1000px 0 0 0 var(--black);
} */

.anchor {
    z-index: 1;
    position: fixed;
    left: 32px;
    bottom: 267px;
}

@media only screen and (max-width: 480px) {
    .anchor {
        display: none;
    }
  }

.note {
    z-index: 1;
    position: fixed;
    right: 32px;
    bottom: 32px;
}

/* Menu */

#menu {
    position: relative;
    background: var(--primary);
    height: calc(100vh - 64px);
    padding: 32px;
}

/* About */

.about {
    height: calc(100vh - 299px);
    padding: 144px 32px 32px 32px;
    background: var(--primary);
}

.about-title {
    color: var(--primary);
}

/* Projects */

.project-title {
    color: var(--black);
}

.project-container {
    width: 303px;
    height: 130px;
    background: var(--white);
    position: absolute;
    right: 32px;
    bottom: 32px;
    padding: 32px;
    justify-content: center;
    -webkit-transition: all ease 0.8s;
    -moz-transition: all ease 0.8s;
    transition: all ease 0.8s;
}

.two {
    bottom: 267px;
}

@media only screen and (max-width: 412px) {
    .project-container {
        width: 242px;
    }
  }

table {
    width: 100%;
    height: 100%;
}

table th {
    text-align: right;
    padding-right: 16px;
}

/* Imprint */

.impressum {
    height: calc(100vh - 299px);
    padding: 144px 32px 32px 32px;
    background: var(--secondary);
}

.impressum-title {
    color: var(--secondary);
}

.page-container {
    height: calc(100% - 100px);
    gap: 16px;
    display:flex;
    flex-direction: column;
    max-width: 600px;
    overflow-y: scroll;
}

::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

