/* CSS der Website der Zahnarztpraxis Andrey Samsonov Wuppertal */

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

html {
    box-sizing: border-box;
    font-size: 15px;
    height: 100vh;
    scroll-behavior: smooth;
    scroll-behavior: -webkit-smooth;
    scroll-behavior: -moz-smooth;
}

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

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

header {
    background-color: transparent; 
    background-image: url('../img/andrey_1.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: calc(100vh - 11.4666667rem);
    height: 100vh;
    padding-top: 6.5rem;
}

header div#logo_gesamt {
    width: 45rem;
    height: 35rem;
    margin: 0 auto;
    background-color: rgba(255,255,255,0.7);
    border-radius: 50%;
}

header figure {
    max-width: 20rem;
    margin: 0 auto;
}

header figure svg#logo {
    width: 100%;
    height: auto;
    margin: 1rem auto;
    margin-top: 2rem;
}

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: 3rem;
}

header section#titel h2 {
    color: #14a1e0;
    font-size: 2.8rem;
    font-weight: 200;
}

nav#hauptnavi {
    margin: 0 auto;
    height: 4.5rem;
    width: 100%;
    background: white;
    /* position: -webkit-sticky;
    position: -moz-sticky; */
    position: fixed;
    z-index: 1000;
    padding: 1rem;
    top: 0;
}

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

/*nav#hauptnavi ul li {
    height: 30px;
}*/

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 ul li#logo_klein span {
    display: none;
}

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

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

nav ul li a, 
nav ul li a:active, 
nav ul li a:hover, 
nav ul li a:visited, 
nav ul li a:focus {
    color: #4772b5;
}

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

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


body > div#wrapper > section {
    display: flex;
    flex-flow: column;
    justify-content: center;
    grid-template-columns: auto 960px auto;
    height: 100vh;   
}

body > div#wrapper > section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    padding-bottom: 1.5rem;
    color: #14a1e0;
    z-index: 1000 !important;
}

body > div#wrapper > section p,
body > div#wrapper > section a,
body > div#wrapper > section table,
body > div#wrapper > section address,
body > div#wrapper > section ul li
{
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 200;
    line-height: 160%;
    color: white;
    /* color: #4772b5; */
    /* background-color: rgba(255,255,255,0.6);
    padding: 1rem;
    border-radius: 1rem; */
}

body > div#wrapper > section table {
    background-color:  rgba(255,255,255,0.7);
    padding: 1rem;
    border-radius: 2rem;
}

body > div#wrapper > section table tr td {
    color: #4772b5;
    padding: 0.3rem;
}

body > div#wrapper > section > div.sect > address a {
    /* color: #4772b5; */
    color: white;
}

body > div#wrapper > section > div.sect {
    max-width: 67rem;
    margin: 0 auto;
}

body > div#wrapper > section#team,
body > div#wrapper > section#zeit,
body > div#wrapper > section#anfahrt
{
    background: #14a1e0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;   
}

body > div#wrapper > section#team h2,
body > div#wrapper > section#zeit h2,
body > div#wrapper > section#anfahrt h2
{
    color: #4772b5;
}

body > div#wrapper > section#leistungen,
body > div#wrapper > section#kontakt
{
   background: #4772b5;
    color: #14a1e0; 
}

body > div#wrapper > section#team {
    background-image: url('../img/andrey_2_satt.jpg');
    z-index: 1;
}

body > div#wrapper > section#zeit {
    background-image: url('../img/andrey_3.jpg');
}

body > div#wrapper > section#anfahrt {
    background-image: url('../img/andrey_4.jpg');
}

.andrey {
    grid-area: andrey;
}

.sabrina {
    grid-area: sabrina;
}

.simone {
    grid-area: simone;
}

.laura {
    grid-area: laura;
}

body > div#wrapper > section#team div#bilder {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
    ". andrey ."
    "sabrina simone laura";
    grid-column-gap: 1rem;
    grid-row-gap: 2rem;
}

body > div#wrapper > section#team figure img {
    width: 80%;
    max-width: 13rem;
    height: auto;
    border: 0.5rem solid #14a1e0;
    border-radius: 50%;
}

body > div#wrapper > section#team figure figcaption {
    text-align: center;
    color: white;
    font-style: italic;
}

body > div#wrapper > section#leistungen ul {
    padding-left: 2rem;
}

body > div#wrapper > section#leistungen ul li {
    list-style-type: circle;
    list-style-position: inside;
    padding-left: 2rem;
}

body > div#wrapper > section#anfahrt iframe {
    border: 5px solid #14a1e0;
    border-radius: 2rem;
    -webkit-border-radius: 2rem !important;
    margin-top: 1rem;
}

footer {
    position: fixed;
    z-index: 1; 
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4rem;
    background-color: white;
    color: #4772b5;
    text-align: center;
}

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

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

input#open-menu {
	display: none;
}

/* ---------- Einstellungen für Tablet Landscape max. 1024px ----------- */

