:root {
    --trdpj-accent: rgb(237, 247, 255);
}

.trd-project {
    height: 50vh;
    background: url(/resource/home/images/bg9.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}
.trdpj-legacy {
    display: flex;
    align-items: center;
    gap: .2em;
    position: absolute;
    bottom: 1em;
    right: 1em;
    transition: .6s ease;
}
.trdpj-legacy span {
    font-family: 'Material Icons';
    font-size: 2em;
}
.trdpj-legacy h1 {
    font-family: 'Poppins';
    font-size: 2em;
}
.trd-project:hover .trdpj-legacy {
    right: -16em;
}
.trd-project:hover .trdpj-content {
    opacity: 1;
}

.trdpj-content {    
    z-index: 2;
    background: rgba(0,0,0,.6);
    opacity: 0;
    height: 100%;
    display: grid;
    padding-top: 4em;
    /* flex-direction: column;
    justify-content: center;
    align-items: center; */
    place-items: center;
    /* place-content: center; */
    font-size: 1em;
    gap: 2em;
    padding: 3em;
    overflow: auto;
    transition: opacity .6s ease;
}
.trdpj-content div {
    display: grid;
    gap: 2em;
}
.trdpj-content div #project-current-more {
    position: relative;
    width: 10em;
    display: grid;
    place-items: center;
    text-decoration: none;
    padding: .6em 1em;
    font-size: 1.4rem;
    font-weight: 600;
    /* background: var(--trdpj-accent); */
    z-index: 2;
    isolation: isolate;
    transition: color .4s ease, backdrop-filter .4s ease, background-color .4s ease;
    cursor: pointer;
}
.trdpj-content div #project-current-more::before {
    z-index: -1;
    content: '';
    background: var(--trdpj-accent);
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: .4s ease;
}
.trdpj-content div #project-current-more:hover {
    color: white;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(6px);
}
.trdpj-content div #project-current-more:hover::before {
    height: 0;
}
