/* Font */

@font-face {
    font-family: 'kumbh_sansregular';
    src: url('./fonts/kumbhsans-variablefont_yopqwght-webfont.woff2') format('woff2'),
         url('./fonts/kumbhsans-variablefont_yopqwght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
  font-family: 'kumbh_sansregular', sans-serif;
}

/* Variablen */

:root {
    --color-logopink: rgb(238,42,123);
    --color-logopurple: rgb(134,76,158);
    --color-logoblue: rgb(33,64,154);
    --color-logogrey: rgb(68,73,86);
    --color-bgdark: rgb(35,31,32);
    --color-silver: rgb(190,196,211);
    --gradient-logocolors: linear-gradient(61deg, var(--color-logopink) 0%, var(--color-logopurple) 60%, var(--color-logoblue) 100%);
}


/* CSS reset */

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

#root, #__next {
  isolation: isolate;
}


/* main */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: var(--gradient-logocolors);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.impressum {
    margin: 2em 10%;
    height:auto;
    display:block;
    background: white;
}

.impressum p {
    margin-bottom: 1rem;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 20px;
    height: 85%;
    box-shadow: 10px 10px 44px -2px rgba(0,0,0,0.27);
    /*
    min-height: fit-content;
    min-width: fit-content;*/
}

iframe {
    margin-top: 0.5em;
}

.zentriert {
    text-align: center;
}

 /* Extra small devices (phones, 600px and down) */
@media screen and (width < 600px) {
    .card {
        border-radius: 0;
        width: 100%;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media screen and (width >= 600px) {
    .card {
        border-radius: 10px;
        width: 80%;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media screen and (width >= 768px) {
    .card {
        border-radius: 10px;
        width: 80%;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media screen and (width >= 992px) {
    .card {
        border-radius: 20px;
        width: 50%;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media screen and (width >= 1200px) {
    .card {
        border-radius: 20px;
        width: 50%;
    }
} 

@media screen and (height <= 870px) {
    body {
        justify-content: flex-start;
    }
    
    .card {
        height: fit-content;
        max-height: 90%;
        justify-content: flex-start;
        padding-top: 10px;
        border-radius: 0;
    }
    .header-logo img {
    max-height: 100%;
    max-width: 100%
    }
    .header-logo {
    margin: 0;
    height: 15%;
    }
    
}

@media screen and (height < 850px) {
    body {
        height: fit-content;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

h2 {
    text-align: center;
    font-size: 2em;
    font-weight: 1000;
    color: var(--color-logogrey);
}

.borderless-button {
    box-sizing: border-box;
    background-color: var(--color-logopink);
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
    height: 1.75em;
    width: fit-content;
    padding: 2px 20px 6px;
    transition-duration: 0.5s;
}

.borderless-button:hover {
    background-color: white;
    color: var(--color-logoblue);
    cursor: pointer;
    transition-duration: 0.5s;
}

.border-button {
    box-sizing: border-box;
    color: white;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid white;
    border-radius: 10px;
    text-align: center;
    height: 1.75em;
    width: fit-content;
    padding: 2px 20px 6px;
    transition-duration: 0.5s;
}

.border-button:hover {
    background-color: white;
    color: var(--color-logopink);
    cursor: pointer;
    transition-duration: 0.5s;
}   

.header {
    background: var(--gradient-logocolors);
    box-sizing: border-box;
    width: 100%;
    padding: 10px 200px 70px 200px;
}

.nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.header-logo {
    width: 400px;
    max-width: 100%;
    margin: 20px;
}

.header-logo img {
    width: 100%;
}

.nav-links {
    font-size: 18px;
    color: var(--color-silver);
}

.nav-links ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.header-banner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-text, .hero-img {
    flex: 1;
}

.hero-text h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 1000;
    color: white;
    line-height: 50px;
}

.hero-text p {
    margin: 10px 0;
    font-size: 18px;
    color: var(--color-silver);
    line-height: 1.2;
}

.hero-img {
    max-width: 300px;
    height: auto;
}

.content-block {
    padding: 20px 0; 
    width: 100%;
    box-sizing: border-box;
}

.contact-info {
    list-style-type: none;
    padding: 0px;
    line-height: 180%;
    font-size: medium;
    text-align: center;
}


.contact-info svg {
    display: inline-block;
    height: 1.5rem;
    width: 1.5rem;
    color: var(--color-logopink);
    fill: currentColor;
}

.contact-info li {
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
    text-align: start;
}

.contact-info a {
    display: block;
    position: relative;
    overflow: hidden;
}

.contact-info a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.15em;
    background-color: var(--color-logopink);
    transition: opacity 300ms, transform 300ms;
    opacity: 1;
    transform: translate3d(-100%, 0, 0);
}

.contact-info a:hover::after,
.contact-info a:focus::after{
  transform: translate3d(0, 0, 0);
}

.adress {
    line-height: 150%;
}

.info {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
}

.info-item {
    width: 150px;
    text-align: center;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item-img {
    display: block;
    width: 100px;
    height: auto;
    margin-bottom: 10px;
    object-fit: scale-down;
}

.call-to-action {
    background-color: var(--color-logopink);
    color:white;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 20px 50px;
    margin: 50px auto 0;
    width: 50%;
}

.call-to-action p {
    margin: 0;
}

.call-to-action h3 {
    margin: 0;
}

.footer {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: none;
    color: white;
    font-size: small;
}