/*
Theme Name: Integra
Text Domain: integra
Description: Arquitecture theme
Tags: arquitecture, design, minimalism
Version: 1.0.0
Requires at least: 5.0.0
Tested up to: 6.0.1
Requires PHP: 7.0
Author: Javi Diaz
Author URI: https://jandcreative.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* estilos generales */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: itc-avant-garde-gothic-pro, sans-serif;
    font-weight: 300;
    font-style: normal;
}


:root {
    --accent-blue: #002456;
  }

  strong {
    font-weight: 500;
    color: var(--accent-blue);
}

  
b {
    font-weight: 500;
    color: black;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: var(--accent-blue) #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 16px;
}

*::-webkit-scrollbar-track {
    background: #ffffff;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--accent-blue);
    border-radius: 10px;
    border: 3px solid #ffffff;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 500;
    color: var(--accent-blue);
    line-height: 1.5rem;
}

h2 {
    font-size: 26pt;
    margin-top: 1rem;
}

p {
    line-height: 1.5rem;
    color: #404040;
    margin: 0.5rem 0;
}

/*estilos pantalla carga*/


.page-template-page-servicios #pantalla-carga {
    display: none!important;
}


.single-post_type_servicios #pantalla-carga {
    display: none!important;
}

.single-post_type_portfolio #pantalla-carga {
    display: none!important;
}

#pantalla-carga {
    position: fixed;
    height: 100vh;
    width: 100%;
    background-color: var(--accent-blue);
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#pantalla-carga > div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#pantalla-carga > div > figure {
    height: 30%;
}

#pantalla-carga > div > figure > img {
    height: 100%;
}

.spinner {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
    position: absolute;
    bottom: 10vh;
}

.spinner > div {
    background-color: #CFD8DC;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

/* estilos menu */
#barra-top {
    display: none;
}


#header-nav{
    height: 8.33vh;
    width: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    box-shadow: 0px 10px 13px -7px rgba(0, 0, 0, 0.1);
    z-index: 1;
    justify-content: space-between;
}


#menu > ul {
    display: flex;
    justify-content: flex-start;
    list-style: none;
    width: 100%;
    margin:0;
    padding-left: 0;
}

#menu > ul > li {
    margin: 1rem;
}

#menu > ul > #english {
    margin: auto;
    margin-right: 1rem;
}

#menu > ul > li > a {
    color: #CFD8DC;
    text-decoration: none;
    /* Add uppercase in default Menu */
    text-transform: uppercase;
}


.languages{
    width: auto;
    padding-left: 18px;
    text-align: right;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.languages ul {
    display: flex;
    margin: 0;
}

.languages li{
    list-style: none;
    padding-right: 12px;
}

.languages li a{
    text-decoration: none;
}

.languages li a{
    color: #CFD8DC;
}

.languages li a:hover {
    color: var(--accent-blue);
}

.languages li:first-child a {
    color: var(--accent-blue);
}

/* Current itme menu in blue*/
#menu > ul > li.current_page_item a{
    color: var(--accent-blue);
}

#menu > ul > li > a:hover {
    color: var(--accent-blue);
}

/* estilos headers */
header {
    min-height: 92.66vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

header > figure {
    height: 66vh;
    margin-top: 8vh;
    width: 80%;
    max-width: 1300px;
    overflow: hidden;
}

header > figure > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

header > h2 {
    margin-top: 3rem;
    color: #CFD8DC;
    font-weight: 100;
}

header > h2 > span {
    color: var(--accent-blue);
}

header > span {
    font-size: 26pt;
    position: relative;
    top: 0.5rem;
    color: #CFD8DC;
    animation: parpadeo 1.5s infinite alternate;
}

@keyframes parpadeo {
    0% {
        color: #CFD8DC;
    }

    100% {
        color: var(--accent-blue);
    }
}

.footer-general {
    background-color: #CFD8DC;
    border-top: solid thin var(--accent-blue);
    display: flex;
    width: 100%;
    overflow: hidden;
    min-height: 6vh;
}

.footer-general > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    max-width: 1300px;
    margin: auto;
    position: relative;
}


