/* comentario */
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}
body{
  font-family: sans-serif;
}
.alineacion{
  background: rgb(228, 228, 228);
  color: #333;
  margin: 20px;
  text-align: center;
  font-size: 18px;
  
}
.fondo{
  margin-top: 30PX;
  background: #f3f3f3;
  padding: 10px;
  width: 100%;
}
.fondo2{
  margin-top: 30px;
  margin-bottom: 20px;
  background: #f3f3f3;
  color: #6a6a6a;
  text-align: center;
  font-size: 30px;
  font-weight: 100;
  width: 100%;
}
.distribucion{
  display: flex;
}
.columna{
  /*
  background: rgb(228, 228, 228);
  */
  margin: auto;
  padding: 20px;
}
/*
.centra-img img{
  display: block;
  margin: auto;
}
*/
.columna h4{
  font-size: 20px;
  color: #0082e6;
}
.columna p{
  font-size: 18px;
  color: #644848;
}
.piegeneral{
  margin-bottom: 20px;
  background: #0082e6;
  padding: 10px;
  color: white;
  text-align: center;
  font-size: 15px;
  font-weight: 100;
  width: 100%;
}
nav{
  background: #0082e6;
  height: 80px;
  width: 100%;
}
header a img{
  cursor: initial;
  width: 100%;
}
label.logo{
  padding: 0 30px;
}
nav ul{
  float: right;
  margin-right: 60px;
}
nav ul li{
  display: inline-block;
  line-height: 80px;
  margin: 0 2px;
}
nav ul li a{
  color: white;
  font-weight: 500;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  /* con este uppercase se dejan de ver las anclas al
    disminuir el tamaño de la página
    text-transform: uppercase; 
    font-family: 'Poppins', sans-serif;
  */
}
a.active,a:hover{
  background: #1b9bff;
  transition: .5s;
}
.checkbtn{
  font-size: 30px;
  color: white;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}
#check{
  display: none;
}

/* primer CARD */
.contenedor{
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  background: #f3f3f3;
  font-family: Arial, Helvetica, sans-serif;
  padding: 0 10px;
}
.tarjeta{
  display: flex;
  width: 600px;
  height: auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, .2);
}
.cabeza{
  border-right: 1px solid #ddd;
}
.descripcion{
  background: #fbfbfb;
}
.cabeza, .descripcion{
  padding: 20px;
  text-align: center;
}
.cabeza a{
  position: relative;
  display: block;
}
.cabeza img{
  border-radius: 25%;
  box-shadow: 0 0 0 8px rgba(0, 0, 0, .06);
  margin: 20px;
  transition: .2s;
}
.cabeza h2{
  color: #f0522a;
}
.cabeza h4{
  color: #0082e6;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  margin-bottom: 20px;
}
.descripcion{
  position: relative;
}
.descripcion p{
  margin: 20px 10px;
}
.descripcion .iman{
  margin-top: 80px;
}
.descripcion .iman a{
  background: salmon;
  display: block;
  padding: 8px;
  color: #fff;
  border-radius: 3px;
}
.descripcion .iman a:hover{
  background: rgb(250, 93, 75);
}

/* siguientes 3 CARDs */
.title{
  text-align: center;
  font-size: 40px;
  color: #6a6a6a;
  margin-top: 100px;
  font-weight: 100;
}
.container{
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
}
.container .card{
  width: 330px;
  height: 430px;
  border-radius: 8px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  margin: 20px;
  text-align: center;
  transition: all 0.25s;
}
.container .card p{
  color: #0082e6;
}
.container .card:hover{
  transform: translateY(-15px);
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}
.container .card img{
  width: 330px;
  height: 220px;
}
.container .card h4{
  color: #0b0ec3;
  font-weight: 600;
}
.container .card p{
  padding: 0 1rem;
  font-size: 16px;
  font-weight: 300;
}
.container .card a{
  margin: 20px 20px 0 20px;
  background: salmon;
  display: block;
  padding: 8px;
  color: #fff;
  border-radius: 3px;
}
.container .card a:hover{
  background: rgb(250, 93, 75);
}

/* para la primer tarjeta */
@media (max-width: 625px){
  .tarjeta{
    display: block;
    width: 450px;
  }
  .cabeza{
    padding: 20px 20px 5px 20px;
    border: none;
  }
  .descripcion{
    padding: 5px 20px 20px 20px;
    background: transparent;
  }
  .cabeza h4{
    margin: 0;
  }
  .centra-img{
    width: 450px;
    height: 288px;
  }
  
}

/* para la navegación del menú */
@media (max-width: 950px){
  label.logo{
    padding-left: 20px;
  }
  .checkbtn{
    display: block;
    margin-right: 40px;
  }
  ul{
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #2c3e50;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all .5s;
  }
  nav ul li{
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  nav ul li a{
    font-size: 17px;
  }
  a:hover,a.active{
    background: none;
    color: #0082e6;
  }
  #check:checked ~ ul{
    left: 0;
  }
  .centra-img{
    width: 600px;
    height: 383px;
  }

}

/* siguientes 3 CARDs 
section{
  background: url(Imagenes/fondo2.jpg) no-repeat;
  background-size: cover;
  height: calc(100vh - 80px);
}
*/
