@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap');

@import url(reset.css);

body {
	background-color: #ffffff;
	color: rgb(63, 137, 139);
	font-family: 'Quicksand', sans-serif;
	font-size: 1.1rem;
 }

 .container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100vw;
	min-height: 100vh;
 }

 .image-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 50vw;
	z-index: 1;
	height: 100vh;
 }
 
 .image-container img {
	object-fit: cover;
	width: 100%;
	height: 100%;
 }

 .price-banner {
	position: absolute;
	top: 20px;
	right: 20px;
	background-color: #d17b49;
	color: white;
	border-radius: 50%;
	width: 100px;
	height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
 }
 
 .form-container {
	flex: 1;
	padding: 50px;
	height: 100vh;
	overflow-y: auto;
	margin-left: 50vw;
	width: 50vw;
	z-index: 2;
	position: relative;	
 }
 
 #pancakeForm{
	display: flex;
	flex-direction: column;
	gap: 10px;
 }

 input[type="checkbox"] {
	margin-right: 5px;
 }
 
 h2{
	font-size: 1.4rem;
	font-weight: 600;
	margin-bottom: 20px;
 }

 h3 {
	font-size: 1.2rem;
	font-weight: 600;
 }

 #customerName{
	font-size: 1rem;
	padding: 7px;
	border-radius: 7px;
	border: 1.5px solid #ccc;
	max-width: 250px;
	
}

 #customerNameCheck {
	transition: opacity 0.5s ease;
	opacity: 1;
	color: red;
 }

#type{
	font-size: 1rem;
	padding: 7px;
	border-radius: 7px;
	border: 1.5px solid #ccc;
	max-width: 150px;
}

 select,
 label {
	display: block;
	color: rgb(63, 137, 139);
	
 }

 #totalPriceDisplay,
 #totalPrice{
	transition: all 0.5s ease;
	font-weight: 600;
 }

 #totalPriceDisplay.price-change{
	color: #d17b49;
 }

 #totalPrice.price-change {
	transform: scale(1.8);
 }

 #seeOrder,
 #confirmOrder,
 #editOrder {
	color: #ffffff;
	background-color: rgb(63, 137, 139);
	font-weight: 600;
	display: inline-block;
	padding: 10px 20px;
	border-radius: 10px;
	border: none;
	font-size: 18px;
	transition: background-color 0.3s ease, transform 0.2s ease;
	cursor: pointer;
 }

 #confirmOrder{
	background-color: #d17b49;
 }
 #confirmOrder:hover{
	background-color: #f49660;
 }

 #seeOrder{
	max-width: 250px;
	margin-top: 20px;
 }

 #seeOrder:hover,
 #editOrder:hover{
	background-color: rgb(81, 161, 164);
 }

 #seeOrder:active,
 #editOrder:active{
	transform: scale(0.95);
 }

 /* Modal window */
.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.5);
 }
 
 .modal-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	background-color: #fefefe;
	margin: 10% auto;
	padding: 20px;
	border-radius: 8px;
	width: 80%;
	max-width: 400px;
	position: relative;
 }

 .modal-content p:not(:last-child){
	margin-bottom: 10px;
 }

 /* Close modal window */
 .close {
	position: absolute;
	right: 15px;
	top: 10px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
 }

 .modal-buttons{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
 }


 @media (max-width: 768px) {
	.container {
	  flex-direction: column;
	  align-items: stretch;
	  min-height: auto;
	}
 
	.image-container {
	  position: relative;
	  width: 100vw;
	  height: 40vh;
	}

	.image-container img {
		object-fit: cover;
		width: 100%;
		height: 100%;
	 }
 
	.form-container {
	  display: flex;
 	  flex-direction: column;
 	  align-items: center;
	  margin-left: 0;
	  width: 100vw;
	  height: auto;
	  overflow-y: visible;
	  padding: 30px 20px;
	}
 
	.price-banner {
	  width: 80px;
	  height: 80px;
	  font-size: 16px;
	  top: 10px;
	  right: 10px;
	}
 }
 
 


 
