/* Works Cards */

body {
    background: #fff;
}

.container {
    width: 80%;
    max-width: 2000px;
    margin: 0 auto;
    padding-top: 3%;
}

.wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 1rem;
    grid-auto-rows: minmax(100px, auto);
    background: #fff;
    color: #444;
}


/* Mobile View */

@media screen and (min-width:250px) and (max-width:480px) {
    .wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Tablet View */

@media screen and (min-width:481px) and (max-width:768px) {
    .wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Laptop View */

@media screen and (min-width:769px) and (max-width:1024px) {
    .wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* Over 2k View */

@media screen and (min-width:2560px) {
    .wrapper {
        grid-template-columns: repeat(6, 1fr);
    }
}

.box {
    display: flex;
    /* -webkit-box-orient: vertical; */
    /* -webkit-box-direction: normal; */
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    background-color: white;
    border-radius: 3px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.box:hover {
    box-shadow: 0px 5px 10px 0px rgba(255, 153, 207, 0.7);
}


/*.box:hover .card__title {
    color: #00838d;
    }*/

.card-img-top {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ellipsis {
    position: relative;
}

.card__footer {
    display: flex;
    height: 40px;
    padding: 12px;
    align-items: center;
}

.card__footer__left {
    min-width: 0;
    margin-right: 6px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card__footer__left,
.card__footer__right {
    position: relative;
    display: flex;
    align-items: center;
}

.card__footer__right {
    min-width: 20px;
    margin-left: 6px;
    justify-content: flex-end;
    flex-shrink: 0;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.card__footer__avatar {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    overflow: hidden;
    vertical-align: middle;
    background-color: #e7e7e7;
    background-color: var(--color-neutral-100, #e7e7e7);
    border-radius: 2px;
}

.image-container__image:hover {
    transform: scale(1.5);
}

img {
    border: 0;
}

.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img.image-container__image {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.image-container__image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity .25s ease;
}

.card__footer__vertical {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.card__footer__title {
    display: inline-flex;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    line-height: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    flex: 1;
    color: #555;
    color: var(--color-neutral-600, #555);
}

.card__footer__title .model-name {
    max-width: 100%;
}

.c-model-name {
    text-overflow: ellipsis;
    overflow: hidden;
}

.card__footer__title a.model-name__label {
    text-shadow: none;
    text-overflow: ellipsis;
    overflow: hidden;
}

.card__footer__stats {
    display: flex;
    margin-left: 4px;
    font-family: Open Sans, sans-serif;
    font-size: 12px;
    align-items: center;
    color: var(--color-neutral-400, #999);
    white-space: nowrap;
}

.help {
    position: relative;
}

.card__footer__stats .fa-heart:before {
    display: inline;
    margin-top: 1px;
    margin-right: 4px;
    font-size: 12px;
}

.card__footer__stats .count {
    font-size: 12px;
    line-height: 12px;
}


/* Header */

.codrops-header {
    padding: 2em 1em 4em;
    text-align: center;
}

.codrops-header h1 {
    margin: 0.5em 0 0;
    letter-spacing: -1px;
    font-size: 3em;
    line-height: 1;
    font-weight: normal;
}

.codrops-header h1 span {
    display: block;
    padding: 0.5em 0 1em;
    color: #999;
    font-weight: normal;
    font-size: 0.45em;
    letter-spacing: 0;
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    /* Black see-through */
    color: #f1f1f1;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 20px;
    padding: 20px;
    text-align: center;
}

.single_portfolio_text:hover .overlay {
    opacity: 1;
}

@media screen and (max-width: 50em) {
    .codrops-header {
        padding: 2em 5%;
    }
}

@media screen and (max-width: 40em) {
    .codrops-header h1 {
        font-size: 2.15em;
    }
}


/* Content */

.content {
    padding: 1em 0 3em;
    max-width: 1080px;
    margin: 0 auto;
}

ul {
    margin-left: -40px;
}


/*.header-button {
    border: none;
    padding: 5px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    }*/

p.light {
    font-size: 15px;
    font-weight: lighter;
}

.header-button {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 100px;
    outline: none;
    background-color: #F2F3F4;
    color: white;
    cursor: pointer;
}

.header-button:hover {
    background: #BDC3C7;
}

.header-button .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 25%;
    margin-right: 25%;
    width: 15px;
    height: 15px;
    color: black;
}

.editActivityBtn {
    border: none;
    padding: 0;
    background: none;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    padding: 4px 8px;
}


/* Gray */

.default {
    color: black;
    font-weight: bold;
    font-size: 1.25em;
    /* 30px/16=1.875em */
    border: 2px;
}

.default:hover {
    background-color: #f44336;
    color: white;
}