/* alert.css */

.container.alert.wrapper {
    position: absolute;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
    display: none;
}

.container.alert.wrapper.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.container.alert.wrapper.hide {
    display: none;
    opacity: 0;
}

#alert .container.alert {
    width: 33%;
    background-color: rgba(0, 255, 0, 0.0);
    transform: translateY(100%);
    transition: transform 0.3s ease, opacity 0.0s ease;
    display: none;
}

#alert .container.alert.show {
    display: flex;
    opacity: 1; 
    transform: translateY(0);
}

#alert .container.alert.hide {
    display: none;
    opacity: 0; 
}

#alert .container.alert .shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
    border-radius: 35px;
    z-index: 0;
}

#alert .container.alert .bkg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--goldShine);
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
    z-index: 0;
}

#alert .content.alert {
    position: relative;
    margin: 1px;
    width: calc(100% - 2px);
    height: 100%;
    background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 30%, var(--darkBlue) 100%);
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
    z-index: 1;
}

#alert .content.alert h3 {
    margin: 0 20px;
    margin-top: 20px;
    width: calc(100% - 40px);
    font-family: 'Lato-Light', sans-serif;
    font-weight: 100;
    font-size: 1.5rem;
    color: white;
    text-align: center;
    background-color: rgba(255, 0, 0, 0.0);
}

#alert .content.alert p {
    margin: 10px 20px;
    width: calc(100% - 40px);
    color: var(--lightBlue);
    background-color: rgba(0, 0, 255, 0.0);
}

#alert .content.alert .content.buttons {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px;
    background-color: rgba(0, 255, 0, 0.0);
}

#alert .content.buttons button {
    margin: 0 10px;
    width: auto;
    padding: 10px 30px;
    font-family: 'Lato-Light', sans-serif;
    font-weight: 100;
    font-size: 0.9rem;
    color: var(--tan);
    text-transform: uppercase;
    border-radius: 20px;
    border: 1px solid var(--tan);
    background: linear-gradient(to right, var(--blue) 0%, var(--navy) 30%, var(--darkBlue) 100%);
    cursor: pointer;
}

#alert-cancel-button {
    color: var(--darkBlue);
    border: 1px solid var(--darkBlue);
    background: linear-gradient(to right, var(--lightBlue) 0%, var(--blue) 100%);
}

@media
only screen and (min-width: 300px) and (max-width: 575px){

    .container.alert.wrapper.show {
        display: flex;
        opacity: 1;
    }

    #alert .container.alert {
        margin: 20px;
        margin-top: 100px;
        width: calc(100% - 40px);
        transform: translateY(0);
        transition: none;
        display: none;
    }

    #alert .container.alert.show {
        display: flex;
        opacity: 1; 
        transform: translateY(0);
    }
}

@media
only screen and (min-width: 576px) and (max-width: 935px){
    
}