@import url('https://fonts.googleapis.com/css2?family=Thasadith:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/* || RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* || VARIABLES */
:root {
    /* FONT */

    /* COLOR */
    --HEADER-BGCOLOR: #2e2d30;
    --HEADER-COLOR: rgb(199, 195, 195);

    /* SHADOW */
    --SHADOW: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* || GENERAL STYLES */
html {
    font-size: 1.5rem;
    font-family: "Thasadith", sans-serif;
}

body {
    display: flex;
    flex-flow: column nowrap;
}

header {
    top:0;
    background-color: var(--HEADER-BGCOLOR);
    color: var(--HEADER-COLOR);
    position: fixed;
    width: 100%;
    z-index: 10000;
    box-shadow: var(--SHADOW);
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column wrap;
    background-color: rgb(226, 222, 222);;
    margin-top: 4rem;
    width: 100%;
}

h1 {
    font-weight: bold;
}


.main-header p {
    font-weight: light;
    color:rgba(0, 0, 0, 0.534);
}

footer {
    background-color: var(--HEADER-BGCOLOR);
    color: var(--HEADER-COLOR);
    padding: 1rem;
    font-size: 0.8rem;
    gap: 2rem;
    flex-flow: column wrap;
    box-shadow: var(--SHADOW);
}

p {
    word-spacing: 0.2rem;
}


/* || HEADER DESIGN */
.header-title-line {
    padding: 0.25rem 0.5rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content:space-between;
    width: 100%;
}

.logo {
    border: 2px solid black;
    border-radius: 50%;
    width: 8rem;
    height: auto;
}

nav {
    background-color: var(--HEADER-BGCOLOR);
    display: none;
    transform-origin: top center;
    animation: showMenu 0.5s ease-in-out forwards;
}

/* NAV-MENU BUTTON */
.menu-button {
    background-color: transparent;
    border: none;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 20px;
    right: 10px;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    background-color: var(--HEADER-COLOR);
    width: 40px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    transition: all 0.5s;
}

.menu-icon::before,
.menu-icon::after {
    content: "";
}

.menu-icon::before {
    transform: translate(-20px, -12px);
}

.menu-icon::after {
    transform: translate(-20px, 12px);
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-flow: column nowrap;
}

nav li {
    padding: 0.5rem;
    border-top: 1px solid var(--HEADER-COLOR);
}

nav a {
    display: block;
    text-align: center;
    width: 80%;
    margin: auto;
    transition: all 0.3s;
}

nav a:any-link {
    color: var(--HEADER-COLOR);
    font-weight: bold;
    text-decoration: none;
}

nav a:hover,
nav a:focus {
    transform: scale(1.2);
}

/* ANIMATION OPEN */
.close-icon {
    background-color: transparent;
}

.close-icon::before {
    transform: translateX(-20px) rotate(45deg);
}

.close-icon::after {
    transform: translateX(-20px) rotate(-45deg);
}


@keyframes showMenu {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}


/* || MAIN DESIGN */
.main-header { 
    text-align: center;
    display: flex;
    flex-flow: column wrap;
    padding: 2rem;
    padding-top: 3rem;
}

.welcome {
    background-color: whitesmoke;
    box-shadow: var(--SHADOW);
    width: 100%;
    padding-bottom: 2rem;
}
#präsent {
    padding-bottom: 2rem;
}

.start img {
    width: 100%;
    height: auto;
    display:block;
    box-shadow: var(--SHADOW);
} 

.start-image {
    display: flex;
    justify-content: center;
}

.info-text {
    width: 100%;
    justify-content: center;
    display: flex;
    flex-flow: column wrap;
    text-align:center;
    padding: 2rem;
    margin-bottom: 3rem;
}

.info-text p {
    font-size: 1.5rem;
}

.info-text h2, .info-text h3 {
    text-align: center;
    padding-bottom: 1rem;
}

.image-gallery {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 1rem;
    padding-bottom: 2rem;
}

.image-gallery img {
    display:block;
    box-shadow: var(--SHADOW);
} 

.offer {
    margin-top: 2rem;
    padding-top: 2rem;
    background-color: rgb(226, 222, 222);
    gap: 2rem;
    margin-bottom: 5rem;
    text-align: center;
    display: flex;
    flex-flow: column wrap;
    width: 100%;
}

.offerHeading {
    color: whitesmoke;
}

.offerItems {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    flex-direction: row;
    flex-wrap: wrap;
}

.offers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #2e2d30;
    width: min(95%, 300px);
    aspect-ratio: 1/1;
    padding: 1rem;
    border-radius: 20px;
    gap: 1rem;
    color: var(--HEADER-COLOR);
    box-shadow: var(--SHADOW);
    
}

