
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;700&family=Crimson+Text&display=swap');


body,
html {
	background-color: rgb(252, 252, 252);
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Helvetica', sans-serif;

	/*background: rgb(26, 188, 156);
	background: -moz-linear-gradient(-45deg, rgba(26, 188, 156, 1) 0%, rgba(142, 68, 173, 1) 100%);
	background: -webkit-linear-gradient(-45deg, rgba(26, 188, 156, 1) 0%, rgba(142, 68, 173, 1) 100%);
	background: linear-gradient(135deg, rgba(26, 188, 156, 1) 0%, rgba(142, 68, 173, 1) 100%)*/
}

.banner {

    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, rgb(18, 66, 101), rgb(143, 97, 231), rgb(20, 136, 136));
    
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 2em;
}


.banner h1 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 34px;
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    color: #eeeeee;
	white-space: nowrap;
    overflow: hidden;
}



.banner h1:nth-child(1) {
    width: 37em;
    -webkit-animation: type 5s steps(40, end), blink .5s step-end infinite alternate;
    animation: type 5s steps(40, end), blink .5s step-end infinite alternate;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}


@keyframes type {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes type {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
@-webkit-keyframes blink {
  50% {
    border-color: transparent;
  }
}


p {
	font-size: 12px;
	font-weight: light;
	color: #333333;
}

span a {
	font-size: 18px;
	color: #cccccc;
	text-decoration: none;
	margin: 0 10px;
	transition: all 0.4s ease-in-out;
	&:hover {
		color: #ffffff;
	}
}

@keyframes float {
	0% {
		box-shadow: 0 5px 15px 0px rgba(66,123,173,0.6);
		transform: translatey(0px);
	}
	50% {
		box-shadow: 0 25px 15px 0px rgba(66,123,173,0.2);
		transform: translatey(-20px);
	}
	100% {
		box-shadow: 0 5px 15px 0px rgba(66,123,173, 0.6);
		transform: translatey(0px);
	}
}

.container {
    /*background-color: red;*/
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column; /* Apila los elementos verticalmente */
    justify-content: center;
    align-items: center; /* Centra verticalmente */
}

.avatar {
    width: 350px;
    height: 350px;
    box-sizing: border-box;
    border: 5px white solid;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
    transform: translatey(0px);
    animation: float 6s ease-in-out infinite;
    display: flex; /* Agregamos flex para centrar la imagen */
    justify-content: center; /* Centramos horizontalmente */
    align-items: center; /* Centramos verticalmente */
    img { width: 100%; height: auto; }
}

.avatar
{
	margin:  0 auto;
}


/*
.content {
	width: 100%;
	max-width: 600px;
	padding: 20px 40px;
	box-sizing: border-box;
	text-align: center;
}*/

#secc_historia
{
	background-color: rgb(252, 252, 252);
	max-width: 60%;
}

.service-item
{
	background-color: rgb(252, 252, 252);
}

#secc_historia, .container
{
	display: inline-block;
	vertical-align: top; /* Esto alinea verticalmente al centro */
}


#imagen
{
	height: 160px;
	width: 30%;
}


.service-content
{
	/*background-color: orange;*/
	width: 96%;
}

.service-content p
{
	text-align: justify;
	font-family: 'Crimson Text', serif;
	font-size: 20px;
	padding: 1em 1em;
}

.service-content h2
{
	font-family: 'Cormorant Garamond', serif;
	font-size: 34px;
}

.service-title
{
	color: rgb(18,66,101);
	font-weight: bold;
}

#secc_historia_qs, .container {
    height: 400px; /* Cambia el valor a la altura deseada */
}

@keyframes fadeInUpH2 {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpP {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#secc_historia .service-content h2 {
    animation: fadeInUpH2 1s ease both;
    animation-delay: 0s; /* No hay retardo en el título */
}

#secc_historia .service-content p:nth-of-type(1) {
    animation: fadeInUpP 1s ease both;
    animation-delay: 1s; /* Retardo de 2 segundos para el primer párrafo */
}

#secc_historia .service-content p:nth-of-type(2) {
    animation: fadeInUpP 1s ease both;
    animation-delay: 2s; /* Retardo de 4 segundos para el segundo párrafo */
}

@media (min-width: 300px) and (max-width: 359px){

	/*---------------------------------------------HEADER*/
	#headertop {
		background: rgb(164,199,53);
		color: #FFF;
		padding: 1px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-family: 'Cormorant Garamond', serif;
		font-size: 18px;
	}

	#acceder_cel
	{
	border: 2px solid rgb(164,199,53); 
	color: rgb(50,50,50);
	margin: 1em 0 0 0;
	}

	#acceder
	{
		display: none;
	}
	#acceder:hover
	{
	background-color: rgb(164,199,53);
	color: #fff;
	box-shadow: 0 5px 15px 7px rgba(252,225,245, 0.6);
	}

	.banner {
		margin-bottom: 0.3em;
	}

	.banner h1{
		font-size: 26px;
	}

	
	.avatar {
		width: 280px;
		height: 280px;
		box-sizing: border-box;
		border: 5px white solid;
		border-radius: 50%;
		overflow: hidden;
		box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
		transform: translatey(0px);
		animation: float 6s ease-in-out infinite;
		display: flex; /* Agregamos flex para centrar la imagen */
		justify-content: center; /* Centramos horizontalmente */
		align-items: center; /* Centramos verticalmente */
		img { width: 100%; height: auto; }
	}

	.avatar
	{
		margin:  0 auto;
	}
	
	#secc_historia
	{
		max-width: 100%;
	}

	#secc_historia, .container
	{
		display: block;
	}

	.service-content
	{
		width: 100%;
	}

	.service-content p
	{
		text-align: justify;
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em 1em;
	}

	.service-content h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 34px;
	}

	.service-title
	{
		color: rgb(18,66,101);
		font-weight: bold;
	}

	.container
	{
		width: 100%;
		margin-bottom: 2em;
	}

	#secc_historia_qs, .container {
		height: auto; /* Cambia el valor a la altura deseada */
	}


}


