@font-face {
    font-family: "Did";
    src: url("/fonts/Didot-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "Ave";
    src: url("/fonts/AvenirLTStd-Roman.otf") format("opentype");
}

@font-face {
    font-family: "Noir";
    src: url("/fonts/Noir_medium.otf") format("opentype");
}

@font-face {
    font-family: "Noir-reg";
    src: url("/fonts/Noir_regular.otf") format("opentype");
}

@font-face {
    font-family: "Mont-thin";
    src: url("/fonts/Montserrat/Montserrat-Thin.ttf");
}

@font-face {
    font-family: "Mont-light";
    src: url("/fonts/Montserrat/Montserrat-Light.ttf");
}

@font-face {
    font-family: "Mont-sem";
    src: url("/fonts/Montserrat/Montserrat-SemiBold.ttf");
}

@font-face {
    font-family: "Caslon";
    src: url("/fonts/ACaslonPro-Bold.otf") format("opentype");
}

@font-face {
    font-family: "Caslon-sem";
    src: url("/fonts/ACaslonPro-Semibold.otf") format("opentype");
}

/* from here */
:root {
    --magenta: #b34898;
    --gray: #141414;
    --medgray: #535151;
    --light-gray: rgb(131, 130, 130);
    --very-light-gray: rgb(240, 240, 240);
    --rotated1: 45deg;
    --rotated2: -45deg;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pdh-card-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    
    margin-bottom: 40px;
}

.pdh-card {
    width: 300px;
    height: 390px;
    margin: 0 20px;
    background-color: white;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.pdh-card-heading {
    font-family: "Caslon";
    margin: 16px 20px 18px 20px;
}

.pdh-image-container {
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}

.pdh-card-image {
    height: 100%;
}

.pdh-card-button {
    text-align: center;
    width: 110px;
    font-size: 0.8em;
    height: 11px;
    margin: 0;
    
    position: absolute;
    z-index: 999;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
}
.pdh-card-button:hover {
    transform: translateX(-50%) scale(1.1);
}

/* USE POSITION ABSOLUTE WITHIN THE CARD WHEN HIDING, GETS RID OF RESIZING ISSUES - MAY HAVE TO CHANGE CARD SIZE ONCLICK */

.pdh-card-hidden-section {
    width: 300px;
}

.pdh-heading {
    font-family: "Caslon";
    margin-left: 20px;
    margin-bottom: -5px;
}
.hidden {
    transition: 250ms ease;
    height: 0;
    opacity: 0;
}
.shown {
    transition: 250ms ease;
    height: fit-content;
    opacity: 100;
}
.disappear {
    display: none;
}

.pdh-list {
    list-style-type: none;
    padding-left: 22px;
}
.pdh-list-item {
    
}
.pdh-list-link {
    font-family: "Ave";
    font-size: 0.8em;
    color: #b34898;
}
.pdh-list-item:hover > .pdh-list-link {
    text-decoration: underline;
}

.dev-image {
    width: 70%;
    max-width: 1000px;
    margin-bottom: 60px;
}

@media only screen and (max-width: 800px) {
    .dev-image {
        width: 90%;
        margin-bottom: 30px;
        margin-top: -30px;
    }
}

@media only screen and (max-width: 700px) {
    .pdh-card-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .pdh-card {
        margin: 20px 0;
    }
}







