html {
    position: relative;
    min-height: 100%;
}

body {
    background: #e88073;
    margin: 0;
    font-family: 'Lato', sans-serif;
}


/* -------header---------- */

.header-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: url("./img/headerImg.jpeg") no-repeat center;
    background-size: cover;
}

.text-container {
    position: absolute;
    top: 30%;
    left: 5%;
    font-family: 'Merriweather', serif;
    color: #DCDCDC;
    text-align: center;
    overflow: hidden;
}

.text-container h1 {
    font-size: 30px;
    text-shadow: 0 0 10px black;
}

.text-container p {
    font-size: 20px;
}


/* -------Main part----------------- */

.wrapper {
    margin: 50px 50px 100px 50px;
    display: flex;
    flex-direction: column;
    background: #e88073;
}

.welcome-box {
    color: #fff;
    text-align: center;
    font-size: 20px;
}

.message-container {
    color: #fff;
    font-size: 20px;
}

.message-container h1 {
    text-align: center;
}


/* -----------form--------------- */

.order-form {
    font-family: 'Grandstander', cursive;
    background: #d8c3a4;
    padding: 20px;
    border-radius: 10px;
    margin-top: 50px;
}

.label {
    display: block;
}

.order-form p {
    font-size: 20px;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
}

.pizza-name {
    margin-left: 10px;
}

.submit-button {
    margin-top: 20px;
    margin-left: 50px;
    padding: 5px;
    background: #ba4338;
    border-radius: 5px;
}

.nr-Pizzas {
    margin-left: 50px;
}


/* -------------message------------- */

.message {
    margin-top: 50px;
}

.message-container img {
    margin-top: 50px;
    display: none;
    width: 300px;
}

.pizza-img {
    display: none;
}


/* -------footer--------- */

.footer {
    height: 50px;
    width: 100%;
    margin-top: 10px;
    background: #ba4338;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-style: italic;
}


/* ------------media queries------------ */

@media (min-width: 650px) {
    .wrapper {
        flex-direction: row;
        justify-content: space-around;
    }
    .left-side {
        width: 40%;
    }
    .right-side {
        width: 40%;
        align-items: center;
    }
    .header-image {
        height: 400px;
    }
    .text-container h1 {
        font-size: 40px;
        letter-spacing: 0.1em;
    }
    .text-container p {
        font-size: 30px;
    }
    .text-container {
        top: 30%;
    }
    .footer {
        font-size: 15px;
    }
    .message-container img {
        width: 400px;
    }
}

@media (min-width: 1024px) {
    .hero-image {
        height: 600px;
    }
    .text-container h1 {
        font-size: 60px;
        letter-spacing: 0.1em;
    }
    .text-container p {
        font-size: 40px;
    }
    .left-side {
        width: 30%;
    }
    .message-container img {
        width: 500px;
    }
}