*,
html {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

html { font-size: 62.5%; }

body {
    font-size: 1.6rem;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
    text-align: center;
}

section { padding: 1.5rem; }

nav {
    text-transform: uppercase;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.logo { height: 40px; }

.main-nav-box {
    font-size: 1.4rem;
    width: 100%;
    background-color: #00000070;
    padding: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.sub-nav-box {
    font-size: 1.2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: transparent;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 1rem;
}

.main-nav {
    list-style: none;
    display: none;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -ms-flex-pack: distribute;
        justify-content: space-around;
}

.main-nav li a{
    padding: 0.3rem 0;
    color: #ffffff;
}

.main-nav li a:link,
.main-nav li a:visited {
    text-decoration: none;
    padding: 0.3rem;
    border: 1px solid transparent;
    border-radius: 30px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.main-nav li a:hover {
    border: 1px solid #ffffff;
    cursor: pointer;
}

.sub-nav {
    list-style: none;
    display: none;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
    -ms-flex-pack: distribute;
        justify-content: space-around;
}

.sub-nav li { padding: 0.3rem 0; }

.sub-nav li a:link,
.sub-nav li a:visited {
    color: #ffffff;
    text-decoration: none;
    padding: 0.3rem;
    border: 1px solid transparent;
    border-radius: 30px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.sub-nav li a:hover {
    border: 1px solid #ffffff;
    cursor: pointer;
}

#home {
    background-image: url("img/mix-owocow-w-koszyku.jpg");
    height: 100vh;
    background-attachment: fixed;
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    text-transform: uppercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    text-align: center;
}

.hero-box {
    width: 100%;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column wrap;
            flex-flow: column wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;

}

#hero-h1 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 300;
    padding: 1rem 0;
    text-shadow: 2px 2px #000000;
    max-width: 450px;
}

#hero-h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 200;
    padding: 1rem 0;
    text-shadow: 2px 2px #000000;
}

.btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 80px;
    height: 40px;
    border-radius: 100px;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    color: #f9a70f;
}

.btn:hover,
.btn:focus {
    outline: 0;
    color: #fff;
    -webkit-transform: scale(1.2);
            transform: scale(1.2)
}

.btn img {
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 1s;
            transition-duration: 1s;
    -webkit-animation: pulse1 1.6s linear infinite;
            animation: pulse1 1.6s linear infinite;
}

@-webkit-keyframes pulse1 {
    0% { -webkit-transform: translate(0); transform: translate(0); }
    50% { -webkit-transform: translate(0, 10px); transform: translate(0, 10px); }
    100% { -webkit-transform: translate(0); transform: translate(0); }
}

@keyframes pulse1 {
    0% { -webkit-transform: translate(0); transform: translate(0); }
    50% { -webkit-transform: translate(0, 10px); transform: translate(0, 10px); }
    100% { -webkit-transform: translate(0); transform: translate(0); }
}

h1 {
    font-size: 2rem;
    font-weight: 300;
}

h2 {
    width: 100%;;
    font-size: 2rem;
    font-weight: 300;
}

p {
    font-size: 1.4rem;
    text-align: justify;
    padding: 1rem 0;
}

#fruits h1:first-of-type:after,
.img-container:after {
    display: block;
    height: 0.1rem;
    background-color: #f9a70f;
    content: " ";
    width: 10rem;
    margin: 1.5rem auto;
}

.img-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.img-container img {
    width: 48%;
}

#superfruits {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.text-box {
    width: 100%;
    padding: 1rem;
}

#superfruits img {
    width: 100%;
}

#superfruits h2 {
    font-size: 2rem;
}


/*TABLE*/
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2rem;
}

th {
    background: #333333;
    color: white;
}

td, th {
    padding: 0.2rem;
    border: 1px solid #cccccc;
    text-align: left;
}


table, thead, tbody, th, td, tr { display: block; }

thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

tr { border: 1px solid #ccc; }

tr:nth-child(odd) { background: #ccc; }

td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25%;
}

td:before {
    position: absolute;
    top: 4px;
    left: 6px;
    width: 25%;
    padding-right: 10px;
    white-space: nowrap;
}

td:nth-of-type(1):before { content: "Lp."; }

td:nth-of-type(2):before { content: "Nazwa"; }

td:nth-of-type(3):before { content: "Gatunek"; }

td:nth-of-type(4):before { content: "Opis"; }

#types {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.description-box {
    width: 45%;
    padding: 2rem 0;
}

.description-box img { width: 100%; }

.description-text-box { 
    width: 100%; 
    display: -webkit-box; 
    display: -ms-flexbox; 
    display: flex; 
    -webkit-box-align: start; 
        -ms-flex-align: start; 
            align-items: flex-start; }

h3 {
    font-size: 1.4rem;
    font-weight: 500;
    text-align: left;
}

h3::after {
    display: block;
    height: 0.1rem;
    background-color: #f93e0f;
    content: " ";
    width: 7rem;
    margin: 1rem 0 0.5rem 0;
    
}

/*** Mobile Navigation ***/
.mobile-nav-icon {
    cursor: pointer;
}

.mobile-nav-icon i {
    font-size: 200%;
    color: #ffffffff;
}

.sticky-main {
    background-color: #fff;
    padding-bottom: 0;
    border: none;
}


#contact {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    background-color: rgba(128, 128, 128, 0.5);
    padding: 1rem;
}

.footer-box {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.links-box {
    min-width: 40%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.border-box {
    width: 50%;
    border-right: 1px solid rgba(128, 128, 128, 0.644);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.footer {
    font-size: 1.4rem;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start; 
}
    
.footer li {
    padding: 0.5rem;
    color: #000000;
    text-align: left;
}

.footer li a{
    padding: 0.3rem;
    color: #000000;
}

.footer li a:link,
.footer li a:visited {
    text-decoration: none;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid transparent;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.footer li a:hover {
    border-bottom: 1px solid #666666;
    cursor: pointer;
}

#contact-form {
    font-weight: 300;
    font-size: 1.2rem;
    text-transform: uppercase;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

#contact-form::after {
    display: block;
    height: 0.2rem;
    background-color: grey;
    content: " ";
    width: 12rem;
    margin: 3rem auto 0 auto;
}

#contact-form:hover,
#contact-form:focus {
    outline: 0;
    color: #fff;
    -webkit-transform: scale(1.05);
            transform: scale(1.05)
}

#copyrights {
    width: 100%;
    text-align: center;
    margin-top: 0;
}





