@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    /* color */
    ---color-theme: #ff5300;
    ---color-theme-bg: #fafafa;

    ---color-dark-fg: #ffffff50;
    ---color-dark-bg: #000000;

    ---color-light-fg: #00000050;
    ---color-light-bg: #ffffff;

    --color-sub-bg: #fafafa66;
    /* CSS Transparenz: https://www.mediaevent.de/css/transparenz.html */
    --color-sub-fg: #ff5300;

    /* space */
    --space-s: 0.5rem;
    --space-m: 1rem;
    --space-l: 4rem;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    line-height: 1.5;
    font-family: "Montserrat", sans-serif;
    color: var(---color-theme);
}

body {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    /* min-height: 100vh; */

    /* background-color: hwb(200 50% 0%); */
}

header {
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 80px;

    backdrop-filter: blur(20px);
    border-bottom: solid #ffffff30;
    border-width: 1px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    height: 80px;
    margin: auto;
    padding: 0 20px;
}

main {
    /* background-color: hwb(60 50% 0%); */
    position: relative;
    top: 80px;
}

.overlay {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;

    position: relative;
    z-index: 0;
    /* top: 75vh; */
}

footer {
    /* background-color: hwb(70 50% 0%); */

    padding: 50px;
    /* width: 100%; */
    text-align: center;
}

img {
    /* background-color: hwb(180 50% 0%); */
    /* width: fit-content; */

     max-width: 100%;
}

.logotype {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-button {
    padding: 0.6rem 1.2rem;
    border: solid var(---color-theme) 1px;
    border-radius: 100px;
    background-color: var(---color-theme);
    color: var(---color-theme-bg);
    transition: 0.3s;
}

.nav-button:hover {
    font-weight: 700;
    transition: 0.3s;
}

.intro {
    /* background-color: hwb(90 50% 0%); */

    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    /* top: 15vh; */
    margin: 50px 0;
}

.intro-text {
    /* background-color: hwb(110 50% 0%); */

    margin-top: 2rem;
    max-width: 700px;
    font-size: 1.5rem;
    text-align: center;
}

.works {
    width: 1200px;

    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 50px;
    margin: auto;

    backdrop-filter: blur(20px);
    border: solid #ffffff30;
    border-width: 1px;
    border-radius: 16px;
}

.work {
    /* background-color: hwb(260 50% 0%); */

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;

    padding: 50px 0;
    border-bottom: solid var(---color-theme);
    border-width: 1px;
}

.work-textbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: none;
    width: auto;
    /* background-color: hwb(290 50% 0%); */
}

.work-time {
    font-size: 1.2rem;
    font-weight: 300;
    /* background-color: hwb(330 50% 0%); */
}

.work-name {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    font-weight: 600;

    /* background-color: hwb(310 50% 0%); */
}

.work-thumb {
    width: 800px;
    overflow: hidden;
    border-radius: 12px;

    /* background-color: hwb(280 50% 0%); */
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
        display: block;
    transition: transform 0.5s ease;
}

.work-thumb:hover img {
    transform: scale(1.04);
}

.contact-icons {
    /* background-color: hwb(280 50% 0%); */

    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 200px;
    padding: 50px 0;
}

.contact-icons img {
    width: 2rem;
}

/* ------------------------------------ */

.dark {
    color: var(---color-dark-fg);
}

::-moz-selection {
    /* Code for Firefox */
    color: var(---color-theme-bg);
    background: var(---color-theme);
}

::selection {
    color: var(---color-theme-bg);
    background: var(---color-theme);
}

.btn-txt {
    transition: 0.3s;
}

.btn-txt:hover {
    font-weight: 900;
    transition: 0.3s;
}


.btn-dark {
    border: solid var(---color-dark-fg) 1px;
    background-color: none;
    backdrop-filter: blur(5px);
    font-size: 1rem;
    color: var(---color-dark-fg);
    padding: 0.6rem 1.2rem;
    transition: 0.3s;
}

.btn-dark:hover {
    font-weight: 700;
    transition: 0.3s;
}

.btn-border {
    font-size: 0.8rem;
    border: solid var(---color-theme-fg) 1px;
    background-color: #ffffffb7;
    backdrop-filter: blur(5px);
    color: var(---color-theme-fg);
    padding: 1rem 2rem;
    margin: 0 2px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    transition: 0.3s;
}

.btn-border.is-active {
    background-color: var(---color-theme-fg);
    color: var(---color-theme-bg);
    font-weight: 700;
    transition: 0.3s;
}

.btn-border:hover {
    background-color: var(---color-theme-fg);
    color: var(---color-theme-bg);
    font-weight: 700;
    transition: 0.3s;
}


/**************************** einzeln ******************************/

.container {
    position: relative;
    z-index: 0;

    height: 100%;
    display: flex;
    text-align: center;
    flex-direction: column;
    max-width: 1200px;
    margin: auto;
}

video {
    margin: 2rem 0;
}

.container img {
    /* css屏蔽图片长按选中下载: https://www.cnblogs.com/beileixinqing/p/17511947.html */
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    pointer-events: none;
}

.gallery-img {
    /* background-color: var(--color-sub-bg); */
    width: 100%;
}

.ueber-mich-text {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ueber-mich-sm {
    width: 50vh;
    margin: 20px;
    display: flex;
    justify-content: left;
    transition: 0.3s;
    margin-top: 10px;
    font-size: 1.2rem;
}

.ueber-mich-sm:hover {
    font-weight: 600;
}

@media only screen and (max-width: 1300px) {
    /* For mobile phones: */

    .intro-text {
        padding: 0 20px;
    }

    .works {
        width: 100%;
        padding: 0;
    }

    .work {
        display: flex;
        flex-direction: column;
        padding: 50px 20px;
        height: fit-content;
    }

    .work-thumb{
        width: 100%;
        margin-top: 20px;
    }

    .intro-text {
        font-size: 1.2rem;
    }

    .ueber-mich-sm {
        width: 100%;
        text-align: left;
    }
}

@media only screen and (max-width: 700px) {}