/* COLOR PALLETE MONOCHROMATIC #F6C8D0 , #FEC3C8 , #FCA6AE , #FA6173 , #E14D60 , #C9384D (with white txt for last one) */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    color: black;
    background-color: #EEAEBA;
    font-family: "Bricolage Grotesque", Verdana, sans-serif;
    margin: 2%;
    background-image: url(assets/cherryright.png);
    background-repeat: repeat-x;
    background-position: top;
}


.gridcontainer {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto auto auto auto;
    grid-template-areas:
    'header'
    'nav'
    'aside' 
    'article' 
    'section'
    'footer';
    grid-gap: 4px 5px;
}

#headid { grid-area: header;}
#navi {grid-area: nav;}
#aside {grid-area: aside;}
#martice {grid-area: article;}
#right {grid-area: section;}
#footy {grid-area: footer;}


img, picture, video, iframe {
    max-width: 100%;
    height: auto;
}


/* border background and styling for all grid for consistency */
.gridcontainer > #headid, #navi, #aside, #marticle, #right, #footy {
    background-color: #F6C8D0;
    border: 6px solid #B14E65;
    text-align: center;
    padding: 20px;
    
}



#headid {
    letter-spacing: 5px;
    font-size: 30px;

}

/*------------------v NAVIGATION STYLING v --------------------*/


ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    letter-spacing: 2px;
    word-spacing: 30px;
    font-weight: bolder;
    font-size:x-large;

}

li{
    display: inline;
}

li a, .ddbttn {
    display: inline-block;
    padding: 15px 20px;
    text-decoration: none;
}

/*COLOR WHEN HOVERING OVER MAIN PAGE OPTIONS*/
li a:hover, .ddcontent:hover .ddbttn{
    background-color:#DF778D;
}

li.dropdown {
    display: inline-block;
}

/*COLOR WHEN CONTENT IN DROPDOWN ISN'T BEING HOVERED OVER*/
.ddcontent{
    display: none;
    position: absolute;
    min-width: 100px;
    background-color: #FEC3C8;
}

.ddcontent a {
color: black;
padding: 15px 20px;
display: block;
text-align: center;
}

/* COLOR WHEN HOVERING OVER DROPDOWN OPTIONS */
.ddcontent a:hover {
    background-color: #DF778D;
}

.dropdown:hover .ddcontent{
display: block;
}

/*--------------------^END NAV STYLING^------------------------------*/

#aside, #footy {
    word-spacing: 5px;
    line-height: 30px;
    font-size: 20px;

}

#footy {
    background-image: url(assets/outline.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-blend-mode: overlay;
}

#right {
    font-size: 20px;
    line-height: 30px;
}

a:link, a:visited {
    color: black;
}

h2 {
    padding-bottom: 10px;
    font-size: 40px;
}


figcaption, .attributions{
    font-style: italic;
    font-weight: lighter;
    font-size: small;

}

sup{
    font-size: x-small;
    font-style: italic;
}

#love {
    position: fixed;
    top: 10px;
    left: 4px;
}
/*--------------------------v TABLE STYLING BELOW v ------------------------------*/


.savorytable, .sweetstable{
border: 4px solid #B14E65;
border-collapse: collapse;
caption-side: bottom;
width:100%;
margin-bottom:50px; 
}

.savorytable td, .savorytable th, .sweetstable td, .sweetstable th {
    border: 3px solid #B14E65;
    padding: 15px;
}

.responsive{
    overflow-x: auto;
}

.all{
    background-color: #FEC3C8;

}


th, tfoot{
    background-color:#DF778D;
}

.savorytable tbody tr:hover, .sweetstable tbody tr:hover {
    background-color: #EEAEBA;

  }

.savorytable caption, .sweetstable caption{
    text-align: left;
    font-style: italic;
}




/*-------------------------^END TABLE STYLING^---------------------------------*/



@media screen and (min-width:768px) {

.gridcontainer{
    display: grid;
    grid-template-columns: 55% 45%;
    grid-template-rows: auto auto;
    grid-template-areas:
    'header header'
    'nav    nav'
    'aside  article' 
    'section section'
    'footer footer';
    

    
}


}

@media screen and (min-width:992px) {

    .gridcontainer{
        display: grid;
        grid-template-columns: 30% 40% 30%;
        grid-template-rows: auto auto auto;
        grid-template-areas:
        'header header  header'
        'nav    nav      nav'
        'aside  article  section'
        'footer footer  footer';
        
    }

}


@media screen and (min-width:1200px) {
    .gridcontainer{
    display: grid;
    grid-template-columns: 25% 50% 25%;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
    'header header  header   header'
    'nav    nav     nav      nav'
    'aside  article section  section'
    'footer footer  footer   footer';
    
    
    } 


    }