*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Roboto', 'Optima, Segoe, Segoe UI, Candara, Calibri, Arial, sans-serif';
	text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body{
	width: 100%;
	min-height: 100vh;
	height: 100%;
	/* max-height: 100vh; */
	max-width: 1200px;
	font-size: 18px;
	overflow-x: hidden;
}

/* ******************************************************** */
/* Los estilos del Preload */

.preload {
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	max-width: 1200px;
	background: #f1dede;
	display: flex;
	justify-content: center;
	align-items: center;
  }
  
  /* Remover preload del DOM */
  .preload-finish{
	opacity: 0;
	pointer-events: none;
  }
/* Fin de estilos del Preload */

/* ******************************************************** */
/* Los estilos del Modal para las imagenes */

.Modal{
	display: none; /* Hidden by default */
   position: fixed; /* Stay in place */
   z-index: 1; /* Sit on top */
   padding-top: 100px; /* Location of the box */
   left: 0;
   top: 0;
   width: 100%; /* Full width */
   height: 100%; /* Full height */
   overflow: auto; /* Enable scroll if needed */
   background-color: rgb(0,0,0); /* Fallback color */
   background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
 /* Modal Content (image) */
 .modal-content {
   margin: auto;
   display: block;
	max-width: 90%;
  }

  /* Caption of Modal Image */
  #caption {
   margin: auto;
   display: block;
   width: 80%;
   max-width: 700px;
	font-size: 1.5em;
   text-align: center;
   color: #ccc;
   padding: 10px 0;
  }
#Modal__img{
	object-fit: content;
}

.Modal__close{
	position: absolute;
	top: 15px;
   right: 35px;
	font-size: 35px;
	font-weight: bold;
	text-align: center;
	color: white;
	background-color: rgba(78, 31, 31, 0.7);
	border-radius: 50%;
	padding: 5px 10px;
	transition: all .3s ease;
}
.Modal__close:hover{
	transform: scale(1.2);
	cursor: pointer;
}
/* Fin de estilos del Modal para las imagenes */


/* ******************************************************** */
/* Estilos para la pagina principal */

.grid-main{
	width: 100%;
	min-height: 100vh;
	max-width: 1200px;
	display: grid;
	grid-template-columns: 85% 1fr;
	grid-template-rows: auto;
	grid-template-areas: "main onu";
	background: url("../img/Nopal_Iz.png"),
					url("../img/JDN_bg2.png"),
					linear-gradient(-20deg, rgba(178, 196, 163, 0.6) 0%, rgba(133, 179, 96, 0.6) 100%);
	background-position: left bottom, bottom;
	background-repeat: no-repeat, repeat;
	background-size: 25vh, auto , auto;
}

.main{
	grid-area: main;
	/* height: 100vh; */
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	padding: 60px;
}
.main--enc h1 {
	font-size:  3.5em;
	text-align: center;
	color: darkgoldenrod;
	letter-spacing: 3px;
	text-shadow: -3px 2px 2px rgba(1, 43, 41, 0.9);
}
.main--enc h2 {
	font-size: 1.5em;
	text-align: center;
	color: #4a4444;
	margin-bottom: 2%;
}
/* '''''''''''''''''''''''''''''''''''''''''''''''''''''' */
/* Estilos para Venta & Registro */
.resaltar{
   display: flex;
	/* flex-wrap: wrap; */
   width: 80%;
	height: 10%;
   justify-content:space-around;
}

/* --------------------------------------------- */
/* Estilos para contacto para la compra */
.comprar{
	display: block;
	width: 30%;
	height: 100%;
	align-content: center;
   border: none;
   background: url('../img/carrito.png') center no-repeat;
   background-size: contain;
}

.comprar_whats{
	/* display: flex; */
	/* flex-direction: column; */
	display: inline-block;
	height: max-content;
   /* justify-content: center; */
   /* align-items: center; */
   border: none;
   max-width: 45%;
}
.comprar_whats a{
	cursor: pointer;
}
.comprar_mshop{
	/* display: flex; */
   /* flex-direction: column; */
	display: inline-block;
	height: max-content;
	/* justify-content: center; */
   /* align-items: center; */
   border: none;
   max-width: 45%;
}
.comprar_mshop a{
	cursor: pointer;
}

.comp-btn-open{
   display: flex;
   justify-content: center;
	width: 100%;
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
   letter-spacing: 0.4rem;
	border: none;
	border-radius: 2vw;
   color: rgb(219, 86, 86);
   -webkit-text-stroke: 1.5px rgb(48, 35, 4);
   background-color: rgb(153, 153, 153, 0.4);
   cursor: pointer;
}
.comp-btn-close{
	background-color: crimson;
	color: white;
	border: none;
	font: Arial;
	width: 3vh;
	height: 3vh;
	border-radius: 50%;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
}


