* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

html,body {
    height: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.clear {
    clear: both;
}

header {
    background-color: red;
    padding: 10px 2% 40px 2%;
}

.logo-1 {
    float: left;
    width: 140px;
    height: 60px;
    background-image: url('/_imagens/pizza-logo.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-2 {
    float: right;
    width: 140px;
    height: 60px;
    background-image: url('/_imagens/delivery.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

section.cover-form {
    width: 100%;
    padding: 0 2%;
}

.bg {
    position: relative;
    height: 560px;
    background-position: center;
    background-size: cover;
    background-image: url('../_imagens/pizza2.jpg');
}

.form-container {
    position: absolute;
    right: 30px;
    top: 10px;
    width: 400px;
    background-color: transparent;
}

.form-container h2 {
    font-weight: normal;
    padding: 25px 15px;
    color: white;
    font-size: 20px;
    background-color: rgb(214, 1, 1);
}

.pedido {
    position: absolute;
    right: 30px;
    bottom: 10px;
    width: 400px;
    text-align: center;
}

.pedido input[type=submit] {
    font-weight: normal;
    padding: 15px 15px;
    text-align: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    border: 0;
    transition: 0.3s;
    background-color: rgb(214, 1, 1);
}

.pedido input[type=submit]:hover {
    background-color: rgb(144, 16, 16);
}

section.chamada {
    width: 100%;
    text-align: center;
    z-index: 1;   
}

section.chamada div.container {
    background-image: linear-gradient(red, yellow);
    padding: 70px 0 50px 0;      
} 

section.chamada h2 {
    width: 98%;
    max-width: 700px;
    display: inline-block;
    color: white;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: normal;
}

section.chamada p {
    width:98%;
    max-width: 700px;
    display: inline-block;
    color: rgba(0, 0, 0, 0.781);
    margin-top: 10px;
    font-size: 18px;
    font-weight: normal;
}

.flex-mosaico {
    display: flex;
}

.item-1-mosaico {
    background-position: center;
    background-size: cover;
    width: 60%;
    order: 2;
}

.item-2-mosaico {
    background-image: linear-gradient(red, yellow);
    padding: 140px 40px;
    color: white;
    width: 40%;
    order: 1;
}

footer {
    text-align: center;
    padding: 20px 0;
    background-color: red;
    margin: 0 auto;
    color: white;
    
}

footer img {
    width: 120px;
    border-radius: 50%;
}

footer p {
    margin-top: 8px;
}

footer p:nth-of-type(3) {
    font-style: italic;
}

footer .contact {
    color: yellow;
}

@media screen and (max-width: 960px) {
    .bg {
        height: auto;
        padding: 40px 0;
        text-align: center;
    }

    .form-container {
        height: auto;
        width: 100%;
        max-width: 400px;
        position: static;
        display: inline-block;
    }

    .pedido {
        position: static;
        display: inline-block;
        margin-top: 25px;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }   

    
}

@media screen and (max-width: 768px) {
    .flex-mosaico {
        display: block;
    }

    .item-1-mosaico {
        padding-top: 80%;
        width: 100%;
    }

    .item-2-mosaico {
        text-align: center;
        width: 100%;
    }
}

@media screen and (max-width: 510px) {
    header {
        text-align: center;
    }

    .logo-1,.logo-2 {
        margin-top: 10px;
        display: inline-block;
        float: none;
    }
}
