
/* ESTILOS GLOBALES */

* {
	margin: 0;
	padding: 0;
	font-family: Helvetica, sans-serif;
}

body {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100dvh;
	color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../_img/inicio.jpg") no-repeat center center / cover;
    z-index: -1;
}


/* ----------------------------- */


/* ESTILOS CUERPO */

/* Contenedor */
.contenedor {
    width: 90%;
    max-width: 800px;
    text-align: center;
}

/* Títulos */
.contenedor h1 { 
	font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.contenedor h2 { 
	font-size: clamp(2rem, 4vw, 3rem);
}

.contenedor h1,
.contenedor h2 {
    margin-bottom: 50px;
}

/* Icono */
.contenedor i {
	font-size: clamp(2rem, 4vw, 3.75rem);
}


/* Texto */
.contenedor p { 
	font-size: clamp(1rem, 3vw, 1.5rem);
	line-height: 1.5;
	font-weight: bold;
}

 /* Botón */
.contenedor .btn {
    display: inline-block;
	font-size: clamp(0.9rem, 2vw, 1rem);
	background-color: #E33323;
	padding: 15px 50px;
	text-decoration: none;
    text-transform: uppercase;
	color: #fff;
	font-weight: bold;
	border-radius: 50px;
	margin-top: 50px;
	transition: transform;
}

.contenedor .btn:hover {
	transform: scale(1.1);
}

/* ----------------------------- */

/* FORMATOS RESPONSIVE */

/* Dispositivos medianos (tablets y pantallas pequeñas) */
@media ( max-width: 860px) {
    .contenedor {
        max-width: 650px;
        text-align: left;
    }
}

/* Dispositivos pequeños (móviles) */
@media (max-width: 600px) {
    .contenedor {
        max-width: 90%;
    }

    .contenedor .btn {
        padding: 12px 30px;
    }

    .contenedor h1 { 
        font-size: clamp(3.5rem, 5vw, 4.5rem);
    }
}

@media (max-width: 410px) {
    .contenedor h1 { 
        font-size: clamp(3rem, 5vw, 4.5rem);
    }

    .contenedor i {
        font-size: clamp(2.5rem, 4vw, 3.75rem);
    }
}
