/* Reset */
h1, h2, h3, h4, h5, h6 {
	margin: 0;
}

/* Utilities */
.fill {
	flex: 1;
}

.mirror-x {
	transform: scaleX(-1);
}

/* Layout */
body {
	box-sizing: border-box;
	background-color: #f0f0f0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-style: normal;
}

header {
	position: sticky;
	top: 0;
	display: flex;
	background: #0A2631;
	color: #ffffff;
	padding: 1rem 8rem;
	align-items: center;
	z-index: 10;

	.logo {
		height: 4.5rem;
	}

	ul {
		display: flex;
		list-style-type: none;
		text-align: center;
		margin: 0;
		padding: 0;
	}

	ul li {
		width: 8rem;
		a {
			text-decoration: none;
			color: inherit;
		}
	}
}

footer {
	text-align: center;
}

.container {
	flex: 1;
	background: linear-gradient(65.44deg, #0F2D38 -3%, #0FB3BC 49.85%, #96E5AC 102.7%);
}

/* Components */
.button-container {
	display: flex;
	justify-content: start
}

.button-container.right {
	display: flex;
	justify-content: end;
}

.button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 10rem;
	padding: 0.5rem;
	border-radius: calc(1rem / 4);
	background: #0A2631;
	color: #ffffff;
	font-weight: 600;
}

.block {
	display: flex;
	flex-direction: column;
	align-items: center;
	/*
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
	*/

	p {
		text-align: justify;
	}

	.content {
		display: flex;
		align-items: end;
		max-width: 1200px;

		& > div, & > img {
			flex: 1 1 auto;
			/*
			max-width: 50%;
			*/
		}

		& > div {
			flex: 1 1 auto;
			margin: 1rem;
		}
	}

	&.normal {
		/*
		box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.25);
		*/
		background-color: #f0f0f0;
		box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
	}

	&.gradient {
		color: #ffffff;
		/*
		background: linear-gradient(65.44deg, #0F2D38 -3%, #0FB3BC 49.85%, #96E5AC 102.7%);
		*/
		.content {
			flex-direction: row-reverse;
		}

		a {
			color: #fff;
			&:visited {
				color: #fff;
			}
		}
	}
}

#btn-top {
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	font-size: 3rem;
	width: 4rem;
	height: 4rem;
	border-radius: 3rem;
	padding: 0.2rem;
	background-color: rgba(0, 0, 0, 0.4);
	color: #fff;
	z-index: 10;

	svg {
		transition: transform 0.3s cubic-bezier(0.18, 1.14, 0.5, 1.6);
		stroke: #fff;
		fill: rgba(156, 143, 26, 0);
		stroke-width: 2;
		vertical-align: middle;
		&:hover {
			transform: scale(1.1);
		}
	}
}

#msg-sender {
	#msg-form {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 40rem;
	}

	.input {
		width: 100%;
		min-width: 20rem;
		border: none;
		border-radius: calc(1rem / 4);
		box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
		padding: 0.5rem;
		margin-bottom: 0.5rem;
	}

	#msg-error:not(:empty) {
		padding: 1rem;
		border: 1px solid red;
		border-radius: calc(1rem / 4);
		background-color: #800;
		witdh: 100%;
	}

	#msg-sent {
		display: none;
	}
	&.sent {
		#msg-form {
			display: none;
		}
		#msg-sent {
			display: block;
		}
	}
}

a {
	transition: transform 0.3s cubic-bezier(0.18, 1.14, 0.5, 1.6);
	text-decoration: none;
	&:hover {
		transform: scale(1.1);
	}
}

@media screen and (max-width: 900px) {
	.block > .content {
		flex-direction: column !important;

		& > div, & > img {
			max-width: 100%;
		}
	}
}

/* vim: ts=4
 */