.footer-general > div > a {
    text-decoration: none;
    color: var(--accent-blue);
    font-size: 10pt;
    z-index: 2;
}

.footer-general > div > a:hover {
    text-decoration: underline;
}

.footer-general > div > p {
    font-size: 10pt;
    color: var(--accent-blue);
    width: 100%;
    text-align: center;
    position: absolute;
}

#footer-contacto {
    position: absolute;
    bottom: -6vh;
}

/* estilos index */
#header-index {
    min-height: 116vh;
    position: relative;
}

#contenedor-header-index {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin-top: 8.3vh;
    max-width: 1300px;
}

#header-index > figure {
    max-width: 1300px;
}

#contenedor-header-index > div {
    width: calc(50% - 3rem);
}

#contenedor-header-index > div > h1 {
    margin-bottom: 2rem;
}

#contenedor-header-index > div > p:first-of-type {
    margin-top: 0;
}

#contenedor-header-index > div > p:nth-of-type(2) {
    margin-bottom: 8.33vh;
}

.fondo-bitono {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.fondo-bitono > div:first-of-type {
    height: 50%;
    width: 100%;
    background-color: white;
}

.fondo-bitono > div:last-of-type {
    height: 50%;
    width: 100%;
    background-color: #CFD8DC;
}

.texto-y-foto {
    display: flex;
    width: 80%;
    margin: 0 auto;
    margin-top: 8.3vh;
    justify-content: space-between;
    max-width: 1300px;
}

.texto-y-foto > div {
    width: calc(50% - 1rem);
}

.texto-y-foto > div > h2 {
    margin-bottom: 2rem;
}

.texto-y-foto > figure {
    width: calc(45% - 1rem);
}

.texto-y-foto > figure > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.contador {
    width: 80%;
    height: 33vh;
    background-color: var(--accent-blue);
    margin: 8.3vh auto;
    display: flex;
    justify-content: space-evenly;
    max-width: 1300px;
}

.contador > div {
    width: 25%;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.numero,
.unidad {
    color: white;
}

.numero {
    font-size: 36pt;
    font-weight: 500;
}

.num {
    display: flex;
}

.num mark {
    background-color: transparent;
    color: #fff;
    font-size: 19px;
    top: 10px;
    position: relative;
    font-weight: 500;
}

.unidad {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
}

#footer-index {
    height: 50vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    margin: 0 auto;
}

#contenedor-footer-index {
    display: flex;
    width: 80%;
    max-width: 1300px;
    justify-content: space-between;
}

.enlace-footer {
    background-color: white;
    width: 25vh;
    height: 25vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0px 10px 13px -7px rgba(0, 0, 0, 0.1);
    transition: 1s;
    position: relative;
    bottom: 0;
}

.enlace-footer > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--accent-blue);
    text-decoration: none;
}

.enlace-footer:hover {
    box-shadow: 0px 20px 13px -7px rgba(0, 0, 0, 0.1);
    bottom: 1rem;
}

.enlace-footer > a > img {
    height: 16vh;
}

/* estilos integra */
#main-integra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.salto-movil {
    display: none;
}

.empleado {
    width: 30%;
    height: 50vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 4vh 0;
    border-radius: 10px;
    -webkit-box-shadow: 0px 3px 6px 0px rgba(207, 216, 220, 1);
    -moz-box-shadow: 0px 3px 6px 0px rgba(207, 216, 220, 1);
    box-shadow: 0px 3px 6px 0px rgba(207, 216, 220, 1);
    position: relative;
}

.foto-y-nombre {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.foto-y-nombre > figure {
    height: 85%;
    width: 100%;
    overflow: hidden;
}

.foto-y-nombre > figure > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.foto-y-nombre > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    width: 100%;
    height: 15%;
}

.cargo {
    font-weight: 100;
    color: #CFD8DC;
}

.detalle-empleado {
    position: absolute;
    background-color: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    padding: 1.5rem;
}

.bio-empleado {
    height: 50%;
}

.contacto-empleado {
    display: flex;
    width: 100%;
    height: 20%;
    justify-content: center;
    align-items: center;
}

