/* used fonts

font-family: 'Alegreya', sans-serif;
font-family: 'Open Sans', sans-serif;

*/



* {
    padding: 0;
    margin: 0;
    color: #555452;
    font-family: 'Open Sans', sans-serif;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    text-decoration: underline;
}

body {
    font-family: 'Open Sans', sans-serif;
}

.fas {
    display: none;
    visibility: hidden;
    position: fixed;
    display: block;
    position: fixed;
    z-index: 10000;
    font-size: 7vw;
    right: 0;
    margin: 7vw;
    transition: 0.3s right;
}

.font-headders {
    font-family: 'Alegreya', sans-serif;
    font-weight: bold;
}

div.background-image {
    display: block;
    position: relative;
}

div.background-image::after {
    content: "";
    background: url(images/Subtle-Stripes.png);
    background-size: 60px;
    opacity: 0.6;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

.wrapper {
    max-width: 1301px;
    margin: auto;
}

.logo img {
    position: absolute;
    display: block;
    float: left;
    height: 60px;
    margin: 0 10vw;
}

.logo-still-nav img {
    height: 90px;
    margin-top: -15px;
}

.bar-pannel {
    position: absolute;
    top: 20px;
    padding: 10px 0;
    background-color: none;
    width: 100%;
    transition: 0.3s top;
}

div.nav-moving {
    background-color: rgba(130, 130, 130, .9);
    background-blend-mode: darken;
    top: -80px;
    z-index: 100;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.nav-list ul {
    list-style-type: none;
    overflow: hidden;
    float: right;
    margin-right: 10vw;
}

.nav-list li {
    float: left;
    width: auto;
    height: 60px;
    text-align: center;
    line-height: 60px;
    padding: 0 20px;
    opacity: 0.7;
    font-size: 19px;
    font-weight: bold;
    color: black;
    cursor: pointer;
}

.nav-list li:hover {
    opacity: 1;
}

.nav-bar {
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
    background-blend-mode: multiply;
    background-image: url("/images/OPT-1200-PizzeriaRoberto_BG-blur-cut-kopia.jpg");
    height: 80vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.center-information {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-information h2 {
    font-size: 48px;
    color: whitesmoke;
    text-align: center;
    font-weight: normal;
}

.center-information button {
    border: solid whitesmoke 0.5px;
    border-radius: 5px;
    color: whitesmoke;
    font-size: 21px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 190px;
    height: 50px;
    margin-right: 20px;
    transition: 0.2s;
}

.center-information button:hover {
    background-color: rgba(255, 255, 255, 0.6);
    color: rgb(19, 17, 17);
    cursor: pointer;
}

.center-information .button-wrapper {
    text-align: center;
    margin-top: 20px;
}


/* the main part of the page */



section.pizzeria {
    margin: 100px 5vw 160px;
}

.content-section-pizzeria {
    display: flex;
}

.text-section-pizzeria {
    margin-right: 50px;
}

.text-section-pizzeria h2 {
    font-size: 34px;
}

.text-section-pizzeria h3 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 10px;
}

.text-section-pizzeria p {
    font-size: 21px;
    line-height: 40px;
}

.text-section-pizzeria .opening-hours {
    font-size: 21px;
}

.text-section-pizzeria .opening-hours span:nth-child(1) {
    margin-right: 40px;
}

.img-section-pizzeria img {
    width: 434px;
    height: 560px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 4px 6px 5px 0px rgba(0, 0, 0, 0.12);
}

.opening-hours {
    display: flex;
}

.opening-hours li {
    display: flex;
    margin-bottom: 10px;
}

/* middle banner */

.middle-banner {
    background: rgba(0, 0, 0, .2) url('images/OPT-cherry-and-roma-tomatoes-kopia.jpg');
    background-blend-mode: darken;
    text-align: center;
    padding: 60px 0;
}

.middle-banner-text {
    background-color: white;
    width: 70%;
    margin: auto;
    padding: 20px;
    border-radius: 30px;
}

.middle-banner-text h2 {
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 3px;
}

.middle-banner-text h3 {
    font-size: 20px;
    font-weight: normal;
}

/* menu */

.section-menu {
    margin: 130px 5vw;
}

.section-menu-headder p {
    margin-right: 25px;
    font-size: 34px;
    font-weight: bold;
    display: inline;
}

.section-menu-headder button {
    position: absolute;
    font-size: 16px;
    background-color: #f2f2f2;
    font-weight: bold;
    padding: 13px 35px;
    border-radius: 10px;
    cursor: pointer;
}

.section-menu-pizza-headder {
    margin: 60px 0 10px;
}

.menu-headder {
    font-size: 30px;
}

.cointainer-menu-line {
    font-size: 21px;
    line-height: 25px;
    margin-bottom: 25px;
}

.product-name {
    font-family: 'Alegreya', sans-serif;
    font-weight: bold;
}

.font-normal {
    font-weight: normal;
}


.product-price {
    font-family: 'Alegreya', sans-serif;
    font-weight: bold;
}

.product-size {
    padding: 0 7px;
}

.product-addings {
    font-size: 17px;
}

/* gallery */

.section-gallery {
    margin: 100px 5vw 250px;
    height: 50vh;
}

.section-gallery-headder p {
    font-size: 30px;
    margin-bottom: 30px;
}

.section-gallery-gallery {
    position: relative;
    overflow: hidden;
    height: 50vh;
    background-color: black;
    cursor: pointer;
}

.section-gallery-gallery img {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(2px);
    opacity: 0.5;
    transition: 0.2s;
}

.section-gallery-gallery img:hover {
    filter: blur(4px);
    opacity: 0.3;
}

.section-gallery-gallery p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: white;
    text-align: center;
}

/* contact */

.contact {
    margin: 100px 5vw;
}

.wrapperContact {
    display: flex;
    justify-content: space-between;
}

.contact-title {
    font-size: 34px;
    font-weight: bold;
}

.contact-adress {
    display: flex;
    margin: 66px 0;
}

.contact-headder {
    font-weight: bold;
}

.contact-text {
    font-size: 21px;
    padding-right: 90px;
}

.contact-map {
    width: 100%;
    box-shadow: 0px 0px 3px 1px #979797;
}

.contact-information {
    margin-left: 15px;
}

.contact-map iframe {
    height: 100%;
    width: 100%;
}

.contact-image {
    display: flex;
    align-items: center;
}

.contact-image img {
    width: 65px;
}

/* contact form */


.contact-form {
    background: rgba(0, 0, 0, .2) url('images/OPT-cherry-and-roma-tomatoes-kopia.jpg');
    background-blend-mode: darken;
    padding: 102px;
}

.contact-form-wrapper {
    display: flex;
    background-color: white;
    padding: 60px;
    border-radius: 20px;
}

.contact-form-text {
    width: 50%;
}

.contact-form-inputs {
    width: 50%;
}

.contact-form-text h3 {
    margin-bottom: 45px;
}

.contact-form-text p {
    font-size: 21px;
    line-height: 41px;
    padding-right: 84px;
}

.contact-form-input {
    width: 100%;
    padding: 13px;
    font-size: 16px;
    background-color: rgba(32, 30, 30, 0.6);
    color: #f0f0f0;
    border: solid 1px #c2c2c2;
    border-radius: 5px;
    margin-bottom: 15px;
}

.contact-form-input-message {
    height: 300px;
}

::placeholder {
    color: #f0f0f0;
    opacity: 1;
}

.contact-form-inputs button {
    position: absolute;
    right: 0;
    transform: translate(-130%, 0);
    padding: 15px 30px;
    font-size: 16px;
    background-color: rgba(32, 30, 30, 0.6);
    color: #f0f0f0;
    border: solid 1px #c2c2c2;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

/* footer */

footer {
    background-color: #f5f5f5;
    min-height: 236px;
    color: #555452;
    font-size: 16px;
    padding-bottom: 30px;
}

.footer-main {
    display: flex;
    justify-content: space-evenly;
    padding-top: 51px;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    margin-right: 30px;
}

.footer-nav {
    margin-left: 20px;
}

.footer-list li {
    display: inline;
    line-height: 28px;
    letter-spacing: 2px;
    cursor: pointer;
    border-right: #555452 solid 1px;
    margin: 0 3px;
    padding-right: 3px;
}

.footer-list li:nth-last-child(1) {
    border: none;
}

.footer-list li:hover {
    text-decoration: underline;
}

.footer-image img {
    width: 130px;
    margin-right: 10px;
}

.footer-informations p {
    line-height: 26px;
}

.footer-informations p.header {
    font-weight: bold;
}

.footer-faq a {
    text-decoration: none;
    font-weight: bold;
}

.footer-faq a:hover {
    color: black;
}

.footer-faq {
    margin: 30px 0;
}

footer section {
    text-align: center;
}

@media (max-width: 1100px) {
    .contact-text {
        padding-right: 30px;
    }

    .contact-form-text p {
        font-size: 21px;
        line-height: 41px;
        padding-right: 24px;
    }
}


@media (max-width: 1000px) {
    .logo-still-nav img {
        height: 75px;
        margin-top: -10px;
    }
}

@media (max-width: 950px) {
    .nav-bar {
        background-image: url("images/OPT-600-PizzeriaRoberto_BG-blur-cut-kopia.jpg");
        height: 80vh;
        background-attachment: scroll;
    }

    .middle-banner {
        padding: 30px 0;
    }

    .section-menu {
        margin: 70px 5vw;
    }

    .section-gallery {
        margin: 50px 5vw 60px;
    }

    .contact-adress {
        margin: 50px 0px;
        padding-right: 25px;
    }

    .wrapperContact {
        flex-direction: column;
    }

    .contact-text {
        display: flex;
    }

    .contact-map {
        height: 50vw;
    }

    .contact-information {
        align-self: center;
    }

    /* contact form */

    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form-text {
        width: 100%;
        padding-bottom: 60px;
    }

    .contact-form-inputs {
        width: 100%;
    }
}

@media (max-width: 850px) {
    .fas {
        visibility: visible;
    }

    .fasOn {
        transition: 0.3s right;
        color: whitesmoke;
    }

    div.nav-moving {
        display: none;
    }

    .nav-list {
        position: fixed;
        right: -100%;
        width: 100%;
        transition: 0.3s right;
        height: 100%;
        z-index: 99;
    }

    .navOn {
        right: 0;
        transition: 0.3s right;
    }


    .bar-pannel {
        top: 0px;
        padding: 0px 0;
    }

    .nav-list ul {
        padding-top: 35%;
        list-style-type: none;
        overflow: hidden;
        float: none;
        margin-right: 0vw;
        height: 100%;
        background-color: grey;
        display: block;
        opacity: 0.9;
    }

    .nav-list li {
        float: none;
        text-align: center;
        line-height: auto;
        padding: 0 0px;
        opacity: 1;
        font-size: 16px;
        font-weight: bold;
        color: black;
        cursor: pointer;
    }

    .logo img {
        float: none;
        margin: 0;
    }

    .logo-still-nav img {
        height: 100px;
        left: 47%;
        transform: translate(-50%, 12vh);
    }

    .center-information h2 {
        font-size: 20px;
    }

    .center-information button {
        font-size: 16px;
        margin: 15px 0;
    }

    /* the main part of the page */

    section.pizzeria {
        margin: 100px 5vw 60px;
    }

    .content-section-pizzeria {
        display: block;
    }

    .text-section-pizzeria h2 {
        font-size: 20px;
    }

    .text-section-pizzeria h3 {
        font-size: 18px;
    }

    .text-section-pizzeria p {
        font-size: 14px;
        line-height: 30px;
    }

    .text-section-pizzeria .opening-hours {
        font-size: 14px;
    }


    .img-section-pizzeria img {
        width: 100%;
        height: auto;
        margin: 50px auto 0;
    }

    /* middle banner */

    .middle-banner {
        padding: 20px 0;
    }

    .middle-banner-text {
        padding: 10px;
    }

    .middle-banner-text h2 {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .middle-banner-text h3 {
        font-size: 14px;
    }

    /* menu */

    .section-menu-headder p {
        font-size: 20px;
    }

    .section-menu-headder button {
        font-size: 13px;
    }

    .section-menu-pizza-headder {
        margin: 40px 0 20px;
    }

    .menu-headder {
        font-size: 18px;
    }

    .cointainer-menu-line {
        font-size: 18px;
        line-height: 30px;
    }

    .product-addings {
        font-size: 14px;
    }

    /* gallery */

    .section-gallery-headder p {
        font-size: 20px;
    }

    .section-gallery-gallery p {
        font-size: 18px;
        width: 50vw;
    }

    /* contact */

    .contact-title {
        font-size: 20px;
    }

    .contact-text {
        font-size: 14px;
    }

    /* contact form */

    .contact-form-text p {
        font-size: 14px;
        line-height: 31px;
    }

    .contact-form-input {
        font-size: 14px;
    }

    /* footer */

    footer {
        font-size: 12px;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-nav {
        margin-left: 20px;
    }

    .footer-faq {
        transform: translateX(-15px);
    }

    .footer-list li:nth-last-child(1) {
        border: none;
    }

    .footer-list li:hover {
        text-decoration: underline;
    }

    .footer-image img {
        width: 90px;
        margin-right: 10px;
    }

    .footer-facebook {
        visibility: hidden;
        display: none;
    }
}

@media (max-width: 690px) {
    .contact-text {
        display: block;
    }

    .contact-form {
        padding: 15px;
    }

    .contact-form-wrapper {
        padding: 30px 10px 70px;
    }

    .contact-form-text p {
        width: 85vw;
    }

    .contact-form-input {
        width: 95%;
        margin-right: 5%;
    }


    .contact-form-inputs button {
        transform: translate(-100%, 0);
    }
}

@media (max-width: 451px) {
    .logo-still-nav img {
        height: 90px;
        transform: translate(-50%, 11vh);
    }

    .center-information {
        top: 55%;
    }

    .text-section-pizzeria p {
        width: 90vw;
    }

    .middle-banner {
        padding: 20px 0;
    }

    .middle-banner-text {
        width: 90%;
        margin: auto;
        padding: 10px;
    }

    .opening-hours {
        display: block;
        width: 120%;
    }

    .opening-hours li {
        display: block;
        text-align: center;
    }

    .section-gallery-gallery img {
        width: 50%;
        height: 50%;
    }

    .contact-form-input {
        width: 90%;
    }
}

@media(max-width:325px) {
    .logo-still-nav img {
        height: 80px;
        transform: translate(-50%, 8vh);
    }
}

@media(orientation:landscape) and (max-width:800px) {
    .nav-bar {
        height: 130vh;
    }

    .logo-still-nav img {
        height: 90px;
        transform: translate(-50%, 8vh);
    }
}