*, *:before, *:after {
    box-sizing: inherit;
}
  
html {
    font-family: "Urbanist", sans-serif;
    display: grid;
    background-color: white;
    box-sizing: border-box;
    margin: 0em;
    scroll-behavior: smooth;
    padding: 0em;
}

body {
    display: grid;
    margin: 0em;
    padding: 0em;
}

header {
    display: grid;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 0.6em;
    padding-top: 0.4em;
    z-index: 1;
    background-color: white;
    position: fixed;
    width: 100%;
}

#header-container {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    width: 100%;
}

#header-logo {
    align-self: center;
    justify-self: center;
    height: 3em;
    margin: 1em;
}

menu {
    display: none;
    height: calc(100vh - 6em);
    align-items: center;
    padding-left: 8em;
    padding-right: 3em;
    padding-bottom: 10%;
    padding-top: 5%;
    grid-template-columns: 2fr 1fr;
}

menu #links {
    display: grid;
    height: 100%;
    align-items: center;
}

menu #links a {
    font-size: 1.3em;
    color: black;
    text-decoration: underline;
    transition: all 0.1s;
    
}

menu a:hover, menu a.selected {
    font-weight: bold;
}

#menu-contact-section {
    display: grid;
    gap: 0.3em;
    background-color: black;
    color: white !important;
    align-self: end;
    padding: 1em;
}

#menu-contact-section a {
    color: white;
}

#menu-button {
    display: grid;
    height: 100%;
    margin: 1em 1em 1em 2em;
    height: 3em;
    width: 3em;
    padding: 0.5em;
    transition: all 0.3s;
    cursor: pointer;
}

#menu-button div {
    width: 100%;
    height: 0.1em;
    align-self: center;
    justify-self: center;
    background-color: black;
    transition: all 0.3s;
}

#menu-button:hover {
    background-color: black;
}

#menu-button:hover div{
    background-color: white;
}

main {
    margin-top: 6em;
}

#main-img-container {
    display: grid;
    background-color: gainsboro;
    width: calc(100% - 4em);
    margin: 0em 2em 2em 2em;
    height: calc(100vh - 9em);
    position: relative;
    overflow: hidden;
    align-content: center;
}

#main-img-container p {
    position: absolute;
    align-self: center;
    justify-self: center;
    text-align: center;
    color: white;
    font-size: 4.8em;
    line-height: 0.6em;
    font-family: "Ruthie", cursive;
}

#main-img-container p span {
    font-family: "Urbanist", sans-serif;
    text-transform: uppercase;
    font-size: 0.7em !important;
    font-weight: 200;
    letter-spacing: 0.1em;
}

button {
    color: black;
    border: 1px solid black;
    background-color: white;
    border-radius: 0;
    padding: .5em .8em .5em .8em;
    font-size: 1em;
    width: fit-content;
    height: fit-content;
    cursor: pointer;
}

button:hover {
    background-color: black;
    color: white;
    transition: all 0.3s;
}

#header-contact-button {
    align-self: center;
    justify-self: end;
    margin-right: 2em;
}

#welcome-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-top: 4em;
}

#welcome-img-container {
    background-color: gainsboro;
    width: 60%;
    margin: 6em 0em 0em 0em;
    aspect-ratio: 3/4;
}

@keyframes zoom-in-out {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

form {
    background-color: #555;
    display: grid;
    grid-template-areas: "contact-heading contact-heading contact-heading contact-heading contact-heading"
        "contact-section-left contact-section-left contact-section-right contact-section-right contact-section-right";
    gap: 1em;
    color: white;
    padding: 2em;
}

#contact-heading {
    grid-area: contact-heading;
}

form .section {
    background-color: #555;
    display: grid;
    width: 100%;
    gap: 1em;
    color: white;
}

#contact-section-left {
    grid-area: contact-section-left;
    padding-right: 3.5em;
}

#contact-section-right {
    grid-area: contact-section-right;
    grid-template-areas: "contact-form-firstname contact-form-lastname"
        "contact-form-email contact-form-tel"
        "contact-form-message contact-form-message"
        "contact-form-bottom contact-form-bottom";
}

#sound-animation {
    position: relative;
    display: flex;
    gap: 0.4em;
    align-self: center;
    align-items: center;
    justify-self: center;
    height: 5em; /* Gesamthöhe des Visualizers */
}

#sound-animation div {
    height: 5em;
    width: 0.6em;
    border-radius: 0.3em;
    background-color: gainsboro;
    transform-origin: center;
}

#sound-animation.animate div {
    animation: soundWave 1.5s ease-in-out infinite alternate;
}

