@charset "utf-8";
/* CSS Document */

/*imported FONTS*/
@import url('https://fonts.googleapis.com/css2?family=Bad+Script&family=Kalam:wght@300;400&display=swap');

/*CORE STYLES*/
html {
  width: 100%;                    /* 100% width of parent (root) element */
  height: 100vh;                  /* 100% height of viewport */
  box-sizing: border-box; 
  font-family: Georgia, "Times New Roman", Times, serif; 
  font-size: 16px;                /* root font size */
}
body {
  margin: 0;                      /* no margin at edge of content */
  height: 100%;                   /* 100% height of parent (html) element */
  background-color: #150704;
}
p{line-height: 140%; color: #f8cb8c; padding-right: 2%; padding-left: 2%; padding-bottom: 2%; text-align: justify;}
h2{font-size: 18px; color: #FF9; padding-left: 2%; text-decoration:}
h3{font-size: 16px; color: #FF9; padding-left: 2%; }
ul{list-style-type: none; padding-left: 2%;}
ul li{display: block;}
li a{text-decoration: none;} 
a{color: #d79646; line-height: 140%; padding-top: 1%; padding-left: 2%; text-decoration: underline;}
a:hover {color: #FDF8D5;}
a.active {color: #d79646;}


.container {
  display: grid;
   grid-template-columns: [full-start] 1fr [content-start] 3fr [content-end] 1fr [full-end];
    grid-template-areas:
    "header header header header header header"
    "aside main main main main article"
    "footer footer footer footer footer footer";
	
 gap: 10px;
 
}

header {
    grid-area: header;
	max-height: 87px;
	background-color: #73381a;
    box-shadow: inset 10px 10px 75px 25px rgba(0,0,0,0.75);
    font-family:'Bad Script', cursive;
    color: #f8cb8c;
    text-align: center;
    font-size: 40px;
}

header #banner_imageL img{
	position: absolute;
	left: 0px;
	top: 0px;
	object-position: left top;
	
	
}

header #banner_imageR img{
	position: absolute;
	right: 0px;
	top: 0px;
	object-position: right top;
	

}


aside {
  grid-area: aside;
  background-color: #73381a;
  box-shadow: inset 10px 10px 75px 25px rgba(0,0,0,0.75);
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #f8cb8c;
  grid-gap: 10px;
}

.section_img {
	border-bottom: 10px solid #150704;
}

aside .section_nav {
	border-bottom: 10px solid #150704;
}



aside .section-favorites h3{
  margin: 0; 
  padding-top: 2%;
  padding-bottom: 2%;
  text-align: center;
  background: #73381a;
  box-shadow: inset 5px 5px 32px 14px rgba(0,0,0,0.75);
  border-top: 2px solid #f5b44f;
  border-bottom: 2px solid #f5b44f;
	
}

aside .section-favorites img {padding-top: 2%; max-width: 300px; }



main{
  position: relative;
  grid-area: main;
  background-image: url(../images/recipebackground1.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #73381a;
  box-shadow: inset 10px 10px 75px 25px rgba(0,0,0,0.75);
}



main ul{
	   	padding-top: 5%;
		padding-left: 18%;
		columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
		
}


main h2{
  margin: 0; 
  padding-top: 2%;
  padding-bottom: 2%;
  text-align: center;
  background: #73381a;
  box-shadow: inset 5px 5px 32px 14px rgba(0,0,0,0.75);
  border-top: 2px solid #f5b44f;
  border-bottom: 2px solid #f5b44f;
}


main img {

  max-width: 100%;
  max-height:100%;
}

main .text {

  font-size: 16px;
}



main .center {text-align: center;}

main .pagination {
  padding-top: 5%;
  padding-bottom: 5%;
  display: inline-block;
}

main .pagination a {
  color: black;
  float: left;
  padding: 6px 10px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #d79646;
  margin: 0 4px;
}

main .pagination a.active {
  background-color:#150704;
  color: #f8cb8c;
  border: 1px solid #FAC525;
}

main .pagination a:hover:not(.active) {background-color:#D9B795;}


main #button_container {
       display: grid; 
}

.btn1{
    justify-self: center;
    text-decoration: none;
	background: #73381a;
	box-shadow: inset 2px 2px 6px 7px rgba(0,0,0,0.75);
    color: #f8cb8c;
    border: 1px solid #d5d281;
    height: 30px;
    width: 100px;
	margin-bottom: 2%;
    font-weight: bold;
    font-style: italic;
    display: flex;
    justify-content:center ;
    align-items: center;
    position: relative;
}

.btn1::before{
     background-color: rgb(22, 53, 43);
     z-index: -1;
     position: absolute;
     transform: scale(0);
     transition: transform .5s ease;
     content: '';
     inset: 0 0 0 0;
     display: flex;
     justify-content: center;
     align-items: center;
     
}

.btn1:hover::before{
    transform: scale(1);
    transform-origin: right;

    
}

.btn1:hover{
    color: aliceblue;
    border: 2px solid beige;
}




main #bottom_right img{
	position: absolute;
	right: 0px;
	bottom: 0px;
	object-position: right bottom;
}

main #bottom_left img{
	position: absolute;
	left: 0px;
	bottom: 0px;
	object-position: left bottom;
}

 

article {
  grid-area: article;
  grid-gap: 10px;
  background-color: #73381a;
  box-shadow: inset 10px 10px 75px 25px rgba(0,0,0,0.75);
}

article .section_img img{max-height: 180px;}

article .section_nav2 h3{ 
  margin: 0; 
  padding-top: 2%;
  padding-bottom: 2%;
  text-align: center;
  background: #73381a;
  box-shadow: inset 5px 5px 32px 14px rgba(0,0,0,0.75);
  border-top: 2px solid #f5b44f;
  border-bottom: 2px solid #f5b44f;}

article .section_nav2 video{
	padding-top: 2%;
	padding: 10px;
	
}

footer {
   grid-area: footer;
   background-color: #73381a;
   box-shadow: inset 10px 10px 75px 25px rgba(0,0,0,0.75);
}

footer p{  
    font-family:'Bad Script', cursive;
    color: #f8cb8c;
    text-align: center;
    font-size: 16px;
	text-decoration: underline;
}

@media (max-width: 600px) {
  .container {
    grid-template-areas:
      "header"
	  "main"
      "aside"
      "article"
	  "footer";
    grid-template-columns: 1fr;
	grid-template-rows: auto;
	font-size: 13px;
   
  }
  
header{ font-family:'Bad Script', cursive;
    color: #f8cb8c;
    text-align: center;
    font-size: 2rem;
}
 
 .section_img img{
	 width: 100%;
}

main{ 
  background-image: url(../images/mobilBackWheat2.png);
  background-size: cover;
  background-repeat: no-repeat;
}

main ul{
	   	padding-top: 2%;
		padding-left: 5%;
		columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
		
}

aside .section-favorites a img {margin-left: 15%; margin-right: 10%; padding-top: 2%; max-width: 100%;}
 
 article .section_img img{width: 100;}
  article .section_nav2 video{
	 padding-left: 1%; 
	 padding-right: 1%; 
	 padding-top: 5px;
	 width: 100%}
 }
