@font-face { font-family: Text; src: url(fonts/text.ttf);}
@font-face { font-family: Title; src: url(fonts/title.ttf); }

* { font-family: Text, Verdana, Geneva, Tahoma, sans-serif; margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; scrollbar-width: thin;}

body {
    background-color: #080806;
    margin: 0; padding: 0;
}

nav {
    width: 100%;
    height: 80px;
    background-color: #1e1e24;
    border: solid 3px #1a1a1c;
    margin: 0;
    position: fixed;
    z-index: 3;
}
nav ul {
    display: flex;
    height: 80px;
    align-items: center;
}
nav ul li {
    list-style-type: none;
    text-align: center;
    width: 20%;
    font-size: 1.4em;
}
nav ul li:nth-child(1) { font-size: 25px; margin: 0; }
nav ul li img { display: block; width: 80%; padding-left: 20%; padding-top: 5px;}
nav a {
    color: #EAE0D5;
    text-decoration: none;
    display: block;
    padding: 5px;
}
nav a:hover { 
    color: #C6AC8F;
    background-color: #5E503F;
    border-radius: 5px;
}

header { 
    clear: both;
    padding: 0; 
    height: 620px; 
    padding-top: 70px; 
    background: linear-gradient(to right, #0A0908, #0d0d14);
}
header div {
    display: flex;
    float: left;
    width: 60%;
    margin-left: 5%;
    flex-direction: column;
}
header h1 {
    margin: 2em auto 0.3em;
    font-size: 3.4em;
    font-family: Title, Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    letter-spacing: 5px;
    color: white;
}
header h2 {
    font-size: 1.3em;
    letter-spacing: 1px;
    text-align: center;
    color: #EAE0D5;
    font-family: Title, Georgia, 'Times New Roman', Times, serif;
}
header p { 
    margin-top: 100px; 
    margin-left: -30px;
    text-align: center;
    letter-spacing: 2px;
    color: #C6AC8F; 
    opacity: 70%;
}
#photo {
    float: right;   
    height: 550px;
    margin: 0;
    opacity: 50%;
}
#kwiatki {
    position: relative; 
    top: 20px;
    width: 170px;
}

hr {
    border: solid 1px #C6AC8F;
}

section:nth-child(1) { clear: both; }
section {
    width: 80%;
    height: 700px;
    margin: 250px 10%;
    padding: 15px 20px;
    background-color: #1e1e24;
    box-shadow: 10px 10px 5px #242428;
    transition: 0.3s;
    text-align: justify;
}
section:hover {
    box-shadow: 10px 10px 7px #353537;
    transform: scale(1.02);
}
section p {
    width: 80%;
    margin-left: 10%;
    font-size: 20px;
    padding: 10px;
    border-radius: 20px;
    color: #EAE0D5;
    line-height: 30px;
}
section ul li {
    width: 80%;
    margin-left: 10%;
    list-style-type: disc;
    list-style-position: inside;
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 20px;
    color: #EAE0D5;
    line-height: 20px;
}
section h3 {
    text-align: center;
    font-size: 30px;
    border-bottom: double 1px #5E503F;
    margin-bottom: 30px;
    color: #C6AC8F;
}
section img {
    width: 60%;
    display: block; 
    margin: auto;
    margin-top: -70px;
}
section:nth-child(2) { height: 450px;}
section:nth-child(4) {
    height: 500px;
    text-align: center;
}
span, span a { color: #C6AC8F;}
#znicze {
    position: absolute; 
    margin-top: -330px;
    margin-left: 550px;
    float: right;
    width: 300px;
    opacity: 50%;
}
#kwiatkiKontakt {
    position: absolute; 
    margin-top: -5px;
    margin-left: -100px;
    float: left;
    width: 250px;
    opacity: 50%;
}

h5 {
    color: #C6AC8F;
    font-style: italic;
    width: 90%; 
    display: block; 
    margin: -100px 5% 100px;
    padding: 25px 100px;
    font-size: 1.7em;
    text-align: center;
}

footer {
    clear: both;
    height: 150px;
    color: #EAE0D5;
    background-color: #1e1e24;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px auto;
}
footer div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
h4 {
    font-family: Title, Georgia, 'Times New Roman', Times, serif;
    letter-spacing: 2px;
    color: #C6AC8F;
}
footer div:nth-child(1) {
    font-size: 1.3em;
    letter-spacing: 10px;
    color: #5E503F;
}