.offerImage {
    width: 100%;
    height: auto;
}

.offerImage img{
    display: block;
    width: 100%;
    height: auto;
}

.datenschutz {
    text-align: left;
}

.datenschutz ul {
    font-size: 1.2rem;
    padding-left: 1.2rem;
}
.datenschutz li {
    padding-bottom: 0.6rem;
}

.impress {
    text-align: center;
}

.check {
    display: flex;
    gap: 0.3rem;
    width: 70%;
    font-size: 0.7rem;
    align-items: flex-start;
}
.check input {
    margin-top: 0.2rem;
    cursor: pointer;
}

.check a {
    color: var(--HEADER-COLOR);
    text-decoration: none;
    font-weight: bold;
}



/* ABOUT MAIN */
.story h1 {
    padding-top: 1.5rem;
}

.slides {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.staff {
    position: relative;
    width: 70%;
    background-color: #474649;
    padding: 0.5rem;
    box-shadow: var(--SHADOW);
    border-radius: 15px;
    color: var(--HEADER-COLOR);
}

.slide {
    display: none;
    width: 100%;
    align-items: center;
    flex-flow: column nowrap;
    padding: 1rem 1rem 2rem 1rem;
}

.aktiv-slide {
    display: flex;
}

.caption {
    padding: 1rem 1rem 1.5rem 1rem;
}

.slide-img img {
    width: 100%;
    height: auto;
    box-shadow: var(--SHADOW);
}

.pfeil {
    position: absolute;
    top: 0;
    bottom: 0;
    font-size: 50px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5%;
    color: rgba(255, 255, 255, 0.5);
    user-select: none;
    cursor: pointer;
    transition: 0.4s;
    z-index: 2;
}

.pfeil:hover {
    color: white;
    scale: 1.2;
}

.pfeil-links {
    left: 0;
}

.pfeil-rechts {
    right: 0;
}
 
.indikatorenliste {
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    list-style-type: none;
    font-size: 40px;
    display: flex;
    justify-content: center;
}

.indikator {
    padding: 0 10px;
    user-select: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.4s;
}

.indikator:hover {
    color: white;
    scale: 1.2;
}

.aktiv {
    color: white;
    scale: 1.2;
}

.story {
    display: flex;
    flex-flow: column;
    align-items: center;
    margin-bottom: 3rem;
}

#geschichte {
    text-align: left;
}

/* CONTACT MAIN */
.kontaktformular {
    display: flex;
    flex-flow: column;
    gap: 1rem;
    width: 80%;
    align-items: center;
    background-color: #474649;
    padding: 2rem 0 2rem 0;
    box-shadow: var(--SHADOW);
    border-radius: 15px;
    margin-bottom: 10rem;
    color: var(--HEADER-COLOR);
}
.formular1 {
    display: flex;
    flex-flow: column;
    width: 100%;
    align-items: center;
}

