* {
	font-family: Arial, sans-serif;
	color: var(--color);
	text-decoration: none;
	scroll-behavior: smooth;
	scrollbar-width: none;
	margin: 0;
	padding: 0;
    line-height: 1.5;
}
html {
	background-color: var(--back);
}
body {
    display: grid;
	justify-content: center;
	align-items: center;
	background-color: var(--back);
	overflow: hidden;
    color: var(--color);
}
.hide {
    display: none;
}
input[type="tel"]::-webkit-inner-spin-button,
input[type="tel"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
} input[type="tel"] {
    -moz-appearance: textfield;
}

#content {
	display: flex;
	flex-direction: column;
	justify-content: center;
    align-items: center;
	height: 100vh;
} input[type="tel"] {
    padding: 0.5rem;
    margin: 1em 0;
    font-size: 1rem;
    color: var(--back);
    background-color: var(--color);
    border: none;
    border-radius: 0.5em;
    transition: opacity 0.3s;
    opacity: 0.8;
    box-sizing: border-box;
    line-height: 3em;
    height: 3em;
} input[type="tel"]:focus, input[type="tel"]:active {
    outline: none;
    opacity: 1;
} #inputerror {
    height: 2vh;
    color: red;
} button {
    width: fit-content;
    padding: 0.55rem 1rem;
    font-size: 1rem;
    margin-left: 0.5rem;
    cursor: pointer;
    border-radius: 8px;
    color: var(--back);
    opacity: 0.8;
} button:hover {
    opacity: 1;
} #output {
    display: flex;
    flex-direction: column;
    height: 15vh;
    font-size: 1.1rem;
    margin-top: 1rem;
    justify-content: center;
} #output h3 {
    margin-bottom: 1rem;
}

footer {
    display: grid;
	width: 100%;
	position: fixed;
	bottom: 0.5em;
	background: none;
    justify-items: center;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
} footer p {
    grid-column: 2;
	text-shadow: 2px 2px 5px #000;
	font-size: 0.8em !important;
	margin: 0;
	padding: 0;
	justify-self: center;
	grid-column: 1 / -1;
	bottom: 0;
	position: absolute;
}

/* noscript */
#content span {
	align-self: center;
}

#github {
    grid-column: 3;
    display: block;
    position: relative;
	bottom: 0;
	right: 0.5em;
	background-image: url('../img/github.svg');
    background-size: contain;
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
    justify-self: end;
} #github:hover {
	opacity: 0.5;
}

#langswitch {
	position: absolute;
	top: 0;
	width: 3em;
	left: 0;
	margin: 1em;
	transition: filter 0.2s;
} #langswitch:hover {
	filter: saturate(500%);
}