#sound-animation div:nth-child(1) { animation-delay: 0s; animation-duration: 1.6s; height: 1em;}
#sound-animation div:nth-child(2) { animation-delay: 0.1s; animation-duration: 1.4s; height: 1.3em;}
#sound-animation div:nth-child(3) { animation-delay: 0.2s; animation-duration: 1.7s; height: 1.8em;}
#sound-animation div:nth-child(4) { animation-delay: 0.3s; animation-duration: 1.3s; height: 3em;}
#sound-animation div:nth-child(5) { animation-delay: 0.4s; animation-duration: 1.8s; height: 2.1em;}
#sound-animation div:nth-child(6) { animation-delay: 0.5s; animation-duration: 1.2s; height: 1.9em;}
#sound-animation div:nth-child(7) { animation-delay: 0.6s; animation-duration: 1.9s; height: 3.2em;}
#sound-animation div:nth-child(8) { animation-delay: 0.7s; animation-duration: 1.1s; height: 5em;}
#sound-animation div:nth-child(9) { animation-delay: 0.8s; animation-duration: 2.0s; height: 4.2em;}
#sound-animation div:nth-child(10) { animation-delay: 0.9s; animation-duration: 1.0s; height: 4.6em;}
#sound-animation div:nth-child(11) { animation-delay: 1.0s; animation-duration: 1.5s; height: 2.8em;}
#sound-animation div:nth-child(12) { animation-delay: 1.1s; animation-duration: 1.7s; height: 2.1em;}
#sound-animation div:nth-child(13) { animation-delay: 1.2s; animation-duration: 1.3s; height: 2.5em;}

@keyframes soundWave {
    0% {
        transform: scaleY(0.1); /* Startet sehr klein */
    }
    50% {
        transform: scaleY(1); /* Wächst auf volle Höhe */
    }
    100% {
        transform: scaleY(0.3); /* Schrumpft wieder etwas */
    }
}

#home-more-container {
    display: grid;
    margin-top: -4em;
    grid-template-columns: 3fr 2fr;
    min-height: calc(80vh + 8em);
    position: relative;
    overflow-x: hidden;
}

#home-sound-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    margin-top: 8em;
    padding: 6em;
}

#home-more-container-background {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    width: 30%;
    z-index: -1;
}


input {
    background-color: transparent; 
    font-size: 1em;
    padding: 0.5em;  
    border-radius: 0.2em;
    outline: none;
    width: 100%;
    height: fit-content;
    color: white;
    border: 1px solid #ffffffaa;
    transition: 0.1s ease;
    z-index: 0;
}

textarea {
    background-color: transparent; 
    font-family: "Urbanist", sans-serif;    
    resize: none;
    font-size: 1em;
    width: 100%;
    padding: 0.5em;  
    border-radius: 0.2em;
    outline: none;
    color: white;
    border: 1px solid #ffffffaa;
    transition: 0.1s ease;
    z-index: 0;
    height: 6em;
}

textarea:focus + .label, 
textarea:not(:placeholder-shown) + .label{
    transform: translate(-15px, -16px) scale(0.88);
}

.formfield-textarea .label {
    align-self: flex-start !important;    
    margin-top: 0.5em;
}

.formfield.error input {
    border: 1px solid red;
}

.error-message {
    display: none;
}

.formfield.error .error-message {
    display: grid;
    color: red;
    padding: 0;
    margin: 0.2em;
    font-size: 0.8em;
}

.label {
    position: absolute;
    font-size: 1em !important;
    color: #ffffffaa;
    align-self: flex-start;
    margin-top: 0.5em;
    pointer-events: none;
    transition: all 0.2s ease-out;
    background-color: #555;
    left: 0.3em;
    padding: 0em 0.2em 0em 0.2em;
}

input:focus + .label, 
input:not(:placeholder-shown) + .label{
    transform: translate(-15px, -16px) scale(0.88);
}



.formfield {
    display: grid;
    position: relative;
}



.zitat p {
    font-family: "Ruthie", cursive;
    font-size: 2em;
    margin: 1.2em 0em 0em 0em;
}

.zitat h4 {
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: 200;
    margin: 0em;
}

.zitat {
    margin-bottom: 4.5em;
}

footer {
    min-height: 40vh;
    background-color: gainsboro;
    margin-top: 5em;
}

h3 {
    text-transform: uppercase;
    font-size: 1.5em !important;
    font-weight: 200;
    letter-spacing: 0.1em;
}

#main-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes move-up-down {
  0% {
    transform: translateY(0); /* Startposition */
  }
  50% {
    transform: translateY(60px); /* 20 Pixel nach oben */
  }
  100% {
    transform: translateY(0); /* Zurück zur Startposition */
  }
}

#welcome-img-container {
    display: flex;
    align-content: center;
    justify-content: center;
    overflow: hidden;
}

#welcome-img-container img {
    margin-top: -20%;
    height: 120%;
    width: 120%;
    animation: zoom-in-out 60s ease-in-out infinite;
    object-fit: cover;
}

#contact-section-left img {
    width: 2em;
    margin-left: 2em;
}

