/**
 * @copyright Nucliux
 * @author Epalazue (edoardo@nucliux.mx)
 * @version 1.1.0 (Diciembre 2023)
 * @since 1.0.0
 */

/*Importación de otros estilos*/
@import "reset.css";

/*Tipografías*/
@font-face{
	font-family: "Raleway";
	src: url("fonts/raleway_medium.ttf");
}

@font-face{
	font-family: "Raleway Light";
	src: url("fonts/raleway_light.ttf");
}

/*Página*/
html,body{
	background: linear-gradient(to bottom,#ffffff 30%,#EDEAE3 30%);
	width: 100%;
	height: 100%;
	color: black;
	font-family: "Raleway Light", sans-serif;
	font-size: 0.8vw;
}

.tarjeta{
	display: flex;
	justify-content: center;
	padding: 5vh 0;
	width: 100%;

	display: -webkit-flex;
	-webkit-justify-content: center;
}

.tarjeta img{
	width: auto;
	height: 80vh;
}

.boton{
	display: flex;
	justify-content: center;
	padding: 0 35%;
	width: 30%;

	display: -webkit-flex;
	-webkit-justify-content: center;
}

.boton-izquierda{
	justify-content: flex-start;

	-webkit-justify-content: flex-start;
}

.boton-derecha{
	justify-content: flex-end;

	-webkit-justify-content: flex-end;
}

.boton img{
	width: auto;
	height: 6vh;
}

.compartir{
	background-color: white;
	display: flex;
	flex-direction: column;
	position: fixed;
	top: 18vh;
	right: 3vw;
	padding: 0.5vw;
	border-radius: 1.5vw;

	display: -webkit-flex;
	-webkit-flex-direction: column;
}

.compartir__imagen{
	padding: 1.5vh 0.5vw;
	width: 2vw;
	height: 2vw;
	cursor: pointer;

	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}

.compartir__imagen:hover{
	transform: scale(1.1,1.1);
	-webkit-transform: scale(1.1,1.1);
}

.compartir__imagen-separador{
	border-bottom: 0.3vh solid #2A3340;
}

.compartir__boton{
	background-color: transparent;
	padding: 0;
	border: none;
}

.modal{
	background-color: rgba(0,0,0,0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;

	display: -webkit-flex;
	-webkit-justify-content: center;
	-webkit-align-items: center;

	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}

.modal-activo{
	opacity: 1;
	pointer-events: auto;
}

.modal__contenedor{
	background-color: white;
	position: relative;
	padding: 5vh 2%;
	width: 25%;
	border-radius: 1.5vw;
}

.modal__contenedor h1{
	margin-bottom: 3vh;
	font-size: 1.5vw;
	text-align: center;
	text-transform: uppercase;
}

.modal__contenedor p{
	margin-bottom: 5vh;
	font-size: 1.2vw;
	text-align: center;
}

.modal__contenedor input{
	margin-top: -2vh;
	padding: 1vh 5%;
	width: 90%;
	border: none;
	border-bottom: 0.3vh solid #B5B9BD;
	border-radius: 0;
	font-family: "Raleway";
	font-size: 1.2vw;
	text-align: center;
}

.modal__contenedor input[type="button"]{
	background-color: #A78E85;
	margin: 0 25%;
	margin-top: 3vh;
	width: 50%;
	border: none;
	border-radius: none;
	color: white;
	font-family: "Raleway";
	font-size: 1.2vw;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;

	appearance: none;
	-webkit-appearance: none;
}

.modal__opciones{
	display: flex;
	justify-content: flex-end;
	width: 100%;
	font-family: "Raleway";
	font-size: 1.2vw;

	display: -webkit-flex;
	-webkit-justify-content: flex-end;
}

.modal__opciones span{
	color: #1B67D7;
	cursor: pointer;
}

.modal__opciones a{
	margin-left: 20%;
	color: #1B67D7;
	text-decoration: none;
}

.modal__cerrar{
	position: absolute;
	top: 0;
	right: 0;
	padding: 0.8vw;
	color: black;
	font-size: 1.8vw;
	text-transform: uppercase;
	cursor: pointer;
}

.modal__imagen{
	display: flex;
	justify-content: center;
	margin: 1vh;
	margin-bottom: 2vh;

	display: -webkit-flex;
	-webkit-justify-content: center;
}

.modal__imagen img{
	width: 5vw;
	height: 5vw;
}

.modal__imagen-alterno img{
	width: 100%;
	height: auto;
	object-fit: contain;
}

.toast{
	background-color: #646464;
	position: absolute;
	bottom: 5vh;
	left: 40%;
	opacity: 0;
	z-index: -1;
	padding: 1.5vh 0;
	width: 20%;
	border-radius: 1.5vw;
	color: white;
	font-family: "Raleway", sans-serif;
	font-size: 1.2vw;
	text-align: center;

	transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
}

.toast-activo{
	opacity: 1;
	z-index: 0;
}

/*Estilo para media pantalla
______________________________*/
@media only screen and (max-width: 1024px){
	html,body{
		font-size: 1.5vw;
	}

	.footer__ignisaltus img{
		margin-left: 1.5vw;
	}

	.compartir{
		border-radius: 3vw;
	}

	.compartir__imagen{
		padding: 1.5vh 1vw;
		width: 5vw;
		height: 5vw;
	}

	.modal__contenedor{
		padding: 5vh 5%;
		width: 50%;
	}

	.modal__contenedor h1{
		margin-bottom: 5vh;
		font-size: 3vw;
	}

	.modal__contenedor p{
		margin-bottom: 8vh;
		font-size: 2.5vw;
	}

	.modal__contenedor input{
		margin-top: -5vh;
		font-size: 2.3vw;
	}

	.modal__contenedor input[type="button"]{
		font-size: 2.5vw;
	}

	.modal__opciones{
		font-size: 2.5vw;
	}

	.modal__cerrar{
		padding: 1vw;
		font-size: 3.5vw;
	}

	.modal__imagen img{
		width: 10vw;
		height: 10vw;
	}

	.modal__imagen-alterno img{
		width: 100%;
		height: auto;
	}

	.toast{
		left: 37.5%;
		width: 25%;
		border-radius: 3vw;
		font-size: 2vw;
	}
}

/*Estilo para móviles
______________________________*/
@media only screen and (max-device-width: 465px){
	html,body{
		font-size: 3.5vw;
	}

	.tarjeta{
		padding-bottom: 1vh;
	}

	.tarjeta img{
		width: 100%;
		height: auto;
	}

	.boton{
		margin-top: 0;
		padding: 0 8%;
		width: 84%;
	}

	.compartir{
		padding: 1vw;
		border-radius: 5vw;
	}

	.compartir__imagen{
		padding: 1.5vh 1vw;
		width: 6vw;
		height: 6vw;
	}

	.modal__contenedor{
		padding: 5vh 4%;
		width: 80%;
		border-radius: 2vw;
	}

	.modal__contenedor h1{
		font-size: 4.5vw;
	}

	.modal__contenedor p{
		font-size: 4vw;
	}

	.modal__contenedor input{
		margin-top: -5vh;
		font-size: 3.8vw;
	}

	.modal__contenedor input[type="button"]{
		font-size: 4vw;
	}

	.modal__opciones{
		font-size: 4vw;
	}

	.modal__cerrar{
		padding: 2vw;
		font-size: 6vw;
	}

	.toast{
		left: 30%;
		width: 40%;
		border-radius: 5vw;
		font-size: 3.5vw;
	}
}

@media only screen and (max-device-width: 465px) and (orientation: landscape){
	html,body{
		font-size: 1.8vw;
	}

	.tarjeta img{
		margin: 0 20%;
		width: 60%;
		height: auto;
	}

	.boton img{
		height: 10vh;
	}

	.footer{
		padding: 10vh 0;
	}

	.footer h4{
		margin-top: 4vh;
	}

	.footer img{
		margin-left: 1.5vw;
		height: 10vh;
	}

	.compartir__imagen{
		padding: 3vh 1vw;
		width: 5vw;
		height: 5vw;
	}

	.modal__contenedor{
		width: 55%;
	}

	.modal__contenedor h1{
		margin-bottom: 5vh;
		font-size: 3vw;
	}

	.modal__contenedor p{
		margin-bottom: 8vh;
		font-size: 2.5vw;
	}

	.modal__contenedor input{
		font-size: 2.3vw;
	}

	.modal__contenedor input[type="button"]{
		font-size: 2.5vw;
	}

	.modal__opciones{
		font-size: 2.5vw;
	}

	.modal__cerrar{
		padding: 1.5vw;
		font-size: 3.5vw;
	}
}
