/*comienzo iniciar sesion*/
*{
	margin: 0;
}
.usuario{
	padding-inline: 1em;
}

.sesion_contenido {
	margin-top: 3rem;
	margin-bottom: 3rem;
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
	gap: 1.5rem;
	width:50%;
}

.form {
	padding: 3rem 2.5rem;
	display: flex;
	flex-direction: column;
	background-color: #d8eefe;
	box-shadow: 3px 1px 1px #69696931;
	border-radius: 0.5rem;
}

.form > h1 {
	font-size: 2.5rem;
	color: #050d52;
	font-weight: 700;
	margin-bottom: 0.5rem;
	font-family: Teko;
}

.form p {
	font-size: 0.95rem;
	color: #56606c;
	margin-bottom: 1.5rem;
}

label {
	font-size: 1rem;
	font-weight: 700;
	color: #050d52;
	margin-bottom: 0.65rem;
}

.caja {
	background-color: #fffffe;
	padding: 1rem;
	border-radius: 0.5rem;
	margin-bottom: 1.5rem;
	outline: none;
}

.boton-modal label{
	background-color: #0a3e9e;
	padding-block: 0.8rem;
	padding-inline: 2.1rem;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 0.5rem;
	width: 145px;
	margin-top: 2rem;
	margin-bottom: 2.5rem;
	cursor: pointer;
	color: #f5f5f5;
}

.boton-modal label:hover{
	background-color: #003760;
	box-shadow: 0 5px 3px rgb(0, 55, 96, 0.3);
	transition: box-shadow 0.2s ease;
}

#btn-modal{
	display: none;
}

.container-modal{
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgb(86, 96, 108, 0.6);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 100;
}

#btn-modal:checked ~ .container-modal{
	display: flex;
}

.content-modal{
	width: 100%;
	max-width: 500px;
	padding: 20px;
	background-color: #f5f5f5;
	border-radius: 0.5rem;

}

.content-modal h2{
	margin-bottom: 1rem;
	font-size: 2.2em;
	font-family: teko;
}

.content-modal p{
	color: #383e46;
	margin-bottom: 3rem;
}

.content-modal .btn-cerrar{
	width: 100%;
	margin-bottom: 1rem;
	text-align: center;
	background-color: #0a3e9e;
	padding: 0.8rem;
	border-radius: 0.5rem;
}

.content-modal .btn-cerrar label{
	color: #fffffe;
	cursor: pointer;
	font-size: 1.2 rem;
}

.content-modal .btn-cerrar:hover{
	background-color: #003760;
	box-shadow: 0 5px 3px rgb(0, 55, 96, 0.3);
	transition: box-shadow 0.2s ease;
	cursor: pointer;
}

.cerrar-modal{
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}



button {
	background-color: #0a3e9e;
	padding-block: 0.8rem;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 0.5rem;
	width: 145px;
	margin-top: 2rem;
	margin-bottom: 2.5rem;
	cursor: pointer;
}

button > a{
	color: #fffffe;
}

button:hover {
	background-color: #003760;
	box-shadow: 0 5px 3px rgb(0, 55, 96, 0.3);
	transition: box-shadow 0.2s ease;
}

.check_reg{
	margin-bottom: 2.6rem;
}

.check_reg > label{
	font-size: 0.85rem;
	font-weight: 300;
	margin: 0;
}

.check_reg > input {
	cursor: pointer;
}

.check > label {
	font-size: 0.85rem;
	font-weight: 300;
	margin: 0;
	
}

.check > input {
	cursor: pointer;
}

.olvidar > a {
	font-size: 0.95rem;
	color: #0a3e9e;
}

@media (max-width: 40em){
	.sesion_contenido {
		width: 90%;
	}
}

@media screen and (max-width: 40em) {
	.content-modal{
		width: 90%;
		max-width: 500px;
		padding: 20px;
		background-color: #f5f5f5;
		border-radius: 0.5rem;
	
	}
	
}

