.error-modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    animation-name: fadeIn;
    animation-duration: 0.4s;
    padding: 0rem 0.75rem 0.75rem 0.75rem!important;
}

.error-modal-content {
    z-index: 1000;
    position: relative;
    background-color: white;
    color: black;
    margin: 15% auto;
    padding: 0rem 0.75rem 1.25rem 0.75rem!important;
    border: 1px solid #888;
    width: 80%;
    animation-name: slideIn;
    animation-duration: 0.4s;
}

.close {
    font-size: 1.5rem;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {bottom: 0; opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}

@keyframes fadeOut {
    from {opacity: 1} 
    to {opacity: 0}
}

.error-modal.fadeOut {
    animation-name: fadeOut;
    animation-duration: 0.4s;
}

@media (width > 768px){
    .error-modal-content {
        z-index: 1000;
        margin: 5rem auto;
        padding: 0rem 0.75rem 0.75rem 0.75rem!important;
        width: 25rem;
    }
}
