.modal-open{
    overflow: hidden;
    width: 100%;
    position: fixed;
}

.status-wrapper {
    min-height: 80vh;
}

/* The modal window */
.project-modal {
    z-index: 40 !important;
    min-width: 50%;
    position: fixed;
    max-width: 90%;
    top:5%;
    left:50%;
    transform: translateX(-50%);
    max-height:90%;
    background-color: white;
    /* padding: 2.5rem; */
    z-index: 30;
    box-shadow: 0 5rem 3rem rgba(0, 0, 0, 0.2);
    overflow-y:scroll;
    border-radius: 1rem;
}

.project-image {
    width: 100%;
    background-size: cover;
}

.modal-title-and-description p {
    color: #444;
    margin: 2rem 0;
}

.modal-title-and-description {
    width: 100%;
    padding: 0 1rem;
}

.modal-title-and-description h3 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.5rem;
    color: #333;
    margin-top: 1.3rem;
}

.modal-footer{
    border-top: 1px solid rgba(202, 202, 202, 0.322);
    max-width:100%;
    height: 10%;
    margin-top:10px;
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
}

.modal-footer p{
    font-size: 1em;
    font-style: italic;
    color: rgb(153, 153, 153);
}

.modal-footer-label{
    font-size:1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-footer-label span {
    padding-right: 0.6rem;
    color: rgb(153, 153, 153);
}

.modal-footer-label i {
    padding-right: .7rem;
    font-size: 1.5em;
    color: rgb(153, 153, 153);
}

/*The X button inside modal */
.close-modal {
    font-size: 3rem;
    color: #fff;
    background: #333;
    border: none;
    background: none;
    position: absolute;
    top: 0;
    right: 1rem;
    cursor: pointer;
}

/* The blur background when modal opens*/
.overlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    z-index: 30;
}

/* This class will be used to hide the modal when the button or overlay is clicked, or if esc key is pressed */
.hide-modal {
    display: none;
}  

@media only screen and (max-width: 1200px) {
    .project-modal {
        width: 100vw;
    }
}

@media only screen and (max-width: 600px) {
    .card {
        height: 400px;
    }
}

@media only screen and (max-width: 450px) {
    .modal-footer-label {
        font-size: 0.8rem;
    }

    .modal-footer {
        display: flex;
        flex-direction: column;
    }
}