*,
*::before,
*::after {
	margin: 0;
	box-sizing: border-box;
}

:root {
	--clr-white: #f6f6f6;
	--clr-black: #333333;

	--clr-super-light-gray: #f3f3f3;
	--clr-lighter-gray: #9e9292;
	--clr-light-gray: #746767;
	--clr-dark-gray: #444;

	--clr-error: #d0124d;

	font-size: 62.5%;
}

body {
	font: 1.6rem/1.5 "Roboto", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.container {
	width: 95%;
	max-width: 550px;
	margin: 0 auto;
}

@media (min-width: 1300px) {
	.container {
		max-width: 650px;
	}
}

@media (min-width: 1700px) {
	.container {
		max-width: 850px;
	}
}

.logo {
	display: block;
	margin-top: 50px;
	margin-left: 40px;

	width: 30rem;
}

.details {
	position: absolute;
	top: 300px;
	left: 40px;

	width: 15vw;
	font-size: 2rem;

	display: none;
}

@media (min-width: 1000px) {
	.details {
		display: block;
	}
}

.title {
	color: var(--clr-black);
	text-align: center;
	font-weight: bold;
	font-size: 4.2rem;
	line-height: 10rem;
}

.form {
	padding: 5rem 0;
}

.submit {
	display: flex;
	justify-content: center;
	align-items: center;

	margin-top: 8rem;
}

.submit__button {
	padding: 0;
	border: 0;

	font-size: 2.25rem;
	border: 2px solid var(--clr-black);
	color: var(--clr-black);
	background: white;
	padding: 2.3rem 6rem;
	border-radius: 5rem;

	transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.submit__button:hover,
.submit__button:focus,
.submit__button:active {
	cursor: pointer;
	background: var(--clr-black);
	color: white;
}

.submit__button:disabled {
	cursor: default;
	background: white;
	color: var(--clr-super-light-gray);

	border-color: var(--clr-super-light-gray);
}

.error {
	color: var(--clr-error);
}

.loader {
	display: flex;
	justify-content: center;
	align-items: center;

	padding: 0.8rem 0;
}

.loader__spinner {
	border: 0.5rem solid var(--clr-super-light-gray);
	border-top: 0.5rem solid var(--clr-black);
	border-radius: 50%;

	width: 4rem;
	height: 4rem;

	animation: spin 2s linear infinite;
}

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

.download {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: all 0.25s;

	background: var(--clr-black);
	color: var(--clr-white);
	border: 0;
	border-radius: 0.8rem;
	padding: 0.8rem 2rem;
}

.download--active {
	margin-top: 3.5rem;
	max-height: 8rem;
	opacity: 1;
	cursor: pointer;
}

.download__icon {
	width: 2.2rem;
}

.download__link {
	font-size: 1.5rem;
	color: var(--clr-white);
	text-decoration: none;
	margin-left: 1.5rem;
}

.server-errors {
	color: var(--clr-error);
	display: none;
}

.server-errors--active {
	display: block;
}

.disable-fields {
	margin-top: 2rem;
	font-size: 1.8rem;
	user-select: none;
}

.disable-fields__input {
	margin-right: 0.5rem;
}