.contacto-empleado > a {
    display: flex;
    text-decoration: none;
    margin: 1rem;
    padding: 0.5rem;
    border-radius: 50%;
    border-style: solid;
    border-width: 3px;
    border-color: var(--accent-blue);
}

.contacto-empleado > a > figure {
    height: 24pt;
    margin: auto;
    padding: 0.3rem;
}

.contacto-empleado > a > figure > img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.contacto-empleado > a > span {
    font-size: 24pt;
    margin: auto;
    color: var(--accent-blue);
}

/* estilos-portfolio */

#filtrar-proyectos {
    display: none;
}

.barra-filtro {
    width: 100%;
    height: 8.33vh;
    background-color: #CFD8DC;
    display: flex;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    margin-bottom: 4vh;
    align-items: center;
}

.barra-filtro li.active a,
.barra-filtro li:hover a{
   color: var(--accent-blue);
   text-decoration: none;
}

ul.barra-filtro li {
    color: white;
    margin: 1em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

ul.barra-filtro li a{
    color: white;
    text-decoration: none;
}


.container_filter{
    min-height: 91.66vh;
}

#main-portfolio,
.content.grid {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 80vh;
} 

.proyecto{
    display: block;
    transition: all 1s;
  }
  
.proyecto.hide{
    display: none;
}

.proyecto {
    height: 40vh;
    width: 47%;
    overflow: hidden;
    margin: 4vh 0;
    position: relative;
    cursor: pointer;
}

.proyecto > .foto-proyecto {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.foto-proyecto > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.ficha-proyecto {
    position: absolute;
    height: 100%;
    width: 75%;
    background-color: rgba(0, 36, 86, 0.7);
    top: 0;
    left: -75%;
    padding: 2rem 0;
}

.titulo-proyecto,
.cliente-proyecto,
.ver-proyecto {
    color: white;
    padding-left: 2rem;
}

.titulo-proyecto {
    line-height: 2.5rem;
    text-transform: uppercase;
}

.cliente-proyecto {
    font-size: 12pt;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.linea-proyecto {
    border-style: solid;
    color: white;
    width: 75%;
}

.contenedor-datos {
    width: 75%;
}

.ver-proyecto {
    text-align: right;
    text-decoration: none;
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    font-size: 10pt;
    font-weight: 100;
}

/* estilos proyecto */
.header-proyecto > h1 {
    font-size: 26pt;
    margin-top: 1rem;
    margin-top: 3rem;
    font-weight: 100;
    /* mayusculas */
    text-transform: uppercase;
}

.main-proyecto {
    margin: 8vh auto;
    margin-bottom: 16vh;
    width: 70%;
    display: flex;
    justify-content: space-between;
}

.foto-proyecto {
    width: 40%;
    height: auto;
    overflow: hidden;
}

.foto-proyecto > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.tabla-proyecto {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.fila-tabla {
    display: flex;
    height: 8vh;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    border-top: solid thin var(--accent-blue);
}

.fila-tabla:last-of-type {
    border-bottom: solid thin var(--accent-blue);
}

.dato {
    color: var(--accent-blue);
    text-align: left;
}

.descripcion-dato {
    color: #CFD8DC;
    text-align: right;
}

.dato,
.descripcion-dato {
    text-transform: uppercase;
}

/* estilos servicios */
#main-servicios {
    width: 100%;
    min-height: 91.66vh;
    padding: 0 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-image: url(https://jandcreative-dev.com/integra/wp-content/uploads/fondo-servicios.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.servicio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 25vh;
    width: 25vh;
    padding: 0 15px;
    margin: 1rem;
    text-align: center;
    overflow: hidden;
    background-color: white;
    border-radius: 10px;
    -webkit-box-shadow: 0px 3px 6px 0px rgba(207, 216, 220, 1);
    -moz-box-shadow: 0px 3px 6px 0px rgba(207, 216, 220, 1);
    box-shadow: 0px 3px 6px 0px rgba(207, 216, 220, 1);
    cursor: pointer;
    position: relative;
    transition: 0.25s;
    transition-timing-function: linear;
    top: 0;
    font-weight: 100;
    color: var(--accent-blue);
    text-decoration: none;
}

.servicio:hover {
    top: -1rem;
    transition: 1s;
}

.icono-servicio {
    height: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.icono-servicio > img {
    height: 100%;
}

.modal-servicio {
    display: flex;
    position: fixed;
    height: 90vh;
    width: 100%;
}

/* estilos servicio */
.main-servicio {
    width: 100%;
    min-height: 91.66vh;
    padding: 0 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-image: url(https://jandcreative-dev.com/integra/wp-content/uploads/fondo-servicios.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.contenedor-servicio {
    height: 75vh;
    width: 90%;
    overflow: hidden;
    display: flex;
    background-color: white;
    border-radius: 10px;
    position: relative;
}

.foto-servicio {
    width: 50%;
    overflow: hidden;
    padding: 8vh 2rem;
}

.foto-servicio > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.texto-servicio {
    width: 50%;
    padding: 8vh 2rem;
    overflow-y: scroll;
}

.nombre-servicio {
    /* margin-bottom: 3rem; */
    text-transform: uppercase;

}

.nombre-servicio span{
    color: #CFD8DC;
    font-weight: 500;
}

.texto-servicio > p {
    font-size: 10pt;
    width: 80%;
}

/* Listados Servicio */

h1.nombre-servicio{
    line-height: 2.5rem;
    margin-bottom: 2.5rem
}

.texto-servicio  ol, ul{
    margin: 1rem
}

.texto-servicio ol li::marker {
    color:  var(--accent-blue);
    font-weight: bold;
}

.texto-servicio ul li::marker {
    color:  var(--accent-blue);
    font-weight: bold;
}

.texto-servicio  ol li{
    font-size: 10pt;
    width: 80%;
    line-height: 1.5rem;
    margin: 0.5rem 0;
    font-weight: 300;
}

.texto-servicio li{
    font-size: 10pt;
    width: 80%;
    line-height: 1.5rem;
    margin: 0.5rem 0;
    font-weight: 300;
}

/* H2 - Servicio */

.texto-servicio  h2{
    font-size: 18pt;
    color: #CFD8DC;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.cerrar-servicio {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.cerrar-servicio > span {
    font-size: 30pt;
    font-weight: bold;
    color: var(--accent-blue);
}

/* estilos certificaciones */
#destacado-certificaciones {
    background-color: var(--accent-blue);
    height: 40vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#destacado-certificaciones > p {
    color: white;
    width: 40%;
    text-align: center;
}

#main-certificaciones {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.certificacion {
    width: 75%;
    max-width: 1300px;
    overflow: hidden;
    display: flex;
    margin: 8vh 0;
    justify-content: space-between;
}

.certificacion.centrado{
    align-items: center;
}

.certificacion.arriba{
    align-items: normal;
}

.certificacion:nth-child(even) {
    flex-direction: row-reverse;
}

.certificacion:last-of-type > div > h2:last-of-type {
    margin-top: 6vh;
}

.certificacion > figure {
    min-height: 33vh;
    width: 40%;
    overflow: hidden;
}

.certificacion > figure > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.certificacion > div {
    width: 50%;
}

.certificacion.html > div{
    width: 100%;
}

.certificacion > div > h2 {
    text-transform: uppercase;
   /*  margin-bottom: 3rem; */
   margin-bottom: 2.5rem;
   line-height: 2.5rem;
}

/* estilos contacto */
#main-contacto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

#main-contacto > figure {
    margin: 8vh auto;
    height: 50vh;
    width: 75%;
    max-width: 1300px;
    overflow: hidden;
}

#main-contacto > figure > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#contenedor-metodos-contacto {
    width: 75%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.metodo-contacto {
    width: 45%;
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: solid thin var(--accent-blue);
}

.metodo-contacto:nth-of-type(n+3) {
    border-bottom: solid thin var(--accent-blue);
}

.metodo-contacto > a {
    color: var(--accent-blue);
    text-decoration: none;
}

.metodo-contacto > h4 {
    text-transform: uppercase;
    color: #CFD8DC;
    font-weight: 100;
    text-align: right;
}

#footer-contacto > div {
    width: 75%;
}


/* legal */
#main-legal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

#contenedor-content-legal {
    width: 70%;
    max-width: 800px;
    margin: 5vh auto;
    min-height: 80vh;
    padding-bottom: 5em;
}

#contenedor-content-legal h1{
    padding-bottom: 2rem;
    text-align: center;
}

