.loading-screen {
	position: fixed;
	inset: 0;
	background-color: #4dff4d;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	z-index: 2000;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loading-screen.hide {
	opacity: 0;
	visibility: hidden;
}

.loader {
	width: 3rem;
	height: 3rem;
	border: 0.4rem solid #00cc00;
	border-top-color: #006600;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

.loading-screen p {
	margin: 0;
	font-weight: bold;
	font-family: Arial, sans-serif;
	color: #00995c;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Arial, sans-serif;
	background-color: #00ff00;
	color: #000000;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.notes-header {
	background-color: #4dff4d;
	min-height: 5rem;
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.notes-header h1 {
	margin: 0;
	font-size: 2.5rem;
}

.notes-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #00995c;
}

.notes-viewarea {
    width: 100%;
    height: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #00cc00;
    border-radius: 8px;
    background-color: #4dff4d;
    color: #00995c;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}

.notes-textarea {
    width: 100%;
    min-height: 2rem;
    max-height: 200rem;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #00cc00;
    border-radius: 8px;
    background-color: #4dff4d;
    color: #00995c;
    overflow-wrap: break-word;
    resize: none;
    overflow-y: hidden;
    box-sizing: border-box;
}

textarea::placeholder {
  color: #00995c;
  opacity: 1;
}

.btn {
	background-color: #00cc00;
	border: none;
	cursor: pointer;
	border-radius: 999px;
	color: #000000;
	transition: background-color 0.15s ease;
    padding: 0.45rem 0.5rem;
    min-width: 6rem;
    margin: 0.5rem;
    font-size: 1rem;
}

.btn:hover {
    background-color: #009900;
    cursor: pointer;
}

.btn:active {
    background-color: #006600;
}

.hide {
    display: none;
}

.show {
    display: block;
}

.language-switch {
	position: fixed;
	top: 1rem; 
	left: 1rem; 
	z-index: 1500;
	display: flex;
	align-items: center;
	gap: 0.42vw; 
	font-weight: bold;
	background-color: #4dff4d;
	border: 2px solid #00cc00;
	border-radius: 999px;
	padding: 0.4rem 0.7rem; 
}

.switch {
	position: relative;
	display: inline-block;
	width: 3rem;
	height: 1.5rem;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background-color: #00cc00;
	border-radius: 999px;
	transition: 0.2s;
}

.slider::before {
	content: "";
	position: absolute;
	height: 1.1rem;
	width: 1.1rem;
	left: 0.2rem;
	bottom: 0.2rem;
	background-color: #ffffff;
	border-radius: 50%;
	transition: 0.2s;
}

.switch input:checked + .slider {
	background-color: #009900;
}

.switch input:checked + .slider::before {
	transform: translateX(1.5rem);
}

.lang-es {
	display: none;
}

body.spanish .lang-en {
	display: none;
}

body.spanish .lang-es {
	display: inline;
}

body.spanish p .lang-es {
	display: block;
}

.pill {
	background-color: #00cc00;
	border: none;
	cursor: pointer;
	border-radius: 999px;
	color: #000000;
	transition: background-color 0.15s ease;
	padding: 0.45rem 1rem;
	min-width: 6rem;
	text-decoration: none;
}


.pill:hover {
	background-color: #009900;
}

.pill:active {
	background-color: #006600;
}

#checklistButton{
	position: fixed;
	top: 1rem;
	right: 1rem;
}

.headingAboutSeparationLine{
	width: 100%;
	min-height: 0.21em;
	background-color: #00cc00;
}

