/*<!-- Jose Esquivel
GIT 480
Assignment 5: Project and Design Process Documentation Submission -->*/
/*red
hex #EE2724
RGB (238, 39, 36)

gray
rgb(77, 77, 77)
*/
header {
	/*height: 300px;
	background-image: url("photos/background.png");
	background-size: 100%;*/
}

h1, h2 {
  color: rgb(238, 39, 36);
  text-align: center;
  font-size: 2em;
}

h3 {
  font-size: 1em;
  color: rgb(238, 39, 36);
  text-align: center;
  margin-top: 3em;
  margin-bottom: 2em;
}

footer {
  position: relative;
  height: 300px;
  background-color: rgb(77, 77, 77);
}

.footernav {
  position: absolute;
  left: 20px;
}
.footernav ul li a {
  color: white;
}

.footertext{
  left: 20px;
  bottom:20px;
  position: absolute;
  color: white;
}

.icons {
  position: absolute;
  right: 40px;
  top:20px;
}

.icons img {
  width: 30px;
  margin-left: 1rem;
}

section img {
  display: block;
	width: 100%;
	/*padding-left: 15%;*/
  margin-left: auto;
  margin-right: auto;
}


/*NAVIGATION*/
header {
   position: relative;
}
a {
  text-decoration: none;
  color: black;
}
.menu a:hover {
  color: red;
}
.menu a:active {
  color: red;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
}
label {
  margin: 0;
  font-size: 26px;
  line-height: 70px;
  padding-right: 20px;
  padding-left: 10px;
  padding-top: 10px; 
  /*display: none;*/
}

/*button*/

button {
  padding: 10px 20px;
  border: none;
  text-align: center;
  text-decoration: none;
  display: block;
  margin-right: auto;
  margin-left: auto;
  background-color: rgb(238,39,36);
  color: white;
  margin-top: 1em;
  margin-bottom: 3em;
}

button:hover {
  background-color: white;
  color: rgb(238,39,36); 
  border: 2px solid rgb(238,39,36);
}
/*navigation*/
/*if user taps on hamburger icon the menu is visible*/
#toggle:checked + .menu {
 display: block;
}

#toggle {
  text-align: right;
  line-height: 70px;
  margin: 0;
  padding: 0;
  display: none;
}

.nav {
  display: block;
  text-align: right;
  height: 70px;
  line-height: 70px;
}

.menu {
  margin: 0 30px 0 0;
}

.menu a {
  text-decoration: none;
  color: #505050;
  margin: 0 10px;
  line-height: 70px;
}


/*.hero {
  background-image: url(photos/twodrinks.png);
  background-size: 100%;
  height: 300px;
  background-position: center; 
} */



/*.hero img {
  z-index: 2;
  float: right;
}*/


.recipeheader {
  background-image: url(photos/transperantb.png);
  background-size: 100%;
}
#recipeheaderimg h1 {
  text-align: left;

}
#recipe1img {
	max-width: 40%;
	/*padding-left: 25%;*/
}

.fullspanimg {
	width: 100%;
	padding-left: 0;
}
.logo {
	width: 100px;
	float: left;
  position: absolute;
}

.body {
	width: 100%;
}
 input{
  /*display: inline;*/
  background-color: #C0C0C0;
  border: none;
  border-radius: 3px;
  padding: 12px 20px;
  margin-top: 1em; 
  width: 100%;
}


/*recipe body left and right*/
/*.floatparent h3 {
  margin-top: 30px;
}*/
div h3 {
  clear: both;
  padding-top: 30px;
  border-bottom: 1px solid rgb(238,39,36);
}
.floatchild {
  width: 50%;
  float: left;
}
.floatchild img {
  /*width: 100%;*/
  max-width: 800px;
}
.lowerbws {
  width: 100%;
  margin-top: 10em;
}

.recipe {
 font-size: 1em;
 margin-bottom: 80px;
}
.floatcontainer {
  display: grid;
  grid-auto-flow: column;
  gap: 1em;
  width: min(90%);
  margin-right: auto;
  margin-left: auto;
}

/*For screen smaller than 500px hide the navigation and add the hamburger menu styling*/
@media only screen and (max-width: 500px){
  h1, h2 {
    font-size: .9em;
   }
  label {
    cursor: pointer;
    text-align: right;
    color: red;
  }

  .menu a {
  text-decoration: none;
  color: black;
  margin: 0 10px;
  line-height: 70px;
  display: block;
}

  .menu {
    text-align: center;
    width: 100%;
    display: none;
  }
  
  .menu li a {
    text-align: center;
    width: 100%;
    margin: 0;
  }

  .menu ul li a {
    display: block;
    border-bottom: 1px solid #EAEAEB;
    margin: 0;
  }
  .menu li {
    background-color: white;
    margin: 0;
  }
  footer {
    height: 150px;
  }

  .icons img {
    width: 20px;
    margin-left: 1rem;
  }
  .footertext{
     left: 15px;
     bottom:20px;
     position: absolute;
     color: white;
     font-size: .8em;
  }
}
 section h2 {
    margin-top: 2em;
    margin-bottom: 2em;
  }

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

@media only screen and (max-width: 499px) {
 aside ul li {
  font-size: .6em;
  text-align: left;
 } 
 aside ul {
  margin-left: 0;
  padding-left: 0;
 }
 .lowerbws {
  margin-top: 2em;
}

}


@media only screen and (min-width: 500px) {
  label {
    display: none;
  }
  aside ul li {
  font-size: 1em;
  text-align: left;
 }
 h2 {
  font-size: 1em;
 }
}

@media only screen and (min-width: 1000px){
.recipeheader {
  background-image: url(photos/transperantb.png);
  background-size: 100%;
  height: 100px;
  }
  aside ul li {
  font-size: 1.5em;
  text-align: left;
 } 
 aside ul {
  margin-left: 0;
  padding-left: 0;
  margin-top: 3em;
 }
 h2 {
  font-size: 2em;
 }
}