/*header*/

body {
    color: #5f5f5f;
    margin: 0;
    width: 100%;
    background-color: #e2e1e1;
    text-align: center;
}

.header {
    height: 100px;
    width: 100%;
    background: black;
    color: white;
    display: flex;
    position: fixed;
    z-index: 1000;
}

.headertext {
    font-size: clamp(1.5em, 1.9vw, 4em);
    width: 90%;
    height: auto;
    margin: auto auto;
}

.buttons {
    display: flex;
    justify-content: center;
    width: 90%;
    padding-top: 2%;
    margin: 0 auto;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.5s;
    z-index: 1;
}

.buttons a {
    font-variant: small-caps;
    font-size: clamp(1em, 1.3vw, 3em);
    margin: 0 40px;
    color: white;
    display: flex;
    text-decoration: none;
    text-align: end;
    transition: 0.5s;
}

.logo {
    position: absolute;
    margin: 50px 0 0 15px;
    font-size: clamp(1em, 1.3vw, 3em);
    color: white;
    transition: 0.5s;
}

.buttons a:hover {
    border-bottom: 1px solid #5f5f5f;
    color: #5f5f5f;
}

.logo a {
    color: white;
}

@media only screen and (max-width: 570px) {
    .logo {
        margin: 10px auto;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}


/*titelbild*/

.titelbild {
    width: 100%;
    display: flex;
    margin: 0 auto;
    padding-top: 100px;
}

@media only screen and (max-width: 503px) {
    .headertext {
        font-size: 0.45cm;
    }
    .buttons a {
        margin: 0 30px;
    }
}

@media only screen and (max-width: 340px) {
    .header {
        height: 70px;
    }
    .titelbild {
        padding-top: 70px;
    }
}

.titelbild img {
    width: 25%;
    height: auto;
}

.kisten {
    display: inline-block;
}

.kiste {
    height: 450px;
    width: 450px;
    max-width: 95%;
    background-color: white;
    box-shadow: -30px 30px 20px rgba(0, 0, 0, 0.3);
    float: left;
    margin: 50px;
}

.foto {
    width: 450px;
    float: left;
    margin: 50px;
    box-shadow: -30px 30px 20px rgba(0, 0, 0, 0.3);
}


/*impressum*/

.impressum {
    margin-top: 50px;
    height: 50px;
    background-color: black;
    color: white;
    text-align: right;
}

.impressum a {
    font-variant: small-caps;
    font-size: clamp(1em, 1vw, 2em);
    color: white;
    text-decoration: none;
    transition: 0.5s;
    margin: 0 10px;
}

.impressum a:hover {
    color: #5f5f5f;
}

.inhalt {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.foto img {
    width: 100%;
}

.beschreibung {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    color: #5f5f5f;
    font-size: clamp(1.5em, 1vw, 2em);
}

@media only screen and (max-width: 570px) {
    .beschreibung {
        width: 98%;
        margin: auto;
    }
}

.beschreibung h2 {
    margin: -100px 0 50px 0;
}

.smart {
    display: none;
}


/*inhalt smartphone (503px)*/

.smart {
    padding-top: 10px;
}

.smart .image {
    position: relative;
    width: 450px;
    height: auto;
    display: inline-block;
}

@media only screen and (max-width: 500px) {
    .smart .image {
        width: 90%;
        height: auto;
    }
}

.smart .image__img {
    display: block;
}

.smart .image__img2 {
    display: block;
    width: 100%;
}

.smart .image__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.smart .image__title {
    font-size: 1.3em;
    font-weight: bold;
}

@media only screen and (max-width: 1112px) {
    .smart {
        display: block;
    }
    .kisten {
        display: none;
    }
}