@charset "utf-8";
/* SpecialCakesForAllOccasions
	By Alex Martin
	CSS Document */

/*•	Burnt red: #E94D40
•	Navy blue: #0C243C
*/
body {
	font-size: 1em;
	line-height: 1.3em;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-right: 0;
	margin-left: 0;
	border: 5px solid white;
	font-family: Arial;
	color: black;
	background-color: #F5F5DC;
	
}

main {
	width: 1200px;
	color: #0C243C;
	margin-bottom: 12px;
}

footer {
	background-color: #FFEBCD;
	color: #E94D40;
	padding: 12px;
	border: 2px solid #E94D40;
}

.specialcakesfont {
	font-family: Arial, sans-serif;
	color: #0C243C;
}


.banner {
	width: 1200px;
	height: 360px;
}

.shopimage {
	width: 975px;
	height: 750px;
}

h1 {
	color: #0C243C;
	font-family: Arial;
}

h2 {
	color: #0C243C;
	font-family: Arial;
}

p {
	color: #0C243C;
	font-family: Arial;
}


.homelogo {
	border: none;
	background-color: white;
	vertical-align: central;
}


.topbar {
	display: flex;
	flex-direction: row;
	width: 975px;
	align-items: center;
	background-color: white;
	border: 1px solid #0C243C;
	border-radius: 4px;
}


.hbox {
	display:flex;
	flex-direction: row;
	justify-content: end;
	padding: 0;
	border: 0;
}

a {
	text-decoration: none;
	color: black;
}

a:hover {
	color: #555;
	cursor: pointer;
}

button:hover {
	color: #555;
	cursor: pointer;
}

ul {
	margin: 0;
	padding: 0;
}

.pagination {
	display: flex;
	flex-direction: row;
	align-items: center;
	font-weight: bold;
	list-style: none;
	list-style-type: none;
}

.pagination_p2 {
	font-size: 18px;
	color: #0C243C;
	margin: 8px;
	border: 1px solid #0C243C;
	border-radius: 16px;
	padding: 16px 8px 16px 8px;
	background-color: #F5F5DC;
	color: #0C243C;
}

.pagination_p2 hover {
	color: #555;
	cursor: pointer;
}

.pagination a.active {
	font-size: 20px;
	border-color: #808080;
}

.headerimage {
	padding: 12px 0px;
	flex-shrink: 0;
	width: 1200px;
	height: 360px;
}

.scrollbox {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: 1492px;
	justify-content: space-around;
	margin: 0;
	border: 0;
	background-color: #FFEBCD;
}

.scrollbuttons {
	width: 20%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin:0;
	border:0;
}

.xscrollcontainer {
	display: flex;
	flex-direction: row;
	width: 50%;
	overflow-x: scroll;
	background-color: #FFEBCD;
}

.scrollframe {
	
	position: relative;
	text-align: center;
	background-color: #FFEBCD;
	color: #E94D40;
}

.scrolltext {
	background-color: white;
}

.scrollimage {
	padding-top: 64px;
	width: 746px;
	height: 490px;
}

.tablestyle {
	border: 2px solid #0C243C;
	border-collapse: collapse;
	margin-top: 12px;
	font-family: Arial;
}

table, th, td {
	font-family: Arial;
	border: 1px solid black;
	border-collapse: collapse;
	padding: 4px 12px 4px 12px;
}

table, th {
	color: #0C243C;
	background-color: darkgray;
	font-family: Arial;
}

table, td {
	color: #0C243C;
	background-color: white;
	font-family: Arial;
}

form, input {
	font-family: Arial;
	color: #0C243C;
	max-width: 640px;
}

li {
	list-style-type: none;
	font-family: Arial;
}

.floatleft {
    float: left;
}
.floatright {
    float: right;
}
.clearboth {
    clear: both;
}

/* Container holding the image and the text */
.container {
	position: relative;
	text-align: center;
	color: white;
}

/* Bottom left text */
.bottom-left {
	position: absolute;
	bottom: 8px;
	left: 16px;
	background-color: white;
}

/* Top left text */
.top-left {
	position: absolute;
	top: 8px;
	left: 16px;
}

/* Top right text */
.top-right {
	position: absolute;
	top: 8px;
	right: 16px;
}

/* Bottom right text */
.bottom-right {
	position: absolute;
	bottom: 8px;
	right: 16px;
}

/* Centered text */
.centered {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}