@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

:root {
	--bg-col:  #baf0a8;
	--sh-col:  #8bdb70;
	--tx-col:  #e60585;

	--cool-bg:  repeating-linear-gradient(45deg, 
		var(--sh-col) 0, var(--sh-col) 20px, var(--bg-col) 20px,
		var(--bg-col) 35px, var(--sh-col) 35px, var(--sh-col) 40px);

	--cool-bg2:  repeating-linear-gradient(45deg, 
		var(--tx-col) 0, var(--tx-col) 20px, var(--sh-col) 20px,
		var(--sh-col) 35px, var(--tx-col) 35px, var(--tx-col) 40px);;
}


body {
	font-family: sans-serif;
	color: var(--tx-col);
	background-color: var(--bg-col);
	margin: 0;
	
}

main {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 1em;
	box-sizing: border-box;
	margin-bottom: 3em;
}

.grid-container {
	display: grid;
	grid-template-columns: auto auto;
	gap: 1em;
	margin-bottom: 2em;
	max-width: 50em;
}

	.grid-container .right-bordered {
		border-right: 2px solid var(--tx-col);
	}

	.grid-container .bottom-bordered {
		border-bottom: 2px solid var(--tx-col);
	}

	.grid-container .grid-element {
		padding: 0.8em;
	}

.large {
	grid-column: 1 / 3;
}

h1 {
	font-family: 'Fredoka One', cursive;
	text-align: center;
	font-size: 9em;
	margin: 0;
	padding: 0.12em 0 0.06em 0;
	border-bottom: 2px solid var(--tx-col);
	width: 100%;
	background: var(--cool-bg);
}

.chapo {
	text-align: center;
	font-style: italic;
}

button {
	margin-top: 0.5em;
	font-size: 1.2em;
	border-radius: 4px;
	min-width: 6em;
	color: inherit;
	border: 3px solid var(--tx-col);
	padding: 0.4em;
	background-color: var(--sh-col);
	display: inline-block;
	font-weight: bold;
	transition: color 0.2s, background-color 0.2s;
}

	button:hover {
		cursor: pointer;
		background-color: var(--bg-col);
	}

	button:active {
		background-color: var(--tx-col);
		color: var(--bg-col);
	}

.drop-zone {
	position: relative;
	display: flex;
	border: 4px dashed var(--tx-col);
	border-radius: 1em;
	font-size: 1.6em;
	height: 200px;
	min-width: 200px;
	text-align: center;
	justify-content: center;
	align-items: center;
	background-color: var(--sh-col);

	background: var(--cool-bg);

	text-decoration: underline;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s, background 1s;
}

	.dragging {
		border-color: var(--bg-col);
		background: none;
		background-color: var(--tx-col);
		
		color: var(--bg-col);
	}

	.drop-zone input {
		position: absolute;
		z-index: 2;
		width: 100%;
		height: 100%;
		opacity: 0;
	}

	.drop-zone input:hover {
		cursor: pointer;
		
	}

footer {
	position: fixed;
	padding: 0.5em;
	border-top: 2px solid var(--tx-col);
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--sh-col);
	background: var(--cool-bg);
}

footer a {
	color: inherit;
}
