.shake {
	animation: shake 0.3s;
}

@keyframes shake {
	0%, 100% { 
		transform: translateX(0);
	}

	25%, 75% { 
		transform: translateX(10px); 
	}

	50% { 
		transform: translateX(-10px); 
	}
}

main {
	padding-top: 0 !important;
}

#downloader {
	position: relative;
	padding-top: var(--block-spacing-vertical);
}

#result, #loader {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

#loader {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background: #151f27;
	padding: 20px;
}

#result {
	display: grid;
	grid-auto-flow: column;
	grid-gap: 10px;
	grid-template-columns: 1fr;
	background: var(--background-color);
}

#result article {
	margin: 0;
	position: relative;
	--block-spacing-vertical: 20px;
	--block-spacing-horizontal: 20px;
	word-break: break-all;
}

#result footer {
	margin-top: 0;
	padding: 15px;
	position: absolute;
	width: 100%;
	bottom: 20px;
}

#result h2 {
	max-height: 3em;
	overflow: hidden;
	margin-bottom: 5px;
}

#result footer p {
	margin-bottom: 10px;
}

#result button {
	margin-bottom: 0;
}

#result::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

#result::-webkit-scrollbar-track {
	background: transparent;
}

#result::-webkit-scrollbar-thumb {
	background: #444;
}

.hidden {
	display: none !important;
}

#close {
	position: absolute;
	right: 5px;
	top: 5px;
	font-size: 30px;
	width: 1em;
	height: 1em;
	background-image: var(--icon-close);
	background-size: 1em;
	opacity: 0.7;
	cursor: pointer;
}

#close:hover {
	opacity: 1;
}

.hidden2 {
	visibility: hidden;
}
