@charset "utf-8";

/* =====================================================
   GRUNDLAGEN
   ===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 0.5em;

    background-color: #fee296;

    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;

    overflow-x: hidden;
}


/* =====================================================
   HEADER / LOGO
   ===================================================== */

header {
    width: 100%;
    max-width: 1000px;

    text-align: center;

    margin-top: 1em;
}

header img {
    display: block;

    width: 100%;
    max-width: 1000px;
    height: auto;

    margin: 0 auto;
}


/* =====================================================
   NAVIGATION
   ===================================================== */

nav {
    width: 100%;
}

nav ul {
    display: flex;

    flex-direction: row;
    flex-wrap: wrap;

    justify-content: center;
    align-items: center;

    gap: 0.5em;

    list-style: none;
}

nav li {
    list-style: none;

    margin: 0;
    padding: 0;
}

nav img {
    display: block;

    width: auto;
    height: 85px;

    max-width: 100%;
}


/* =====================================================
   ÜBERSCHRIFT
   ===================================================== */

aside {
    width: 100%;
    max-width: 800px;

    text-align: center;

    margin: 0.5em auto;

    color:dimgray;

    /*-webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #333;*/
}

aside h1 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    line-height: 1.2;

    margin: 0.2em 0;
}


/* =====================================================
   MAIN
   ===================================================== */

main {
    width: min(100% - 2em, 850px);

    background-color: rgba(255, 255, 255, 0.25);

    border: thin solid;
    border-radius: 1em;

    padding: 10px;

    text-align: center;

    margin: 0 auto;
}


/* =====================================================
   GALLERIE-LIGHTBOX
   ===================================================== */
.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear:both;
}

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  width: 20%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 25px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: black;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 850px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
	z-index: 1;
  top: 17px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding-left: 25px;
  padding-right: 30px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 22px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: black;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}




/* =====================================================
   FOOTER
   ===================================================== */

footer {
    width: min(100% - 2em, 850px);

    background-color: rgba(215, 215, 215, 0.25);

    border: thin solid;
    border-radius: 1em;

    padding: 10px;

    margin: 0 0 1em;

    text-align: center;
}

footer ul {
    display: flex;

	flex-direction: row;
    flex-wrap: nowrap;

    justify-content: center;
    align-items: center;

    gap: 0.5em;

    list-style: none;
}

footer li {
    list-style: none;
    margin: 0;
	padding: 0;
}

footer img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

footer p {
    margin-top: 0.5em;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 700px) {

    nav img {
        height: auto;
        max-height: 65px;
    }

    main {
        width: calc(100% - 2em);
    }
}


/* =====================================================
   SMARTPHONE
   ===================================================== */

@media (max-width: 600px) {

    body {
        gap: 0.75em;
    }


    /* Header */

    header {
        width: 100%;
    }


    /* Navigation */

    nav ul {
        gap: 0.1em;
    }

    nav img {
        width: 100%;
        max-width: 90px;
        height: auto;
    }


    /* Überschrift */

    aside {
        width: calc(100% - 1em);

        margin: 0 auto;
    }

    aside h1 {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
    }


    /* Main */

    main {
        width: calc(100% - 1em);

        padding: 8px;

        margin: 0 auto;
    }


    /* Preisbild */

    .price-content {
        width: 100%;
    }

    .price-content img {
        width: 100%;
        max-width: 640px;

        height: auto;
    }


    /* Footer */

    footer {
        width: calc(100% - 1em);

        max-height: none;

        padding: 8px;
    }

    footer ul {
        flex-direction: row;
    }

    footer img {
        max-width: 100%;
    }
}


/* =====================================================
   SEHR KLEINE SMARTPHONES
   ===================================================== */

@media (max-width: 400px) {

    body {
        font-size: 13px;
    }


    nav img {
        max-width: 70px;
    }


    aside h1 {
        font-size: 1.1rem;
    }


    main {
        width: calc(100% - 0.5em);

        padding: 6px;
    }


    footer {
        width: calc(100% - 0.5em);
    }
}