.flexslider{
  background-color:transparent!important;
}

.flex-title {  
    width: 100%;
    position: absolute;
    text-align: center;
    font-size: 3em;
    font-weight: 100;
    color: white;
    height: 100%;
    top: 0;
    padding: 2% 20%;
    line-height: normal;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10;

    display: flex;
    justify-content: center;
}

.flex-buttons{
    position: absolute;
    z-index: 20;
    bottom:4em;
    text-align: center;
    width: 100%;
    font-weight: 300;
}

.flex-buttons a{
    transition: all 0.5s ease-in-out 0s;
    background-color: var(--color-primary);
    color:white;
    font-size:2em;
    display:inline-block;
    margin: 0 1.3em;
    padding:0.4em 1.3em;
    border-radius: 30px;
    text-transform: uppercase;
}

.flex-buttons a:hover{
    background-color: var(--color-secondary);
}


.flex-buttons + .flex-title {
    align-items: start !important;
    display: block;
    justify-content:unset;
}

.flex-buttons + .flex-title div{
    top:30%;
}

.flexslider {
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden;
}


.flex-title div  {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: apareix 1s ease-out forwards;
  width: 80%;
}
.flexslider figure{
  margin-bottom:0;
}

@keyframes apareix {
  from {
    opacity: 0;
    transform: translate(-50%, -80%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}