#project{
    margin-top: 70px;
    padding: 0;
}


.project-set{
    padding-bottom: 50px;
}

.project-item .text {
      opacity: 1;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      font-size: 20px;
      text-shadow: 0px 0px 5px #000000;
    }

.project-item:hover .text{
        opacity: 1;
        transition: .3s ease-in-out;
        color: black;
        text-shadow: none;
    }

 .project-item:hover .image img{
        transform: scale(1.1);
        opacity: 0.3;
    }

@media screen and (max-width: 620px){
    
    #project .lineup img{
        width: 100%;
        padding: 20px 0;
    }
    
    #project .lineup iframe{
        width: 100%;
        padding: 5px 0;
    }
    
    .project-item{
        display: block;
        margin: 0;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
    }
    
    .project-item .text {
      top: 40%;
    }
    
    .project-item .image img{
        width: 100%;
        margin: 0;
        width: 100vw;
/*        margin-left: calc(50% - 50vw);*/
        height: 120px;
        object-fit: cover;
/*        opacity: 0.7;*/
        margin-bottom: 15px;
        cursor: pointer;
        transition: .5s ease-in-out;
    }
    
    .tall, .wide, .big{
        grid-column: span 1;
    }
}
    


@media screen and (min-width: 621px){
    #project {
        padding: 0 50px;
        justify-content: center;
    }
    
    #backto{
        display: hidden;
    }
    
    #project .lineup img{
        max-width: 800px;
        width: 100%;
        padding: 20px 0;
    }
    
    #project .lineup iframe{
        max-width: 800px;
        width: 100%;
        padding: 5px 0;
    }
    
    .project-set {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
/*    grid-auto-rows: 200px;*/
    grid-auto-flow: dense;
    grid-row-gap: 25px;
    grid-column-gap: 5px;
    align-content: center;
/*        align-items: center;*/
    padding: 10px 20px;
    }
    
    
    #project .project-item{
        display: flex;
/*        align-items: center;*/
        overflow: hidden;
        position: relative;
    }
    
    .project-item .image img {
/*        vertical-align: middle;*/
        display: inline-block;
        object-fit: cover;
        width: 100%;
        height: 100%;
        cursor: pointer;
        transition: .5s ease-in-out;
}
    
    .wide{
        grid-column: span 2;
}

    .tall{
        grid-row: span 2;
    }

    .big{
        grid-column: span 2;
        grid-row: span 2;
    }
  
}