/* alegreya-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/alegreya-sans-v24-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/alegreya-sans-v24-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/alegreya-sans-v24-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/alegreya-sans-v24-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/alegreya-sans-v24-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/alegreya-sans-v24-latin-regular.svg#AlegreyaSans') format('svg'); /* Legacy iOS */
}

/* alegreya-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/alegreya-sans-v24-latin-700.eot'); /* IE9 Compat Modes */
  src: url('../fonts/alegreya-sans-v24-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/alegreya-sans-v24-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/alegreya-sans-v24-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/alegreya-sans-v24-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/alegreya-sans-v24-latin-700.svg#AlegreyaSans') format('svg'); /* Legacy iOS */
}

html {
	margin: 0;
	padding: 0;
	font-size: 16px;
}

body {
	margin: 0;
	padding: 0 20px;
	width: calc(100vw - 40px);
	height: 100vh;
	color: #eceae8;
	background-color: #000;
	font-family: 'Alegreya Sans', sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.logo {
	max-width: 100%;
	height: auto;
	margin-bottom: 20px;
}

.title {
	margin: 0 0 20px;
	font-weight: 700px;
	font-size: 1.5rem;
	user-select: none;
}

.box {
	height: 95px;
	background-color: #202324;
	border: 1px solid #414445;
	border-radius: 1px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
}

.input-wrapper {
	background-color: #121212;
	border: 1px solid #3b3b3b;
	border-radius: 5px;
	width: 100%;
	height: 35px;
	display: flex;
}

.input-wrapper:hover {
	border-color: #eceae8;
}

.input {
	flex: 1 1 auto;
	width: 100%;
	border: 0;
	background-color: transparent;
	color: #eceae8;
	font-family: 'Alegreya Sans', sans-serif;
	font-size: 1rem;
	padding: 0 10px;
}

.input:focus-visible {
	outline: none;
}

.label {
	flex: 0 0 100px;
	font-size: 1.2rem;
	color: #414445;
	font-weight: 400;
	margin: 7px 0;
	padding: 0 10px;
	border-left: 1px solid #414445;
	text-align: right;
	user-select: none;
}

.hint {
	color: #414445;
	margin-top: 20px;
	text-align: center;
	font-size: 0.8rem;
	font-weight: 400px;
	user-select: none;
}

@media screen and (min-width: 720px) {
	.title {
		font-size: 2rem;	
	}
	
	.box {
		height: 70px;
		flex-direction: row;
		padding: 0;
	}
	
	.input-wrapper.input-wrapper-left {
		margin: 0 10px 0 20px;
	}

	.input-wrapper.input-wrapper-right {
		margin: 0 20px 0 10px;
	}
	
	.label {
		flex: 0 0 auto;
	}
}
