/* CSS der Unterseiten Impressum und Datenschutzverordnung der Zahnarztpraxis Andrey Samsonov Wuppertal */

* {
    margin: 0;
    padding: 0;
    border: none;
    list-style-type: none;
    text-decoration: none;
}

html {
    font-size: 15px;
    margin-bottom: 10rem;
}

body {
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;   
}

nav#hauptnavi {
    width: 100%;
    height: 2.5rem;
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    padding: 1rem;
    box-shadow:  0 10px 15px lightgray;
}

nav#hauptnavi ul {
    display: grid;
    grid-template-columns: 1fr 7rem 7rem 7rem 7rem 7rem 7rem 1fr;
    column-gap: 1rem;
    justify-items: center;
    margin: 0; 
}

nav ul li#logo_klein img {
    background-color: white;
    width: 6rem;
    height: auto;
    border-bottom-left-radius: 3.5rem;
    border-bottom-right-radius: 3.5rem;
    margin-top: -0.5rem;
}

nav#hauptnavi ul li.nav_mob {
    display: none;
}

nav ul li a {
    display: block;
    padding: 0 1.5rem;
    font-weight: 400;
    transition: font-weight 0.4s ease-in-out;
    
}

nav#hauptnavi ul li a {
    padding: 0.5rem 1.5rem;
}

nav ul li a:hover {
    font-weight: 700;   
}

body > div#wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

body > div#wrapper > section {
    margin-top: 10rem;
    height: auto;   
}

body > div#wrapper > section h2 {
    font-size: 2.5rem;
    padding-bottom: 1.5rem;
}

body > div#wrapper > section h3 {
    font-size: 2rem;
    padding-bottom: 1.5rem;
}

body > div#wrapper > section h4,
body > div#wrapper > section h5,
{
    font-size: 1.75rem;
    padding-bottom: 1.5rem;
}

body > div#wrapper > section p,
body > div#wrapper > section address
{
    padding-bottom: 1.5rem;
}



section#impressum {
    margin-bottom: 5rem;
}

footer {
    position: fixed; 
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4rem;
    background-color: white;
    color: #4772b5;
    text-align: center;
    box-shadow: 0 -10px 15px lightgray; 
}

footer nav#footernavi ul {
    display: grid;
    grid-template-columns: 1fr 7rem 7rem 1fr;
    column-gap: 1rem;
    justify-items: center;
    margin: 0;
}
    
footer nav#footernavi ul li a {
    padding-top: 0.8rem;
}

label.open-menu-label {
		display: none;
	}

input#open-menu {
	display: none;
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    
    
    header figure {
        max-width: 15rem;
        margin: 0 auto;
        }

    header figure svg#logo {
        width: 100%;
        height: auto;
        margin: 1rem auto;
        margin-top: 2rem;
        }
    
   body > div#wrapper > section > div.sect {
    max-width: 67rem;
    margin: 0 2rem;
    } 
    
    body > div#wrapper > section#anfahrt iframe {
        max-width: 48rem;
    }
    
    body > div#wrapper > section {
        padding: 0 1rem 0 1rem;
    }
    
    
}

@media screen and (max-width: 767px) {
    
    header {
        height: auto;
    }
    
    header div#logo_gesamt {
        width: 20rem;
        height: 20rem;
        background: transparent;
        margin: 0 auto;
        }

    header figure {
        max-width: 15rem;
        margin: 0 auto;
    }
    
    header figure svg#logo {
        width: 100%;
        height: auto;
        margin: 1rem auto;
        margin-top: 2rem;
    }
    
    header section#titel {
        width: 17rem;
        padding: 1rem;
        border-radius: 2rem;
        background-color: rgba(255,255,255,0.6);
    }
    
    header section#titel h1, header section#titel h2 {
        text-transform: uppercase;
        font-weight: 400;
        text-align: center;
    }
    
    header section#titel h1 {
        color: #4772b5;
        font-size: 2rem;
        padding-top: 0.8rem;
    }
    
    header section#titel h2 {
        color: #14a1e0;
        font-size: 1.75rem;
        padding-bottom: 0.8rem;
    }
    
    nav {
        padding-left: 0;
    }
    
    nav#hauptnavi {
        display: none;  
    }
    
    input#open-menu {
	    display: none;
    }

    input[type=checkbox]:checked ~ #hauptnavi {
        display: block;
        background-color: white;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
    }
    
    input[type=checkbox]:checked ~ #hauptnavi ul {
        display: block;
        width: 100%;
        background-color: rgba(255,255,255,0.7);
        margin-left: 0;
        padding-left: 0;
    }
    
    input[type=checkbox]:checked ~ #hauptnavi ul li {
        border-bottom: 2px solid #14a1e0;
        padding-left: 3rem;
        text-align: right;
    }
    
    input[type=checkbox]:checked ~ #hauptnavi ul li img {
        display: none;
    }
    
    input[type=checkbox]:checked ~ #hauptnavi ul li#logo_klein span {
        display: block;
    }
	
    label.open-menu-label {
	    background: white;
        width: 2.5rem;
	    padding: 20px 30px;
	    border: none;
	    display: block;
        font-size: 2.2em;
        color: #14a1e0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        border-bottom-right-radius: 2rem;
    }
    
    body > div#wrapper > section {
        padding: 0 1rem 0 1rem;
    }
    
}