.beneficios {
	padding: 3rem 2.5rem;
	display: flex;
	flex-direction: column;
	background-color: #d8eefe;
	box-shadow: 3px 1px 1px #69696931;
	border-radius: 0.5rem;
}

.beneficios > h1 {
	font-size: 2.5rem;
	color: #050d52;
	font-weight: 700;
	font-family: Teko;
}

.beneficios > h4 {
	margin-bottom: 1rem;
	color: #56606c;
}

.beneficios > ul li {
	margin-bottom: 0.5rem;
	font-size: 0.95em;
}

.beneficios > ul li i {
	margin-right: 0.5rem;
	color: #097e6a;
}

.beneficios > ul li {
	margin-right: 0.5rem;
	color: #383e46;
}

.beneficios > a {
	background-color: #0a3e9e;
	padding-block: 0.8rem;
	color: #fffffe;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 0.5rem;
	width: 135px;
	margin-top: 2rem;
	margin-bottom: 2.5rem;
	text-align: center;
}

.beneficios > a:hover {
	background-color: #003760;
	box-shadow: 0 5px 3px rgb(0, 55, 96, 0.3);
	transition: box-shadow 0.2s ease;
}

/*fin iniciar sesion*/

/*comienzo registrarse*/


.registrarse_contenido {
	background-color: rgb(216, 238, 254);
	margin: auto;
	margin-top: 3rem;
	margin-bottom: 3rem;
	border-radius: 0.5rem;
	width: 400px;
}

@media (max-width: 40em) {
	.registrarse_contenido {
		width: 90%;
	}
}



/*fin registrarse*/

/*novedades*/

.contenido {
	height: 20rem;
	margin-bottom: 1rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-inline: 1em;
}

.contenido > h1 {
	font-size: 3rem;
	color: #050d52;
	font-family: Teko;
}

.contenido > p {
	color: #003760;
	font-size: 1.2rem;
}

.tarjetas {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
	align-content: center;
	justify-items: center;
	row-gap: 1rem;
	column-gap: 2rem;
	margin: 1.5rem;
	margin-bottom: 4rem;
}

.card {
	margin-inline: 0.5rem;
}

.card > figure {
	position: relative;
	height: 450px;
	width: 100%;
	overflow: hidden;
	border-radius: 0.5rem;
	box-shadow: 0 5px 3px rgb(0, 55, 96, 0.3);
	cursor: pointer;
}

.card > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 500ms ease-out;
}


.card figure:hover > img {
	transform: scale(1.2);
}


.card figcaption{
	background-color:rgb(0, 55, 96, 0.8);
    color: black;
    padding: 1rem;
    position: absolute;
    inset: 0;
    transform: translateY(calc(100% - 5em));
    transition: all .8s ease;
}

figure:hover figcaption{
    background-color: rgb(0, 55, 96, 0.8);
    transition: all .3s ease;
    transform: translateY(0);
    display: grid;
    text-align: left;
    place-content: center;
    padding-inline: 2em;
}

figcaption >h2{
	font-family: teko;
	bottom: 0;
	font-size: 2.5em;
	color: #fffffe;
	padding-bottom: 2rem;
	text-align: center;
}

.link > a{
	display: inline-block;
    margin-block-start: 0.5em;
	color: #383e46;
	background-color: #aecff0;
	border-radius: 0.5rem;
	font-size: 1.2em;
	margin: auto;
	padding-block: 0.45rem;
	padding-inline: 1.5rem;
}

.link > a:hover {
	background-color: #fffffe;
	color: #383e46;
}


figcaption > .link{
	text-align: center;

}

.ncuatro {
	padding-inline: 1em;
}

.qu{
	padding-inline: 1em;
}

.trender{
	padding-inline: 1em;
}

article {
	margin: 1.5rem;
	max-width: 80rem;
	margin-inline: auto;
}

.art_moto {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(30rem, 100%), 1fr));
	gap: 1.5rem;
	margin-bottom: 1rem;
	margin-top: 1rem;
}

.moto {
	margin-block: 3rem;
}

.moto > h2 {
	color: #050d52;
	font-size: 3rem;
	font-family: Teko;
}

