*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif; 
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    background-image: url("../images/bg.jpg");
    background-color: rgba(255, 255, 255, 0.438);
    background-blend-mode: lighten;
    background-size: cover;
    background-attachment: fixed;

    height: auto;
    min-height: 100vh;
    max-width: 100%;
    width: 100%;
}

.menu_bar {
	display:none;
}

h1:before{
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
    /*background-color: black;*/
    top: 50%;
    z-index: -1;
}

h1 span{
    background-color:#ecf4fb;
    padding: 0 15px;
}

h2{
    top: 120px;
    text-align: center;
    position:absolute;
    width: 100%;
	/*margin: 50px auto;*/
    margin: 50px auto;

    font-size: 36px;
    color: rgb(26, 61, 114);
    font-weight: bold;
}

.img-gallery{
    position: relative;
    width: 80%;
    margin: 200px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 30px;
}
.img-gallery img{
    width: 100%;
    cursor: pointer;
    transition: 1s;
}
.img-gallery img:hover{
    transform: scale(1.2);
}
.ful-img{
    width: 100%;
    height: 100vh;
    /*background-color: rgba(0, 0,0, 0.9);*/
    position: fixed;
	/*top: 0;*/
    top: 20;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
}
.ful-img span{
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}
.ful-img img{
    width: 90%;
    max-width: 600px;
}

header {
/*Encabezado*/
    position: fixed;
    top: 0;
    left: 0;
    padding: 0 50px;
    width: 100%;
    box-sizing: border-box;
    background-color: rgb(26, 61, 114);
    z-index: 100;
}

header .logo {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 150px;
    float: left;
    font-weight: bold;
}

header .logo img {
    width: 200%;
    height: auto;
}


header nav {
    float: right;
    margin-top: 15px;
}

header nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style:none;
}

header nav ul li {
    list-style: none;

    display:inline-block;
	position: relative;
}

header nav ul li:hover {
	background:#023859;
    
}

header nav ul li a {
    color: rgb(255, 255, 255);
    display: block;
    text-decoration: none;
    padding: 0 20px;

    height: 50px;
    line-height: 50px;        
    transition: 0.5s;
}

header nav ul li a:hover {
    border-radius: 5px;
    font-size: 17.5px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
}

header nav ul li a span {
	margin-right:10px;
}
header nav ul li a.active {   
    border-color: rgb(49, 49, 49);
  border-width: 1px;
  border-radius: 5px;
}

header nav ul li a.active:hover {
    border-color: rgb(71, 71, 71);
    border-width: 1px;
    border-radius: 5px;
}


header nav ul li a span {
	margin-right:10px;
}

header nav ul li:hover .children {
	display:block;
}

header nav ul li .children {
	display: none;
	background:#011826;
	position: absolute;
	width: 150%;
	z-index:1000;
}

header nav ul li .children li {
	display:block;
	overflow: hidden;
	border-bottom: 1px solid rgba(255,255,255,.5);
}

header nav ul li .children li a {
	display: block;
}

header nav ul li .children li a span {
	float: right;
	position: relative;
	top:3px;
	margin-right:0;
	margin-left:10px;
}

header nav ul li .caret {
	position: relative;
	top:3px;
	margin-left:10px;
	margin-right:0px;
}

  section{
    background: url(bg.jpeg);
    background-position: center;
    background-size: cover;
    height: 100vh;
  }
  
header p {
    color: #fff;
    margin-top: 60px;
    margin-left: 0%;
}

.menu-toggle{
    color: rgb(255, 255, 255);
    float: right;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    margin-top: 15px;
}

header .secundario1 {
    float: none;
    margin-top: 15px;
    width: 500px;
    margin: auto;
}

section h1 {
    color: rgb(26, 61, 114);
    font-weight: 900;
    font-family: 'poppins', sans-serif; 
}

.somos {
    max-width: 100%;
    width: 100%;
    min-height: 50vh;
    height: 50vh;
    align-content: center;
    padding-top: 0px;
    margin-left: auto;
    margin-right: auto;  
}

.objetivo {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: flex-start;
}

.obj  img {
    height: 50vh;
    overflow: hidden;
    margin: 0 auto;
    margin-left: 10%;
    padding: 0;
}

.obj {
    width: 50%;
    height: 100vh;
    display: block;
    align-content: center;
    overflow: hidden;
    margin-top: 150px;
}

.objdos {
    width: 50%;
    height: 100vh;
    align-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10vh;
    margin-top: 300px;
}

.objdos p {
    width: 90%;
}

.equipodetrabajo {
    margin-top: 15vh;
    width: 100%;
    height: auto;
    padding-top: 200px;
}

.equi {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 200px;
    width: 90%;
    column-rule-width: 1px;
    display: flex;
    align-items: flex-start;
    align-content: space-between;
    flex-wrap: wrap;
    justify-content: space-between;
    align-self: stretch;
}

