.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
   
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* max-width: 800px; */
    max-width: calc(500px - 10%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(0deg, rgb(0 0 0) 0%, rgb(85 85 85) 100%);
}

.modal-content2 {
    padding: 20px;
    margin: auto;
    width: 100%;
    top: 25%;
    left: 25%;
    max-width: 800px;
    position: absolute;
    display: flex;
    align-items: center;
    /* min-height: 100%; */
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
}
.modal-content .content {
    width: 100%;
    background: linear-gradient(0deg, rgb(231 141 7) 0%, #000000 100%);
    /* padding: 15px 5px; */
    border-radius: 5px;
    /* border: 2px solid #405dee8f; */
    /* box-shadow: 0 0 10px 5px rgba(255, 194, 61, 0.55); */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 99999;
}

.modal-content .content2{
    width: 100%;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 99999;
}


/* Close button style */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

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

.modal-only-image .btn-close-modal {
    top: -25px;
    right: -10px;
    z-index: 2;
}

.modal .btn-close-modal {
    position: absolute;
    border: none;
    display: flex;
    /* background: var(--gradient-style-1); */
    padding: 3px;
    border-radius: 5px;
}

.modal-only-image .modal-image-wrapper {
    position: relative;
    margin: auto;
}

.modal-only-image .modal-image-wrapper img {
    max-height: 95vh;
    width: 100%;
    border-radius: 5px;
    border: 1px solid var(--clr-border-primary);
    margin: auto;
    max-width: 400px;
    filter: drop-shadow(0 0 6px black);
}