.comp-dialog{
	/* display: flex; */
	display: none;
   justify-content:space-around;
   width: 70wh;
	margin: auto;
	padding: 1rem;
	opacity: 0;
	transition: display .6s, overlay .6s, opacity .6s;
	transition-behavior: allow-discrete;

	&[open]{
		display: flex;
		opacity: 1;

		&::backdrop{
			transform: translate(0);
		}

		@starting-style{
			opacity: 0;

			&::backdrop{
				transform: translate(100%);
			}
		}

	}
}
.comp-dialog p{
	margin-top: 1.2rem;
	font-size: clamp(.6rem, 3.5vw, 1.5rem);
	text-align: center;
}
.comp-dialog h2{
	margin-top: 1rem;
	font-size: clamp(.8rem, 2.5vw, 1.2rem);
	text-align: center;
}
.comp-dialog img{
	height: 50%;
	max-width: 100%;
}

/* fin de Estilos para contacto para la compra */

/* --------------------------------------------- */
/* Estilos para registro de Clientes-Pacientes */

.registro-1{
  display: block;
  width: 30%;
  height: 100%;
  align-content: center;
  border: none;
}
/* .reg-btn{
  width: 100%;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 10px;
  background-color: rgb(153, 153, 153, 0.4);
  cursor: pointer;
} */

.registro{
   display: flex;
	width: 30%;
	height: 100%;
   justify-content: center;
	align-items: center;
	/* padding: 2px; */
	/* width: 100%; */
	/* font-size: 1rem; */
	font-weight: bold;
	text-align: center;
	/* border: none; */
	/* border-radius: 2vw; */
	/* padding: .5vw; */
   color: rgb(128, 24, 24);
   -webkit-text-stroke: 0.05vw rgb(36, 25, 2);
   /* background-color: rgb(153, 153, 153, 0.4); */
   cursor: pointer;
}
.registrarse{
	border: none;
	/* border-radius: 2vw; */
	border-radius: 10px;
	padding: 2px;
	background-color: rgb(153, 153, 153, 0.4);
}

.reg-btn-close{
	background-color: crimson;
	color: white;
	border: none;
	font: Arial;
	width: 2vh;
	font-size: 0.8rem;
	height: 2vh;
	border-radius: 50px;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
}

.reg-dialog{
	/* display: flex; */
	display: none;
   justify-content:space-around;
   width: 70wh;
	margin: auto;
	padding: 1rem;
	opacity: 0;
	transition: display .6s, overlay .6s, opacity .6s;
	transition-behavior: allow-discrete;

	&[open]{
		display: flex;
		opacity: 1;

		&::backdrop{
			transform: translate(0);
		}

		@starting-style{
			opacity: 0;

			&::backdrop{
				transform: translate(100%);
			}
		}

	}
}
.reg-dialog p{
	margin-top: 1.2rem;
	font-size: clamp(.6rem, 3.5vw, 1.5rem);
	text-align: center;
}
.reg-dialog h2{
	margin-top: 1rem;
	font-size: clamp(.8rem, 2.5vw, 1.2rem);
	text-align: center;
}
.reg-dialog img{
	height: 50%;
	max-width: 100%;
}

/* fin de Estilos para registro de Clientes-Pacientes */

/* ******************************************************** */
/* Inicio de Estilos para la pagina principal */

.main--txt{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	color: #0f313f;
}
.main--txt p{
	padding: 2%;
	font-size: 1.5em;
	font-weight: bolder;
	text-align: center;
}

.onu{
	grid-area: onu;
	height: 100vh;
	display: grid;
	grid-template-rows: repeat(4, 1fr);
	row-gap: 5px;
	padding: 10px;
	transition: all .3s ease;
}
.onu img{
	width: 90%;
}
/* fin de Estilos para la pagina principal */


/* ******************************************************** */
/* Estilos para la pagina sobre nuestro producto */

.grid-prod {
	width: 100%;
	min-height: 100vh;
	max-width: 1200px;
	/* display: grid; */
	/* grid-template-rows: repeat(4, auto-fit); */
	/* align-content: center; */
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	gap: 10px;
	background: linear-gradient(-20deg, rgba(178, 196, 163, 0.5) 0%, rgba(133, 179, 96, 0.6) 100%), url("../img/JDN_bg2.png");
	/* background: linear-gradient(-20deg, rgba(97, 97, 97, 0.7) 0%, rgba(155, 197, 195, 0.9) 100%), url("../img/JDN_bg2.png"); */
}
.prod-card {
	/* display: flex; */
	/* flex-direction: column; */
	border-radius: 15px;
	border: 1px solid;
	/* max-height: 200px; */
	padding: 10px 10px;
}
.prod-card h2{
	font-size: clamp(23px, 4vw + 1 rem, 48px);
	/* font-size: 1.4rem; */
	font-weight: bold;
}
.prod-card p{
	/* font-size: 0.9em; */
	font-size: clamp(15px, 4vw + 1 rem, 35px);
	font-weight: bold;
}
/* fin de Estilos para la pagina sobre nuestro producto */


