@import url('https://fonts.googleapis.com/css2?family=Dynalight&family=Poiret+One&display=swap');


body {
    background-color: #07080e;
    color: #fff;
  font-weight: 400;
}

h1 {
    background: url('') bottom center no-repeat;
    background-size: 257px 60px;
    height: 100px;
    font-size: 4.5rem;
    font-family: 'Dynalight', cursive;
    font-weight: 400;
    text-align: center;
    display: block;
    margin: 3rem auto 0;
}

.Wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.Frame {
    width: 236px;
    height: 236px;
}

.Frame-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: white;
}

.absolute {
    position: absolute;
}

/* SOLO las imágenes */
.Frame-link > img.absolute {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.Frame-link > img:first-of-type {
    object-fit: cover;
    z-index: 1;
}

.Frame-link > img:nth-of-type(2) {
    z-index: 2;
}

.Frame-name {
    width: 65%;
    transition: transform .25s ease;
    transform-origin: center center;
    backface-visibility: hidden;
    top: 65%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.Frame-name:before {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    border-style: solid;
    top: 4px;
    z-index: -10;
    left: -20px;
    border-width: 13px;
}

.Frame-name:after {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    border-style: solid;
    top: 4px;
    z-index: -10;
    right: -20px;
    border-width: 13px;
}

/* pink = verde navy */
.Frame-pink .Frame-name:before {
    border-color: #24473d #24473d #24473d transparent;
}

.Frame-pink .Frame-name:after {
    border-color: #24473d transparent #24473d #24473d;
}

.Frame-pink .Frame-text {
    background: #2f5d50;
    border: 1px solid #1b342d;
}

/* blue = morado Hange */
.Frame-blue .Frame-name:before {
    border-color: #5b3c75 #5b3c75 #5b3c75 transparent;
}

.Frame-blue .Frame-name:after {
    border-color: #5b3c75 transparent #5b3c75 #5b3c75;
}

.Frame-blue .Frame-text {
    background: #6f4a8e;
    border: 1px solid #442c58;
}

/* red = azul marino */
.Frame-red .Frame-name:before {
    border-color: #1f3f75 #1f3f75 #1f3f75 transparent;
}

.Frame-red .Frame-name:after {
    border-color: #1f3f75 transparent #1f3f75 #1f3f75;
}

.Frame-red .Frame-text {
    background: #2b5ea8;
    border: 1px solid #1f3f75;
}

.Frame:hover .Frame-name {
    transform: translate3d(-50%, -3px, 0) scale(1.2);
}

.Frame-text {
    display: block;
    width: 100%;
    height: 1.5rem;
    z-index: 10;
    font-family: "Poiret One", sans-serif;
  font-weight: 400;
  font-style: normal;
    text-align: center;
    font-size: 1.0rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.4rem;
    text-transform: uppercase;
}