
/*     PHOTO GRID CSS            */
.photo-grid{
    margin-top:35px;
    display: flex;
    align-items: center;

}

.photos{
    text-align: center;
}

.photos .team_cat_names{
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight:bold
}

.row {
    display: flex;
    flex-wrap: wrap;
}

/* Create four equal columns that sits next to each other */
.column {
    flex: 10%;
    max-width: 80%;
    padding: 0 0px;
}

.row img {
    margin-left: 10px;
    margin-top: 8px;
    vertical-align: top;
    width: 31%;
    transition: transform 0.3s;
}

.row:hover img{
    filter: blur(0.21px);
    opacity: 0.5;
    transform: scale(0.98);
}

.row:hover img:hover{
    transform: scale(1.05);
    filter: blur(0px);
    opacity: 1;

}


/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}


/*     POPUP CSS               */
.popup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    border: 2px solid #34000c;
    border-radius: 10px;
    z-index: 10;
    background-color: white;
    width: 500px;
    max-width: 80%;
    transition: 200ms ease-in;
}

.popup.active{
    transform: translate(-50%, -50%) scale(1);
}

.popup-header{
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;

}

.popup-header .title{
    font-size: 1.25rem;
    font-weight: bold;
}

.popup-header .close-button{
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-size: 1.25rem;
    font-weight: bold;
}

.popup-body{
    padding: 10px 15px;
}

#overlay {
    position: fixed;
    transition: 200ms ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

#overlay.active {
    pointer-events: all;
}
