html {
	background-color: #dabbda;
}

body {
	 font-family: Arial, sans-serif; 
}

#pin-display { 
	font-size: 24px; 
	margin-bottom: 10px;
	font-weight: 700;
	color: purple;
}


.keypad {
	display: grid; 
	grid-template-columns: repeat(3, 60px); 
	gap: 10px; 
	justify-content: center;
}
.key {
	width: 60px; 
	height: 60px; 
	font-size: 24px; 
	cursor: pointer;
	border-color: rebeccapurple;
}

.namesection {
	font-size: 15px;
	font-weight: bold;
	margin: 5px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.namesection p {
	margin: 0;
}

.namesection a {
	font-size: 0.7em;
	opacity: 0.68;
}

#name {
	color: purple;
	font-weight: normal;
}

.mainbox {
	justify-content: center;
	align-items: center;
	display: flex;
	flex-wrap: wrap;
}

.statebox {
	background-color: #c8a3c8;
	width: 70vw;
	height: auto;
	min-height: 10vh;
	border-radius: 15px;
	padding: 6px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-bottom: 10px;
}

.textcenter {
	text-align: center;
}

.group-box {
	background-color: #c8a0c8;
	border-radius: 10px;
	gap: 2px;
	display: grid;
	grid-template-columns: repeat(2, 49.5%);
	position: relative;
	border-width: 2px;
	border-style: dotted;
}

.person-entry {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 5px;
	background-color: #e8d0e8;
	border-radius: 8px;
	margin-bottom: 3px;
	position: relative;
	font-size: 0.8em;
}

.person-entry i { /*fa icons*/
	font-size: 1.2em;
}

.person-entry p { /*age and time*/
	font-size: 0.8em;
	margin: 0;
}

.gender-icon {
	font-size: 1.5em;
	width: 30px;
	text-align: center;
}

.details {
	padding-left: 10px;
	flex-grow: 1;
}

.details p {
	font-size: 0.75em;
}

.time-entry {
	font-size: 0.9em;
	color: #555;
}

.foreign-icon {
	color: #228822;
}

.break {
	flex-basis: 100%;
	flex-grow: 1;
}


.small-person {
	border-radius: 3px;
	width: 50px;
	height: 50px;
	background-color: #c963e4;
	text-align: center;
	display: grid;
	align-items: cenfter;
	justify-content: initial;
	flex-direction: column;
	border-width: 2px;
	border-color: black;
	border-style: solid;
}

.small-person i {
	font-size: 1.2em;
}

.group-button-group {
	padding: 2px;
	bottom: 0;
	background-color: #55136e;
	border-bottom-left-radius: 8px;
	border-top-right-radius: 8px;
	width: fit-content;
	grid-column: span 2;
	display: flex;
	justify-content: center;
	align-items: center;
}

.group-button-group i {
	padding: 3px;
	padding-left: 5px;
	padding-right: 5px;
	opacity: 0.9;
}

.small-person-gender {
	color: #fafafa;
	display: block;
	margin-top: 9px;
}

.small-person p {
	color: white;
	font-weight: bolder;
	letter-spacing: .1rem;
	font-size: 0.8rem;
	margin-top: 1px;
	margin-bottom: 3px;
}

.debug-overlay {
	position: absolute;
	font-size: 0.35em;
	color: black;
	opacity: 35%;
	top: 0;
	left: 1%;
}

.debug-overlay-group {
	position: absolute;
	font-size: 0.5em;
	color: black;
	opacity: 35%;
	bottom:0;
	right: 1%;	
}


.foreign-person {
	background-color: #195723;
	opacity: 0.85;
}

.foot {
	-webkit-box-shadow: -8px -13px 59px -16px rgba(0,0,0,0.8);
	-moz-box-shadow: -8px -13px 59px -16px rgba(0,0,0,0.8);
	box-shadow: -8px -13px 59px -16px rgba(0,0,0,0.8);
	min-height: 4vh;
	opacity: 0.9;
	position: fixed;
	bottom: 0;
}

.foot-cart {
	position: fixed;
	bottom: 0;
	left: 1%;
	width: 75%;
	background-color: purple;
	border-top-left-radius: 5px;
	height: 8%;
	display: flex;
	justify-content: left;
	align-items: center;
}

.foot-submit {
	position: fixed;
	bottom: 0;
	left: 75%;
	width: 24%;
	background-color: palegreen;
	border-top-right-radius: 5px;
	height: 8%;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.foot-submit p {
	font-size: 1.5rem;
	font-weight: bolder;
	margin: 0;
}

.in-cart {
	margin-left: 5px;
	margin-right: 5px;
}


#newbox {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-bottom: 10vh;
	justify-content: space-evenly;
	padding-left: 3vw;
	padding-right: 3vw;
}

.museum-is-empty {
	font-weight: bold;
}

.person-line-break {
	flex-basis: 100%;
	flex-grow: 1;
}

.person-line-space {
	flex-basis: 100%;
	flex-grow: 1;
	height: 0.68vh;
}

.person-break {
	padding-left: 1.5%;
	padding-right: 1.5%;
}

.fa-plane-arrival {
	color: #24c940;
	opacity: 0.75;
}

.fa-plane-departure {
	color: #58a4d6;
	opacity: 0.75;
}
.fa-square-xmark {
	font-size: 1.2em;
	color: #bd1939;
	opacity: 0.75;
}

.discolor-button {
	filter: grayscale(80%);	
}

.selected-button {
	text-shadow: 0 0 7px #CECECE;
}

.grouptype-button {
	padding: 3px;
}

.group-seperator {
	background-color: #ffffff;
	opacity: 30%;
	height: 50%;
	width: 1.2px;
	margin-left: 2px;
	margin-right: 2px;
}

.small-person:has(.fa-child) {
	background-color: #5dc5e4;
}

.small-person:has(.fa-person) {
	background-color: #5dc5e4;

}