/* ******************************************************** */
/* Inicio de estilos para Informacion Extra JDN */

.grid-info{
	width: 100%;
	min-height: 100vh;
	background: linear-gradient(-20deg, rgba(178, 196, 163, 0.6) 0%, rgba(133, 179, 96, 0.6) 100%), url("../img/JDN_bg2.png");
	max-width: 1200px;
	display: grid;
	gap: 10px;
	grid-template-columns: 40% 1fr;
	grid-template-areas:
	"info-jdnl info-jdnl"
	"info-pres info-nuestro"
	"ingesta ingesta";
	align-content: space-around;
	padding: 10px;
}
.grid-info > div {
	background-color: rgba(255, 255, 255, 0.3);
	text-align: center;
	border: 1px solid rgba(0, 0, 0, 0.8);
	border-radius: 10px;
	padding: 10px;
	/* transition: all .3s ease; */
}

.info-jdnl{
	grid-area: info-jdnl;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* justify-content: space-around;	 */
	/* margin: 0 auto; */
	animation: scale 5s 0.8s ease alternate-reverse infinite;
}
.info-jdnl img{
	height: 50px;
	/* width: 50%; */
}
@keyframes scale {
	100%{transform: scale3d(1,1,1);}
	50%{transform: scale3d(1.2,1.2,1);}
	0%{transform: scale3d(1,1,1);}
}
.info-pres{
	grid-area: info-pres;
	display: grid;
	grid-template-columns: 60% 1fr;
	grid-template-areas: "info-h2 info-h2"
	                     "info-1l info-300ml";
}
.info-pres-h2{
	grid-area: info-h2;
	font-size: 1rem;
	text-align: center;
	letter-spacing: 3px;
	text-shadow: 2px 1px 3px rgb(10, 70, 126);
	margin-bottom: 10px;
}
.info-pres p{
	font-size: 1rem;
	font-weight: bolder;
	text-align: center;
}
.info-1l{grid-area: info-1l;}
.info-300ml{grid-area: info-300ml;}

.info-nuestro{
	grid-area: info-nuestro;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	font-size: 1em;
}

.info-ingesta{
	grid-area: ingesta;
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 5px 10px 10px;
}

.info-empleo{
	grid-area: info-empleo;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	padding: auto;
}
.info-empleo-diab{ margin: 3% 3%; }

/* fin de estilos para Informacion Extra JDN */


/* ******************************************************** */
/* Inicio de estilos para Enfermedades Relacionadas */

.enfer_cont{
	width: 100%;
	min-height: 100vh;
	background: linear-gradient(-20deg, rgba(178, 196, 163, 0.6) 0%, rgba(133, 179, 96, 0.6) 100%), url("../img/JDN_bg2.png");
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	/* background-size: cover; */
	padding-top: 2%;
}
.enfer-enc{
	font-size: 1.5rem;
	/* margin-top: 2%; */
	text-align: center;
	letter-spacing: 2px;
	padding: 10px;
	text-shadow: 2px 1px 3px rgb(10, 70, 126);
	margin-bottom: 1%;
}
.enfer-links h2{
	font-size: 1.5rem;
	text-align: center;
	letter-spacing: 2px;
	padding: 10px;
	text-shadow: 2px 1px 3px rgb(10, 70, 126);
	margin-bottom: 1%;
}

