@charset "utf-8";

/*
	CISC 3140 Summer Term Project
    
    Reni's Bakery
    Author: Hao Ren Yuan
    Date: June 11, 2021 - July 8,2021

    Filename: visual_layout.css
*/

/* button#logout{
	display: block;
	
} */
article#about_us ul li:first-of-type{
	list-style-image: url("IconImages/hungry.png");
}
 
article#about_us ul li:nth-of-type(2){
	list-style-image: url("IconImages/getngo.png");
}
 
article#about_us ul li:nth-of-type(3){
	list-style-image: url("IconImages/tiredcook.png");
}

article#about_us ul li:last-of-type{
	list-style-image: url("IconImages/familynfriends.png");
}

aside > nav > ul{
  display: block;
  margin-left: 40px;
  padding-right: 900px;
  display: table-cell ;
}

a.home{
    cursor: url(IconImages/home_cursor.png), auto;
}

a.food_menu{
	cursor: url(IconImages/shopping_cursor.png), auto;
}

a.event_calendar{
	cursor: url(IconImages/calendar_cursor.png), auto;
}

a.review{
	cursor: url(IconImages/review_cursor.png), auto;
}

a.gallery{
	cursor: url(IconImages/gallery_cursor.png), auto;
}

a.entertainment{
	cursor: url(IconImages/entertainment_cursor.png), auto;
}

head title{
	color: darkblue;
}

html {
	height: 100%;
	font-size: 14px;
	background-image: url(IconImages/cover2.png);
	 
}

header{
	background-image: url(IconImages/cover1.png);
}

/* header h1{
	padding-top: 50px;
	color: darkblue;
} */

h1{
	font-size: 40px;
	font-family: 'Monotype Corsiva','Apple Chancery','ITC Zapf Chancery','URW Chancery L',cursive;
	color: darkorange;
}

h2{
	font-family: 'Chalkduster, fantasy', fantasy;
	color: darkblue;
}

header img{
	padding-bottom: 40px;
}

audio { width: 50px; }

div.sticky,div.sticky#sticky1 {
    position: -webkit-sticky;
    position: sticky;
	right: 20px;
    background-color: rgb(128, 0, 75);
    width: 8%;
    top: -30px;
    float: right;
    animation: mymoveAudio 5s infinite;
	border-radius: 50px 50px 5px 5px;
	  
}


@keyframes mymoveAudio {
    50% {box-shadow: 2px 20px 20px rgb(128, 0, 75);}
}

div.musicmachine{
	size: 5px;
	color: rgb(223, 192, 18);
}

#paySection{
	text-align: center;
	
}

form#order{
	padding-left: 25%;
}



img, object, embed, video {
	max-width: 100%;
}

body audio{
	padding-left: 20px;
}

img.thumbs_up{/* 
	display: center; */
	margin-left: 30%;
	margin-right: 50%;
}

body {
	background: ivory;
	margin-left: auto;
	margin-right: auto;
	width: 81.9%;
	padding-left: 4.55%;
	padding-right: 4.55%;
	min-height: 100%;
}
nav {
	width: 25%;
	float: left;
	margin: 6% 2% 0% 0%;
}
article {
	width: 73%;
	float: left;
	font-size: 0.8em;
	text-align: justify;
}

nav ul li {
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	font-size: 0.8em;
}

nav ul li a {
	color: #222;
	text-decoration: none;
	display: block;
	margin-bottom: 8%;
}
nav ul li a:visited {
	color: #222;
}
nav ul li a:hover {
	background-color: wheat;
	color: black;
}
nav ul li a:focus {
	outline: thin dotted;
}
nav ul li a:hover, nav ul li a:active {
	outline: 0;
}

:visited{
	font-weight: bold;
	text-align: -webkit-center;
}

/* body h1 {
	margin: 1%;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	font-size: 1.5em;
} */

/* body article h1 {
	font-size: 1.15em;
} */

cite {
   color: rgb(110, 110, 255);
}

header img {
	text-align: -webkit-center;
	float: top;
	width: 96%;
	margin: 2% 2% 0% 2%;
}
body p, body address {
	margin: 3.5% 1%;
	font-size: 1em;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	font-style: normal;
	height: 100%;
}
dl {
	margin-left: 2%;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
}
dt {
	display: block;
	margin: 0;
	text-indent: 0;
	font-weight: bold;
	border-bottom: 1px solid rgba(168, 168, 168,1.00);
}
dd {
	display: block;
	margin: 0 0 3% 3%;
	text-indent: 0;
}
blockquote {
	font-size: 1em;
	width: 100%;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	margin: 0 0 4% 0;
}
footer {
	text-align: center;
	font-size: 0.6em;
	margin-top: 4%;
	border-top: 3px solid rgba(128,98,26,1.00);
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	clear: both;
	padding-bottom: 20px;
}
blockquote p:last-of-type {
	border-top: 1px solid rgba(128,98,26,1.00);
	text-align: right;
	font-size: 1em;
}

