﻿.h1, h1 {
    font-size: 1.5rem;
}

.portfolio {
    position: relative;
    margin: 5px;
    border: 1px solid black;
    float: left;
    width: 31%;
    max-width: 280px;
    transition-duration: 0.4s;
    border-radius: 5px;
    animation: winanim 0.5s;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    box-shadow: 0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12);
    min-height: 360px;
}

    .portfolio:hover {
        box-shadow: 0 12px 16px 0 rgba(0,0,0,.24),0 17px 50px 0 rgba(0,0,0,.19);
    }

    .portfolio img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

.desc {
    padding: 5px;
    text-align: center;
    font-size: 80%;
    background: #fff;
    color: #000;
    height: 100%;
}

@keyframes winanim {
    0% {
        opacity: 0;
        transform: scale3d(.3,.3,.3);
    }

    50% {
        opacity: 1;
    }
}


.layout-margin-8 {
    /*    margin: 3% 8%;
*/
}

.card-img-top-custom {
    width: 50%;
    margin: 0 auto;
}

.card-title {
    text-align: center;
}

.card-shadow {
    -webkit-box-shadow: 0px 0px 28px 14px rgba(232,232,232,1);
    -moz-box-shadow: 0px 0px 28px 14px rgba(232,232,232,1);
    box-shadow: 0px 0px 28px 14px rgba(232,232,232,1);
}

.card-deck {
    display: flex;
    justify-content: space-around;
    flex-flow: row wrap;
    align-items: stretch;
}

.card {
    padding: 0.5% 0.5%;
    border: none;
    max-width: 375px;
    flex-grow: 1;
}

#VideoPlayListContainer .card.four-col {
    max-width: 177px;
}

.four-col .card-title {
    font-size: 0.75em;
}

.four-col .card-text {
    font-size: 0.70em;
}

#VideoPlayListContainer .card {
    padding: 0.5% 0.5%;
    border: none;
    max-width: 260px;
    flex-grow: 1;
}


.card-text {
    font-size: 1em;
    margin: 0;
}

.card-deck .card {
    flex: 1 0 22%;
}

@media (max-width: 500px) {
    .card-deck .card {
        flex: 1 0 51%;
    }
}

.cont-video {
    height: calc(100vh - 100px);
    width: 100%;
}
