/* this is the part of the project that will likely see the most
    changes. i plan to update how this site looks from time to time
    as my taste change and the standards evolve. */

:root {

    /* my colors */

    --primary: #FFF;
    --secondary: #FFF;
    --tertiary: #FFF;
    --orioles-orange: #DB5F47;
}

/* general formatting */

body {
    
    width: 100%;
    min-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden; 
}

/* temp commented out for push purposes
body.canScroll {
    overflow-y: visible;
}
    */

.lora-font {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400; /* can be between 400 and 700 */
    font-style: normal;
}

/* opening postcard specific formatting 
( can be reused for other cards in the future?) */

.card {
    margin: 100px auto 0;
    width: 60dvw;
    aspect-ratio: 1644/1030;
    perspective: 600px;
    rotate: 3deg;
}

.innerCard {
    width: 100%;
    height: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
    cursor: pointer;
    position: absolute;
}

.innerCard.isFlipped {
    transform: rotateY(180deg);
}

.cardFace {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0px 3px 18px 3px rgba(0, 0 ,0, 0.2);
}
    

.faceFront {
    background-image: url("./images/postcard.jpg");
    display: flex;
    align-items: center;
    justify-content: center;
}

.faceBack {
    background-color: white;
    transform: rotateY(180deg);
}

.cardContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.cardHeader {
    
}

.cardBody {

}


#postcard_img {
    height: 95%;
    aspect-ratio: 1644/1030;
}

/* styling info for the footer */

.footer {
    width: 60vw;
    margin: 50px auto;
    bottom: 10px;
}

#wip_msg {
    display: flex;
    justify-content: center;
    color: grey;
}