:root {
    --basic-color: #000000;
    --basic-second-color: #111111;
    --main-color: #ffffff;
    --second-color: #aaaaaa;
    --accent-color: #0078f0;
    --reflection-color-one: #000000aa;
    --reflection-color-two: #000000ff;
    --header-height: 160px;
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    background-color: var(--basic-color);
    /* background-image: radial-gradient(circle at center, var(--basic-second-color), var(--basic-color)); */
    color: var(--main-color);
    font-size: 10px;
    font-family: 'Forum';
    /* font-family: 'AveriaSerifLibre'; */
}

body {
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    font-family: 'Cinzel';
    font-weight: 100;
}

body > header {
    height: var(--header-height);
}

.header-inner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    height: 96px;
}

.header-inner::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: transparent;
    background-image: linear-gradient(to left, transparent, var(--main-color), transparent);
}

.header-title {
    font-size: 4rem;
    font-family: 'Cinzel';
    text-align: center;
    text-decoration: none;
    color: var(--main-color);
    transition: .3s;
}

.header-title:hover {
    text-shadow: 2px 2px 0px var(--basic-color), 0px 2px 0px var(--basic-color), 2px 0px 0px var(--basic-color), 3px 3px 0px var(--second-color);
    translate: -2px -2px;
}

body > main {
    flex: 1 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

blockquote {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--main-color);
    padding: 0 2rem;
    text-align: center;
    line-height: 1.5em;
    letter-spacing: .025em;
    font-size: 1.8rem;
}
blockquote::before,
blockquote::after {
    content: '';
    display: inline-block;
    height: .5rem;
    width: 100%;
    -webkit-mask: url('/images/separator.svg') no-repeat 50% 50%;
    mask: url('/images/separator.svg') no-repeat 50% 50%;
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: var(--second-color);
}

.header-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

#menubutton {
    margin: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    cursor: pointer;
}
.menubutton-line {
    display: block;
    width: .4rem;
    height: .4rem;
    border-radius: .2rem;
    background-color: var(--main-color);
    transition: .3s;
}
#menubutton:hover .menubutton-line {
    width: 3rem;
}
#menubutton:hover .menubutton-line:nth-child(2) {
    transition-delay: .2s;
}
#menubutton:hover .menubutton-line:nth-child(3) {
    transition-delay: .4s;
}
.header-menu.opened #menubutton .menubutton-line:nth-child(1) {
    width: 0;
    /* transition-delay: 0s; */
}
.header-menu.opened #menubutton .menubutton-line:nth-child(2) {
    width: 3rem;
    transform: rotate(45deg);
    /* transition-delay: 0s; */
}
.header-menu.opened #menubutton .menubutton-line:nth-child(3) {
    width: 3rem;
    transform: translateY(-1rem) rotate(-45deg);
    /* transition-delay: 0s; */
}

.header-menu nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    justify-content: center;
    align-items: start;
    background-color: var(--basic-color);
    z-index: 500;
    opacity: 0;
    transition: .3s;
}
.header-menu.opened nav {
    display: flex;
}
.header-menu.showed nav {
    opacity: 1;
}
.header-menu nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    list-style: none;
    padding: 5rem;
    margin: 0;
}

.header-menu nav ul li a {
    position: relative;
    display: inline-block;
    font-size: 2.6rem;
    color: var(--main-color);
    text-decoration: none;
}
.header-menu nav ul li a::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0.1rem;
    background-color: var(--main-color);
    transition: .3s;
}
.header-menu nav ul li a:hover:after {
    width: 100%;
}

.welcome-img {
    display: flex;
    justify-content: center;
    align-items: center;
}
.welcome-img img {
    width: 546px;
    max-width: 100%;
}

section.slider {
    max-width: 100vw;
    overflow-x: hidden;
    padding-bottom: 300px;
    margin-bottom: -170px;
}

.slider-link {
    position: relative;
    text-align: center;
    margin-top: 6rem;
    z-index: 2;
}
.slider-link a {
    color: var(--second-color);
    font-size: 4rem;
    text-decoration: none;
    text-shadow: 0px 0px .5em var(--reflection-color-one);
    transition: .3s;
}
.slider-link a:hover {
    color: var(--main-color);
}

/* Swiper */

.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: visible !important;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
}

.slide-image {
    width: 300px;
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
}
.slide-reflection {
    position: relative;
    width: 300px;
    height: 300px;
}
.slide-reflection img {
    width: 100%;
    transform: scaleY(-1);
    box-shadow: inset -50px 0px 100px -50px white;
}
.slide-reflection::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--reflection-color-one), var(--reflection-color-two));
}

/* /Swiper */

.footer-box {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 2rem 0;
    font-size: 1.8rem;
}


.footer-link {
    color: var(--main-color);
    min-width: 160px;
    text-align: right;
}


.social-instagram img {
    max-width: 12rem;
    flex: 1 0 auto;
    filter: grayscale(1) contrast(0) brightness(2);
    transition: .3s;
}

.social-instagram:hover img {
    filter: none;
}

.footer-dev-data {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    font-family: sans-serif;
    gap: .2em;
}
.footer-dev-data a {
    color: var(--main-color, #ffffff);
	text-decoration: none;
}
.footer-dev-data img {
    height: 1.5em;
    /* transform: translateY(.29em); */
}

/* About */

.about-box {
    display: flex;
}

.about-image {
    max-width: 50%;
}
.about-image img {
    width: 500px;
    max-width: 100%;
}

.about-text {
    flex: 1 0 50%;
    font-size: 2rem;
    line-height: 1.5em;
}

/* /About */


.impressum-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 850px) {
    .footer-link {
        min-width: auto;
    }
}

@media (max-width: 620px) {
    .footer-box {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    .footer-copy {
        order: 3;
    }
    .footer-link {
        text-align: center;
    }


    .about-box {
        flex-direction: column;
        align-items: center;
    }

    .about-image {
        max-width: 100%;
    }
    .about-text {
        flex: 1 0 auto;
    }
}

@media (max-width: 360px) {
    body {
        min-width: 360px;
    }
}

@media (pointer: coarse) {
    .menubutton-line {
        width: 3rem;
        height: .3rem;
    }
    .header-title:hover {
        text-shadow: none;
        translate: none;
    }
    .slider-link a {
        color: var(--main-color);
    }
    .social-instagram img {
        filter: none;
    }
}