#contact-section-left a {
    color: white;
    text-decoration: none;
    margin-top: -1em;
    margin-left: 2em;
}

#contact-section-left a:hover {
    text-decoration: underline;
}

#kontakt {
    position: absolute;
    top: -8em;
    height: 8em;
    width: 100%;
}

#kontaktformular {
    position: relative;
}

.menu-links-item {
    display: grid; 
    gap: 0em;
}

.menu-links-item p {
    margin: 0em 0em 0em 0em;
    color: #555;
}

#footer-logo {
    position: absolute;
    width: 10em;
    left: calc(50% - 5em);
    top: -1em;
}

footer {
    position: relative;
    overflow: visible;
    display: grid;
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 4em;
    color: black;
    gap: 1em;
    grid-template-areas: "footer-content-left footer-content-middle footer-content-right"
        "footer-content-bottom footer-content-bottom footer-content-bottom";
}

#footer-content-left {
    grid-area: footer-content-left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-right: 10%;
    gap: 0.8em;
    align-content: end;
}

#footer-content-left a {
    color: black;
    font-size: 1.2em;
    text-decoration: none;
}

#footer-content-left a:hover {
    text-decoration: underline;
}

#footer-content-right {
    display: grid;
    gap: 0.1em;
    align-content: end;
    justify-content: end;
    grid-area: footer-content-right;
}

#footer-content-bottom {
    grid-area: footer-content-bottom;
    display: flex;
    width: 100%;
}

#footer-content-bottom p {
    font-size: 0.9em;
}

#footer-content-bottom p a {
    color: black;
    text-decoration: none;
}

#footer-content-bottom p a:hover {
    color: black;
    text-decoration: underline;
}

#footer-content-bottom #copyright {
    width: 50%;
}

#footer-content-bottom #terms {
    width: 50%;
    text-align: end;
}

#jenco-logo {
    width: 7em;
    align-self: center;
    justify-self: center;
}

#footer-content-middle {
    display: grid;
    align-content: end;
    justify-content: center;
}

#social-media-links {
    display: flex;
    width: fit-content;
    height: fit-content;
    gap: 0.5em;
}

#social-media-links a img {
    width: 2.5em;
}

.simple-content {
    margin-left: 2em;
    padding-top: 3em;
    margin-right: 2em;
    margin-bottom: 5em;
}

.simple-content p a {
    text-decoration: none;
    color: black;
}

.simple-content p a:hover {
    text-decoration: underline;
}

.success-message {
    color: green;
}

.success-message p {
    background-color: 	#00800033;
    padding: 0.5em;    
}

.page-error-message {
    color: red;
}

.page-error-message p {
    background-color: 	#80000033;
    padding: 0.5em;    
}

#yt-consent-request-container {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: #000000AA;
    display: none;
    align-content: center;
    justify-content: center;
    padding: 5em;
}

#yt-consent-request-content {
    padding: 2em;
    display: grid;
    background-color: white;
}

#yt-consent-request-content p {
    margin-bottom: 2em;
}

#yt-consent-request-content a {
    color: black;
    text-decoration: none;
}

#yt-consent-request-content a:hover {
    text-decoration: underline;
}

.sound-button {
    border-radius: 100%;
    aspect-ratio: 1/1;
    align-content: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

.songtitle {
    font-weight: bold;
    position: absolute;
    text-shadow: 0px 0px 10px white;
}

.sound-button img {
    width: 2.2em;
    aspect-ratio: 1/1;
    margin: -0.5em;
    align-self: center;
    justify-self: center;
}

.sound-button:hover img {
     filter: invert(100%);
     transition: all 0.3s;
}

#welcome-container-bg-item {
    z-index: -1;
    position: absolute;
    width: fit-content;
    top: 30%;
    height: 80%;
    animation: irregular-rotation 60s cubic-bezier(0.42, -0.2, 0.58, 1.2) infinite;
}

@keyframes irregular-rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#home-sound-container-teaser {
    position: absolute;
    top: calc(50% - 8em);
    left: calc(50% - 18em);
    display: flex;
    align-items: center;
    align-content: center;
    width: fit-content;
    rotate: -12deg;
}

#home-sound-container-teaser p {
    font-family: "Ruthie", cursive;
    font-size: 2em;
}

#home-sound-container-teaser img {
    width: 5em;
    margin-top: 1em;
    height: fit-content;
}

#home-data-and-facts-box {
    width: 60%;
    height: 55%;
    position: relative;
    background-image: url('../img/background-item2.svg');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 4.5em 0.4em 0.4em 1em;
    
}

main {
    min-height: 40vh;
}

#calendar-placeholder {
    display: grid;
    justify-items: center;
    justify-content: center;
}

#calendar-placeholder p {
    text-align: center;
    margin-top: 0em;
}

#calendar-placeholder img {
    width: 5em;
}

