.page-display{
    width:100vw;
    height:100vh;
    background-color:ghostwhite;
    z-index:2;
    position: absolute;
    top: 0;
    left: 0;
    opacity:1;
    transform: none;
    overflow-x: hidden;
}

.page-display.hidden{
    visibility:hidden;
    transform: scale(.3);
    opacity:0;
    background-color:transparent;
    overflow: hidden;
}

.page-viewer{   
    border:2px solid ghostwhite;
    width:100%;
    height:100%;
    background-color: transparent;
    clip-path:polygon(25% 3%,75% 3%,97% 50%, 75% 97%, 25% 97%, 3% 50%);
    position:absolute;
    z-index: 1;
    transition:all 800ms ease-out;
}

.page-viewer.expanded{
    top:0px!important;
    left:0px!important;
    background-color: ghostwhite;
    transition: all 800ms, background-color 200ms;
}

.page-viewer.hidden{
    visibility:hidden;
}

.subpage-img{
    width:500px;
    max-height:500px;
}

.return-home{
    display: block;
    height: 70px;
    width: 70px;
    position: fixed;
    margin: 10px 20px 0px;
    z-index: 1;
    background: ghostwhite;
    border-radius: 50%;
}


.return-home:hover{
    transform:scale(1.1);
    transition:200ms;
}

.hexagon .content{
    visibility: hidden;
    position: absolute;
}

.page-display.transitioning{
    overflow-y:hidden;
    transition: all 500ms ease-out, opacity 400ms;
}

.sub-page{
    position:absolute;
    width: 100%;
    padding-top: 75px;
}

.sub-page.hidden{
    visibility:hidden;
    height:0;
}

.sub-page.hidden img{
    height:0;
}

.sub-page .title{
    font-size:4rem;
    font-style: italic;
    font-family:sans-serif;
    margin:2rem;
    margin-top: 0;
}

.sub-page .display-img{
    max-width: 100%;
    max-height: 90vh;
    min-width: 225px;
    min-height: 250px;
    align-self: center;
}

.sub-page .content{
    margin: 0 auto;
    display: flex;
    width: 90%;
}

.sub-page .content .card{
    height: 100%;
    display:flex;
    flex-direction:column;
    justify-content: flex-start;
    padding: 1rem;
    background-color: #343434;
    --chamfer-0:2rem;
    --chamfer-100: calc(100% - var(--chamfer-0));
    clip-path:polygon(
        var(--chamfer-0) 0%, 
        var(--chamfer-100) 0%,
        100% var(--chamfer-0),
        100% var(--chamfer-100), 
        var(--chamfer-100) 100%, 
        var(--chamfer-0) 100%, 
        0% var(--chamfer-100), 
        0% var(--chamfer-0));
    margin:1rem;
    color: ghostwhite;
}

.content .card img {
    --chamfer-0:2rem;
    --chamfer-100: calc(100% - var(--chamfer-0));
    clip-path:polygon(
        var(--chamfer-0) 0%, 
        var(--chamfer-100) 0%,
        100% var(--chamfer-0),
        100% 100%, 
        0% 100%,
        0% var(--chamfer-0));
}



.sub-page .content .credit {
    align-self:flex-end;
}

.sub-page .content .credit a{
    color: #b3b3ff;
}

.sub-page .info span {
    font-size:2rem;
    margin-bottom: 3rem;
}

.sub-page .info {
    margin-top: 1rem;
}
.sub-page .info ul {
    font-size:1.2rem;
    margin:0;
    padding-inline-start: 2rem;
    list-style: none;
}

.sub-page .info li {
    padding:5px 0;
}

.sub-page .info li b{
    padding:5px 0;
    color:rgb(139, 139, 139);
}

@media only screen and (max-width:1000px){
    .sub-page .content{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

@media only screen and (max-width:700px){
    .hexagon{
        font-size:1.5rem;
    }
}


@media only screen and (max-height:750px){
    .hexagon{
        font-size:1.5rem;
    }
}