@import url('../fonts/fonts.css');

:root {
	--primary-color: #ffb293;
	--secondary-color: #ff3b6d;
	--background-color: #ffb293;
	--white: #ffffff;
	--text-color: #000000;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background-color: var(--background-color);
	color: var(--text-color);
	scrollbar-width: thin;
	scrollbar-color: var(--primary-color) var(--background-color);
	scroll-behavior: smooth;
	padding: 2%;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--background-color);
}

::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--secondary-color);
}

.hidden {
	display: none;
}

a {
	color: var(--secondary-color);
}

::selection {
	background-color: var(--secondary-color);
	color: var(--white);
}

/* == More == */
.bg {
	position: fixed;
	top: 30%;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('..//images/blur-white.svg');
	background-size: cover;
	background-position: center;
	z-index: -1;
}

.preview-screen {
	position: fixed;
	top: 60%;
	left: 80%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	background-image: url('../images/screen.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	z-index: -1;
}

.pre-phrase {
	margin-top: 20%;
	font-size: 1.5rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.img-h1 {
	width: 100%;
	height: 100px;
	background-image: url('../images/LASAGNAS.svg');
	mix-blend-mode: difference;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left;
	margin-bottom: 2rem;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
}

button {
	padding: 0.6rem 1rem;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--white);
	background-color: var(--secondary-color);
	border: none;
	border-radius: 0.7rem;
	cursor: pointer;
	transition: 0.1s ease;
	box-shadow: 0 4px 0px var(--secondary-color);
}

button a {
    text-decoration: none;
    color: inherit;
}

button.white {
	background-color: var(--white);
	color: var(--secondary-color);
}

button:hover {
	background-color: white;
	color: black;
	box-shadow: 0 4px 0px var(--secondary-color);
	transition: 0.1s ease;
}

button:active {
	background-color: white;
	color: black;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0);
	transition: 0.1s ease;
	transform: translateY(5px);
}

.button.white:active {
	background-color: black;
	color: var(--secondary-color);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0);
	transition: 0.1s ease;
	transform: scale(0.95);
	border-radius: 2rem;
}

.credit {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2rem;
}

.credit-texts {
	display: flex;
	flex-direction: column;
}

.creator-pfp {
	width: 50px;
	height: 50px;
	background-image: url('../images/saols.png');
	background-size: cover;
	background-position: center;
}

/* == Media queries == */

@media (max-width: 768px) {
	body {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	button {
		padding: 0.8rem 1rem;
		font-size: 0.9rem;
	}

	.pre-phrase {
		font-size: 1.3rem;
		text-align: center;
	}

	.img-h1 {
		width: 100%;
	}

	.preview-screen {
		top: 80%;
		left: 50%;
		height: 70%;
	}
}

@media (max-width: 568px) {
	.pre-phrase {
		font-size: 1.1rem;
	}

	.preview-screen {
		top: 80%;
		left: 50%;
		height: 50%;
	}

	button {
		padding: 0.6rem 0.8rem;
		font-size: 0.8rem;
	}
}