@media screen and (min-width: 769px) and (max-width: 1024px) {
    
    header {
    background-attachment: scroll;
    height: 100vh;
    padding-top: 7.5rem;
    }
    
    header div#logo_gesamt {
        width: 35rem;
        height: 30rem;
        margin: 0 auto;
        background-color: rgba(255,255,255,0.7);
        border-radius: 50%;
        }
    
    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 {
        display: flex;
        flex-flow: row;
        justify-content: top;
        height: 100vh;
        padding: 0 1rem 0 1rem;
        padding-top: 7.5rem;
    }
    
   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#team,
    body > div#wrapper > section#zeit,
    body > div#wrapper > section#anfahrt
    {
        background: #14a1e0;
        background-color: transparent;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: auto 100%; 
    }
    
    body > div#wrapper > section#team {
        background-image: url('../img/andrey_2.jpg');
        }
    
    body > div#wrapper > section#zeit {
        background-image: url('../img/andrey_3.jpg');
        }
    
    body > div#wrapper > section#anfahrt {
        background-image: url('../img/andrey_4.jpg');
        }
    
}

/* ---------- Einstellungen für Smartphone und Tablet Portrait max. 768px ----------- */


@media screen and (max-width: 768px) {
    
    body {
        height:100%;
        overflow: scroll;
        -webkit-overflow-scrolling: touch;
    }
    
    header {
        background-color: transparent; 
        background-image: url('../img/andrey_1_mobile.jpg');
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: cover;
        height: 100vh;
        padding-top: 7.5rem;
        }
    
    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);
        margin: 0 auto;
    }
    
    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;  
    }
    
    nav#hauptnavi ul li.nav_mob {
    display: block;
}
    
    input#open-menu {
	    display: none;
    }

    input[type=checkbox]:checked ~ #hauptnavi {
        display: block;
        background-color: transparent;
        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: 4rem;
	    padding: 0.5rem 0.5rem 1rem 1rem;
	    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 {
        display: flex;
        flex-flow: row;
        justify-content: top;
        height: 100vh;
        padding: 0 1rem 0 1rem;
    }
    
    body > div#wrapper > section h2 {
        padding-left: 4rem;
    }
    
    body > div#wrapper > section#anfahrt iframe {
        max-width: 20rem;
    }
    
    body > div#wrapper > section#team div#bilder {
        display:block;
    }
    
    body > div#wrapper > section#team figure {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-column-gap: 1rem;
    grid-row-gap: 2rem;
    margin-bottom: 2rem;
    }

    body > div#wrapper > section#team figure img {
    width: 6rem;
    height: auto;
    border: 0.25rem solid #14a1e0;
    border-radius: 50%;
    }
    
    body > div#wrapper > section#team,
    body > div#wrapper > section#zeit,
    body > div#wrapper > section#anfahrt
    {
        background: #14a1e0;
        background-color: transparent;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: cover; 
    }
    
    body > div#wrapper > section#team {
        background-image: url('../img/andrey_2_mobile.jpg');
        }
    
    body > div#wrapper > section#zeit {
        background-image: url('../img/andrey_3_mobile.jpg');
        }
    
    body > div#wrapper > section#anfahrt {
        background-image: url('../img/andrey_4_mobile.jpg');
        }

    body > div#wrapper > section#leistungen ul li {
        font-size: 1.2rem;
    }

    body > div#wrapper > section#zeit table td {
        font-size: 1.2rem;
    }
    
    footer {
        display: none;
    }
}

@media screen and (max-width: 768px) and (orientation: portrait) {
    
    
    
    header {
    background-color: transparent; 
    background-image: url('../img/andrey_1_mobile.jpg');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    height: 100vh;
    padding-top: 3.5rem;
    }
    
    body > div#wrapper > section#team,
    body > div#wrapper > section#zeit,
    body > div#wrapper > section#anfahrt
    {
        background: #14a1e0;
        background-color: transparent;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: cover; 
    }
    
    body > div#wrapper > section#team {
        background-image: url('../img/andrey_2_mobile.jpg');
        }
    
    body > div#wrapper > section#zeit {
        background-image: url('../img/andrey_3_mobiles.jpg');
        }
    
    body > div#wrapper > section#anfahrt {
        background-image: url('../img/andrey_4_mobile.jpg');
        }
    
    div.sect h2 {
        margin-top: 1.5rem;
    }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
    
    /*
    header {
    background-color: transparent; 
    background-image: url('../img/andrey_1.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 100vh;
    padding-top: 0rem;
    }
    
    header figure {
    max-width: 8rem;
    margin: 0 auto;
}
    
    body > div#wrapper > section#team,
    body > div#wrapper > section#zeit,
    body > div#wrapper > section#anfahrt
    {
        background: #14a1e0;
        background-color: transparent;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: 100% auto; 
    }
    
    body > div#wrapper > section#team {
        background-image: url('../img/andrey_2_mobile.jpg');
        }
    
    body > div#wrapper > section#zeit {
        background-image: url('../img/andrey_3_mobile.jpg');
        }
    
    body > div#wrapper > section#anfahrt {
        background-image: url('../img/andrey_4_mobile.jpg');
        }
    */
    body {
        height: 100vw;
        transform: rotate(90deg);
    }   
}