@font-face {
    font-family: 'Quicksand';
    src: local('Quicksand'), url(../../fonts/Quicksand-VariableFont_wght.ttf) format(woff);
}

.hidden {
    display: none;
    overflow: hidden;
}

#cards-container {
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    padding: 10px;
    min-height: 90vh;
    position: relative;
    overflow:hidden;
}


.cards {
    border: 1px groove var(--b-color);
    border-radius: 15px;
    text-decoration: none;
    color: black;
    padding: 1.6%;
    cursor: pointer;
    width: 15vw;
    min-width: 180px;
    box-shadow: 0 3px 5px black;
    height: auto;
    /* transition: width 1.2s; */
}

.cards:hover {
    box-shadow:0 5px 8px black;
    width: 50vw;
    transition: box-shadow 0.8s; 
}

#popped {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: rgba(136, 136, 136, 0.507);
}

#cards-container button {
    font-family:Quicksand ;
}

.enlarged{
    width: 50vw;
    max-width: 600px;
    min-width: 200px;
    /* transition: width 1.2s; */
    max-height: 80vh;
}

.enlarged h1 {
    text-align: center;
}

.content {
    text-align: right;
}

.card-headings {
    font-weight: 520;
}

.content p {
    font-size: 1.25rem;
    font-weight: 470;
}

.life-divs {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

@media screen and (max-width:600px) {
    #cards-container {
        flex-wrap: wrap;
        flex-direction: column;
        align-content: center;
        gap: 3rem;
    }
    .cards {
        padding: 2.5vw;
        flex-grow: 1;
        /* overflow-y:scroll; */
        overflow-x: hidden;
    }
    .enlarged {
        height: fit-content;
        overflow-wrap: break-word;
    }
}