#alert{
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: #222222cf;
    display: flex;
    /* display: none; */
}

#alert-content{
    width: min(500px, 80vw);
    height: 400px;
    position: relative;
    margin: auto;
    background-image: url("../assets/img/modal-content-frame.png");
    background-position: center;
    background-repeat:no-repeat;
    background-size: contain;
    padding: 20px;
}

#alert-content img{
    position: absolute;
    width: 550px;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
}

#alert-content svg{
    margin-block: 0px;
}


#alert-content a{
    width: 80%;
    max-width: 400px;
   padding: 10px;
   border: none;
   border-radius: 20px;
   margin-block: 20px;
    font-size: 19px;
   font-weight: bold;
   color: var(--light);
   background-image: var(--btn-bg);
   background-position: center;
   background-size: cover;
   box-shadow: var(--shadow);
}


#close-alert{
    position: absolute;
    right:15vw;
    top:130px;
    background: none;
    border: none;
    z-index:  199999;
}

@media (max-width: 768px) {
    #close-alert{
        right: 20px;
    }
}

@media (max-width: 600px){
    #alert-content img{
        width: 70vw;
        top:calc(-27vw + 70px);
    }

    #alert-content svg{
        padding: 40px;
        width: 300px;
        height: 150px;
    }    
}



@media (max-width: 450px){
    #alert-content img{
         top:-10px;
    }

      #alert-content svg{
        margin-block: 0px;
        width: 270px;
        margin-top: 20px;
    }    

    #alert-content a{
        margin-top: 0px;
    }
}


@media (max-width: 400px){
     #alert-content svg{
        width: 230px;
        margin-top: 15px;
    }    

    #alert-content img{
         top:0px;
    }
}