
@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;
}

.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: 18em;
    -webkit-animation: type 3.5s steps(30, end), blink .3s step-end infinite alternate;
    animation: type 3.5s steps(30, end), blink .3s 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;
}


.service-contactenos
{
    margin-top: 3em;
    margin: 0 auto;
	width: 60%;
}

.service-contactenos p
{
	text-align: justify;
	font-family: 'Crimson Text', serif;
	font-size: 20px;
	padding: 1em 1em;
}



.service-contactenos h2
{
	font-family: 'Cormorant Garamond', serif;
	font-size: 34px;
}


#direccion,#email, #horario, #pbx
{
	margin: 0 1em 0 1em;
    width: 30%;
}

.service-contactenos h3
{
	font-family: 'Crimson Text', serif;
	font-size: 26px;
	text-align: left;
	margin-bottom: 0.7em;
}


.service-contactenos h4
{
    text-align: left;
	font-family: 'Crimson Text', serif;
	color: #444;
}

#icono
{
	color: rgb(18, 66, 101);
	font-size: 28px;
}

#pbx
{
	margin: -2em 0 0 1.6em;
    vertical-align: top;
}

#direccion,#email, #horario
{
    display: inline-block;
    vertical-align: top;
}

.text-contactenos
{
	margin: 0 1em 0 1em;
	border: 1px solid #c2c2c2;
	box-shadow: rgba(134, 134, 134, 0.4) 2px 5px 5px;
	padding: 0em 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-contactenos p
{
	font-family: 'Crimson Text', serif;
}


/*****estilos del mapa y formulario de contacto***/
.container-frm
{

	width: 100%;
}
.map
{
	margin-right: 1em;
}
.contact-form
{
	margin-left: 1em;
}

.map, .contact-form
{

	width: 100%;
	display: inline-block;
	vertical-align: top;
	
}

.map iframe
{
	width: 100%;
}

.map h2, .contact-form h2
{
	color: rgb(18, 66, 101);
}

form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.form-group {
    display: grid;
    gap: 5px;
}

label {
    font-weight: bold;
}

/* Estilos para el borde de los input cuando están enfocados */
.form-control:focus {
    border-color: rgb(164, 199, 55);
    box-shadow: 0 0 0 0.2rem rgba(164, 199, 55, 0.25);
}

/* Aumentar el tamaño del textarea */
textarea.form-control {
    height: 150px; /* Modifica esta altura según tus necesidades */
    resize: vertical; /* Permite que el textarea sea redimensionable verticalmente */
}

/* Eliminar los bordes redondeados */
.form-control {
    border-radius: 0;
}

@media (min-width: 360px) and (max-width: 479px){
        /********DISEÃ‘O DE MENU DESPLEGABLE ***************************/
        .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: 20px;
            margin: 0;
            font-weight: bold;
            text-transform: uppercase;
            color: #eeeeee;
        	white-space: nowrap;
            overflow: hidden;
        }
                
        
        
        .banner h1:nth-child(1) {
            width: 18em;
            -webkit-animation: type 3.5s steps(30, end), blink .3s step-end infinite alternate;
            animation: type 3.5s steps(30, end), blink .3s step-end infinite alternate;
            -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
        }
        

        /* Esconde el menú principal en pantallas pequeñas */
        #menu-desplegable {
            display: none; /* Oculta el menú de navegación principal */
        }
    
        /* Muestra el menú móvil cuando está activo */
        #mobile-main-menu {
            display: none; /* Oculta el menú móvil inicialmente */
            position: absolute;
            top: 60px; /* Ajusta la posición según sea necesario */
            left: 0;
            width: 100%;
            background-color: white; /* Color de fondo del menú móvil */
            border: 1px solid #ddd; /* Color del borde del menú móvil */
            z-index: 1000; /* Asegura que el menú esté sobre otros elementos */
        }
    
        #mobile-main-menu.show {
            display: block; /* Muestra el menú móvil cuando tiene la clase 'show' */
        }
    
        /* Estilos para el botón de menú móvil */
        #mobile-menu-button {
            display: block; /* Asegúrate de que el botón de menú esté visible */
        }
        
        
        .captcha-icon img {
            width: 20px;
            height: 20px;
        }


    
}

@media (min-width: 480px) and (max-width: 510px){
        /********DISEÃ‘O DE MENU DESPLEGABLE ***************************/
        
        .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: 20px;
            margin: 0;
            font-weight: bold;
            text-transform: uppercase;
            color: #eeeeee;
        	white-space: nowrap;
            overflow: hidden;
        }
                
        
        
        .banner h1:nth-child(1) {
            width: 18em;
            -webkit-animation: type 3.5s steps(30, end), blink .3s step-end infinite alternate;
            animation: type 3.5s steps(30, end), blink .3s step-end infinite alternate;
            -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
        }
        

        /* Esconde el menú principal en pantallas pequeñas */
        #menu-desplegable {
            display: none; /* Oculta el menú de navegación principal */
        }
    
        /* Muestra el menú móvil cuando está activo */
        #mobile-main-menu {
            display: none; /* Oculta el menú móvil inicialmente */
            position: absolute;
            top: 60px; /* Ajusta la posición según sea necesario */
            left: 0;
            width: 100%;
            background-color: white; /* Color de fondo del menú móvil */
            border: 1px solid #ddd; /* Color del borde del menú móvil */
            z-index: 1000; /* Asegura que el menú esté sobre otros elementos */
        }
    
        #mobile-main-menu.show {
            display: block; /* Muestra el menú móvil cuando tiene la clase 'show' */
        }
    
        /* Estilos para el botón de menú móvil */
        #mobile-menu-button {
            display: block; /* Asegúrate de que el botón de menú esté visible */
        }
        
        .captcha-icon img {
            width: 20px;
            height: 20px;
        }


    
}



@media (min-width: 510px) and (max-width: 620px){
        /********DISEÃ‘O DE MENU DESPLEGABLE ***************************/
        
        .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: 20px;
            margin: 0;
            font-weight: bold;
            text-transform: uppercase;
            color: #eeeeee;
        	white-space: nowrap;
            overflow: hidden;
        }
                
        
        
        .banner h1:nth-child(1) {
            width: 18em;
            -webkit-animation: type 3.5s steps(30, end), blink .3s step-end infinite alternate;
            animation: type 3.5s steps(30, end), blink .3s step-end infinite alternate;
            -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
        }
        

        /* Esconde el menú principal en pantallas pequeñas */
        #menu-desplegable {
            display: none; /* Oculta el menú de navegación principal */
        }
    
        /* Muestra el menú móvil cuando está activo */
        #mobile-main-menu {
            display: none; /* Oculta el menú móvil inicialmente */
            position: absolute;
            top: 60px; /* Ajusta la posición según sea necesario */
            left: 0;
            width: 100%;
            background-color: white; /* Color de fondo del menú móvil */
            border: 1px solid #ddd; /* Color del borde del menú móvil */
            z-index: 1000; /* Asegura que el menú esté sobre otros elementos */
        }
    
        #mobile-main-menu.show {
            display: block; /* Muestra el menú móvil cuando tiene la clase 'show' */
        }
    
        /* Estilos para el botón de menú móvil */
        #mobile-menu-button {
            display: block; /* Asegúrate de que el botón de menú esté visible */
        }
        
        .captcha-icon img {
            width: 20px;
            height: 20px;
        }

    
}