.equipode {
    min-width: 500px;
    width: 20%;
    height: 210px;
    margin: 50px 0;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}

.equipode .imagenn {
    width: 30%;
    height: auto;
    float: left;
}

.equipode img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.equipode .info {
    width: 50%;
    float: left;
    align-content: center;
    margin-top: 5px;
}

.equipode h4 {
    width: 90%;
    margin-bottom: 50px;
    text-align: center;
}

.equipode p {
    width: 90%;
    font-size: 15px;
    line-height: 28px;
    height: 90px;
    overflow: hidden;
}

.equipode .info .box {
    margin-left: 5%;
    display: flex;
    height: 40px;
    width: 140%;  
}

.equipode .info .box .icon {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    border-color:  rgb(71, 71, 71);
    font-size: 15px;
    color:  rgb(71, 71, 71);
    border: solid;
    border-width: 1px;
}

.equipode .info .box .text {
    display: flex;
    font-size: 10px;
    color:  rgb(71, 71, 71);
    flex-direction: column;
}

.equipode .info .box .text h3 {
    font-weight: 500;
    color:  rgb(71, 71, 71);
    font-size: 12px;
    margin-left: 10px;
    margin-top: 8px;
}

h1, p, ul {
    color: rgb(88, 88, 88);
}

.som {
	margin-top: 0vh;
    width: 100%;
    height: auto;
}

.mv {
    width: 50%;
    margin-top: 25vh;
}

.misionvision {
    display: flex;
    align-items: flex-start;
    height: 50vh;
}

.somos h1 {
    text-align: center;
    max-width: 70%;
    margin: auto;
    padding-bottom: 23px;
    font-size: 36px;
    font-weight: 500;
}

.somos p {
    text-align: justify;
    max-width: 600px;
    margin: auto;
    font-style: light;
    font-weight: 300;
}

.misionvision p {
    width: 70%;
}

.somos ul {
    text-align: justify;
    max-width: 600px;
    width: 70%;
    margin: auto;
    font-style: light;
    font-weight: 300;
}

footer {
    padding: 0px 0;
    width: 100%;
    height: auto;
    margin-top: 00px;
}

footer .social {
    text-align: center;
    padding-bottom: 25px;
    color: rgb(49, 49, 49);
}

footer .social a{
    font-size: 24px;
    color: inherit;
    border: 1px solid rgb(49, 49, 49);
    width: 40px;
    height: 40px;
    line-height: 38px;
    display: inline-block;
    text-align: center;
    border-radius: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    padding-top: 1px;
    transition: 0.5s;
}

footer .social a:hover {
    font-size: 27px;
    border-radius: 50%;
}

.sub-footer p {
    margin-top: 0px;
    text-align: center;
    font-size: 15px;
    color: rgb(255, 255, 255);
    margin-bottom: 0;
}

.sub-footer {
    padding-top: 1px;
    width: 100%;
    height: auto;
    padding-bottom: 25px;
    background-color: rgba(0, 43, 107, 0.8);
}

.sub-footer .contactInfo {
    width: 70%;
    margin-right: 20px;
    display: flex;
    margin: 1em 0 0 auto;
}

.sub-footer .contactInfo .box {
    width: 50%;
    position: relative;
    padding: 20px 0;
    display: flex;
   float: left;
}

.sub-footer .contactInfo .box .icon {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border-color: rgb(255, 255, 255);
    font-size: 15px;
    color: rgb(255, 255, 255);
    border: solid;
    border-width: 1px;
}

.sub-footer .contactInfo .box .text {
    display: flex;
    margin-left: 20px;
    font-size: 10px;
    color: rgb(255, 255, 255);
    flex-direction: column;
    font-weight: 300;
    align-items: flex-start;
}

.sub-footer .contactInfo .box .text h3 {
    font-weight: 500;
    color: rgb(255, 255, 255);
    font-size: 15px;
}

.sub-footer .contactInfo .box .text p {
    margin-top: -7px;
}

@media (max-width: 1749px){ 
    .equipode {
        margin: auto;
        margin-top: 40px;
    }
}

@media (max-width: 1700px){ 
    .sub-footer .contactInfo {
        width: 95%;
    }
}

@media (max-width: 1134px){ 
    .sub-footer .contactInfo {
        flex-direction: column;
        width: 70%;
    }
}

