body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	background-image: var(--fondo-imagen);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

.new-bg {
	background-color: rgb(247, 248, 252);
}

.logo-fondo {
	width: 100px;
	height: auto;
	margin-bottom: 30px;
	margin-left: 1%;
	transition: all 0.3s ease;
}

/* Animación de balanceo en el Logo al hacer hover */
.logo-fondo:hover {
	animation: balanceo 1s ease-in-out infinite;
}

/* Estilos nav pills para login y register */
.nav-pills {
	display: flex;
	border-bottom: 2px solid #E1E8ED;
	margin-left: 8px;
	margin-right: 8px;
	/* Línea sutil inferior, como en X */
}

.nav-pills .nav-item {
	padding: 0; /* Elimina cualquier padding extra */
}

.nav-pills .nav-link {
	background-color: white;
	color: #657786;
	font-weight: 500;
	font-size: 16px;
	border-radius: 0;
	padding: 10px;
	border-bottom: 3px solid transparent;
	/* Evita que la interfaz se mueva cuando se activa */
	outline: none; /* Elimina la selección azul al hacer clic */
	box-shadow: none;
	margin: 0px; /* Evita sombras o efectos extra */
	text-transform: none;
}

.nav-pills .nav-link:hover {
	background-color: #e1e1e1;
	cursor: pointer;
	border-bottom: 5px solid #e1e1e1;
}

.nav-pills .nav-link.active {
	background-color: white; /* Fondo blanco para el activo */
	color: black;
	font-weight: bold;
	border-bottom: 5px solid #0068de;
}

@
keyframes balanceo { 50% {
	transform: rotate(10deg);
	/* Pasa a la derecha */
}

0
%
{
transform
:
rotate(
-10deg
);
/* Inicia ligeramente a la izquierda */
}
100
%
{
transform
:
rotate(
-10deg
);
/* Regresa a la posición inicial */
}
0
%
{
transform
:
rotate(
-10deg
);
/* Inicia ligeramente a la izquierda */
}
}
.logo-movil {
	display: none;
}

.btn-blue {
	background-color: rgb(0, 104, 222);
}

.btn-blue:hover {
	background-color: rgb(0, 32, 177);
}

.margin-logo {
	margin-bottom: 20px;
}

.carousel-radius {
	border: 10px #333;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}

.btn-iconos-login {
	box-shadow: 3px 3px 3px rgba(66, 78, 250, 0.247);
}

.card-shadow {
	box-shadow: 0px 3px 10px rgba(84, 88, 128, 0.2);
}

.card-border {
	border-radius: 10px;
	background-color: #ffffff;
}

.social-sidebar {
	position: fixed;
	top: 38%;
	right: 0;
	transform: translateY(-50%);
	background-color: rgb(255, 255, 255);
	padding: 15px;
	z-index: 9999;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	box-shadow: 0px 5px 8px rgba(84, 88, 128, 0.2);
}

.social-sidebar ul li {
	margin-bottom: 10px;
}

.social-sidebar ul li a {
	color: #686868;
	font-size: 30px;
	text-decoration: none;
}

.social-sidebar ul li img:hover {
	filter: brightness(1.2);
	transform: scale(1.20);
	transition: transform 0.1s ease, filter 0.1s ease;
}

.hr {
	margin: 1rem 0;
	color: #b4b4b4;
	background-color: #c0c0c0 !important;
	height: 2px !important;
	border: 0;
	border-top: 1px solid;
}

.inicia-sesion {
	font-size: 25px;
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 20px;
}

.justify-content-around {
	justify-content: space-between !important;
}

.bg-cambio {
	background-image: var(--fondo-imagen);
	height: 100vh;
	background-position: center;
	background-size: cover;
}

#margin-top {
	margin: 0% !important;
}

#video-radius {
	width: 80%;
	height: auto;
	border-radius: 10px;
	object-fit: cover;
}

