@charset "UTF-8";

.photography-linkTabs{
    display: flex;
    justify-content: center;
}
.photography-linkTab_child{
    position: relative;
    padding: 19px 25px;
}
.photography-linkTab_child:hover{
    background: rgba(0,211,253,0.1);
}
.noncurrent{
    background-color: #EFEFEF;
}
.photo-index{
    display: grid;
    gap: 60px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, 300px);
    margin: 80px 40px;
}
.photo-thumbnail{
    width: 300px;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: transform .6s ease;
}
.photo-thumbnail:hover{
    transform: scale(1.1);
}
.photo-modal{
    display: none;
    position: fixed;
    z-index: 40;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(32, 32, 32, 0.7);
    justify-content: center;
    align-items: center;
}
.photo-modal_box{
    max-width: 80%;
    max-height: 80%;
}
.modal-content{
    display: block;
    max-height: 700px;
}
#caption{
    color: white;
    max-width: 700px;
    position: relative;
    top: -10px;
}
.close{
    position: absolute;
    right: 30px;
    top: 30px;
    color: white;
    font-size: 4rem;
    cursor: pointer;
}

@media screen and (max-width: 750px) {

    .photo-page h2{
        padding: 30px;
    }
    .photo-index{
        flex-flow: column;
        align-items: center;
        row-gap: 30px;
    }
    .photo-thumbnail img{
        width: 200px;
        height: 200px;
    }
    .photo-modal_box{
        max-width: 90%;
    }
    
}