.moto > h3 {
	font-size: 1.1rem;
	color: #56606c;
}

.moto img {
	max-width: 100%;
}

.caracteristicas {
	margin-block: auto;
	width: 100%;
	margin-inline: auto;
}

.table{
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	margin-bottom:1.5rem ;
}

.table > caption{
	font-size: 1em;
	font-weight: 700;
	text-align: left;
	padding-left: 8px;
	padding-block: 8px;
	border-bottom: 2.5px solid rgb(9, 126, 106, 0.5);
	color: #097e6a;
	
	
}

.table tr{
	border-bottom: 0.5px solid rgb(86, 96, 108, 0.3);
	
}

.table td{
	font-size: 0.90em;
	padding: 8px;
	color: #383e46;
}

.item{
	background-color: rgb(174, 207, 240, 0.15);
}

.caracteristicas > h4 {
	color: #050d52;
	font-size: 1.45em;
	font-family: teko;
	padding-left: 8px;
	margin-bottom: 8px;
}

.caracteristicas > p {
	color: #56606c;
	margin-bottom: 2rem;
}



.icons > .fi {
	font-size: 3rem;
	color: #003760;
}

.detalles {
	max-width: 80rem;
	margin-inline: auto;
	padding-block: 2rem;
	border-block: 2px solid rgb(10, 62, 158, 0.4);
}

.detalles > h2 {
	text-align: center;
	color: #050d52;
	font-family: teko;
	font-size: 2rem;
	margin-bottom: 1rem;
}

.act{
	border-radius: 0.5em;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	padding-top: 10rem;
}

.det_cero {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
	gap: 2rem;

}

.det_cero  h4 {
	text-align: left;
	color: #f5f5f5;
	font-family: teko;
	font-size: 1.3em;
	padding: 1.5rem;
}

.det_uno{
	background-image: linear-gradient(rgba(0, 55, 97, 0.027), rgb(0, 27, 48)), url(../imagenes/n4_1.jpg);
}

.det_dos{
	background-image: linear-gradient(rgba(0, 55, 97, 0.027), rgb(0, 27, 48)), url(../imagenes/n4_2.jpg);	
}

.det_tres{
	background-image: linear-gradient(rgba(0, 55, 97, 0.027), rgb(0, 27, 48)), url(../imagenes/n4_3.jpg);	
}

.det_cuatro{
	background-image: linear-gradient(rgba(0, 55, 97, 0.027), rgb(0, 27, 48)), url(../imagenes/qu_1.jpg);
}

.det_cinco{
	background-image: linear-gradient(rgba(0, 55, 97, 0.027), rgb(0, 27, 48)), url(../imagenes/qu_2.jpg);
}

.det_seis{
	background-image: linear-gradient(rgba(0, 55, 97, 0.027), rgb(0, 27, 48)), url(../imagenes/qu_3.jpg);
}

.det_siete{
	background-image: linear-gradient(rgba(0, 55, 97, 0.027), rgb(0, 27, 48)), url(../imagenes/trender_1.jpg);
}

.det_ocho{
	background-image: linear-gradient(rgba(0, 55, 97, 0.027), rgb(0, 27, 48)), url(../imagenes/trender_2.jpg);
}

.det_nueve{
	background-image: linear-gradient(rgba(0, 55, 97, 0.027), rgb(0, 27, 48)), url(../imagenes/trender_3.jpg);
}

.ventajas {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
	gap: 1rem;
}

.icons {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.icons > h3 {
	font-size: 0.95em;
	color: #097e6a;
	margin-bottom: 0.25rem;
}

.icons > p {
	font-size: 0.85em;
	color: #56606c;
}

.pros {
	margin-bottom: 4rem;
	border: 2.5px solid rgb(10, 62, 158, 0.4);
	border-radius: 2rem;
	margin-top: 5rem;
	padding: 1rem;
	max-width: 80rem;
	margin-inline: auto;
}

.pros > h2 {
	font-family: teko;
	font-size: 2rem;
	color: #050d52;
	text-align: center;
	margin-bottom: 2rem;
}
