@font-face {
	font-family: 'Terminus';
	src: url('/fonts/Terminus.ttf') format('truetype');
}

*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 100%;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: #0d1015;
	color: #e0e0e0;
	font-family: 'Terminus', monospace;
	line-height: 1.8;
}

main {
	flex: 1;
	padding: 1rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.container {
	width: 100%;
	max-width: 36rem;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	padding: 1.5rem;
	border-radius: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
	transition: transform 0.3s, box-shadow 0.3s;
	text-align: left;
}

.container:hover {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}

.container--center {
	text-align: center;
}

.container__logo {
	display: block;
	max-width: 100%;
	height: auto;
	max-height: 4.5rem;
	margin: 0 auto 1rem;
}

.container__title {
	margin-bottom: 1rem;
	color: #ffcc00;
	font-size: 1.5rem;
	letter-spacing: 0.03em;
	font-weight: 700;
}

.container__title--center {
	text-align: center;
}

.container__text {
	margin-bottom: 1rem;
}

.container__link {
	color: #9b4efd;
	text-decoration: none;
	transition: color 0.2s;
}

.container__link:hover {
	color: #b25ffe;
}

.container__list {
	margin: 1rem 0;
	list-style: disc inside;
	text-align: center;
}

.container__list li ul {
	margin-left: 1.5rem;
}

.container__list--left {
	text-align: left;
}

.container__mod {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	min-width: 36rem;
	min-height: 120px;
	padding: 1rem;
	margin-bottom: 1rem;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border-radius: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
	transition: transform 0.3s, box-shadow 0.3s;
}

.container__mod:hover {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}

.container__mod--small {
	max-width: 24rem !important;
}

.mod__title {
	font-weight: 700;
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.mod__id,
.mod__author {
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 0.5rem;
}

.mod__author {
	font-style: italic;
}

.mod__icon {
	width: 6.3rem;
	height: 6.3rem;
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
}

.mod__button1 {
	margin-left: 1.5rem;
}

.mod__button2 {
	margin-top: 1.5rem;
}

.form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.form__input,
.form__textarea {
	background-color: rgba(0, 0, 0, 0.3);
	color: #e0e0e0;
	border: none;
	padding: 0.5rem;
	border-radius: 0.5rem;
	transition: background-color 0.2s;
}

.form__input:focus,
.form__textarea:focus {
	background-color: rgba(0, 0, 0, 0.5);
	outline: none;
}

.form__input {
	width: 100%;
	min-height: 2rem;
}

.form__textarea {
	width: 100%;
	max-width: 379px;
	min-width: 379px;
	min-height: 2rem;
	max-height: 16rem;
}

.button {
	display: inline-block;
	padding: 0.75rem 1.25rem;
	background: linear-gradient(135deg, #8c3fec, #b25ffe);
	color: #fff;
	text-decoration: none;
	border: none;
	border-radius: 0.5rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	transition: transform 0.2s, box-shadow 0.2s;
	cursor: pointer;
	margin: 0.25rem;
}

.button:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.button:active {
	transform: scale(0.97);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.button__goback {
	position: absolute;
	bottom: 1.5rem;
	right: 1.5rem;
}

.button__submit {
	width: 100%;
	text-align: center;
	margin-bottom: 1rem;
}

footer {
	text-align: center;
	padding: 0.75rem 0;
	font-size: 0.875rem;
	background: #111;
}

@media (max-width: 600px) {
	.container {
		font-size: 0.875rem;
	}
	
	.container__mod {
		font-size: 0.875rem;
		min-width: 350px;
		flex-direction: column;
		align-items: flex-start;
		padding: 0.75rem;
	}

	.mod__icon {
		margin: 0 0 0.75rem;
		top: 1rem;
		right: 1rem;
		align-self: flex-end;
		width: 4rem;
		height: 4rem;
	}
	
	.mod__button1 {		
		width: 100%;
	}

	.mod__button1,
	.mod__button2 {
		text-align: center;
		margin: 0.5rem 0 0;
		text-align: center;
	}
		
	.button__goback {
		bottom: 0.75rem;
		right: 0.75rem;
		position: absolute;
	}

	.container__title {
		font-size: 1.1rem;
	}
	.mod__title {
		font-size: 1.1rem;
	}
}

@media (min-width: 900px) {
	html {
		font-size: 112.5%;
	}

	.container {
		padding: 1.5rem;
		max-width: 50rem;
	}

	.form__textarea {
		min-width: 379px;
		max-width: 379px;
	}
}
