@charset "UTF-8";

/* CONTAINER STYLE */

html,
html * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Bodoni Moda", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

a {
    text-decoration: none;
    color: #333333;
}

header {
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #f9f5f0;
}

section {
    display: flex;
    min-height: 100vh;
    padding-top: 5rem;
    padding-bottom: 120px;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background-color: #f9f5f0;
}

.contant-container {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    row-gap: 10px;
    box-sizing: border-box;  
}

.mediacontainer {
    display: flex;
    overflow: hidden;
}

.textcontainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 10px;
    column-gap: 20px;
    padding: 0rem 1rem 0rem 1rem;
}

.headertextcontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    border: solid;
    border-width: 1px;
    border-radius: 10px;
    border-color: #b0b0b0;
    padding: 1rem 1rem 1rem 1rem;
}

.subtextcontainer {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.buttoncontainer {
    display: flex;
    justify-content: center;
    margin-top: auto;
    height: fit-content;
    gap: 2rem;
}

/* FONT STYLE */

:root {
  /* Step -2: 11.8056px → 19.2px */
  --step-0: clamp(0.7378rem, 0.6622rem + 0.3361vw, 1.2rem);
  /* Step -1: 14.1667px → 24px */
  --step-1: clamp(1rem, 1rem + 0.447vw, 1.5rem);
  /* Step 0: 17px → 30px */
  --step-2: clamp(1.0625rem, 0.9295rem + 0.5909vw, 1.875rem);
}

p {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-weight: 400;
    color: #333333;
    font-size: var(--step-0);
    text-align: justify;
    text-justify: inter-word;
    letter-spacing: normal;
    padding: 0.5rem 0rem 0.5rem 0rem;
}

h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-weight: 400;
    text-transform: uppercase;
    color: #333333;
    font-size: var(--step-1);
    text-align: center;
    padding: 0.5rem 0rem 0.5rem 0rem;
}

h2 {
    font-weight: 600;
    text-transform: uppercase;
    color: #333333;
    font-size: var(--step-2);
    text-align: center;
}

/* SCROLLANIMATION STYLE */

.hide {
    filter: blur(20px);
    opacity: 0;;
    scale: 0;
    transition: 1s ease;
}

.show {
    filter: blur(0px);
    opacity: 1;
    scale: 1;
}

.hide-left {
    filter: blur(2px);
    opacity: 0;
    transform: translateX(-10%);
    transition: 0.8s ease-out;
}

.show-left {
    filter: blur(0px);
    opacity: 1;
    transform: translateX(0);
}

.hide-right {
    filter: blur(2px);
    opacity: 0;
    transform: translateX(10%);
    transition: 0.8s ease-out;
}

.show-right {
    filter: blur(0px);
    opacity: 1;
    transform: translateX(0);
}

.hide-bottom {
    filter: blur(2px);
    opacity: 0;
    transform: translateY(100%);
    transition: 0.8s ease-out;
}

.show-bottom {
    filter: blur(0px);
    opacity: 1;
    transform: translateY(0);
}

/* BUTTON STYLE */

.button {
    display: block;
    box-sizing: border-box;
    height: 4rem;
    width: 4rem;
    fill: #d4a017;
    background-color: #f9f5f0;
    border-color: #d4a017;
    border-style: solid;
    border-width: 2px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.5s;
}

.button:hover {
    opacity: 1;
    transform: scale(1.2);
}

.socialmedia-about {
    display: block;
    box-sizing: border-box;
    height: 4rem;
    width: 4rem;
    fill: #333333;
    background-color: #f9f5f0;
    border-color: #333333;
    border-style: solid;
    border-width: 2px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.5s;
}

/* MEDIA STYLE */

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

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

/* GALLERY STYLE */

.gallery-wrapper {
    position: relative;
    width: 100%;
}

.carousel-container {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    position: relative;
    cursor: grab;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel-slide {
    display: flex;
    justify-content: flex-start;
    height: 100%;
}

.carousel-slide .img {
    height: 100%;
    width: auto;
    object-fit: cover;
    filter: opacity(0.1) blur(2px);
    transform: scale(0.85);
    flex-shrink: 0;
    transition: transform 1s ease-in-out, filter 1s ease-in-out;
    scroll-snap-align: center;
}

/* .snap-placeholder {
    width: 50%; 
    flex-shrink: 0;
} */

.carousel-slide .img.active {
    filter: opacity(1) blur(0px);
    transform: scale(1);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 5px;   
    gap: 5px;
    text-align: center;
}

.nav-bar {
    display: inline-block;
    flex-grow: 1;
    height: 0.5rem;
    width: 22rem;
    background-color: #d4a017;
    opacity: 0.2;
    cursor: pointer;
    transition: 0.3s ease,;
}

.nav-bar.active {
    opacity: 1;
}

/* KONTAKTFORM STYLE */

form {
    display: flex;
    flex-direction: column;
    min-width: 90vw;
}

.kontakt-formular {
    padding: 1rem;
    border-color: #333333;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
}

.form-gruppe {
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
}

.screenreader-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* TABLET VIEW */

@media (min-width: 48rem) {

.textcontainer {
    flex-direction: row;
}

.headertextcontainer {
    width: 60%;
}

.subtextcontainer {
    width: 40%;
}

.socialmedia-about {
    display: none;
}

}

/* DESKTOP VIEW */

@media (min-width: 64rem) {

.contant-container {
    max-width: 60%;
}

.textcontainer {
    padding: 0rem 0rem 0rem 0rem;
}

.headertextcontainer {
    width: 40%;
}

.subtextcontainer {
    width: 60%;
}

video {
    border-radius: 10px;
}

.img {
    border-radius: 10px;
}

/* .carousel-container {
    aspect-ratio: 2 / 0.8;
    mask-image: linear-gradient(to right, 
    transparent 0%,
    #f9f5f0 10%,
    #f9f5f0 90%,
    transparent 100%
    );
    -webkit-mask-image: linear-gradient(to right, 
    transparent 0%, 
    #f9f5f0 10%, 
    #f9f5f0 90%, 
    transparent 100%
    );
} */

form {
    min-width: 60vw;
}

}