html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Work Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-align: left;
    color: #444;
}

a {
    text-decoration: none;
    color: #444;
}

header {
    overflow: hidden;
    position: fixed;
    height: 70px;
    top: 0;left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 100;
    -webkit-box-shadow: 0px 9px 23px -20px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 9px 23px -20px rgba(0,0,0,0.75);
    box-shadow: 0px 9px 23px -20px rgba(0,0,0,0.75);
    transition: 1s ease;
}
header h1 {
    font-size: 1.6em;
    font-weight: normal;
    margin: 20px 5px 0;
    display: inline-block;
    width: 60%;
    position: fixed;
}


nav {
    float: right;
    margin: 0.5em 20px;
}
nav ul {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    float: left;
    padding: 20px 30px;  
}
nav ul li a {
    font-size: 1.2em;
    color: #444;
}
nav ul li a:hover {
    color: #000;
}

#slider {
    width: 100%;
}
#slider .wrap {
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: 1s ease;
}
#slider img {
    display: none;
    max-width: 100%;
}

.container {
    width: 70%;
    margin: 20px auto 80px;
    overflow: hidden;
}
.container h2 {
    font-size: 2.5em;
}
.container img {
    max-width: 100%;
}

.right {
    float: right;
}

.left {
    float: left;
}

#o-nas, #kontakt {
    padding-top: 50px;
    margin-top: -50px;
}

.family {
    height: 50px;
    margin: 5px 20px -10px;
}

#map {
    width: 100%;
    height: 600px;
}

.fotel {
    height: auto;
    shape-outside: url('/img/fotel.png');
    shape-margin: 1em;
}

header .nav-open {
    display: none;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 10px 15px 0 0;
    cursor: pointer;
    background: none;
    border: none;
    float: right;
}
header .nav-open span {
    background-color:#444;
    width: 100%;
    height: 2px;
    margin: 6px 0;
    display: block;
    float:left;
    -webkit-box-shadow: 0px 0px 1px 1px rgba(255,255,255,0.5);
    -moz-box-shadow: 0px 0px 1px 1px rgba(255,255,255,0.5);
    box-shadow: 0px 0px 1px 1px rgba(255,255,255,0.5);
}

.visible {
	transition: 4s ease !important;
	opacity: 1 !important;
}

.invisible {
	transition: 1s ease !important;
	opacity: 0 !important;
}

.motto {
	margin: 0 auto;
    text-align: center;
	padding-top: 8em;
}
.motto span {
	font-family: Allura, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 4em;
	color: #fff;
}
.motto span:nth-child(2) {
	margin-left: 1em;
}
.motto span:nth-child(3) {
	margin-left: 1em;
}
.motto span:nth-child(4) {
	margin-left: 3em;
}
.motto span:nth-child(5) {
	margin-left: 5em;
}


@media (max-width: 1200px) {
    .fotel {
        shape-outside: none;
    }
	.motto span {
		font-size: 3em !important;
	}
}

@media (max-width: 1024px) {
    .fotel {
        shape-outside: none;
    }
    header .nav-open {
        display: block;
    }
    header nav {
        display: none;
    }
    header h1 {
        font-size: 1.2em;
        width: 80%;
        margin: 25px 5px 0;
    }
    header.expanded {
        height: 250px;
    }
    header.expanded nav {
        display: block;
        margin: 70px auto;
        width: 100%;
        float: none;
    }
    header.expanded nav ul li {
        width: 100%;
        padding: 10px;
        text-align: center;
        font-size: 1.6em;
    }
	
	.motto span {
		font-size: 2.5em !important;
	}
}


@media (max-width: 500px) {
    header h1 {
        width: 50%;
        margin: 5px 5px 0;
    }
    .family {
        margin: 5px 20px -30px;
    }
	.motto span {
		font-size: 2em !important;
	}
}