body{
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: "tenby-four" sans-serif;  
scroll-behavior: smooth;
transition-duration: 0.3ms;
}


h2{
  font-size: 5rem;
  color: #000047;
  font-weight: 900;
  margin: 0px 20px ;
  text-align: left;
}

p{
  font-size: 2rem;
  text-align: justify;
  margin: 20px 20px;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    scale: 15%;
  }
  to {
    opacity: 1;
    scale: 100%;
  }
}

img{
  view-timeline-name: --image;
  view-timeline-axis: block;
  animation-timeline: --image;
  animation-name: fadeIn;
  animation-range: entry 25% cover 40%;
  animation-fill-mode: both;
}



@keyframes tex {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

p{
  view-timeline-name: --image;
  view-timeline-axis: block;
  animation-timeline: --image;
  animation-name: tex;
  animation-range: entry 25% cover 50%;
  animation-fill-mode: both;
}

.imagen img{
  height: auto;
  border-radius: 25px; 
  max-width: 100%;
  margin: auto;
}

.imagen td{
  vertical-align: bottom;
}








.content_section{
  display: flex; 
  height: 100%;
  padding: 50px 0px;
  background-position: top left;
  background-attachment: fixed;
  background-repeat: no-repeat;
  justify-items: center;
  align-items: center;
 vertical-align: middle;
  background: linear-gradient(#000047, #000047, #000025);
}

.content_section div{ 
  border-collapse: collapse;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: auto;
  }

.content_section table{
  margin: 30px;
}

.content_section p{
color: #e6be2d;
font-size: 4rem;
text-align: center;
}

.content_section2{
  display: flex; 
flex-flow: wrap;
  width: 100%;
 margin: 30px;
  justify-items: center;
  align-items: center;
}

.contenido{
  display: block; 
  margin: auto;
  padding: 50px 40px;
  justify-items: center;
  align-items: center;    
}

.contenedor{  
  height: 100%;
  margin: auto;
  justify-items: center;
  align-items: center;
 vertical-align: middle; 
}


.contenedor1{  
  display: grid;
  grid-template-columns: 2fr 1fr;
  height: 100%;
  margin: auto;
  justify-items: center;
  align-items: center;
 vertical-align: middle; 
}

.contenedor2{
  display: grid;
  grid-template-columns: 1fr 2fr;
  height: 100%;
  margin: auto;
  justify-items: center;
  align-items: center;
  vertical-align: middle;
}

.subcontenedor{
  width: 350px;
  height: 450px;
  display: grid;
  text-align: center;
  justify-content: center;
  background-color: white;
  margin: 30px auto;
  border-radius: 25px;
}
.subcontenedor h2{
  font-size: 3rem;
  text-align: center;
  margin: 10px 20px;
}
.subcontenedor p{
  font-size: 1.4rem;
  text-align: justify;
  margin: 0px 20px 20px 20px;
}
.subcontenedor img{
  width: 100%;
  padding: 0px;
  margin: 0px auto top;
  border-radius: 25px 25px 0px 0px;
  justify-self: start;
}
.subcontenedor table tr{
 vertical-align: top;
}



#servicios{
  background: #e7e7e7;
}







#contactenos{
  background: linear-gradient(#000047, #000047, #000025);
  color: white;
}

.contenedor3{
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  padding: 50px 20px;
  justify-items: center;
  align-items: center;
 vertical-align: middle;
}

#contactenos h2{
  color: white;
}

.contact_info img{
height: 35px;
}

.contact_info{
  list-style: none;
  padding: 0px;
}

.contact_info p{
  padding: 20px 0px 0px 0px;
}

.contact_info li{
  margin: 30px 0;
  color: white;
  font-size: 1.5rem;
  text-align: left;
  margin: 20px 20px;
  font-weight: 100;
}


.formulario{
   width: 100%;
  max-width: 500%;
}



















  @media only screen and (max-width: 768px){
    .content_section{
    height: 100%;
  }
  
  h2{
    text-align: center;
  }

    .contenedor1{
    display: block;
    }

    .contenedor2{
      display: block;
    }

    .contenedor3{
       grid-template-columns: 1fr;
    }

    .imagen{
      width: 100%;

    }
  
    .texto .contact_info{
      text-align: center;
    }

    .contact_info p{
       text-align: center;
    }
    .contact_info li{
      text-align: center;
    }

    .content_section p{
      font-size: 3rem;
      margin: 5px;
    }

    .formulario{
      padding-top: 50px;
 }
  }


 @media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:landscape){
    .content_section{
    height: 100vh;  }

    .contenedor3{
       grid-template-columns: 1fr;
          }  
 }

  @media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3){
    .content_section{
    height: 100vh;
  }
 }
 
 @media only screen and (min-device-width: 768px) and (max-device-width: 1024px)  and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2){
      .content_section{
      height: 100%; 
      width: 100%;  
    }

    .contenido{
      height: 100%;
      width: 100%;
    }

 .contenedor1 {
    display: block;
    margin: auto;
    width: 100%;
   }
  
  .contenedor2{
      display: block;
      margin: auto;
      width: 100%;
 }
  
  }



@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2){
  .content_section{
    height: 100%;
    width: 100%;
     }
     
   .contenido #alianzas{
     height: 100%;
    width: 100%;
   }
}