﻿body {
    padding-top: 0px;
    padding-bottom: 20px;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 0;
    padding-right: 0;
    align-content: center;
    width: 100%;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.btn-default {
    color: #303131;
    background-color: white;
    border-color: #303131;
}

    .btn-default:hover {
        transition: color 0.4s ease 0s;
        color: #eee;
        background-color: #303131;
        border-color: #303131;
    }

h1 {
    font-family: "Marcellus", serif;
}

h2 {
    margin: 0.1em;
    letter-spacing: normal;
    line-height: normal;
    color: #303131;
}

p {
    text-align: justify;
}

a {
    color: #8b98a2;
    text-decoration: none;
}

    a:hover {
        color: #303131;
    }


/* MENU */

.menu {
    align-items: center;
    display: inline-flex;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    min-height: 10vh;
    border-bottom: 1px solid #eeeeee;
}

.header {
    justify-content: flex-start;
    display: inline-block;
    margin-top: 2vh;
}

    .header a {
        white-space: nowrap;
        text-transform: uppercase;
        color: #303131;
        text-decoration: none;
        font-family: "Marcellus", serif;
        font-size: 1.8em;
    }

    .header:hover {
        text-decoration: none;
        color: #303131;
    }

.menu-list {
    width: 100%;
}

.list {
    list-style: none;
    width: 100%;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
    margin-bottom: 0px;
}

.list-link {
    width: 100px;
}


.content {
    font-size: 1.2em;
    font-family: 'Open Sans', sans-serif;
    color: #303131;
    background-color: transparent;
}


    .content:hover {
        transition: 0.4s ease 0s;
        color: #8b98a2;
        font-size: 1.3em;
        text-decoration: none;
    }

.menu-switch {
    display:none;
    height: 32px;
    width: 32px;
}

@media screen and (max-width: 1000px) {
    .menu {
        display: block;
        background-color: #fff;
    }

    .list {
        display: block;
    }

    .menu ul {
        padding: 0px;
        margin: 0px;
        height: auto;
    }

        .menu ul li {
            text-align: center;
            border-bottom: 1px solid black;
            background-color: white;
            margin: auto;
        }

    .menu-switch {
        display: inline-flex;
    }

    .list-link {
        width: inherit;
        padding: 15px;
    }

    .content {
        padding: 0;
    }

    .gallery img {
        height: 60vh;
    }
}

/*STOPA*/

.stopa {
    align-items: baseline;
    vertical-align: baseline;
    flex-wrap: wrap;
    width: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
    text-align: right
}

    .stopa h1 {
        text-align: center;
        font-size: 2rem;
        color: black;
    }
    .stopa p{
        text-align: left;
    }

/*FRONT PAGE*/

.cover {
    text-align: center;
    font-weight: 100;
    background-image: url("/images/Header.jpg");
    background-position: center center;
    background-size: cover;
    padding: 20rem 8rem;
    color: white;
    min-height: 90vh;
}

    .cover h1 {
        font-size: 6rem;
        color: rgba(0,0,0,.5);
    }

    .cover h2 {
        font-size: 3rem;
        color: rgba(0,0,0,.5);
    }

/*PRZEPISY*/

.category {
    text-align: center;
    text-transform: uppercase;
}

.food_category {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.food_box {
    text-align: center;
    align-items: baseline;
    width: 324px;
    height: 200px;
    margin: 20px;
    padding: 5px;
    font-size: 16px;
}

    .food_box img {
        object-fit: cover;
        -webkit-border-radius: 10px 10px;
        height: inherit;
    }

        .food_box img:hover {
            box-shadow: 0 4px 3px rgba(0,0,0,.5);
            transition: 0.3s ease 0s;
        }

/* O MNIE */

#about {
    padding: 10px;
    background-color: #f7f7f7;
    margin-bottom: 20px;
}

#one-col{
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items:center;
    align-items:center;
    min-height: 80vh;
}
    #one-col .contact-body p h3 {
        text-decoration: underline;
        font-weight: 500;
    }

.contact-body {
    max-width: 800px;
    line-height: 2;
    align-content:flex-start;
    font-size: 1.5em;
}

#two-cols {
    display: flex;
    flex-direction: row;
    justify-content: center;
    min-height: 80vh;
}

    #two-cols img {
        max-height: 550px;
        max-width: 100vw;
    }

    #two-cols .about-bio p h3 {
        text-decoration: underline;
        font-weight: 500;
    }

.about-bio {
    max-width: 800px;
    line-height: 2;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 1.5em;
}

    .about-bio a {
        text-decoration: underline;
    }

@media(max-width:600px) {
    #about, #two-cols {
        flex-direction: column;
    }

    .about-bio {
        margin-top: 20px;
        line-height: 1.5;
        text-align: left;
    }
}

/*PORTFOLIO*/

.gallery {
    width: 100%;
    display: flex;
    background-color: #fff;
    flex-wrap: wrap;
    justify-content: center;
}

    .gallery img {
        transition: 0.3s ease 0s;
        object-fit: contain;
    }

.sub_gallery {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}

.photo_small {
    height: 40vh;
    max-width:100vw;
    padding: 20px 40px;
}

.photo_big {
    height: 80vh;
    max-width: 100vw;
    padding: 20px;
}

.photo_all {
    height: 80vh;
    max-width: 100vw;
    padding: 10px;
}