@media (min-width: 360px) and (max-width: 500px){

	/*---------------------------------------------HEADER*/
	#headertop {
		background: rgb(164,199,53);
		color: #FFF;
		padding: 1px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-family: 'Cormorant Garamond', serif;
		font-size: 18px;
	}

	#acceder_cel
	{
	border: 2px solid rgb(164,199,53); 
	color: rgb(50,50,50);
	margin: 1em 0 0 0;
	}

	#acceder
	{
		display: none;
	}
	#acceder:hover
	{
	background-color: rgb(164,199,53);
	color: #fff;
	box-shadow: 0 5px 15px 7px rgba(252,225,245, 0.6);
	}

	.banner {
		margin-bottom: 0.3em;
	}
	.banner h1{
		font-size: 28px;
	}

	
	.avatar {
		width: 280px;
		height: 280px;
		box-sizing: border-box;
		border: 5px white solid;
		border-radius: 50%;
		overflow: hidden;
		box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
		transform: translatey(0px);
		animation: float 6s ease-in-out infinite;
		display: flex; /* Agregamos flex para centrar la imagen */
		justify-content: center; /* Centramos horizontalmente */
		align-items: center; /* Centramos verticalmente */
		img { width: 100%; height: auto; }
	}

	.avatar
	{
		margin:  0 auto;
	}
	
	#secc_historia
	{
		max-width: 100%;
	}


	#secc_historia, .container
	{
		display: block;
	}


	.service-content
	{
		width: 100%;
	}

	.service-content p
	{
		text-align: justify;
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em 2em;
	}

	.service-content h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 34px;
	}

	.service-title
	{
		color: rgb(18,66,101);
		font-weight: bold;
	}

	.container
	{
		width: 100%;
		margin-bottom: 2em;
	}

	#secc_historia_qs, .container {
		height: auto; /* Cambia el valor a la altura deseada */
	}


}


@media (min-width: 501px) and (max-width: 620px){

	/*---------------------------------------------HEADER*/
	#headertop {
		background: rgb(164,199,53);
		color: #FFF;
		padding: 1px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-family: 'Cormorant Garamond', serif;
		font-size: 18px;
	}

	#acceder_cel
	{
	border: 2px solid rgb(164,199,53); 
	color: rgb(50,50,50);
	margin: 1em 0 0 0;
	}

	#acceder
	{
		display: none;
	}
	#acceder:hover
	{
	background-color: rgb(164,199,53);
	color: #fff;
	box-shadow: 0 5px 15px 7px rgba(252,225,245, 0.6);
	}

	.banner {
		margin-bottom: 0.3em;
	}
	.banner h1{
		font-size: 28px;
	}

	
	.avatar {
		width: 280px;
		height: 280px;
		box-sizing: border-box;
		border: 5px white solid;
		border-radius: 50%;
		overflow: hidden;
		box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
		transform: translatey(0px);
		animation: float 6s ease-in-out infinite;
		display: flex; /* Agregamos flex para centrar la imagen */
		justify-content: center; /* Centramos horizontalmente */
		align-items: center; /* Centramos verticalmente */
		img { width: 100%; height: auto; }
	}

	.avatar
	{
		margin:  0 auto;
	}
	
	#secc_historia
	{
		max-width: 100%;
	}


	#secc_historia, .container
	{
		display: block;
	}


	.service-content
	{
		width: 100%;
	}

	.service-content p
	{
		text-align: justify;
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em 2em;
	}

	.service-content h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 34px;
	}

	.service-title
	{
		color: rgb(18,66,101);
		font-weight: bold;
	}

	.container
	{
		width: 100%;
		margin-bottom: 2em;
	}

	#secc_historia_qs, .container {
		height: auto; /* Cambia el valor a la altura deseada */
	}


}

@media (min-width: 770px) and (max-width: 870px){

	.avatar {
		width: 280px;
		height: 280px;
		box-sizing: border-box;
		border: 5px white solid;
		border-radius: 50%;
		overflow: hidden;
		box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
		transform: translatey(0px);
		animation: float 6s ease-in-out infinite;
		display: flex; /* Agregamos flex para centrar la imagen */
		justify-content: center; /* Centramos horizontalmente */
		align-items: center; /* Centramos verticalmente */
		img { width: 100%; height: auto; }
	}

	.avatar
	{
		margin:  0 auto;
	}
	
	#secc_historia
	{
		max-width: 100%;
	}


	#secc_historia, .container
	{
		display: block;
	}


	.service-content
	{
		width: 100%;
	}

	.service-content p
	{
		text-align: justify;
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em 2em;
	}

	.service-content h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 34px;
	}

	.service-title
	{
		color: rgb(18,66,101);
		font-weight: bold;
	}

	.container
	{
		width: 100%;
		margin-bottom: 2em;
	}

	#secc_historia_qs, .container {
		height: auto; /* Cambia el valor a la altura deseada */
	}


}