body {
    color: #444;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

body, html {
    height: 100%;
}

#content-wrapper {
    flex-grow: 1;
    padding-bottom: 4px;
    
}

nav {
    flex-shrink: 0;
    z-index: 100; /* Fix ugly shadow */
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
}

.flex-center {
    justify-content: center;
}

.flex-even {
    justify-content: space-evenly;
}

.badge {
    text-align: center;
    width: 200px;
    margin: 0 20px;
    display: inline-block;
}

.badge__circle {
    height: 100px;
    width: 100px;
    line-height: 100px;
    border-radius: 50%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 8px;
    display: block;
}

.badge__circle:hover {
    transform: scale(1.1);
}

.narrow {
//    width: max-content;
    max-width: 800px;
    margin: 0 auto;
}

.crop_frame {
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.crop_frame img {
    margin-top: -390px;
}

.shadow {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.dropdown input {
    /*             display: none;*/
}

.dropdown .content {
    transform: scaleY(0);
    height: 0;
    transition: transform 0.2s;
    overflow: hidden
}

.dropdown input:checked ~ .content {
    height: inherit;
    transform: none;
}
