.era-item_album,
.era-item {
    height: 150px;
    margin: 0 16px 32px;
    min-width: calc(50% - 32px);
    max-width: calc(50% - 32px);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    cursor: pointer;
    position: relative;
}

.era-item_album {
    height: 300px;
    border: solid 1px var(--grey);
    min-width: 160px;
    max-width: 160px;
    cursor: unset;
}

.era-item_album img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.era_header {
    background-color: var(--opacity90);
    width: 100%;
    color: var(--white);
    padding: 5px;
    position: absolute;
    bottom: 0;
    transition: all ease-in-out 0.75s;
}

.era_header svg {
    float: right;
    margin-right: 10px;
}

.era-item:hover svg {
    fill: var(--highlight);
}

.era-item:hover .era_header {
    height: 60px;
    transition: all ease-in-out 0.75s;
}

.era-item_album .era_header {
    height: 60px;
    font-weight: 700;
    line-height: 25px;
}

.history_text {
    position: fixed;
    top: 100%;
    width: 85%;
    left: 5%;
    height: 120vh;
    transition: all ease-in-out 1.2s;
    overflow: hidden;
    z-index: -1;
}

.history_text.active {
    top: -5vh;
    z-index: 15;
}

.popup_surface {
    height: 60vh;
    bottom: 30px;
    left: 0;
    top: 33vh;
    width: 95%;
    border: solid 1px var(--grey);
    background-color: var(--white);
    box-shadow: 10px 10px 20px var(--black);
    text-align: center;
    font-size: 45px;
    color: var(--away)
}

.history_head {
    position: relative;
    width: 100%;
    background-color: var(--away);
    margin: 0;
    height: 50px;
    padding: 10px;
    font-size: 20px;
    line-height: 27px;
    font-weight: 700;
    color: var(--white);
    text-align: left;
}

.history_content {
    height: 80%;
    width: 98%;
    margin: 10px auto;
    border: solid 1px var(--grey);
    overflow: hidden;
    overflow-y: scroll;
    padding: 30px;
    font-size: 14px;
    text-align: justify;

}

@media screen and (min-width: 760px) {

    .era-item {
        min-width: calc(32% - 32px);
        max-width: calc(32% - 32px);
    }


    div.history_text {
        width: 70%;
        margin-left: 15%;
    }


}

@media screen and (min-width: 1095px) {

    .era-item {
        min-width: calc(25% - 32px);
        max-width: calc(25% - 32px);
        height: 225px;
    }

    div.history_text {
        width: 60%;
        margin-left: 20%;
    }
}

@media screen and (min-width: 1440px) {

    .era-item {
        min-width: calc(20% - 32px);
        max-width: calc(20% - 32px);
        height: 300px;
    }

    div.history_text {
        width: 40%;
        margin-left: 20%;
    }
}