@charset "utf-8";

/* Table of Contents
=================================
	1. COMMON
	2. BODY STYLES
	3. PIZZA LIST STYLES
	4. RESPONSIVE STYLES
=================================
*/



/*
=================================
	1. COMMON
=================================
*/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body, html {
    margin: 0;
    height: 100%;
}

/* Text styles */

h1 {
    font-size: 4em;
    margin: 0 0 .5em 0;
    font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
    font-style: normal;
    font-weight: bold;
    text-transform: uppercase;
}


h3 {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    font-family: Segoe, sans-serif;
}

p {
    font-family: sans-serif;
    text-align: center;
    line-height: 1.5;
}


/*
=================================
	2. BODY STYLES
=================================
*/

img {
    width: 80%;
    height: auto;
    padding: 0 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

section {
    background-image: url("../images/background.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.header {
    display: grid;
    grid-template-areas: 'intro image image';    
    align-items: center;
    justify-items: center;
    background-image: url("../images/pattern.jpg");
    height: 100vh;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.header-image {
    grid-area: image;
    height: 100vh;
    width: 100%;
    background-image: url("../images/pizza.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.header-intro {
    grid-area: intro;
    text-align: center;
}

.intro {
    width: 600px;
    padding-bottom: 2em;
}

.menu {
    padding: 10px 20px;
    border-radius: 25px;
    border: 0;
    background-color: #9F0303;
    color: #FFFFFF;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1.7em;
    text-decoration: none;
}

button:hover {
	opacity: 0.6;
}

footer {
    padding: 1em 0;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-weight: bold;
    bottom: 0px;
    width: 100%;
}
/*
=================================
	3. PIZZA LIST STYLES
=================================
*/

.flex-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-self: center;
    width: 90%;
    padding: 3em 0;
}

.flex-container > div {
    display: grid;
    justify-items: center;
	padding: 1em;
    background-color: #fff;
}

.prize {
    text-align: center;
    font-weight: bold;
    font-size: large;
}

.submit {
    padding: 0.7em 2em;
    background-color: #2d9734;
	color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border: 0;
    width: fit-content;
    border-radius: 15px;
}

/*
=================================
	4. RESPONSIVE STYLES
=================================
*/
@media screen and (max-width: 1000px) {
  .flex-container {
    grid-template-columns: 1fr 1fr;
  }

.header {
    grid-template-areas:
    'image'
    'intro';
    align-content: flex-start;
    height: 700px;
}

.header-image {
    height: 300px;
}
.intro {
    width: 100%;
    padding: 2em 1em;
}
}

@media screen and (max-width: 600px) {
  .flex-container {
    grid-template-columns: 1fr;
  }

.header {
    grid-template-areas:
    'image'
    'intro';
    align-content: flex-start;
    height: 100vh;
}

.header-image {
    height: 300px;
}
.intro {
    width: 100%;
}
h1 {font-size: 2em;}
}