:root {
	--grey: rgb(243, 243, 249);
	--vitalForestGreen: #57c065;
}

* {
	margin: 0;
	padding: 0;
	font-family: 'Raleway', sans-serif;
	box-sizing: border-box;
}

:focus {
	outline: none;
}

nav {
	background: white;
	padding: 1rem;
}

	nav a {
		color: black;
		padding: .5rem 1rem;
		text-decoration: none;
	}

	nav button{
		background: none;
		border: none;
	}

body {
	background-color: var(--grey);
}

button {
	font-size: 1rem;
	cursor: pointer;
}

	button:disabled {
		cursor: not-allowed;
	}

#copy-button {
	margin-left: 1rem;
	position: unset;
	width: 75px;
	background-color: lightgray;
}

	#copy-button:active {
		background-color: gray;
	}

.error{
	color: red;
}

.theme-image {
	height: 130px;
	width: 130px;
	min-width: 130px;
	object-fit: cover;
	border-radius: 15%;
}

.round-button {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	border: none;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2.6rem;
}

article {
	position: relative;
	width: 70vw;
	min-width: 300px;
	margin: 5rem auto;
	border-radius: 1rem;
	background-color: white;
	padding: 1rem 1rem 6rem 1rem;
	box-shadow: 0 1rem 3rem 0 rgba(0, 0, 0, .1);
	position: relative;
}

	article header {
		display: flex;
		align-items: center;
		padding: 1rem;
	}

		article header #back {
			width: 2rem;
			margin-right: 1rem;
		}

		article header #logo {
			width: 5rem;
			margin-left: auto;
		}

	article section {
		padding: 1rem;
	}

		article section + section {
			border-top: 1px solid rgba(0, 0, 0, .05);
		}

		article section a {
			color: black;
			text-decoration: none;
		}

		article section a + a {
			padding-top: 1rem;
			border-top: 1px solid rgba(0, 0, 0, .05);
		}

	article h1 {
		display: inline-block;
		font-weight: 500;
		font-size: 2rem;
	}

	article section:last-of-type button {
		padding: 1rem 0;
		border-radius: 999rem;
		border: none;
		display: block;
		width: calc(100% - 4rem);
		position: absolute;
		bottom: 2rem;
		left: 2rem;
	}

	article section .title {
		margin-top: 1.5rem;
		margin-bottom: .5rem;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	article section .title h3 {
		margin: 0;
	}

	article section div button {
		background-color: green;
	}

#login label {
	display: block;
	margin-bottom: .5rem;
}

	#login label:last-of-type {
		margin-top: 1rem;
	}

#login input {
	padding: .5rem 1rem;
	border-radius: 999rem;
	border: none;
	background-color: var(--grey);
	width: 100%;
}

	#login input:last-of-type {
		margin-bottom: 1rem;
	}

#themes {
	padding-bottom: 1rem;
}

	#themes div {
		display: flex;
		align-items: center;
	}

		#themes div[class^=theme] {
			padding: 1rem 1rem 1rem .5rem;
		}

			#themes div[class^=theme] + div[class^=theme] {
				border-top: 1px solid rgba(0, 0, 0, .05);
			}

	#themes figure[class^=theme] {
		width: 2rem;
		height: 2rem;
		border-radius: 999rem;
		margin-right: .5rem;
	}

		#themes figure[class^=theme] p {
			clip: rect(1px, 1px, 1px, 1px);
			clip-path: inset(50%);
			height: 1px;
			width: 1px;
			margin: -1px;
			overflow: hidden;
			padding: 0;
		}

	#themes div[class^=theme] p {
		margin-left: .5rem;
		display: block;
	}

	#themes .metadata {
		display: block;
	}

#bottom-form {
	margin-bottom: 5rem;
}

#reserve fieldset {
	border: none;
	margin-bottom: 2rem;
}

	#reserve fieldset legend {
		margin-bottom: .5rem;
	}

	#reserve fieldset label {
		display: inline-block;
		background-color: var(--grey);
		padding: .5rem 1rem;
		border-radius: 999rem 0 0 999rem;
		width: 100px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

		#reserve fieldset label:last-of-type {
			border-radius: 0 999rem 999rem 0;
		}

		#reserve fieldset label:has(input:checked) {
			background-color: var(--vitalForestGreen);
		}

		#reserve fieldset label input {
			display: none;
		}

#reserve button {
	background-color: var(--grey);
}

	#reserve button:focus {
		background-color: var(--vitalForestGreen);
	}

#session button {
	color: white;
	background-color: rgb(199, 25, 77);
	border: none;
	padding: 1rem 0;
	border-radius: 999rem;
}

.row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

	.row button {
		width: 2rem;
		height: 2rem;
		border-radius: 50%;
		border: none;
		background-color: rgb(219, 63, 63);
		color: white;
		font-weight: 900;
	}

	.row + .metadata-row {
		margin-top: 1rem;
	}

.back {
	padding-right: 1rem;
	text-decoration: none;
	color: black;
	font-size: 1.5rem;
}

h2 {
	font-weight: 100;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

h3 {
	font-size: 1rem;
	margin: 2rem 0 .5rem 0;
}

h4 {
	padding-bottom: .5rem;
}

form .form-group + .form-group {
	margin-top: 1rem;
}

form .form-group, form .form-group > * {
	display: block !important;
}

	form .form-group input:not([type=color]), form .form-group select {
		padding: .5rem 1rem;
		border-radius: 999rem;
		border: none;
		background-color: var(--grey);
		width: 100%;
	}

	form .form-group select {
		border-right-style: solid;
		border-right-width: 1.15rem;
		border-color: var(--grey)
	}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.loader {
	left: calc(50% + 40px);
	top: calc(50% - 30px / 2);
	position: absolute;
	border: 4px solid #f3f3f3;
	border-radius: 50%;
	border-top: 4px solid var(--vitalForestGreen);
	width: 30px;
	height: 30px;
	-webkit-animation: spin 2s linear infinite; /* Safari */
	animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}