.video-container {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

.carousel-bg {
	background-color: rgb(158, 236, 255);
}

/* Estilo del botón flotante */
.floating-button {
	position: fixed;
	bottom: 20px;
	left: 20px;
	background-color: rgb(255, 255, 255);
	border-radius: 50%;
	border: 2px solid rgb(236, 236, 236);
	width: 80px;
	height: 80px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	z-index: 1000;
}

#floating-button img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Estilo del menú flotante */
.menu {
	position: fixed;
	bottom: -63px;
	left: 3.5%;
	transform: translate(-50%, -50%);
	background-color: #ffffff;
	border-radius: 10px;
	/* padding: 10px; Lo dejo comentado porque puede que lo reactive */
	width: 92%;
	height: 95%;
	opacity: 0;
	transform: translateY(100%);
	visibility: hidden;
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 9999;
	overflow-y: auto;
}

.menu.open {
	opacity: 1;
	transform: translateY(-80px);
	/* El menú se mueve hacia arriba */
	visibility: visible;
	box-shadow: 0px 5px 8px rgba(84, 88, 128, 0.2);
}

.menu.close {
	opacity: 0, 5;
	transform: translateY(100%);
	/* Menú se mueve hacia abajo al cerrarse, no funciona */
	visibility: hidden;
}

/* -------- VERSIÓN MÓVIL -------- */
@media ( max-width : 768px) {
	body {
		background-attachment: scroll;
		background-size: auto 100%;
		background-position: right;
	}
	.inicia-sesion {
		font-size: 20px;
		font-weight: bold;
		margin-top: 25px;
		margin-bottom: 20px;
	}
	.col-12 {
		flex: 0 0 auto;
		width: 100%;
		padding-left: 5px;
		padding-right: 5px;
	}
	.row {
		padding-right: 1%;
		padding-left: 1%;
	}
	.p-3 {
		padding: 0.5rem !important;
	}
	.logo-fondo {
		display: none;
	}
	.logo-movil {
		display: flex;
		width: 140px;
		height: auto;
		margin: 20px 20px 30px 10px;
	}
	.social-sidebar {
		display: none;
	}
	.bg-cambio {
		background-image: var(--fondo-movil);
		width: 100%;
		height: 100%;
		background-position: center;
		background-size: cover;
	}
	#floating-button {
		display: flex;
	}

	/* Fondo oscuro */
	.overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: rgba(0, 0, 0, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
		z-index: 999;
	}
	.overlay.show {
		opacity: 1;
		visibility: visible;
	}

	/* Encabezado de la tarjeta */
	.card-header {
		justify-content: space-between;
		height: 100px;
		width: 100%;
		border-radius: 10px;
		background: var(--header-helper);
		background-size: cover;
		border-bottom: none;
	}
	.card-header:first-child {
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
	}
	.card-header img {
		height: 100%;
		width: auto;
		background-size: contain;
	}
	.card-header h2 {
		margin-left: 25px;
		margin-top: 0px;
		margin-bottom: 0px;
	}
	.help-header {
		display: flex;
		align-items: center;
		height: 100px;
		width: 100%;
		align-items: center;
		justify-items: center;
	}

	/* Botón de cerrar (X) */
	.close-btn {
		font-size: 30px;
		background: transparent;
		border: none;
		color: #333;
		top: 5px;
		right: 12px;
		position: absolute;
		display: fix;
	}
	.contact-list {
		display: flex;
		flex-direction: column;
		list-style: none;
		margin-top: 20px;
		overflow-y: auto;
		line-height: 20px;
	}
	.contact-card {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 90%;
		height: 100%;
		border-radius: 10px;
		background-color: rgb(255, 246, 231);
		margin-bottom: 10px;
		padding: 10px 40px;
	}
	.contact-title {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}
	.contact-title p {
		margin: 3px 3px;
	}
	.contact-title img {
		margin: 3px 3px;
		display: block;
		width: 15px;
		height: 15px;
	}
	.contact-btn {
		width: 80%;
		height: auto;
		border-radius: 10px;
		background-color: rgb(0, 104, 222);
		border: none;
		padding: 10px 20px;
		text-align: center;
		text-decoration: none;
		display: inline-block;
		margin-top: 5px;
		margin-bottom: 7px;
		box-shadow: 3px 3px 3px rgba(66, 78, 250, 0.247);
	}
	.contact-btn a {
		color: white;
		text-decoration: none;
		display: block;
	}
	.bg-movil {
		height: 100%;
	}
	.bg-especial-movil {
		height: 100vh;
	}
}

/* -------- PARA ALTERNAR EL MENU Y EL BOTÓN FLOTANTE -------- */
@media ( min-width : 769px) {
	#floating-button {
		display: none;
	}
	.menu {
		display: none;
	}
}
/* -------- VERSIÓN PANTALLAS GRANDES -------- */
@media ( min-width : 1200px) {
	.p-xl-5 {
		padding: 1rem !important;
	}
	.col-xxl-11 {
		width: 80%;
	}
}