﻿/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 20px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /*Black w/ opacity */
}
/* Modal Content */
.modal-content {
    position: relative;
    background-color: white;
    margin: auto;
    padding: 0;
    border: 3px solid #1E8FFE;
    border-radius: 15px;
    width: 42%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    /*-webkit-animation-name: animatetop;*/
    /*-webkit-animation-duration: 0.4s;*/
    animation-name: animatezoom;
    animation-duration: 0.6s;
}
/* Add Animation */
/*@-webkit-keyframes animatetop {    from { top:-300px; opacity:0}     to {top:0; opacity:1}}*/
/*@keyframes animatetop {    from {top:-300px; opacity:0}    to {top:0; opacity:1}}*/

/*.w3-animate-zoom {
    animation: animatezoom 0.6s
}*/

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

@keyframes unfoldIn {
    0% {
        transform: scaleY(.005) scaleX(0);
    }

    50% {
        transform: scaleY(.005) scaleX(1);
    }

    100% {
        transform: scaleY(1) scaleX(1);
    }
}

@keyframes unfoldOut {
    0% {
        transform: scaleY(1) scaleX(1);
    }

    50% {
        transform: scaleY(.005) scaleX(1);
    }

    100% {
        transform: scaleY(.005) scaleX(0);
    }
}





@keyframes bondJamesBond {
    0% {
        transform: translateX(1000px);
    }

    80% {
        transform: translateX(0px);
        border-radius: 75px;
        height: 75px;
        width: 75px;
    }

    90% {
        border-radius: 3px;
        height: 182px;
        width: 247px;
    }

    100% {
        border-radius: 3px;
        height: 162px;
        width: 227px;
    }
}



/* The Close Button */
/*.close {    color: white;    float: right;    font-size: 22px;    font-weight: bold;}
.close:hover,.close:focus {    color: #000;    text-decoration: none;    cursor: pointer;}*/
.modal-header {
    border-top: 0px solid white;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    padding: 2px 6px;
    background-color: #1E8FFE;
    color: white;
    text-align: center;
}

.modal-body {
    padding: 2px 16px;
    text-align: center;
    color: blue
}

.modal-body2 {
    padding: 5px 16px;
    text-align: left;
    color: blue
}

.modal-footer {
    border-bottom: 0px solid white;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 5px 10px;
    color: white;
    /* background-color: #4CAE51;*/
    text-align: center;
    /*animation-name: unfoldOut;*/
}

.alert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.5s ease-in-out;
    justify-content: center;
    align-items: center;
}

.alert-card {
    background-color: white;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.alert-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

    .alert-header h2 {
        margin: 0;
        color: #333;
    }

.alert-content {
    color: #666;
    margin-bottom: 20px;
}

.alert-footer {
    display: flex;
    justify-content: center;
}


.close-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: #3498db;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .close-btn:hover {
        background-color: #2980b9;
    }

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