.formular1 input,
.formular1 select {
    line-height: 50px;
    height: 50px;
    width: 60%;
    font-size: large;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.formular2 {
    display: flex;
    flex-flow: column;
    width: 100%;
    align-items: center;
}

.formular2 input {
    line-height: 50px;
    width: 60%;
    font-size: large;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.formular3 {
    display: flex;
    flex-flow: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.formular3 textarea {
    width: 60%;
    height: 5rem;
    font-size: x-large;
    border-radius: 15px;
    padding: 0.3rem;
}

.submit {
    margin-top: 1rem;
    width: 40%;
    height: 2rem;
    border-radius: 30px;
    font-size: large;
    font-weight: bold;
    background-color: black;
    color: white;
    transition: all 0.3s;
}

.submit:hover, 
.submit:focus {
    transform: scale(1.2);
}

/* || FOOTER DESIGN */
footer a {
    transition: all 0.3s;
}

footer a:hover, 
footer a:focus {
    transform: scale(1.2);
}


.top {
    display: flex;
    flex-flow: row wrap;
    justify-content:space-around;
}

.location img {
    width: 3rem;
    height: auto;
}

.address {
    display: flex;
}

.location {
    padding-top: 1.5rem;
}

.middle {
    border-top: solid grey;
    border-bottom: solid grey;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    line-height: 1.3rem;
}

footer ul {
    list-style-type: none;
    display: flex;
    flex-flow: column nowrap;
}

footer li {
    padding: 0.5rem;
}

.logo-schrift {
    display: flex;
    flex-flow: column nowrap;
}

.contact {
    display: flex;
}

.contact2 li {
    border-left: solid gray;
    padding-left: 2rem
}

.contact2 {
    display: flex;
    padding: 1rem;
}

.contact a:any-link {
    color:var(--HEADER-COLOR);
    font-weight: bold;
    text-decoration: none;
}
 
.copyright {
    display: flex;
    gap: 0.2rem;
}

.bottom {
    display: flex;
    flex-flow: row wrap;
    justify-content:space-evenly;
    font-size: 0.6rem;
    padding: 5px;
}


.bottom a:any-link {
    color:var(--HEADER-COLOR);
    font-weight: bold;
    text-decoration: none;
}

footer a {
    display: block;
    transition: all 0.3s;
}



/* ||SCREEN SIZES */
/* LARGE SCREEN */
@media screen and (min-width: 992px) {
    .menu-button {
        display: none;
    }
    header {
        display: flex;
    }
    nav {
        background-color: var(--HEADER-BGCOLOR);
        display:flex;
        animation: none;
        align-items: center;
    }
    nav ul {
        display: flex;
        flex-flow: row nowrap;
        gap: 0.8rem;
        align-items: center;
        justify-content: space-evenly;
    }
    nav li {
        border: none;
        flex-flow:column nowrap;
        font-size: 0.8rem;
        animation: none; 
        transition: none;
        transform: none;
    }
    nav a {
        width: 100%;
    }
 
    :is(.menu-button:hover, header:focus-within) nav {
    display: flex;
    }

    .header-title-line {
        width: 22%;
        text-align: right;;
    }
    header {
        justify-content: center;
    }
    .welcome {
        display: flex;
        padding-top: 2rem;
        justify-content:center;
        align-items: center;
        width: 100%
    }
    .info-text {
        padding-right: 3rem;
        padding-left: 3rem;
      }

    #lableAnrede {
        order: 1;
    }  
    #lableVorname {
        order: 2;
    }
    #lableNachname {
        order: 3;
    }
    #anrede {
        order: 4;
    }
    #vorname {
        order: 5;
    }
    #nachname {
        order: 6;
    }

    #lableEmail {
        order: 1;
    }
    #lableTelefon {
        order: 2;
    }
    #email {
        order: 3;
    }
    #telefonnummer {
        order: 4;
    }

   .formular1  {
    display: grid;
    grid-template: 1fr 1fr / 1fr 1fr 1fr;
    width: 90%;
   
   }
   .formular1 input,
    .formular1 select {
        width: 90%;
    
    }
   .formular2 {
    display: grid;
    grid-template: 1fr 1fr / 1fr 1fr;
    width: 90%;
    
   }
   .formular2 input {
    width: 90%;
    }
   .formular3 textarea {
    width: 90%;
   }
}

/* XL SCREEN */
@media screen and (min-width: 1200px) {
    .header-title-line {
        width: 18%;
    }
    header {
        justify-content: center;
    }
    .image-gallery {
        flex-flow: row;
        justify-content: center;
    }
    .info-text {
        width: 70%;
    }
    
    .slide {
        flex-flow: row;
        justify-content: left;
        gap:0;
    }
    .staff {
        width: 1040px;
    }
    .slide-img {
        padding-left: 1rem;
    }
    .slide-img img {
        width: 640px;
        height: 480px;
    }
    .kontaktformular {
        width: 1000px;
    }
}


