html, body {
	font-size: 1.05rem;
	height: 100%;
	line-height: 1.8;
	width: 100%;
}

html, body, input, textarea {
	font-family: 'Work Sans', sans-serif;
}

html:lang(th) {
	font-size: 1.1rem;
}

body {
	background-color: rgb(248, 240, 231);
	margin: 0;
	padding: 0;
}

a {
	color: #b36300;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3 {
	color: rgb(58, 34, 9);
	font-family: 'Raleway', sans-serif;
}

h2 {
	font-size: 2.2em;
	font-weight: 300;
}

main {
	margin: auto;
	max-width: 800px;
}

p {
	margin: 1.8em 0;
}

main > div {
	margin: 60px 0;
}

@media (max-width: 799px) {
	main {
		padding: 20px;
		padding: 
			calc(env(safe-area-inset-top) + 20px) 
			calc(env(safe-area-inset-right) + 20px) 
			calc(env(safe-area-inset-bottom) + 20px) 
			calc(env(safe-area-inset-left) + 20px);
	}
}

/* main > div:not(:first-child)::before {
	background: url('./img/paragraph-divider.png') no-repeat 50% 50% / contain;
	content: '';
	display: block;
	height: 30px;
} */

#logo {
	background: url('img/logo.png') no-repeat 50% 50% / contain;
	height: 200px;
	margin: 30px 0;
}

#languages {
	text-align: center;
}

ol {
	padding-left: 1.5em;
}

ol li {
	padding: 4px 0 4px 14px;
}

a.pdf {
	background: rgb(30, 30, 30) url('img/shopping-cart.png') no-repeat calc(100% - 30px) 50% / 29px 29px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	color: white;
	font-size: 1.5em;
	display: inline-block;
	margin-bottom: 30px;
	padding: 6px 90px 6px 20px;
}

a.pdf:hover {
	background-color: black;
	text-decoration: none;
}

a.pdf::before {
	/*background: url('./img/icon-file-pdf.svg') no-repeat 50% 50% / contain;*/
	content: '';
	display: inline-block;
	height: 32px;
	margin-right: 10px;
	vertical-align: middle;
	width: 1px;
}

table {
	border-spacing: 0;
	line-height: 1.4;
}

table td {
	vertical-align: top;
}

table thead {
	font-weight: bold;
}

/*******/
table.coffee {
	width: 100%;
}

table.coffee td {
	line-height: 1.4;
	font-weight: bold;
	text-align: center;
	width: 25%;
}

table.coffee td img {
	display: inline-block;
	height: auto;
	width: 192px;
}

@media (max-width: 799px) {
	table.coffee tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	table.coffee td {
		display: block;
		padding-bottom: 10px;
		width: auto;
	}

	table.coffee td img {
		height: auto;
		width: 100%;
	}
}

/*******/
table.numbers {
	border: 2px solid black;
	padding: 10px 20px;
}

table.numbers tbody tr:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

table.numbers thead td {
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

table.numbers tbody tr:not(:last-child) td {
	border-bottom: 1px dotted rgba(0, 0, 0, 0.3);
}

table.numbers td {
	padding: 10px 0;
	width: 200px;
}

/*******/
table.machines {
	width: 100%;
}

table.machines td {
	background-color: white;
	overflow: hidden;
	position: relative;
	text-align: center;
	width: 30%;
}

table.machines span {
	text-shadow: 0 1px 15px black;
	display: block;
	color: red;
	font-size: 20px;
	font-weight: bold;
	left: 50%;
	position: absolute;
	text-align: center;
	opacity: 0.8;
	text-transform: uppercase;
	top: 50%;
	transform: translateX(-50%) translateY(-50%) rotate(-35deg);
	white-space: nowrap;
}

table.machines img {
	height: auto;
	width: 100%;
}

/******/
div.links {
	text-align: center;
}

div.links a {
	background: no-repeat 50% 50% / 100%;
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
	border-radius: 32px;
	color: white;
	display: inline-block;
	margin: 10px;
	position: relative;
	text-decoration: none;
	transition: background-size 500ms ease-in-out, box-shadow 500ms ease-in-out;
}

div.links a div.inner {
	box-sizing: border-box;
	font-size: 1.7rem;
	line-height: 1.2;
	height: 422px;
	padding: 110px 10px 0 10px;
	position: relative;
	width: 286px;
}

div.links a:hover {
	background-size: 120%;
	box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.5);
}

div.links a strong {
	display: block;
}

div.links a div.inner::before {
	background: no-repeat 50% 50% / 85px auto;
	content: '';
	display: block;
	height: 85px;
	margin-bottom: 20px;
}

div.links a::after {
	background: white url('./img/arrow-right-black.svg') no-repeat 50% 50% / 40px auto;
	border-radius: 10px;
	bottom: -40px;
	box-shadow: 0 20px 30px -10px rgba(37, 18, 2, 0.5);
	content: '';
	display: block;
	height: 80px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	transition: background-color 250ms;
	width: 80px;
}

div.links a:hover::after {
	background-color: black;
	background-image: url('./img/arrow-right-white.svg');
}

div.links a.consumers {
	background-image: url('./img/button-consumers-bg.jpg');
}

div.links a.consumers div.inner::before {
	background-image: url('./img/icon-consumers.svg');
}

div.links a.hotel-managers {
	background-image: url('./img/button-hotel-bg.jpg');
}

div.links a.hotel-managers div.inner::before {
	background-image: url('./img/icon-hotel.svg');
}

@media (max-width: 600px) {
	div.links a {
		border-radius: 20px;
		display: block;
	}

	div.links a::after {
		background-size: 30px auto;
		bottom: inherit;
		height: 60px;
		left: 100%;
		transform: translateX(-40px) translateY(-50%);
		top: 50%;
		width: 60px;
	}

	div.links a div.inner {
		align-items: start;
		display: flex;
		justify-content: center;
		flex-direction: column;
		font-size: 1.4rem;
		height: 150px;
		padding: 0 70px 0 100px;
		text-align: left;
		width: 100%;
	}

	div.links a div.inner::before {
		background-size: contain;
		display: block;
		height: 100%;
		left: 20px;
		position: absolute;
		top: 0;
		width: 60px;
	}
}

/*******/
footer {
	font-size: 0.8em;
	margin-bottom: 40px;
	opacity: 0.8;
}

footer::before {
	background: url('./img/paragraph-divider.png') no-repeat 50% 50% / contain;
	content: '';
	display: block;
	height: 30px;
	margin: 60px 0;
}

@media (max-width: 600px) {
	#cookie-bar {
		bottom: 0;
		left: 0;
		width: 100%;
	}

	footer {
		padding: 0 20px 20px 20px;
	}
}

/******/
#cookie-bar {
	background-color: rgb(224 203 191);
	box-sizing: border-box;
	bottom: 2px;
	border-radius: 4px;
	left: 2px;
	padding: 10px 80px 10px 22px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom));
	position: fixed;
	z-index: 10;
}

#cookie-bar a {
	background: url('./img/button-close.svg') no-repeat 50% 50% / 14px 14px;
	border: 1px solid rgba(black, 0.4);
	border-radius: 3px;
	cursor: pointer;
	display: block;
	height: 20px;
	margin-left: 10px;
	position: absolute;
	right: 22px;
	top: 14px;
	width: 20px;
}