.main-panel{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: 1em;
  }
  .new-panel-divd{
    display: flex;
    flex-direction: column;
  }
  .new-panel-divd a{
    width: 100%;
    aspect-ratio: 4 / 5;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .5s;
    text-decoration: none !important;
    color: var(--bg-100);
    border: none;
    margin-bottom: 1em;
  }
  .new-panel-divd a img{
    background-color: var(--text-200);
    width: 100%;
    height: 100%;
    display: block;
    border: none;
  }
  .new-panel-divd a h3 {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -100%);
    text-align: center;
    font-family: 'Oswald', 'Expletus Sans';
    color: var(--bg-100);
    font-size: 2.5em;
    transition: .5s;
    z-index: 2;
  }
  .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* Negro con 80% de opacidad */
  z-index: 1;
  border: none;
}
  .new-panel-divd a:hover h3{
    color: var(--accent-200);
  }
  @media (min-width:900px){
    .new-panel-divd{
      flex-direction: row;
    }
    .new-panel-divd a{
      margin-left: .5em;
      margin-right: .5em;
    }
  }
  .panel-rect{
    width: 100%;
    max-width: 650px;
    aspect-ratio: 3 / 1;
    position: relative;
    overflow: hidden;
    margin-bottom: .5em;
    border-radius: .5em;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .5s;
    text-decoration: none !important;
  }
  .panel-rect:hover h3{
    color: var(--accent-200);
  }
  .panel-rect img {
    width: 100%;
    height: 100%;
    display: block;
  }
  .panel-rect h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    text-align: center;
    font-family: 'Oswald', 'Expletus Sans';
    color: var(--bg-100);
    font-size: 1.6em;
    transition: .5s;
  }

  
@media (min-width:900px){
  .main-panel{
    padding-left: 20%;
  }
  }
  