body {
	margin: 0;
	font-family: Arial, sans-serif;
	background-color: #2c2c2c;
	color: #f0f0f0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

nav {
	background-color: #4CAF50;
	border: 2px solid #2e7d32;
	border-radius: 0 0 10px 10px;
	padding: 1em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 1000;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 2em;
}

nav a {
	color: white;
	text-decoration: none;
	font-weight: bold;
}

nav a:hover {
	text-decoration: underline;
}

.pre-socials-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2em;
}

.pre-socials-grid {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 3em;
	flex-wrap: wrap;
	margin-top: 2em;
}

.social-card {
	text-align: center;
	max-width: 300px;
}

.social-card img {
	width: 100%;
	max-width: 300px;
	aspect-ratio: 1 / 1; /* mantiene forma quadrata */
	object-fit: cover;
	border-radius: 12px;
	transition: transform 0.5s ease, box-shadow 0.5s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.social-card img:hover {
	transform: scale(1.08);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}

.caption {
	margin-top: 1em;
	font-size: 1.2em;
	color: #cccccc;
}

.intro-text {
	text-align: center;
	margin-bottom: 2em;
}

.intro-text h2 {
	color: #4CAF50;
	font-size: 1.8em;
	margin-bottom: 0.5em;
}

.intro-text p {
	font-size: 1.1em;
	color: #f0f0f0;
	line-height: 1.5;
}

/* Footer */
footer {
	background-color: #4CAF50;
	border-top: 2px solid #2e7d32;
	color: white;
	font-size: 0.85em;
	padding: 0.7em 1em;
	margin-top: auto;
}

.footer-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	text-align: center;
}

.footer-left a {
	color: white;
	text-decoration: none;
}

.footer-left a:visited {
	color: white;
}

.footer-left a:hover {
	text-decoration: underline;
	color: #42a5f5; /* blu acceso */
}

.footer-center {
	text-align: center;
	flex: 1;
}

.footer-right {
	text-align: right;
	padding-right: 0.5em;
}

.footer-left p,
.footer-center p,
.footer-right p {
	margin: 0.2em 0;
}

.footer-right a {
	color: white;
	text-decoration: none;
}

.footer-right a:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.pre-socials-grid {
		flex-direction: column;
		align-items: center;
	}

	.social-card {
		width: 90%;
	}
}
.page-wrapper {
	display: flex;
	flex: 1;
}

.left-bar,
.right-bar {
	width: 15%;
	background-color: #1a1a1a;
}

.main-content {
	width: 70%;
	max-width: 900px;
	padding: 2em;
	margin: 0 auto;
	box-sizing: border-box;
}

@keyframes flash-border {
	0%, 100% { border-bottom-color: #2e7d32; }
	50% { border-bottom-color: lightgreen; }
}

nav.flash-border {
	animation: flash-border 1s ease;
}
/* Dropdown */
.dropdown {
	position: relative;
}

.dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #4CAF50;
	border: 2px solid #2e7d32;
	border-radius: 0 0 10px 10px;
	padding: 0.5em 0;
	min-width: 150px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	z-index: 1001;
}

.dropdown-menu li {
	display: block;
	padding: 0.5em 1em;
}

.dropdown-menu li a {
	color: white;
	text-decoration: none;
	display: block;
	font-weight: normal;
}

.dropdown-menu li a:hover {
	background-color: #388E3C;
	text-decoration: none;
}

.dropdown:hover .dropdown-menu {
	display: block;
}
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex: 1;
}
