@media screen and (min-width: 600px){

    /*.grid-sizer, .grid-item{
        width: 200px;
        padding-top: 200px;
        position: relative;
        display: inline-block;
    }


    .grid-item.sample-work .grid-item-content{
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
    }

    .preview-container{
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
        z-index: 61;
    }

    .grid-item.sample-work .preview-content{
        opacity: 0;
        width: 100%;
        height: 100%;
        transition: 0.3s;
    }


    .black-overlay{
        position: absolute;
        top: 0px;
        right: 0px;
        left: 0px;
        bottom: 0px;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .grid-item.sample-work .preview-content:hover{
        opacity: 1;
    }

    .grid-item.sample-work .preview-content p{
        bottom: 0px;
        right: 10px;
        left: 10px;
        text-align: center;
        font-size: 20px;
        position: absolute;
        color: white;

    }

    .grid-item-content{
        width: 100%;
        height: 100%;
    }

    .grid-item.sample-work.expanded{
        width: 600px;
        padding-top: 600px;
    }

    .full-container{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        bottom: 0px;
        z-index: 60;
        background-color: beige;
    }
    .preview-container.hidden, .full-container.hidden{
        width: 0px;
        height: 0px;
        overflow: hidden;
    }


    .offscreen{
        top: -70px !important;
    }

    .initanimation{
        opacity: 0;
    }

    .slide-in-top{
        top: -500px !important;
        animation: slide-in-animation forwards;
    }

    .slide-in-top-1{
        animation-duration: 1s;
    }

    .slide-in-top-2{
        animation-duration: 1.2s;
    }

    .slide-in-top-3{
        animation-duration: 1.4s;
    }

    .slide-in-top-4{
        animation-duration: 1s;
    }

    @keyframes slide-in-animation{
        100%{top:0px}
    }

    #modalSampleWork h1{
        margin: 20px 20px;
    }

    #modalSampleWork p{
        margin: 0 20px;
    }

    #modalSampleWork img{
        width: 70%;
        margin: 30px auto;
    }

    #modalSampleWork #actualLink{
        text-align: center;
    }

    #modalSampleWork button{
        margin: 20px 0 40px 0;;
    }*/

    .grid{
        clear: both;
        margin: 0 auto;
        width: 60rem;
    }

    .grid-item, .grid-sizer{
        margin: 1rem 1rem;
        width: 18rem;
    }

    .grid-item{
        transition: 0.5s;
    }

    .grid-item.init{
        opacity: 0;
        position: absolute;
        top: 0px;
        left: 0px;
    }

    .card{
        box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.4);
        border: 1px solid rgb(180,180,180);
    }

    .card-img-top{
        height: 150px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .card .language-container{
        width: 100%;
        margin: 10px auto;
        text-align: center;
    }

    .language-container .language{
        display: inline-block;
        text-align: center;
        margin: 5px 5px;
        border: 1px solid rgb(180,180,180);
        padding: 2px 10px;
        border-radius: 15px;
        box-shadow: 1px 1px 5px rgba(0,0,0,0.4);
        min-width: 50px;
    }

}

@media screen and (max-width: 600px){
    .card{
        width: 80%;
        margin: 20px auto;
        border: 1px solid rgb(180,180,180);
        box-shadow: 0px 2px 15px rgba(0,0,0,0.5);
    }

    .card-img-top{
        height: 150px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .card .language-container{
        width: 100%;
        margin: 10px auto;
        text-align: center;
    }

    .language-container .language{
        display: inline-block;
        text-align: center;
        margin: 5px 5px;
        border: 1px solid rgb(180,180,180);
        padding: 2px 10px;
        border-radius: 15px;
        box-shadow: 1px 1px 5px rgba(0,0,0,0.4);
        min-width: 50px;
        font-size: 12px;
    }

}

.btn-link{
    text-decoration: none !important;
    padding-left: 0 !important;
}

.hide{
    width: 0px;
    height: 0px;
}