#selected-project-container{
    margin-top: var(--default-header-margin);
    min-height: calc(150vh - var(--default-header-margin));
}


#selected-project-main-container{
    min-height: 500px;
    font-size: var(--default-title);
}

.selected-project-button{
    border: none;
}

.border-bottom, .border-bottom:hover{
    border-bottom: 5px solid var(--site-secondary) !important;
}
.border-bottom:focus{
    border-bottom: 5px solid var(--site-secondary) !important;
    border-left: none !important;
    border-top: none !important;
    border-right: none !important;
}


#media-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, 550px);
    justify-content: center;
    align-items: flex-start;
}

.project{
    border-radius: var(--default-border-radius);
    height: 400px;
    cursor: pointer ;
}

.project-image-container{
    transform: translate(-50%, -50%);

}

.project-image-container img{
    width: 100%;
    height: 100%;
}




#button-chevron-left, #button-chevron-right,#right-button-modal,#left-button-modal{
    cursor: pointer;
    width: 50px;
    height: 50px;
    font-size: calc(15px + 1vw);
    background-color: var(--site-primary);
    color: var(--site-secondary);
    transition: 250ms color, 250ms background;
}

#button-chevron-left:hover, #button-chevron-right:hover,#right-button-modal:hover,#left-button-modal:hover{
    background-color: var(--site-secondary);
    color: var(--site-primary);
}

#button-chevron-left:active, #button-chevron-right:active,#right-button-modal:active,#left-button-modal:active{
    background-color: var(--site-primary);
    color: var(--site-secondary);
}


#image-showing-modal{
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--site-primary-second-der);
    z-index: 100;
    top: 0;
    left: 0;
    display: none;
    opacity: 0;
    transition: 250ms opacity;
}

#image-showing-container{
    top:0;
    left:0;
    width: 100%;
    height: 100%;

}

#image-showing-close{
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
}

.image-container{
    min-width: 400px;
    height: 95%;
    transition: 250ms left, 250ms right ;
    /*background: white;*/
}

.bottom-pagination{
    bottom: 35px;
}


@media screen and (min-width: 380px) and (max-width: 480px) {
    #media-container{
        grid-template-columns: repeat(auto-fit, 380px);
    }
    .selected-project-button{
        width: 120px !important
    }
}

@media screen and (min-width: 0px) and (max-width: 380px) {
    #media-container{
        grid-template-columns: repeat(auto-fit, 340px);
    }

    .selected-project-button{
        width: 110px !important
    }

}