@import url("theme.css");
@import url("me.css");
@import url("leistungen.css");
@import url("conatct.css");
@import url("header.css");
@import url("info.css");
@import url("footer.css");
@import url("impressum.css");

html,body {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}

h1,h2,h3,h4 {
   
    text-align: center;
    margin-bottom: 100px;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: white;
}

p {
    line-height: 1.5rem;
    text-align: justify;
    hyphens: auto;
}

ul {
    list-style: none;
}

dialog h1,h2,h3 {
    margin-bottom: 50px;
}

.dialog-ul {
    padding: 0;
    list-style: circle;
    margin: 25px;
}

.dialog-ul li {
    margin: 10px 0;
}

.title-screen {
    top: 0;
    position: fixed;
    z-index: 999;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.scroll-over {
    background-color: white;
    position: relative;
    margin-top: 100vh;
    z-index: 1500;
    box-shadow: -5px -5px 20px 5px rgba(0, 0,0, 0.9);
}

main {
    background-color: white;
}

.line {
    width: 200px;
    height: 1px;
    background-color: darkgray;
    margin: 0px auto 50px;
}

.appear {
    opacity: 0;
    transition-duration: 1s;
}

.appeared {
    opacity: 1;
}

.slide-in {
    position: relative;
    left: -100vw;
    transition-duration: 1s;
}

.slided {
    position: relative;
    left: 0;

}

.main-button {
    background-color: var(--secondary-color);
    border: none;
    border-radius: 10px;
    color: white;
    padding: 10px;
    margin: 10px 0;
    cursor: pointer;
}

/* info dialog */

#infoWrapper {
    outline: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4000;
    background-color: transparent;
    border: none;
    width: 100%;
    height: 100%;
}
#infoBlur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(20, 20, 20, 0.8);
    transition-duration: 0.5s;
}
#infoDialog {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 350px;
    width: 70vw;
    max-height: 70vh;
    padding: 200px 25px 25px 25px;
    border-radius: 16px;
    background-color: white;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    z-index: 4000;
    transition-duration: 0.5s;
    overflow-y: scroll;
    box-sizing: border-box;
}

#infoDialog p {
    margin: 15px 0;
}

#infoDialog #dialogImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
    z-index: 1000;
}

#closeinfoButton {
    position: absolute;
    top: 25px;
    right: 25px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    z-index: 1200;
}

#closeinfoButton img {
    width: 100%;
    height: 100%;
}

#hide {
    width: 100%;
    height: 100vh;
    background-color: var(--background-color-dark);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    color: white;
    padding: 50px;
    box-sizing: border-box;
    display: none;
}

.impressum-main p {
    text-align: center !important;
}
