.flex {
    display: flex;
}

body {
    color: var(--bodyTextColor);
}

.flex-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1 1 0;
}


#wider {
    flex-grow: 1.2;
}

#narrow {
    flex-grow: .8;
}

.flex-child {
    flex: 1 1 0;
}

.featureHeader {
    color: #013d0e;
    font-size: 17px;
}

#featureCards h3 {
    /*color: #252525;*/
    color: #013d0e;
    /*color: #003a00;*/
    font-size: 25px;
    overflow: visible;
    z-index: 1000;
    /*text-shadow: 1px 1px 2px #777;*/
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff,
    -2px 2px 0 #fff, 2px 2px 0 #fff;
    margin-top: 0px;
    padding-left: 10px;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    width: fit-content;
    padding-bottom: 5px;
}

.card.flex img {
    object-fit: contain;
    width: 80%;
    max-height: 250px;
    margin: auto;
    border-radius: 7px;
}

#columns {
    gap: 50px;
    flex-wrap: wrap;
}

#featureCards {
    padding: 5rem;
    padding-top: 7rem;
}

.card {
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;;
    border-radius: 1.5rem;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-content: center;
    transition: box-shadow .25s ease-in, transform .25s ease-in;
    border: 1px solid var(--primary);
    background-color: white;
}

.card:hover {
    /*box-shadow: #077c00 1px 1px 5px, #077c00 -1px -1px 5px, #62a92e 3px 3px 15px, #62a92e -3px -3px 15px;*/
    /*transform: scale(1.04);*/

    /*box-shadow: #077c00 1px 1px 5px, #077c00 -1px -1px 5px;*/
    /*#62a92e 3px 3px 15px, #62a92e -3px -3px 15px;*/
    transform: scale(1.04);
}


/*.expand {*/
/*    border-radius: 1.5rem;*/
/*    background-color: #ececec;*/
/*    padding: .5rem;*/
/*    width: fit-content;*/
/*    transition: background-color .25s ease-in;*/
/*    color: #333;*/
/*    border: 2px solid var(--primary);*/
/*}*/

/*Green version*/
.expand {
    border-radius: 1.5rem;
    background-color: var(--primaryLight);
    padding: .5rem;
    width: fit-content;
    transition: background-color .25s ease-in;
    color: var(--primaryDark);
    border: 2px solid var(--primary);
}

ul {
    padding: 10px;
    margin: 0;
}

summary {
    list-style: none;
    width: fit-content;
    transition: font-weight 2s;
}


summary:hover .expand {
    background-color: #fcfcfc;
    font-weight: bold;
}

summary .expand::after {
    content: " more ...";
}

summary .expand::before {
    content: "> ";
}


details[open] summary .expand::after {
    content: " less";
}

details[open] summary .expand::before {
    content: "- ";
}

/* sigh, Safari again */

summary::-webkit-details-marker {
    display: none;
}

@media (max-width: 600px) {
    .card {
        min-width: 350px !important;
    }

    .flex-col {
        min-width: 350px !important;
    }

    #featureCards {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media (max-width: 766px) {
    #wider {
        flex-grow: 1 !important;
    }

    #narrow {
        flex-grow: 1 !important;
    }

    #featureCards {
        padding-top: 7rem !important;
    }

    .flex-col {
        min-width: 400px;
        max-width: 600px;
    }

    #columns {
        justify-content: center;
    }
}

@media (min-width: 766px) and (max-width: 1100px) {
    .flex-col {
        max-width: 600px;
        min-width: 350px;
    }

    #columns .flex-col:last-child {
        flex-direction: row;
        max-width: 100%;
    }
}

@media (max-width: 1400px) {
    #featureCards {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        padding-top: 6.5rem !important;
    }

    #columns {
        gap: 1rem !important;
    }
}