.enfer-links{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.enfer-item{
	display: flex;
	flex-direction: column;
	background-color: rgba(255, 255, 255, 0.3);
	justify-content: space-around;
}

.enfer-links > div {
	text-align: center;
	border: 1px solid rgba(0, 0, 0, 0.8);
	border-radius: 10px;
	padding: 10px;
}
.enfer-a a{
	font-size: 1em;
	color: rgb(4, 87, 59);
	transition: all .3s ease;
}
.enfer-a:hover{
	transform: scale(1.1);
}

.fuente{
	font-size: .6em;
	color: black;
}

.dia_mundial{
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	font-size: 1.5em;
	background: rgba(255, 255, 255, 0.3) url("../img/Circulo_Diabetes.png") no-repeat center;
	background-size: contain;
	transition: all .3s ease;
}
.dia_mundial a:hover{
	transform: scale(1.1);
}
/* fin de estilos para Enfermedades Relacionadas */


/* ******************************************************** */
/* Inicio de estilos para el Dia Mundial de la Diabetes */

.grid-DD {
	max-width: 1200px;
	width: 100%;
	min-height: 100vh;
	display: grid;
	grid-template-rows: repeat(2, auto-fit);
	align-content: center;
	padding: 10px;
	gap: 20px;
	background: linear-gradient(-20deg, rgba(178, 196, 163, 0.6) 0%, rgba(133, 179, 96, 0.6) 100%), url("../img/JDN_bg2.png");
}
.DD-card {
	display: flex;
	flex-direction: column;
	min-height: 30%;
	padding: 12px 10px;
}
.DD-card h2{
	font-size: 1.3em;
	text-shadow: 2px 1px 3px rgb(10, 70, 126);
	margin-bottom: 2%;
}
.DD-card p{
	font-size: 1em;
}

/* fin de estilos para el Dia Mundial de la Diabetes */


/* ******************************************************** */
/* Estilos para Contactarnos */

.siguenos_cont{
	max-width: 1200px;
	width: 100%;
	height: 100vh;
	background: linear-gradient(-20deg, rgba(178, 196, 163, 0.6) 0%, rgba(133, 179, 96, 0.6) 100%), url("../img/JDN_bg2.png");
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 20px;
	padding: 10px;
	padding-top: 20px;
}
.siguenos{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}
.siguenos h2{
	font-size: 1.2em;
	text-shadow: 2px 1px 3px rgb(10, 70, 126);
	margin-top: 40px;
}
.siguenos a img{
	width: 230px;
}

.siguenos_whats{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.siguenos_whats p{
	font-size: 0.8em;
	background: #009688;
    border-radius: 20px;
	padding: 4px 4px;
	margin: auto;
}

/* Fin de Estilos para Contactarnos */

/* ******************************************************** */
/* Estilos para las conversaciones */

.conversa_cont{
	width: 100%;
	min-height: 100vh;
	background: linear-gradient(-20deg, rgba(178, 196, 163, 0.6) 0%, rgba(133, 179, 96, 0.6) 100%), url("../img/JDN_bg2.png");
	max-width: 1200px;
}

.conversa{
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 55px;
}

/* .conversa-item{
	width: 45%;
} */

.twitter-timeline{
	background-color: rgba(255, 255, 255, 0.5);
}

.clearfix::after {
	content: "";
	clear: both;
	display: table;
  }

/* Fin de Estilos para las conversaciones */


/* ******************************************************** */
/* Estilos para las imagenes en la pagina */

.Img-Orig{
	/* filter: grayscale(100%); */
	transition: all .3s ease;
}
.Img-Orig:hover{
	cursor: pointer;
	/* filter: grayscale(0%); */
	box-shadow: 0 0 10px rgba(0,0,0,.5);
	z-index: 2;
	transform: scale(1.1);
}

.Img-Gris{
	filter: grayscale(100%);
	transition: all .3s ease;
}
.Img-Gris:hover{
	cursor: pointer;
	filter: grayscale(0%);
	box-shadow: 0 0 10px rgba(0,0,0,.5);
	z-index: 2;
	transform: scale(1.1);
}
/* fin de Estilos para las imagenes en la pagina */


/* ******************************************************** */
/* Estilos para los Archivos SVG */

.logo{
	width: 150px;
	height: 150px;
	position: relative;
	display: block;
	margin: 0px 10px;
	cursor: pointer;
}
 #jdnlogo:hover{
	transform: translateY(-12px);
	transition: all .4s ease;
}
/* fin de Estilos para los Archivos SVG */


/* ******************************************************** */
/* Inicio Responsive para pantallas pequeñas */

@media (max-width: 800px){
	body{
		overflow-x: hidden;
	}
	.grid-main{
		grid-template-columns: 100%;
		grid-template-areas: "main";
	}
	.main{
		padding: 10px;
	}
	.main--enc h1 {
		font-size: 2.5em;
		letter-spacing: 1px;
	}
	.main--enc h2 {
		font-size: 1em;
		margin-bottom: 2%;
	}
	.main--txt{
		font-size: 0.8em;
	}
	.onu{
		display: none;

	}
	.grid-info{
		display: grid;
		grid-template-columns: 100%;
		grid-template-areas:
		"info-jdnl"
		"info-pres"
		"info-nuestro"
		"ingesta";
	}
	.enfer-enc{
		font-size: 1rem;
		letter-spacing: 1px;
	}
}
/* Fin Responsive para pantallas pequeñas */

/* ******************************************************** */