q {quotes: "\201C" "\201D" "\2018" "\2019";}
q:before {content:open-quote;}
q:after {content:close-quote;}
article p, article address {font-family: "Times New Roman", Times, serif;}


/* =============================================
	Tablet layout styles used by devices
	481px to 768px and cascaded to larger 
	devices.
   =============================================
*/

@media only screen and (min-width: 481px) {
html, body {
	font-size: 16px;
}

body {
	width: 89.9%;
	padding-left: 1.55%;
	padding-right: 1.55%;
	clear: none;
	float: none;
	margin-left: auto;
}

/* header h1 {
   font-size: 2.2em;
}

body article h1 {
   font-size: 1.75em;
} */

article {
	width: 94%;
	float: none;
	margin: 0px auto;
}
dl#ct_locations {
	width: 57%;
	margin: 0px 0px 0px 20px;
}
dl {
	width: 90%;
    margin: 0 auto;
	text-align: left;
}
article img {
	float: right;
	width: 40%;
	margin: 0% 2% 2% 2%;
}
nav ul li {
	display: table-cell;
	width: 15%;
	text-align: center;
	margin-right: 2%;
	border: thin solid rgba(127,96,17,1.00);
	border-collapse: collapse;
}
nav ul li a {
	margin-bottom: 0;
}
nav {
	display: table;
	width: 96%;
	margin: 0 auto;
	float: none;
}
nav ul {
	display: table-row;
	margin: 0;
}
nav ul li:last-of-type {
	margin-right: 0%;
}

blockquote {
  background: rgb(241, 241, 241);
  border-left: 10px solid rgba(176,124,48,0.5);
  quotes: "\201C""\201D""\201C""\2019";
  	border-radius: 20%;
	width: 40%;
	margin: 1%;
	float: left;
	padding: 2%;
}
blockquote p:first-of-type:before {
  color: rgba(176,124,48,0.50);
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin: 0.2em 0.1em 0em 0.25em;
  vertical-align: -0.4em;
  float: left;
}


footer {
	font-size: 0.9em;
}
}

/* =============================================
	Desktop layout styles used by  devices
	769px and larger.
   =============================================
*/

@media only screen and (min-width: 769px) {
html, body {
	font-size: 20px;
}

html {
	background-color: rgba(176,124,48,1.00);
	margin: 0px auto;
}
body {
	width: 88.2%;
	max-width: 900px;
	padding-left: 0.9%;
	padding-right: 0.9%;
	margin: 0px auto auto auto;
	clear: none;
	float: none;
	background-color: white;
	animation: mymove 5s infinite;
}
	@keyframes mymove{
	50% {box-shadow: 10px 20px 30px orange;
	-moz-box-shadow: rgba(238, 252, 47, 0.9) 20px 0px 25px,  rgba(238, 252, 47, 0.9) -20px 0px 25px;
	-webkit-box-shadow: rgba(238, 252, 47, 0.9) 20px 0px 25px,  rgba(238, 252, 47, 0.9) -20px 0px 25px;
	box-shadow: rgba(238, 252, 47, 0.9) 20px 0px 25px,  rgba(238, 252, 47, 0.9) -20px 0px 25px;
	}
	};
	  
	  .wrapper {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	  }
	  
	  .smoke:before {
		position: absolute;
		content: "";
		background: transparent;
		width: 145px;
		height: 30px;
		top: -35px;
		box-shadow: 0px 25px 20px -9px #cfcfcf;
		opacity: 0;
		animation: smoke 4s linear infinite;
		transition: 0.5s linear;
	  }
	  
	  .smoke:after {
		position: absolute;
		content: "";
		background: transparent;
		width: 145px;
		height: 30px;
		top: -35px;
		box-shadow: 0px 25px 20px -9px #cfcfcf;
		opacity: 0;
		animation: smoke1 4s linear 2s infinite;
		transition: 0.5s linear;
	  }
	  
	  @keyframes smoke {
		0% {
		  transform: translateY(0px);
		}
		50% {
		  transform: translateY(-35px);
		  opacity: 1;
		}
		70% {
		  transform: translateY(-55px);
		  opacity: 1;
		  width: 75%;
		  margin-left: 20px;
		}
	  
		100% {
		  transform: translateY(-115px);
		  opacity: 0.2;
		  width: 20%;
		  margin-left: 40px;
		}
	  }
	  
	  @keyframes smoke1 {
		0% {
		  transform: translateY(0px);
		}
		50% {
		  transform: translateY(-45px);
		  opacity: 1;
		}
		70% {
		  transform: translateY(-65px);
		  opacity: 1;
		  width: 50%;
		  margin-left: 30px;
		}
	  
		100% {
		  transform: translateY(-145px);
		  opacity: 0.2;
		  width: 0%;
		  margin-left: 60px;
		}
	  }
}
