/* CSS Document */

/**************************************************************************************************************************************
*****   Variables   *******************************************************************************************************************
**************************************************************************************************************************************/
:root
{
	--color1: rgb(219, 144, 0.5);
	--color2: rgba(23, 180, 83, 0.877);
	--color3: rgba(11, 194, 211, 0.623);
	--fondo: #F2F2F2;
	--titulos: 33px;
	--margenes: 60px;
	--espacios: 10px;
	--espacios-contenido: 45px;
}

/**************************************************************************************************************************************
*****   General     *******************************************************************************************************************
**************************************************************************************************************************************/
*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/**************************************************************************************************************************************
*****   Body        *******************************************************************************************************************
**************************************************************************************************************************************/
body
{
    font-family: "Rubik", serif;
	background: var(--fondo);
}

/**************************************************************************************************************************************
*****   Header      *******************************************************************************************************************
**************************************************************************************************************************************/
header
{
	width: 100%;
	height: 400px;
}

nav
{
	width: 100%;
	position: fixed;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.one_nivel
{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.one_info
{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 50px;
    margin-top: 5px;
    align-items: center;
    text-align: center;
}

.infos
{
    width: 50%;
    height: auto;
}

.phone
{
    width: 20%;
    height: auto;
}

.phone a
{
    font-size: 24px;
    text-align: center;
    background: #FF6F00;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    padding: 5px 30px;
}

.email
{
    width: 20%;
    height: auto;
}

.email a
{
    font-size: 24px;
    text-align: center;
    background: #FF6F00;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    padding: 5px 30px;
}

.nav1
{
	background: transparent;
	height: 120px;
}

.nav2
{
	background: var(--fondo);
	height: 120px;
}

.contenedor-nav
{
	display: flex;
    flex-direction: row;
	width: 96%;
    height: 50px;
	align-items: center;
	overflow: hidden;
    background: #B0BEC5;
    border-radius: 50px;
    margin-top: 5px;
}

.logo
{
    width: 10%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo img
{
    width: 50%;
    height: 100%;
    margin: 0px 0px;
    padding: 0px 0px;
}

.lenguaje
{
    width: 10%;
    height: 95%;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
}

.flags
{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
}

.flags img
{
    height: 50%;
    width: 50%;
}

.enlaces
{
    width: 80%;
}

.enlaces ul
{
    position: relative;
    text-align: center;
}

.enlaces ul li
{
    display: inline-block;
    padding: 0% 3%;
}

.enlaces ul li a
{
    font-size: 25px;
    font-weight: 500;
    color: #021B79;
    opacity: 1;
    transition: .5s all ease-in-out;
    text-decoration: none;
	border-bottom: 3px solid transparent;
}

.enlaces ul li a:hover
{
    color: #1498A4;
	transition: 0.6s;
}

.icono
{
	display: none;
	font-size: 24px;
	padding: 23.5px 20px;
}

#hero
{
    /*min-height: 50vh;*/
    position: relative;
}

video
{
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/**************************************************************************************************************************************
*****   Content     *******************************************************************************************************************
**************************************************************************************************************************************/
.content
{
    width: 100%;
    height: auto;
}

/*****	contactar o formulario	******************************************************************************************************/
.contactar
{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #FFFFFF;
}

.txtform
{
	width: 60%;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 15px;
}

.txtform h2
{
    font-size: 40px; 
	font-weight: 700;
	color: #3949AB;
}

.txtform p
{
	font-size: 18px; 
	margin: 0%;
	text-align: center;
	font-weight: 500;
	color: #021B79;
}

.formulario
{
    width: 60%;
	height: auto;
	display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
	padding: 20px 50px;
}

.frm_input
{
    width: 100%;
    font-size: 14px;
    font-family: 'Arvo', serif;
	background: #FFFFFF;
	border: 1px solid #1498A4;
	border-radius: 25px;
    height: 40px;
    line-height: 40px;
    padding: 0px 40px 0px 20px;
    transition: 0.3s ease all;
	resize: none;
}

.frm_txtarea
{
	max-width: 100%;
	min-width: 100%;
	max-height: 130px;
	min-height: 130px;
    font-size: 14px;
    font-family: 'Arvo', serif;
	background: #FFFFFF;
	border: 1px solid #1498A4;
	border-radius: 25px;
    height: 30px;
    line-height: 30px;
    padding: 0px 40px 0px 20px;
	transition: .3s ease all;
	resize: none;
}

.frm_input:focus, .frm_txtarea:focus
{
    border: 3px solid #D38714;
    outline: none;
    box-shadow: 3px 0px 30px rgba(163, 163, 163, 0.4);
}

.frm_input-error
{
	font-size: 14px;
    font-family: 'Arvo', serif;
    margin-bottom: 0px;
    display: none;
}

.frm_input-error-activo
{
    display: block;
}

.form_val-estado
{
	/*position: absolute;*/  /*linea original funciona activando las lineas de "frm_gpo-input"*/
	position: relative;
    right: 10px;
    bottom: 15px;
    /*z-index: 0;*/		/*activar cuando se deje la linea original*/
    font-size: 16px;
    font-family: 'Arvo', serif;
    opacity: 0;
}

.frm_checkbox
{
    margin-right: 10px;
}

.frm_label
{
	font-size: 18px;
    font-family: 'Arvo', serif;
	color: #D38714;
	padding: 2px;
}

.form_mensaje
{
    height: 45px;
	line-height: 45px;
	background: #F66060;
	padding: 0px 15px;
	border-radius: 3px;
	font-size: 16px;
    font-family: 'Arvo', serif;
	display: none;
}

.form_mensaje-activo
{
	display: block;
}

.form_mensaje p
{
    margin: 0;
}

.form_grupo-btn-enviar
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form_btn
{
	width: 130px;
	height: 40px;
	line-height: 40px;
	background: #000000;
	color: #FFFFFF;
	font-weight: 600;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: .1s ease all;
	font-size: 20px;
	letter-spacing: 1px;
	margin-bottom: 5%;
}

.form_btn:hover
{
    box-shadow: 3px 0px 30px rgba(163,163,163, 1.9);
}

.form_mens-exito
{
    font-size: 14px;
    font-family: 'Arvo', serif;
	color: #119200;
	background: #000000;
	padding: 5px;
    margin-top: 15px;
	display: none;
}

.form_mens-exito-activo
{
    display: block;
}

.form_mensaje p
{
	text-align: center;
}

.form_grupo-btn-enviar
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*****	contactar o formulario para el envio (estilos para validacion)	**************************************************************/
.form_grupo-correcto .form_val-estado
{
	color: #1ED12D;
	opacity: 1;
}

.form_grupo-incorrecto .form_label
{
    color: #BB2929;
}

.form_grupo-incorrecto .form_val-estado
{
	color: #BB2929;
    opacity: 1;
}

.form_grupo-incorrecto .frm_input
{
    border: 3px solid #BB2929;
}

/*****	tarjetas	******************************************************************************************************************/
.tarjetas
{
	width: 100%;
	height: auto;
	background: transparent;
}

.tconten
{
    width: 85%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
}

.tpresen
{
    width: 25%;
    height: 200px;
    margin: 25px 0px 25px 0px;
    border-radius: 0px 50px 0px 50px;
    display: flex;
    flex-direction: column;
    background: #000428;
    background: -webkit-linear-gradient(to left, #004E92, #000428, #000428);
    background: linear-gradient(to left, #004E92, #000428, #000428);
}

.tpresen:hover
{
    box-shadow: 0 4px 10px rgba(17, 29, 48, .26);
}

.nrotulo
{
    width: 95%;
    margin-top: 0px;
    background: transparent;
    display: flex;
    flex-direction: row;
    margin: auto;
    align-items: stretch;
}

.rotulo
{
	width: 60%;
    color: #FFFFFF;
    font-size: 26px;
    font-weight: 500;
    margin: 0px 0px;
    margin-right: 5%;
    align-items: stretch;
}

.nrotulo img
{
	width: 40%;
}

.ttarjeta
{
    font-size: 18px;
    font-weight: 400;
    margin: 0px 0px;
    margin-right: 2%;
    color: #FFFFFF;
    text-align: end;
}

.tpresen h6
{
    font-size: 16px;
    font-weight: 400;
    margin: 0px 0px 0px 0px;
    color: #FFFFFF;
    text-align: center;
}

/*****	localiza	******************************************************************************************************************/
.localiza
{
	width: 100%;
    height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #FFFFFF;
	margin: 10px 0px;
}

.oficina
{
    width: 100%;
	height: auto;
	margin: 10px 0px;
}

.oficina .titulo, .st_localiza
{
    font-size: 28px;
    font-weight: 500;
	color: #3949AB;
    margin: 0px 0px;
}

.googleMap1
{
	width: 100%;
	height: auto;
}

.umapas
{
	width: 100%;
	height: 500px;
}

/**************************************************************************************************************************************
*****   Footer      *******************************************************************************************************************
**************************************************************************************************************************************/
.pfooter
{
	width: 100%;
	height: 80px;
	display: flex;
	flex-direction: row;
    align-items: center;
    text-align: center;
	overflow: hidden;
	background: #A5D6A7;
}

.partFooter
{
    width: 25%;
	height: 100%;
    display: flex;
    align-items: center;
}

.partFooter a img
{
    width: 40%;
    height: 40%;
}

.socialNetworks
{
    width: 50%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.socialNetworks ul
{
	display: flex;
	flex-direction: row;
	margin: auto;
}

.socialNetworks ul li
{
    display: inline-block;
    padding: 0px 20px;
}

.socialNetworks ul li a
{
    font-size: 32px;
    color: #3949AB;
    opacity: 1;
    transition: .5s all ease-in-out;
}

.pfooter .socialNetworks ul li a:hover
{
	color: #FF6F00;
}

.motto
{
	width: 25%;
	height: 100%;
	display: flex;
	align-items: center;
	text-align: center;
}

.motto h1
{
	width: 100%;
	font-size: 10px;
	font-style: oblique;
	color: #3949AB;
}

/**************************************************************************************************************************************
*****   Query   ***********************************************************************************************************************
**************************************************************************************************************************************/
@media screen and (max-width: 1050px)
{
    /*****  Header      **************************************************************************************************************/
    header
    {
        height: 400px;
    }

    .infos
    {
        width: 40%;
    }

    .phone
    {
        width: 30%;
    }

    .phone a
    {
        font-size: 18px;
        font-weight: 400;
    }
    
    .email
    {
        width: 30%;
    }
    
    .email a
    {
        font-size: 18px;
        font-weight: 400;
    }

    .logo img
    {
        width: 85%;
        margin-left: 20px;
    }

    .enlaces ul li
    {
        padding: 0% 2%;
    }

    .enlaces ul li a
    {
        font-size: 18px;
        font-weight: 450;
    }

	/*****	Content		**************************************************************************************************************/
	.formulario
	{
		width: 95%;
	}

	/*****	tarjetas	******************************************************************************************************************/
	.tconten
	{
		width: 95%;
	}

	.tpresen
	{
		width: 35%;
	}

	/*****	localiza	******************************************************************************************************************/
	.localiza
	{
		width: 100%;
	}

    /*****  footer      **************************************************************************************************************/
    .pfooter
    {
        width: 100%;
        height: 80px;
    }
}

/*************************************************************************************************************************************/
@media screen and (max-width: 700px)
{
    /*****  Header  ******************************************************************************************************************/
    .infos
    {
        width: 0%;
    }
    
    .phone
    {
        width: 40%;
    }
    
    .phone a
    {
        font-size: 16px;
        padding: 5px 10px;
    }
    
    .email
    {
        width: 60%;
    }
    
    .email a
    {
        font-size: 16px;
        padding: 5px 10px;
    }
    
    .logo
    {
        width: 30%;
    }

    .logo img
    {
        width: 70%;
        margin-left: 20px;
    }

    .lenguaje
    {
        width: 50%;
    }
    
    .flags img
    {
        width: 70%;
        height: 70%;
    }
    
    .enlaces
    {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 80px;
        left: 0;
        background: #2C3E50;
        transition: 1s;
        width: 0;
        overflow: hidden;
    }

    .enlaces ul li
    {
        display: block;
        padding: 0% 0%;
    }

    .enlaces ul li a
    {
        display: block;
        width: 100%;
        height: 50px;
        padding: 20px;
        background: #34495E;
        color: #FFFFFF;
    }

    .nav2
    {
        color: #FFFFFF;
    }

    .icono
    {
        display: block;
        cursor: pointer;
    }

	/*****	Content		**************************************************************************************************************/
	.txtform
	{
		width: 90%;
	}

	.txtform h2
	{
		font-size: 40px;
	}

	.txtform p
	{
		font-size: 16px; 
	}

	.formulario
	{
		width: 95%;
		padding: 10px 10px;
	}

	/*****	tarjetas	******************************************************************************************************************/
	.tarjetas
	{
		width: 100%;
	}

	.tconten
	{
		width: 95%;
		flex-direction: column;
		align-items: center;
	}

	.tpresen
	{
		width: 85%;
	}

	/*****	localiza	******************************************************************************************************************/
	.localiza
	{
		width: 100%;
	}

	.oficina .titulo, .st_localiza
	{
		font-size: 16px;
	}

    /*****  footer      **************************************************************************************************************/
    .pfooter
    {
        height: auto;
        flex-direction: column;
        margin: 15px 0px 0px 0px;
    }

    .partFooter
    {
        width: 100%;
    }

    .socialNetworks
    {
        width: 100%;
    }

    .motto
    {
        width: 100%;
    }

    .motto h1
    {
        font-size: 12px;
        font-style: oblique;
        color: #3949AB;
        display: block;
        margin-bottom: 10px;
    }
}

/*************************************************************************************************************************************/
@media screen and (max-width: 500px)
{
	:root
	{
		--espacios-contenido: 25px;
	}

	/*.content-card
	{
		width: 90%;
	}

	.caja-servicios
	{
		width: 90%;
		margin-bottom: var(--margenes);
	}

	.cont-work
	{
		width: 85%;
	}

	.marca-logo
	{
		width: 80%;
	}

	.iconos
	{
		margin: auto;
	}*/
}