@import url('https://fonts.googleapis.com/css2?family=Fira+Code&display=swap');

:root {
	--background: #282a36;
	--foreground: #f8f8f2;
	--comment: #6272a4;
	--accent: #ff79c6;
	--button-bg: #50fa7b;
	--button-hover: #ff79c6;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Fira Code', monospace;
}

body {
	background-color: var(--background);
	color: var(--foreground);
	display: flex;
	flex-direction: column;
	/* justify-content: center; */
	align-items: center;
	min-height: 100vh;
	padding: 10px;
	text-align: center;
	margin-top: 6%;
	/* Se eliminó overflow: hidden para permitir scroll en móviles */
}

.container {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 90%;
	max-width: 500px;
}

h1 {
	color: var(--accent);
	margin-bottom: 20px;
	font-size: 2rem;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 90vw;
}

img {
	max-width: 300px;
	border-radius: 10px;
	margin-bottom: 20px;
	border-style: solid;
	border-width: 12px;
	border-color: #ffffff;
}

p {
	color: var(--comment);
	margin-bottom: 15px;
}

a {
	color: var(--accent) !important;
}

button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--button-bg);
	color: #282a36;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	transition: background 0.3s;
}

button:hover {
	background: var(--button-hover);
	color: var(--background);
}

button i {
	width: 1em;
	height: 1em;
	display: inline-block;
}

#contact-mail {
	/* margin-top: 40px; */
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease-in-out;
	text-decoration: none;
	color: var(--accent);
	font-weight: bold;
}
#contact-mail.visible {
	opacity: 1;
	visibility: visible;
}
#contact-mail:hover {
	text-decoration: underline;
}


.hidden {
	display: none;
	/* margin-top: 30px; */
	text-decoration: none;
	color: var(--accent);
	font-weight: bold;
}

.hidden:hover {
	text-decoration: underline;
}
