* {
  box-sizing: border-box;
}

body {  
  background: #f4f4f4;
}

/*Titulo de la página de nosotros*/
.title-pag_nosotros{
  margin-top: 150px;
  color: #002867;
  text-align: center;
  font-size: 60px;
  font-family: 'tipografia_para_titulo';
  line-height: 55px;
}


.card-nosotros {
  max-width: 900px;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  background-color: #ffffff;
  display: flex;
  transition: 0.3s;
  flex-direction: column;
  box-shadow: 0 0 0 8px rgba(255,255,255,0.2);
  margin-bottom: 30px;/*Margen inferior para hacer una separacion con el 
  siguiente elemento, que en este caso es el Footer*/
}
.card.is-active .card-cover {
  height: 100px;
  top: -50px;
}
.card.is-active .card-avatar {
  transform: none;
  left: 20px;
  width: 50px;
  height: 50px;
  bottom: 1px;
}
.card-cover {
  width: 100%;
  height: 100%;
  position: absolute;
  height: 160px;
  top: -20%;
  left: 0;
  will-change: top;
  background-size: cover;
  background-position: center;
  filter: blur(30px);
  transform: scale(1.2);
  transition: 0.5s;
}

.card-main {
  position: relative;
  flex: 1;
  display: flex;
  padding-top: 5px;
  flex-direction: column;
}

.render-original{
  display: grid;
  grid-template-areas:"render original"
                       "contenido-nosotros contenido-nosotros";
}
@media screen and (max-width: 360px){
  .card-content-nosotros p{
    text-align: center;
  }
}

.render{
  grid-area: render;
  display: grid;
  justify-items:end;
  height:  300px;
}

.original{
 grid-area: original;
 height: 300px;
}

.contenido-nosotros{
  grid-area: contenido-nosotros;
}

.descripcion-quienes-somos{
  padding-left: 45px;
  padding-right: 37px;
}

.render img,
.original img{
  width: 90%;
  height: 400px;
  object-fit: cover;
  clip-path: inset(0 0 100px 0px);
}

.card-content-nosotros {
  margin: 30px;
  padding-bottom:20px;
  font-family:tipografia_para_texto;
}
.card-desc{
  line-height: 1.3;
  color: #000000;
  font-size: 20px;
  margin-top: 20px;
  font-weight: normal;
  font-family:tipografia_para_texto;
}

.card-desc-02{
  margin-top: 20px;
}


.card-content-nosotros h4{
  font-family:tipografia_para_titulo;
  font-size: 20px; 
}
@media screen and (max-width: 320px){
  .card-content-nosotros h4{
    text-align: center;
  }
}

.card-buttons {
  display: flex;
  background-color: #f2f2f2;
  margin-top: auto;
  position: sticky;
  bottom: 0;
  left: 0;
}

.card-buttons button{
  flex: 1 1 auto;
  user-select: none;
  font-size: 18px;
  border: 0;
  padding-top: 17px;
  padding-bottom: 10px;
  cursor: pointer;
  color: #002867;
  transition: 0.3s;
  font-family: 'tipografia_para_titulo';
  font-weight: 600;
  outline: 0;
  border-bottom: 3px solid transparent;
}

.card-buttons button.is-active,
.card-buttons button:hover {
  color: #ffffff;
  background-color: #002867;
}

.card-section {
  display: none;
}

.nosotros_pv{
  height: 390px;
}


.nosotros_pv img{
  display: block;
  width: 100%;/*Ancho del 100%*/
  height: 490px;/*Altura de 200px*/
  object-fit: cover;/*Evitando distorcionar la imagen*/
  /*Aqui lo que hice fue definir el ancho y el alto de la imagen sin distorcinarla;
simplemente recortandola.*/

  clip-path: inset(20px 0 100px 0px);
  /*Recorte de imagen en el siguiente orden: Top , Right , Bottom , Left*/
}

.card-section.is-active{
  display: block;
  animation: fadeIn 0.6s both;
}

@keyframes fadeIn {
  0%{
    opacity: 0;
    transform: translateY(40px);
  }
  100%{
    opacity: 1;
  }
}

.card-subtitle{
  color: white;
  font-weight: normal;
}

.card-contact-wrapper {
  margin-top: 20px;
  color: white;
}
.card-contact {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: white;
  font-family: 'tipografia_para_texto';
  line-height: 1.6;
  cursor: pointer;
  margin: 16px 0;
}
.card-contact img {
  flex-shrink: 0;
  width: 30px;
  margin-right: 12px;
  transition: 0.3s;
  padding-right: 12px;
}
.contact-me {
  border: 0;
  outline: none;
  background:#0053b5;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  color: #fff;
  border-radius: 5px;
  margin-top: 25px;
  padding:10px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  font-family: 'tipografia_para_texto';
  transition: 0.3s;
}
.card[data-state="#about"] {
  height: 450px;
}
.card[data-state="#about"] .card-main {
  padding-top: 0;
}
.card[data-state="#contact"] {
  height: 430px;
}
.card[data-state="#experience"] {
  height: 550px;
}

.contact-me:hover{
  background: #002867;/*Color de fondo*/
  box-shadow: 1px 2px 6px 1px rgba(0,0,0,.2);/*Modificando sombra*/
  transform: translateY(-2px);/*Moviendo el boton para arriba*/ 
}


/*=============================================
Nosotros | Diseño Responsivo
=============================================*/
/*RD(480px)*/
@media screen and (max-width: 837px){
  .descripcion-quienes-somos{
    padding-left: 40px;/*Margen interno izquierdo*/ 
    padding-right: 40px;/*Margen interno derecho*/
    text-align: justify;/*Texto justificado como en word*/
    padding-bottom: 12px;/*Margen interno inferior*/
  }
  /*Titulo de l página de nosotros*/ 
  .title-pag_nosotros{
    font-size: 55px;
  }
}

/*RD(381px)*/
@media screen and (max-width: 512px){
  .descripcion-quienes-somos{
    font-size: 18px;
    padding-left: 35px;/*Margen interno izquierdo*/ 
    padding-right: 35px;/*Margen interno derecho*/
  }
}

/*RD(375px)*/
@media screen and (max-width: 375px){
  .descripcion-quienes-somos{
    font-size: 16px;/*Tamaño de fuente*/
    padding-left: 20px;/*Margen interno izquierdo*/ 
    padding-right: 20px;/*Margen interno derecho*/
  }
}

/*RD(320px)*/
@media screen and (max-width: 320px){
  /*Botones de secciones*/
  .card-buttons button{
    font-size: 16px;
  }
}


/*RD(290px)*/
@media screen and (max-width: 290px){
  /*Botones de secciones*/
  .card-buttons button{
    font-size: 14px;
  }
}

/*RD(281px)*/
@media screen and (max-width: 281px){
  .descripcion-quienes-somos{
    font-size: 14px;/*Tamaño de fuente*/
  }
}

/*RD(251px)*/
@media screen and (max-width: 281px){
  .descripcion-quienes-somos{
    font-size: 13px;/*Tamaño de fuente*/
  }
}

/*RD(236px)*/
@media screen and (max-width: 236px){
  .descripcion-quienes-somos{
    font-size: 12px;/*Tamaño de fuente*/
    padding-left: 15px;/*Margen interno izquierdo*/ 
    padding-right: 15px;/*Margen interno derecho*/
  }
  /*Botones de secciones*/
  .card-buttons button{
    font-size: 12px;
  }
}


/*=====  End of Section comment block  ======*/