#contenedor-content-legal h2 {
    font-size: 15pt;
    padding-top: 1.5rem;
    padding-bottom: 0.5em;
    margin: 0;
}

#contenedor-content-legal p{
    opacity:0.8;
}

#contenedor-content-legal a{
    color: var(--accent-blue);
    opacity: 1;
}

#contenedor-content-legal ul li{
    opacity: 0.8;
    padding-bottom: 0.5em;
    color:#404040;
}

/* media queries */

@media (max-width: 1100px) {

.home h1{
    line-height: 2.5rem;
    }
}

@media (max-width: 700px) {

    /* media queries generales */

    h1,
    h2,
    h3 {
        line-height: 2.5rem;
    }

    #pantalla-carga {
        width: 100%;
    }

    #pantalla-carga > div {
        background-color: var(--accent-blue);
    }


    #barra-top {
        display: flex;
        height: 8vh;
        padding: 0.5rem 1rem;
        position: sticky;
        top: 0;
        z-index: 2;
        width: 100%;
        background-color: white;
        -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    }

    #contenedor-barra-top {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .logo-superior {
        height: 100%;
        overflow: hidden;
        width: 100%;
        display: flex;
        position: absolute;
        left: 0;
        z-index: -1;
        padding: 0.3rem;
    }

    .logo-superior > img {
        height: 100%;
        width: 100%;
        object-fit: contain;
        margin: auto;
    }

    .pagina-actual {
        text-transform: uppercase;
        text-decoration: none;
        color: var(--accent-blue);
        font-weight: 500;
    }

    #menu-hamburguesa {
        background: none;
        display: flex;
        border: none;
    }

    #menu-hamburguesa > span {
        margin: auto;
        color: var(--accent-blue);
        font-size: 24pt;
    }

    #header-nav {
        height: 92vh;
        position: fixed;
        top: 8vh;
        background-color: white;
        max-width: 100vw;
        justify-content: center;
        flex-direction: column;
    }

    .languages{
        flex-direction:column;
        margin-top: 2em;
    }

    .languages li{
        margin: 0.5rem;
    }

    .languages li a{
        font-size: 22pt;
        font-weight: 500;
    }


    #menu > ul {
        flex-direction: column;
        text-align: center;
    }

    #english {
        flex-direction: column;
        text-align: center;
        margin: auto !important;
    }

    #menu > ul > li > a {
        font-size: 22pt;
        font-weight: 500;
    }

    #english {
        position: relative;
        top: 6vh;
    }

    p {
        font-size: 11pt;
    }

    /* media queries index */

    #header-index {
        min-height: 100%;
    }

    #header-index > figure {
        height: 33vh;
        width: 100%;
        padding: 0 1rem;
    }

    .fondo-bitono > div:first-of-type {
        height: 30%;
    }

    .fondo-bitono > div:last-of-type {
        height: 70%;
    }

    #contenedor-header-index {
        flex-direction: column;
        width: 100%;
        padding: 1rem;
        margin-top: 4vh;
    }

    #contenedor-header-index > h1 {
        width: 100%;
        margin-bottom: 1rem;
    }

    #contenedor-header-index > div > h3 {
        margin-bottom: 1.5rem;
        line-height: 2rem;
    }

    #contenedor-header-index > div {
        width: 100%;
        height: auto;
    }

    #contenedor-header-index > div > p {
        width: 100%;
        flex-direction: column;
    }

    #contenedor-header-index > div > p:last-of-type {
        margin-bottom: 4vh;
    }

    .texto-y-foto {
        flex-direction: column;
        width: 100%;
        padding: 1rem;
        margin: 4vh 0;
    }

    .texto-y-foto:last-of-type {
        flex-direction: column-reverse;
    }

    .texto-y-foto > div {
        width: 100%;
    }

    .texto-y-foto > div > h2 {
        margin-bottom: 1rem;
    }

    .texto-y-foto > div > p {
        margin-bottom: 1rem;
    }

    .texto-y-foto > figure {
        width: 100%;
        height: 33vh;
    }

    .contador {
        height: 95vh;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    .contador > div {
        margin: 2rem 0;
    }

    #footer-index {
        height: auto;
        min-height: 32vh;

    }

    #fondo-bitono-index {
        display: none;
    }

    #contenedor-footer-index {
        flex-direction: column;
        min-width: 100%;
        padding: 0;
    }

    .enlace-footer {
        min-width: 100%;
        height: 8vh;
        background-color: #CFD8DC;
        border-radius: 0;
        align-items: center;
    }

    .enlace-footer > a {
        color: white;
        width: 100%;
        height: 100%;
        align-items: flex-start;
        padding: 1rem;
        border-bottom: solid white 3px;
    }

    .enlace-footer > a > img {
        display: none;
    }

    .footer-general {
        margin-top: 2rem;
    }

    .footer-general > div > p {
        width: auto;
        position: static;
    }

    .sin-margen-superior {
        margin-top: 0 !important;
    }

    .footer-general > div {
        flex-direction: column;
        width: 100%;
        align-items: flex-end;
        padding: 1rem;
    }

    /* media queries integra */
    #header-integra {
        height: auto;
        min-height: auto;
    }

    #header-integra > figure {
        display: none;
    }

    #flecha-header {
        display: none;
    }

    .salto-movil {
        display: block;
    }

    #header-integra > h2 {
        width: 100%;
        min-height: 10vh;
        line-height: 2.5rem;
        margin: 4vh 0;
        padding: 0 1rem;
        font-weight: 500;
    }

    #header-integra > h2 > span {
        font-weight: 500;
    }

    #main-integra {
        width: 100%;
        padding: 0 1rem;
    }

    .empleado {
        width: 48%;
        height: 33vh;
        margin: 0.5rem 0;
    }

    .foto-y-nombre > div {
        height: 25%;
    }

    º .foto-y-nombre > div {
        padding: 0 0.5rem;
    }

    /* media queries servicios */
    #main-servicios {
        padding: 0.5rem;
        margin: 0;
        width: 100%;
    }

    .servicio {
        padding: 0;
        margin: 0.5rem;
        width: calc(20vh - 1rem);
        height: calc(20vh - 1rem);
        text-align: center;
    }

    /* media queries servicio */
    .main-servicio {
        width: 100%;
        padding: 0;
    }

    .contenedor-servicio {
        flex-direction: column;
        height: auto;
        margin: 4vh 0;
    }

    .foto-servicio {
        width: 100%;
        height: 33vh;
        padding: 0;
    }

    .texto-servicio {
        width: 100%;
        padding: 1rem;
    }

    .texto-servicio > h1 {
        margin-bottom: 1rem;
    }

    .texto-servicio > p {
        width: 100%;
    }

    .cerrar-servicio {
        background-color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        text-decoration: none;
        top: 0.5rem;
        right: 0.5rem;
    }

    .cerrar-servicio > span {
        font-size: 20pt;
        margin: 0.5rem;
    }

    /* media queries certificaciones  */
    #header-certificaciones > figure {
        width: 100%;
        height: 80vh;
        margin-top: 0;
    }

    #header-certificaciones > h2 {
        margin: 0;
        height: 12vh;
        line-height: 2.5rem;
        padding: 1rem;
    }

    #destacado-certificaciones {
        margin-top: 4vh;
        height: auto;
    }

    #header-certificaciones > span {
        margin-top: 1rem;
    }

    #destacado-certificaciones > p {
        width: 100%;
        padding: 2rem 1rem;
    }

    .certificacion {
        flex-direction: column;
        width: 100%;
        margin: 4vh 0;
        padding: 0 1rem;
        justify-content: flex-start;
    }

    .certificacion > figure {
        width: 100%;
        height: 40vh;
        min-height: auto;
    }

    .certificacion > div {
        width: 100%;
    }

    .certificacion > div > h2 {
        margin-top: 2rem;
        margin-bottom: 1rem;
        line-height: 2.5rem;
    }

    .certificacion:nth-child(even) {
        flex-direction: column;
    }

    /* media queries portfolio */

    .barra-filtro {
        flex-direction: column-reverse;
        height: auto;
        min-height: 8vh;
        flex-direction: column;
        padding: 1.5em 0 2em;
    }

    ul.barra-filtro > li {
        margin: 0.5rem;
    }

    #filter-group {
        background-color: #CFD8DC;
    }

    #filtrar-proyectos {
        display: block;
        margin: 0 auto;
    }

    #filter-group > button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: none;
        margin: auto;
        border: none;
        color: white;
        text-transform: uppercase;
        font-size: 9pt;
        height: 100%;
        width: 100%;
    }

    #filter-group > button > span {
        font-size: 24pt;
        margin-bottom: 0.5rem;
    }

     /*#barra-filtros {
        flex-direction: column-reverse;
        height: auto;
        min-height: 8vh;
    }

    #barra-filtros > ul {
        flex-direction: column;
        margin: 2rem 0;
    }

    #barra-filtros > ul > li {
        margin: 0.5rem;
    }

    #barra-filtros > button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: none;
        margin: auto;
        border: none;
        color: white;
        text-transform: uppercase;
        font-size: 9pt;
        height: 100%;
        width: 100%;
    }

    #barra-filtros > button > span {
        font-size: 24pt;
        margin-bottom: 0.5rem;
    }*/

    #main-portfolio,
    .content.grid {
        width: 80%;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        height: auto;
        padding: 0 1rem;
        margin: 4vh 0;
    }

    .proyecto {
        width: 100%;
        height: 25vh;
        margin: 0.5rem 0;
    }

    .proyecto > .foto-proyecto {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .ficha-proyecto {
        padding: 0;
    }

    .contenedor-datos {
        height: 100%;
        width: 100%;
        margin-top: 0;
        padding: 1rem;
    }

    .titulo-proyecto {
        margin-top: 0;
        height: auto;
        padding: 0;
        font-size: 18pt;
    }

    .cliente-proyecto {
        height: auto;
        padding: 0;
    }

    .linea-proyecto {
        margin: 2rem;
        width: 80%;
        position: absolute;
        left: -2rem;
        bottom: 10%;
        border-width: 1px;
    }

    .ver-proyecto {
        position: absolute;
        bottom: 12%;
        width: 80%;
        margin: 0 2rem;
        left: -2rem;
    }

    /* media queries proyecto individual */
    .header-proyecto {
        height: auto;
        min-height: auto;
    }

    .header-proyecto > figure {
        height: 33vh;
        width: 100%;
        margin-top: 0;
    }

    .header-proyecto > h1 {
        background-color: var(--accent-blue);
        color: white;
        height: 8vh;
        line-height: 2.5rem;
        margin-top: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14pt;
    }

    .main-proyecto {
        flex-direction: column-reverse;
        margin-top: 4vh;
        margin-bottom: 0;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .tabla-proyecto {
        width: 80%;
        margin-bottom: 8vh;
    }

    .foto-proyecto {
        width: 80%;
        height: 60vh;
        margin-bottom: 8vh;
    }

    /* media queries contacto */
    #main-contacto > figure {
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
        height: 50vh;
    }

    #contenedor-metodos-contacto {
        width: 90%;
        height: 42vh;
        margin-top: 0;
        justify-content: center;
        align-items: center;
        padding: 2rem 1rem;
    }

    .metodo-contacto {
        width: 100%;
        height: 25%;
    }

    .metodo-contacto > a {
        line-height: 1.5rem;
        width: 65%;
    }

    .metodo-contacto:last-of-type {
        border-top: none;
    }

    #footer-contacto {
        position: static;
        padding: 1rem 2rem;
    }

    #footer-contacto > div {
        width: 100%;
        padding: 0;
    }
}
