

/* Page */

@font-face {
	font-family: 'TwCenMT';
	src: url('/static/fonts/TwCenMT.ttf');
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: #ebebeb;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #2d2d2d;
	padding: 0px;

	background-image: url('/static/images/bg_tile_palm.png');
	background-repeat: repeat;
	background-size: 300px;
	background-position: 0 0;
}

.main-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 800px;
	padding: 20px;
}



/* General */

.section-container {
	background: #ffffff;
	border-radius: 12px;
	padding: 1rem 2rem 1rem;
	text-align: center;
	max-width: 600px;
	width: 100%;
	
	border: 0px;
	margin-bottom: 2rem;
	overflow: hidden;
}

.shadow-32 {
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.shadow-12 {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.section-title-italic {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-align: center;
	color: #8a8a8a;
	font-style: italic;
}

.footer {
	font-size: 0.9rem;
	color: #929292;
	text-align: center;
}



/* Specific: Location */

.location-image-container {
	width: 100%;
	aspect-ratio: 2/1;
	border-radius: 0px;
	margin-bottom: 0.25rem;
	border: 0px;
	overflow: hidden;
	position: relative;
}

.location-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	margin: 0;
}

.location-pre-title {
	font-size: 1.25rem;
	margin-top: 0rem;
	margin-bottom: -0.5rem;
	margin-left: -8rem;
	color: #9b9b9b;
	font-style: italic;
}

.location-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-top: 0.35rem;
	margin-bottom: 0rem;
}

.location-description {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-top: 0.0rem;
	margin-left: 1rem;
	margin-right: 1rem;
	margin-bottom: 0rem;
	color: rgb(62, 62, 62);
}

.text-note {
	font-size: 1.0rem;
	color: #9b9b9b;
}

.text-note a:link  {
	color: #9b9b9b;
}




/* Specific: Location checklist */

.checklist-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 1rem;
	list-style: none;
	margin-bottom: 1rem;
}

.checklist-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.5rem;
	border-radius: 12px;
	background: #dfdfdf;
	cursor: pointer;
	position: relative;

	justify-content: center;
}

.checklist-item:hover {
	background: #a7e5f0;
	transform: translateY(-3px);
}

.checklist-item.visited {
	background: rgba(76, 175, 80, 0.3);
}

.checklist-item.visited::after {
	content: '✓';
	position: absolute;
	top: -3px;
	right: -3px;
	background: #4CAF50;
	color: white;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: bold;
}

.checklist-label {
	font-size: 0.9rem;
	text-align: center;
	font-weight: 500;
}



/* modal popup */

.modal {

	/* Darkens the full page to bring focus to the modal content */
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.75);
}

.modal-content {
    /* The modal popup box which appears in the center of the screen */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(255, 255, 255);
	border-radius: 12px;
    padding: 0;
    width: 80%;
	max-width: 500px;
    max-height: 80%;
    overflow: auto;
}




/* Responsive stuff */
@media (max-width: 480px) {

	.location-title {
		font-size: 1.8rem;
	}
	
	.section-title-italic {
		font-size: 1.3rem;
	}
}



/* Forms */


input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

button,
input[type="submit"] {
  width: 100%;
  padding: 0.75rem;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover,
input[type="submit"]:hover {
  background-color: #357abd;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