@media (max-width: 1084px){
    
    header {
        padding: 0 20px;
        transition: 0.5s;
        position: fixed;     
    }

   .menu-toggle {
        display: block;
        z-index: 201;
    }

    header .secundario1 {
        display: none;
    }

    header nav {
        position: fixed;
        width: 70%;
        height: calc(100vh - 160px);
        margin-top: 100px;
        left: 100%;
        transition: 0.5s;
        z-index: 100;
    }

    header:hover {
        background: rgba(0, 43, 107, 0.8);
    }

    header nav.active {
        width: 400px;
        left: 0;
        background: rgba(0, 43, 107, 0.8);
    }

    header nav ul {
        display: block;
        text-align: left;

        list-style:none;
    }

    header nav ul li {
        display: block;
        border-bottom:1px solid rgba(255,255,255,.5);
        
    }
    header nav ul li a {
        border-bottom: 1px solid rgba (0,0,0,.2)
    }

    header nav ul li a.active {
        border-color: #e2e2e2;
        border: solid ;
        border-width: 1px;
        border-radius: 5px;
    }

    header nav ul li:hover .children {
		display: block;
	}

header nav ul li .children {
		width: 100%;
		position: relative;
	}

header nav ul li .children li a {
		margin-left:20px;
	}

header nav ul li .caret {
		float: right;
	}
        
    .objetivo {
        margin-left: auto;
        margin-right: auto;
        margin-top: 100px;
        display:block;
        align-items:flex-end;
        height: auto;
        }
  
    .obj  img {
        width: 100%;
        height: auto;
        overflow: hidden;
        margin: 0 auto;
        padding: 0;
    }
     
    .obj {
        width: 100%;
        height: 50vh;
        display: block;
        align-content: center;
        overflow: hidden;
    }
   
    .objdos {
        width: 100%;
        height: 200px;
        align-content: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15vh;
    }

    .misionvision {
        display: block;
        align-items: center;
        height: auto;
        margin-top: 0vh;
    }

    .mv {
        width: 100%;
        margin-top: 15vh;
    }

    .misionvision p {
        width: 90%;
    }

    .equipode {
        width: 40%;
    }

    .equipodetrabajo {
        margin-top: 0vh;
        height: auto;
    }


    .somos ul {
        width: 90%
    }

    .equipodetrabajo {
        width: 80%;
    }

    .som {
        width: 100%;
        
    }
    .equi {
        display: block;
        align-items: center;
        align-content: space-between;
        flex-wrap:inherit;
        justify-content: center;
        align-self: center;
    }

    .equipode {
        width: 100%;
        align-items: flex-start;
        margin: 50px 0;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
    }

    .equipode {
        width: 100%;
        height: 410px;
        min-width: auto;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
    }
    
    .equipode .imagenn {
        width: 50%;
        height: auto;
        float: left;
    }

    .equipode .img {
        width: 30%;
        height: auto;
        float: left;
    }

    .equipode .info {
        width: 50%;
        float: right;
        align-content: center;
        margin-top: 50px;
    }

    .sub-footer {
        padding-top: 1px;
        width: 100%;
        height: auto;
        padding-bottom: 25px;
        background-color: rgba(0, 43, 107, 0.8);
    }

    .sub-footer .contactInfo {
        width: 100%;
        margin:auto;
        display: flex;
        flex-direction: column;
        align-content: flex-end;
        margin: 1em 0 0 auto;
    }

    .sub-footer {
        padding-top: 1px;
        width: 100%;
        height: auto;
        padding-bottom: 25px;
        background-color: rgba(0, 43, 107, 0.8);
        align-content: center;
    }
    
    .sub-footer .contactInfo {
        width: 70%;
        margin:auto;
        display: flex;
        flex-direction: column;
        align-content: flex-end;
        margin: 1em 0 0 auto;
    }
    .sub-footer .contactInfo .box {
        width: 100%;
        float: none;
    }
}

@media (max-width: 860px){ 
    .equi {
        margin:auto;
        margin-bottom: 200px;
        width: 100%;
        max-width: 860px;
        justify-content: center;
    }

    .somos .equipodetrabajo {
        align-content: center;
    }

    .equipode {
        min-height: 700px;
        width: 50%;
        min-width: 100%;
        height: auto;
        padding-bottom: 20px;
        align-content: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .equipode .imagenn {
        width: 100%;
        height: auto;
        float: left;
    }

    .equipode .info {
        width: 100%;
        height: auto;
        float: right;
        align-content: center;
        margin-top: 50px;
    }

    .equipode .info .box {
        margin-left: 5%;
        display: flex;
        height: 40px;
        width: 100%;  
    }
}

@media (max-width: 524px){
    .obj  img {
        height: 50vh;
        width: auto;
    }
  
    .obj {
        width: 100%;
        height: 50vh;
    }
}

@media (max-width: 368px){
    .quie  img {
        height: 50vh;
        width: auto;
    }
     
    .quie {
        width: 100%;
        height: 50vh;
    }
}

@media screen and (max-width:400px){
    h1{
        text-decoration: underline;
    }
    h1::before{
        display: none;
    }
    h1 span{
        padding: 0;
    }
}
