html {
    font-size: 20px;
}

@media screen and (min-width: 320px) {
    html {
        font-size: 15px;
    }
}

@media screen and (min-width: 800px) {
    html {
        font-size: 17px;
    }
}

@media screen and (min-width: 1040px) {
    html {
        font-size: 20px;
    }
}

body {
    margin: auto;
    font-family: "Poppins", sans-serif;
    color: #30312b;
    line-height: 1;
    width: 100%;
    max-width: 1200px;
}

h1 {
    margin-top: 0;
}

h2 {
    margin-top: 0;
}

p {
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
}

a:link {
    text-decoration: none;
}

a:active {
    text-decoration: none;

    text-decoration-color: none;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 6px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

header {
    width: 100%;
    display: block;
}

.header-photo {
    box-shadow: 6px 0px 20px 0px rgba(0, 0, 0, 0.1);
    width: 100%;
    min-height: 65px;
}

.header-logo-set {
    width: 100%;
    max-width: 1200px;
    height: 11vw;
    min-height: 70px;
    max-height: 135px;
    display: flex;
    flex-direction: row;
    margin-top: 5vw;
    margin-bottom: 1.5vw;
}

.ewa-photo {
    margin: 0 0 0 3vw;
    width: 9.5vw;
    min-width: 57px;
    max-width: 115px;
    height: 100%;
    min-height: 70px;
    max-height: 135px;
}

.logo-photo {
    width: 33vw;
    min-width: 204px;
    max-width: 400px;
    height: 8.5vw;
    min-height: 52px;
    max-height: 105px;
    margin: 0 0 2vw 15vw;
}

.search-belt {
    display: flex;
}

/* tutaj zaczyna się CSS do GÓNEGO PASKA KONTAKTU */

.contact-menu {
    width: 100%;
    max-width: 1200px;
    background: #30312b;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-menu-item {
    width: 12.5vw;
    max-width: 150px;
    min-width: 90px;
    height: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: #9e9e9e;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

@media screen and (min-width: 800px) {
    .contact-menu-item:hover {
        font-weight: 500;
        color: #efefef;
    }
}

/* tutaj kończy się CSS do GÓNEGO PASKA KONTAKTU */

/* tutaj zaczyna się CSS do NAWIGACJI */

.main-menu {
    width: 100%;
    max-width: 1200px;
    border-top: 2px solid #30312b;
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
}

.main-menu-item {
    width: 12.5vw;
    max-width: 150px;
    min-width: 90px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: #7f7f7f;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.dropdown ul {
    width: 300px;
    background: #e0e0e0;
    border-top: 1px solid #30312b;
    list-style-type: none;
    display: none;
    margin-top: 0;
    padding-top: 0.4rem;
    padding-left: 0.8rem;
    position: absolute;
}

.main-menu ul li {
    line-height: 1.2;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    color: #7f7f7f;
}

@media screen and (min-width: 800px) {
    .tales img {
	 width: 100%;
	 height: auto;
	 margin: 2rem 0;
				        }
    .main-menu {
        justify-content: center;
        background: #e0e0e0;
    }

    .main-menu-item:hover {
        font-weight: 600;
        color: #575750;
    }

    .dropdown:hover ul {
        display: block;
    }

    .right {
        margin-left: -150px;
    }

    .main-menu ul li:hover {
        font-weight: 600;
        color: #575750;
    }
}

@media screen and (max-width: 799px) {
    .dropdown ul {
        display: none;
    }

    .main-menu {
        justify-content: space-around;
        display: flex;
    }

    .main-menu-item {
        width: 12.5vw;
        max-width: 150px;
        min-width: 90px;
        height: 80%;
        background: #e0e0e0;
        margin-left: 0.1rem;
        margin-right: 0.1rem;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }
}

/* tutaj kończy się CSS do NAWIGACJI */

.text-smaller {
    font-size: 0.65rem;
}

/* tutaj zaczyna się CSS do OSTATNIO DODANE */

.last-added {
    margin-top: 30px;
    background: #efefef;
    border-bottom: 1px solid #30312b;
    padding-top: 8px;
    padding-bottom: 4px;
    padding-left: 15px;
    font-size: 0.65rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.last-added-selection-miniature {
    width: 92%;
    max-width: 1104px;
    margin: 2% auto;
    height: 16vw;
    max-height: 192px;
    min-height: 150px;
    display: flex;

    margin-top: 5%;
    padding: 0;
    box-shadow: -6px 10px 10px 0px rgba(0, 0, 0, 0.2);
    color: #7f7f7f;
}

.last-added-selection-miniature img {
    border-top-right-radius: 10% 10%;
    width: 16vw;
    height: 16vw;
    max-width: 192px;
    max-height: 192px;
    min-width: 150px;
    min-height: 150px;
}

.last-added-selection-miniature-textarea {
    width: 76vw;
    max-width: 912px;
    height: 16vw;
    max-height: 192px;
    min-height: 150px;
    padding-left: 0.25rem;
    display: flex;
    flex-direction: column;
}

.last-added-text-wrap {
    height: 80%;
    overflow: hidden;
    white-space: wrap;
    line-height: 1.2;
}

.last-added-text-wrap p {
    text-align: justify;
}

.last-added-selection-miniature-textarea h2 {
    font-size: 1.2rem;
}

.last-added-selection-miniature-textarea h2:hover {
    color: #575750;
}

.last-added-see-more {
    height: 20%;
    font-size: 0.65rem;
    text-align: right;
    padding-right: 0.4rem;
    padding-bottom: 0.4rem;
    text-decoration: underline;

    display: flex;
    flex-direction: column;
    justify-items: end;
    justify-content: end;
}

/* tutaj kończy  się CSS do OSTATNIO DODANE */

.second-menu {
    margin-top: 30px;
    background: #efefef;
    padding-top: 8px;
    padding-bottom: 4px;
    padding-left: 15px;
    font-size: 0.65rem;
}

.item-bold {
    letter-spacing: 2px;
    font-weight: 600;
}

/* tutaj zaczyna się CSS do podstrony KONTAKT */

.contact-area-wrapper {
    width: 92%;
    max-width: 1104px;
    margin: 3.5rem auto 1.2rem auto;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0px;
}

.text-contact {
    display: flex;
    line-height: 1.5;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.right-stripe-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 800px) {
    .text-contact {
        width: 50vw;
        max-width: 600px;
        min-width: 320px;
    }

    .right-stripe-contact {
        width: 37.5vw;
        max-width: 450px;
        min-width: 320px;
    }

    .contact-photo {
        width: 20vw;
        height: 30vw;
        max-width: 234px;
        max-height: 350px;
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 799px) {
    .text-contact {
        width: 90vw;
    }

    .right-stripe-contact {
        width: 90vw;
    }

    .contact-photo {
        width: 100vw;
        object-fit: cover;
        max-width: 234px;
        max-height: 350px;
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

/* tutaj kończy się CSS do podstrony KONTAKT */

/* tutaj zaczyna się CSS do podstrony O MNIE */

.about-me {
    width: 92%;
    max-width: 1104px;
    margin: 2% auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-me p {
    margin: 2rem auto auto auto;
    text-align: justify;
    text-indent: 2rem;
    line-height: 1.2rem;
}

.about-me h5 {
    margin: 0 auto 2.5vw auto;
    border-bottom: 2px solid #7f7f7f;
    line-height: 2rem;
}

.work-in-progress {
    width: 100vw;
    height: 75vw;
    max-width: 1100px;
    max-height: 825px;
    margin-top: 50px;
    margin-bottom: 50px;
}

@media screen and (min-width: 800px) {
    .about-me-mainphoto {
        width: 20vw;
        height: 30vw;
        max-width: 234px;
        max-height: 350px;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .about-me-photo {
        margin: 2rem 1rem 0 1rem;
        width: 37.5vw;
        height: 55vw;
        max-width: 450px;
        max-height: 660px;
        min-width: 320px;
        min-height: 470px;
        float: left;
    }

    .notatki-photo {
        margin: 2rem 1rem 0 1rem;
        width: 50vw;
        height: 50vw;
        max-width: 600px;
        max-height: 600px;
        float: right;
    }
}

@media screen and (max-width: 799px) {
    .about-me-mainphoto {
        width: 100vw;
        object-fit: cover;
        max-width: 234px;
        max-height: 350px;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .about-me-photo {
        margin: 2rem auto auto auto;
        width: 100vw;
        height: 146vw;
        max-width: 450px;
        max-height: 660px;
        object-fit: cover;
    }

    .notatki-photo {
        margin: 2rem auto auto auto;
        width: 100vw;
        height: 100vw;
        max-width: 450px;
        max-height: 450px;
        object-fit: cover;
    }

    .about-me p {
        width: 92%;
    }
}

/* tutaj kończy się CSS do podstrony O MNIE */

/* tutaj zaczyna się CSS do unikatowej części strony głównej */

.category-selection-wrapper {
    width: 92%;
    max-width: 1104px;
    margin: 2% auto;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
}

.category-miniature {
    width: 35vw;
    max-width: 280px;
    min-width: 155px;
    height: 35vw;
    max-height: 280px;
    min-height: 155px;
    border-top-right-radius: 10% 10%;
    margin-top: 4vw;
    box-shadow: -6px 10px 20px 0px rgba(0, 0, 0, 0.1);
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
}

.category-title-miniature {
    font-size: 1.2rem;
    line-height: 2rem;
    margin: 0px;
    padding: 0px;
    background-color: rgba(255, 255, 255, 0.6);
}

.ginger-miniature {
    width: 92vw;
    max-width: 1104px;
    height: 35vw;
    max-height: 280px;
    min-height: 155px;
    border-radius: 1.4rem 1.4rem 1.4rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    justify-items: stretch;
    text-align: center;
    margin-top: 22vw;
    box-shadow: -6px 10px 20px 0px rgba(0, 0, 0, 0.1);
    background-size: cover;
}

.ginger-title-miniature {
    font-size: 1.2rem;
    line-height: 2rem;
    background-color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 0px;
    letter-spacing: 5px;
}

.ginger-title-miniature-symbol {
    font-size: 1.2rem;
    line-height: 2rem;
    letter-spacing: 5px;
    display: inline-block;
}

@media screen and (min-width: 800px) {
    .category-miniature:hover {
        box-shadow: -6px 10px 10px 0px rgba(0, 0, 0, 0.2);
        .category-title-miniature {
            font-weight: 500;
            letter-spacing: 3px;
        }
    }

    .ginger-miniature:hover {
        box-shadow: -6px 10px 10px 0px rgba(0, 0, 0, 0.2);
        .ginger-title-miniature {
            font-weight: 500;
            line-height: 200px;
            letter-spacing: 5px;
            margin-bottom: 40px;
        }
    }
}

@media screen and (max-width: 799px) {
    .ginger-title-miniature-symbol {
        display: none;
    }
}

/* tutaj kończy się CSS do unikatowej części strony głównej */

/* tutaj zaczyna się CSS do unikatowej części podstron kategoria dania (tj. wyboru pojedynczego przepisu)*/

.recipe-selection-wrapper {
    width: 92%;
    max-width: 1104px;
    margin: 2% auto;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
}

.recipe-selection-miniature {
    width: 41.6vw;
    max-width: 500px;
    min-width: 350px;
    height: 20.8vw;
    max-height: 250px;
    min-height: 175px;
    display: flex;
    justify-items: start;
    justify-content: start;
    margin-top: 5%;
    padding: 0;
    box-shadow: -6px 10px 10px 0px rgba(0, 0, 0, 0.2);
    color: #7f7f7f;
}

.recipe-selection-miniature img {
    border-top-right-radius: 10% 10%;
    width: 20.8vw;
    max-width: 250px;
    min-width: 175px;
    height: 20.8vw;
    max-height: 250px;
    min-height: 175px;
}

.recipe-selection-miniature-textarea {
    width: 20.8vw;
    max-width: 250px;
    min-width: 175px;
    height: 20.8vw;
    max-height: 250px;
    min-height: 175px;
    padding-left: 0.25rem;
    display: flex;
    flex-direction: column;
}

.selection-miniature-title {
    height: 35%;
}

.recipe-selection-miniature-textarea h2 {
    font-size: 1.2rem;
}

.recipe-selection-miniature-textarea h2:hover {
    color: #575750;
}

.selection-miniature-list {
    height: 65%;
    display: flex;
    flex-direction: column;
    justify-items: end;
    justify-content: end;
    padding: 0;
}

.recipe-selection-miniature-textarea h4 {
    font-size: 0.8rem;
    margin-top: 1rem;
}

.recipe-selection-miniature-textarea ul {
    list-style-position: inside;
    text-align: start;
    margin-top: 0.1rem;
    margin-left: 0.25rem;
    margin-bottom: 1rem;
    padding-left: 0;
    font-size: 0.65rem;
    line-height: 1.5;
}

.see-more {
    font-size: 0.65rem;
    text-align: right;
    padding-right: 0.4rem;
    padding-bottom: 0.4rem;
    text-decoration: underline;
}

/* tutaj kończy się CSS do unikatowej części podstron kategoria dania */

/* tutaj zaczyna się CSS do unikatowej części podstron z pojedynczym przepisem*/

.recipe-area-wrapper {
    width: 92%;
    max-width: 1104px;
    margin: 3.5rem auto 1.2rem auto;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0px;
}

.recipe {
    display: flex;
    align-items: start;
    flex-direction: column;
    margin: 0 auto;
    padding: 0px 2.5vw 0 0;
}

.recipe-item {
    margin-top: 4vw;
    margin-bottom: 4vw;
    padding: 0px;
}

.recipe h1 {
    font-size: 1.8rem;
}

.recipe-area-wrapper h4 {
    font-size: 1rem;
    font-weight: 500;
}

.recipe-area-wrapper ul {
    list-style-position: inside;
    text-align: justify;
    margin-top: 15px;
    margin-left: 5px;
    padding-left: 0px;
    line-height: 1.4;
}

.recipe-area-wrapper ul li ul {
    margin-left: 35px;
    padding-left: 0px;
}

.recipe-area-wrapper ul li {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.right-stripe {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.single-recipe-mainphoto {
    margin-top: 0px auto;
}

.tips {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    padding-left: 2vw;
    padding-right: 2vw;
    padding-bottom: 1rem;
    border: 2px solid #7f7f7f;
}

.right-stripe-title {
    width: 9rem;
    text-align: center;
    margin-top: -0.7rem;
    letter-spacing: 2px;
    background: white;
}

.see-also {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    border-top: 0.2rem solid #7f7f7f;
}

.see-also-item {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 1rem;
}

.see-also-image {
    width: 18vw;
    height: 18vw;
    max-width: 215px;
    max-height: 215px;
    min-width: 150px;
    min-height: 150px;
    margin: 0.2rem;
    background-size: cover;
    box-shadow: 6px 0px 20px 0px rgba(0, 0, 0, 0.1);
    color: #575750;
}

.tales {
    width: 92%;
    max-width: 1104px;
    margin: 2% auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.tales article{
	width: 100%;
}

.tales p {
    padding: 0 6vw;
    text-align: justify;
    text-indent: 2rem;
    line-height: 1.2rem;
}

.tales h5 {
    margin-top: 15vw;
    margin-bottom: 2.5vw;
    border-top: 2px solid #7f7f7f;
    border-bottom: 2px solid #7f7f7f;
    text-align: center;
    line-height: 2rem;
}

.tales hr {
    height: 2px;
    background-color: #7f7f7f;
}

.tales img {
    margin: 2rem 1rem;
}

.tales span {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
}

@media screen and (min-width: 800px) {
    .recipe {
        width: 50vw;
        max-width: 600px;
        min-width: 320px;
    }

    .right-stripe {
        width: 37.5vw;
        max-width: 450px;
        min-width: 320px;
    }

    .single-recipe-mainphoto {
        width: 37.5vw;
        height: 37.5vw;
        max-width: 450px;
        max-height: 450px;
        min-width: 320px;
        min-height: 320px;
    }

    .tips {
        width: 37.5vw;
        max-width: 450px;
        min-width: 320px;
    }

    .see-also {
        width: 37.5vw;
        max-width: 450px;
        min-width: 320px;
    }

    .see-also-image h3 {
        font-size: 1rem;
        height: 18vw;
        max-height: 215px;
        min-height: 150px;
        font-weight: 500;
        letter-spacing: 3px;
        margin: 0px;
        padding-top: 4rem;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.6);
        display: none;
    }

    .see-also-image:hover h3 {
        display: block;
    }
}

@media screen and (max-width: 799px) {
    .recipe {
        width: 90vw;
        max-width: 720px;
    }

    .right-stripe {
        width: 90vw;
        max-width: 720px;
        min-width: 320px;
    }

    .single-recipe-mainphoto {
        width: 100vw;
        height: 80vw;
        max-width: 500px;
        max-height: 500px;
        min-height: 260px;
        object-fit: cover;
    }

    .tips {
        width: 90vw;
        max-width: 720px;
        min-width: 320px;
    }

    .see-also {
        width: 90vw;
        max-width: 720px;
        min-width: 320px;
    }

    .see-also-image {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        text-align: center;
        border-radius: 10%;
    }

    .see-also-image h3 {
        font-size: 1rem;
        line-height: 1.5rem;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
        letter-spacing: 3px;
        margin: 0px;
        background-color: rgba(255, 255, 255, 0.7);
    }
}

/* tutaj kończy się CSS do unikatowej części podstron z pojedynczym przepisem*/

footer {
    width: 100%;
    max-width: 1200px;
    background: #30312b;
    border-top: 2px solid #575750;
    text-align: center;
    font-size: 0.65rem;
    margin-top: 10rem;
    padding-top: 0.75rem;
    padding-bottom: 1rem;
}

.footer-item {
    color: #ffffff;
    margin: 0;
    padding: 3px;
    font-size: 0.65rem;
}
