:root {
	--color-principal: rgb(0,125,225);
	--color-secundario: rgb(0,150,225);
	--color-terciario: tomato;
}

/* General */
body {
	font-family: "Poppins", sans-serif;
	scroll-behavior: smooth;
	overflow-x: hidden;
	max-width: 100%;
	font-size: 1em;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

.navbar {
	background: var(--color-principal);
	font-size:larger;
}

.nav-link {
	background: var(--color-principal);
	color: white !important;
}

/* Hero */
#hero {
	background: linear-gradient(
		rgba(0, 125, 225, 0.6),
		rgba(0, 150, 225, 0.6)
	),
	url("https://images.unsplash.com/photo-1581093588401-22e8b7e3cc5e?auto=format&fit=crop&w=1600&q=80")
	center/cover fixed;
	min-height: 90vh;
	margin-top: 50px;
}

#hero .btn {
	background-color: var(--color-terciario);
	border: none;
	color: #fff;
	transition: 0.3s;
}
#hero .btn:hover {
	background-color: var(--color-secundario);
}

/* Secciones */
#about {
	background: linear-gradient(90deg, rgba(0,125,225,0.05), rgba(0,200,225,0.1));
}

#programator {
	background: linear-gradient(180deg, var(--color-secundario), var(--color-terciario));
}

#features {
	background: #f7f9fb;
}

#normativa {
	background: linear-gradient(180deg, var(--color-secundario), var(--color-terciario));
	color: #fff;
}

#contact {
  position: relative;
  background: white;
  color: black;
}

#contact::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/*background-color: rgba(0, 0, 0, 0.5);  capa semi-transparente negra */
	z-index: 1;
}

#contact .container {
	position: relative;
	z-index: 2; /* asegura que el contenido quede por encima de la capa semi-transparente */
}

/* Footer */
footer {
	background: var(--color-principal);
	font-size:1.5em;
}

.gota {
	display:inline-flex;
	align-items:center;
	justify-content:center; 
	background:white;
	border-radius:50%;
	width:10px;
	height:14px;
}

h5 {
	font-weight: bold;
	color: darkblue;
}

h2 {
	font-weight: bold;
}

i {
	font-size: 3.5em;
	color: orange;
}

.que_es {
	border: 2px solid rgb(0,125,225);
	border-radius: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.que_es:hover {
	transform: scale(1.2);
}

/* Evita desbordamiento al hacer hover */
.que_es:hover {
  transform: scale(1.1); /* un poco menos de 1.2 */
}

#scrollTopBtn {
	display: none;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 1000;
	background-color: rgb(0,125,225);
	color: #fff;
	border: 1px solid rgba(0,0,0,0.5);
	border-radius: 50%;
	width: 60px;
	height: 60px;
	font-size: 1.2rem;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0,0,0,0.5);
	transition: opacity 0.3s, transform 0.3s, background-color 0.3s;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#scrollTopBtn i {
	font-size: 1.3rem;
	margin-bottom: 2px;
}

#scrollTopBtn span {
	font-size: 0.8rem;
	line-height: 1;
}

#scrollTopBtn:hover {
	background-color: rgb(0,150,225);
	transform: scale(1.1);
}

#scrollTopBtn {
  right: 5vw;
  bottom: 5vh;
}

.logo img {
  transition: transform 0.3s ease;
  overflow: hidden;
}

.logo img:hover {
  transform: scale(1.2);
  overflow: hidden;
}

.imgzoom img {
  transition: transform 0.3s ease;
  overflow: hidden;
}

.imgzoom img:hover {
  transform: scale(1.5);
  overflow: hidden;
}

a, a:hover, a:focus, a:visited, a:active {
  text-decoration: none;   /* asegura que nunca se subraye */
  color: inherit;          /* evita cambio de color en hover o visitado */
}


/* ==== SOLUCIÓN DESBORDAMIENTO MOVIL ==== */
html, body {
  overflow-x: hidden !important;
  width: 100%;
}

/* Evita que los elementos con transform rompan el ancho */
section, div, img, .container, .row {
  max-width: 100%;
  overflow-x: clip;
}


