
/* Main Classes */
.container-panel {
    display: flex;
    /* width: 90vw; */
    width: 85vw;
    margin:  auto;
    padding: 0 10px;
  }
  
  /* .container-section{
    margin: auto;
    max-width: 70vw;
    overflow: auto;
    padding: 0 10px;
  } */


/* Panel */
.panel-1 {
    background: url('../img/tarjetas-expandidas/proyecto-01.JPG');
  }
  .panel-2 {
    background: url('../img/tarjetas-expandidas/proyecto-02.JPG');
  }
  .panel-3 {
    background: url('../img/tarjetas-expandidas/proyecto-03.JPG');
  }
  .panel-4 {
    background: url('../img/tarjetas-expandidas/proyecto-04.JPG');
  }
  .panel-5 {
    background: url('../img/tarjetas-expandidas/proyecto-05.JPG');
  }
  
  .panel {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* height: 80vh; */
    height: 60vh;
    border-radius: 0px;
    color: #fff;
    cursor: pointer;
    flex: 0.5;
    margin: 10px;
    position: relative;
    transition: transform 0.5s ease-in-out;
  }
  
  .panel h3 {
    font-size: 24px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    opacity: 0;
  }
  
  .panel.active {
    flex: 5;
    transform: scale(1.1);
  }
  
  .panel.active h3 {
    opacity: 1;
    transition: opacity 0.3s ease-in 0.4s;
  }
  
  /* Media Querie */
  @media(max-width: 480px) {
    .container {
      width: 10vw;
    }
  
    .panel:nth-of-type(4),
    .panel:nth-of-type(5) {
      display: none;
    }
  }

  /* inicio estilos botón MAS INFORMACION */
.btn {
  font-size: 17px;
  background: transparent;
  border: none;
  padding: 1em 1.5em;
  color: #000000;
  text-transform: uppercase;
  position: relative;
  transition: 0.5s ease;
  cursor: pointer;
}

.btn::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #ffc506;
  transition: 0.5s ease;
}

.btn:hover {
  color: #1e1e2b;
  transition-delay: 0.5s;
}

.btn:hover::before {
  width: 100%;
}

.btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  background-color: #ffc506;
  transition: 0.4s ease;
  z-index: -1;
}

.btn:hover::after {
  height: 100%;
  transition-delay: 0.4s;
  color: aliceblue;
}
/* FIN estilos botón MAS INFORMACION */


/* proyectos */
@media (max-width: 991.98px) {
  .container-panel {
      width: 100%;
      padding-right: 15px;
      padding-left: 15px;
      margin-right: auto;
      margin-left: auto;
  }
}