/* GLOBAL RULES FOR DINER */

html {
    background-image: url(../images/Buddysdiner.jpg);
    background-repeat: repeat;
}

body {
    color: #F0F5E4;
    width: 90%;
    max-width: 1500px;
    margin: auto;
    padding: 0 1em;
    background-color: rgba(0, 0, 0, 0.7);
}

header{
    border: 1px solid #000;
    background-image: url(../images/dinerheader.jpg);
    height: auto;
    width: auto;
    text-align: center;
}

header h1{
    letter-spacing: 10px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 48px;
    color: #f00;
    text-shadow:
       3px 3px 0 #000,
     -1px -1px 0 #000,  
      1px -1px 0 #000,
      -1px 1px 0 #000,
       1px 1px 0 #000;
}

.content{
    width: 80%;
    margin: auto;
}

.men{
    align-content: center;
}

table{
    width: auto;
    margin: auto;
}

table.menu figure{
    display: inline-block;
    width: 32%;
    margin:.3em;
    max-width: 300px;
}

table.menu figcaption{
    padding-bottom: 1em;
    max-width: 300px;
}

table.menu figure img{
    height: 250px;
    margin: auto;
}

h1, h2, h3{
    text-align: center;
}

div.contact{
    width: 320px;
    margin:auto;
}

form div, textarea {
    margin-bottom: 1em;
}

p{
    text-align: justify;
}

aside{
    text-align: center;
}

#panel, #flip {
    padding: 5px;
    text-align: center;
    background-color: #f00;
    border: solid 1px #000;
    color:#000;
    font-family: 'Luckiest Guy', cursive;
}

#panel {
    padding: 20px;
    display: none;
    background-color: #F7C6DF;
    font-family: 'Luckiest Guy', cursive;
}

div.filler{
    text-align: center;
}

footer{
    padding-top: 2em;
}

/* responsive code for iframes */

.embed-container{
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow:hidden;
	max-width: 100%;
}
.embed-container iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.calendar{
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow:hidden;
	max-width: 100%;
}
.calendar iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.filler{
    min-height: 300px;
    text-align: center;
}

.filler ul li{
    list-style-type: none;
}

/* end of responsive code for iframe */

figure{
    display: inline-block;
    width: 32%;
    margin: 0;
}

figcaption{
    text-align: center;
}

figure img{
    max-width: 300px;
    width: 100%;
    margin: auto;
}

footer {
    clear: both;
    text-align: center;
}

/* DESKTOP */

@media all and (min-width:1280px){  
section {
    float: left;
    width: 66%;       
}
    
.indexsect{
    margin:50px 0;
    
}
    
section h3{
    text-align-last: center;
        letter-spacing: 2px;
        font-family: 'time', cursive;
        font-size: 24px;
        color: #f00;
        text-shadow:
            3px 3px 0 #000,
            -1px -1px 0 #000,  
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;
}    


section h2, div.men h2{
    letter-spacing: 5px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 48px;
    color: #f00;
    text-shadow:
        3px 3px 0 #000,
        -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}
    
div.menu{
        width: 80%;
        margin: auto;
}

figcaption{
        letter-spacing: 5px;
        font-family: 'Luckiest Guy', cursive;
        font-size: 16px;
        color: #fff;
        text-shadow:
            3px 3px 0 #000,
            -1px -1px 0 #000,  
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;
}
    
aside{
        float: right;
        width: 32%;
        margin-top: 35px;
}

aside.eventpage{
        float: right;
        width: 32%;
        margin-top: 70px;
}
    
aside a{
        text-align-last: center;
        letter-spacing: 2px;
        font-family: 'Luckiest Guy', cursive;
        font-size: 14px;
        color: #f00;
        text-shadow:
            3px 3px 0 #000,
            -1px -1px 0 #000,  
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;    
}
    
aside h1, aside h2{
        letter-spacing: 5px;
        font-family: 'Luckiest Guy', cursive;
        font-size: 24px;
        color: #f00;
        text-shadow:
            3px 3px 0 #000,
            -1px -1px 0 #000,  
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;    
}

aside h3{
        text-align-last: center;
        letter-spacing: 2px;
        font-family: 'time', cursive;
        font-size: 14px;
        color: #ff0;
        text-shadow:
            3px 3px 0 #000,
            -1px -1px 0 #000,  
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;    
}
    
}

/* TABLET */

@media all and (min-width:481px) and (max-width:1279px){
body {
        width: 90%;
}
    
section {
        float: left;
        width: 60%;       
}
    
aside{
        float: right;
        width: 38%;      
}
    
aside a{
        text-align-last: center;
        letter-spacing: 2px;
        font-family: 'Luckiest Guy', cursive;
        font-size: 14px;
        color: #f00;
        text-shadow:
            3px 3px 0 #000,
            -1px -1px 0 #000,  
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;    
}
    
aside h2{
        letter-spacing: 5px;
        font-family: 'Luckiest Guy', cursive;
        font-size: 24px;
        color: #f00;
        text-shadow:
            3px 3px 0 #000,
            -1px -1px 0 #000,  
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;    
}

aside h3{
        text-align-last: center;
        letter-spacing: 2px;
        font-family: 'time', cursive;
        font-size: 14px;
        color: #f0f;
        text-shadow:
            3px 3px 0 #000,
            -1px -1px 0 #000,  
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;    
}
    
section h2, div.men h2{
    letter-spacing: 5px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 24px;
    color: #f00;
    text-shadow:
        3px 3px 0 #000,
        -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}
          
figure{
    display: inline-block;
    width: 32%;
    margin: 0 auto;
}

figcaption{
    text-align: center;
}

figure img{
    max-width: 300px;
    width: 100%;
    margin: auto;
}
    
table.menu figure{
    display: inline;
    max-width: 300px;
    margin: 0 auto;
}

table.menu figure img{
    width: 300px;
    height: 150px;
    margin: 0 auto;
}
    
table.menu figcaption{
    padding-bottom: 1em;
    width: 300px;
}
    
table {
    width: 300px;
    margin: auto;
        
}
    
}

/* PHONE */
@media all and (max-width:480px){
body {
        width: 95%;
        padding: .5em;
        margin: 0;
}

header{
    background-color: black;
    background-image: none;
}
      
figure{
    display: inline;
    width: 95%;
    margin: 0 auto;
    padding-left: .25em;
}
    
table.menu figure{
    display: inline;
    width: 95%;
    margin: 0 auto;
}

table.menu figure img{
    height: 150px;
    margin: auto;
}
    
table.menu figcaption{
        padding-bottom: 1em;
}
    
aside a{
        text-align-last: center;
        letter-spacing: 2px;
        font-family: 'Luckiest Guy', cursive;
        font-size: 14px;
        color: #f00;
        text-shadow:
            3px 3px 0 #000,
            -1px -1px 0 #000,  
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;    
}
}

























