.pop-up{
    position: fixed;
    top:0;
    left: 0;
    height:100%;
    width: 100%;
    overflow: hidden;
    display: none;
    backdrop-filter: blur(5px) brightness(20%);
    z-index: calc(9999*99);
    opacity: 0;
    transition: .5s ease;
}

.p-container{
    padding: 20px;
    width: 40%;
    height: auto;
    background-color: white;
    align-self: center;
    margin:auto;
    border-radius: 5px;
}

.p-container .title{
    margin: auto;
    width: 40%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;

}
.title .main-icon{
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:#097dea ;
    color: white;
    padding: 20px;
    border-radius: 50%;
}

.title .main-icon .load{
    position: absolute;
    top: 0;
    width: 102%;
    height: 102%;
    border: 3.5px solid green;
    border-radius: 50%;
    border-right:2px solid transparent;
    transition: .5s ease;
    animation: spin 2s linear infinite;
    display: none;
}

@keyframes spin {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}


.p-container #error-msg{
    color: red;
}

.p-container .pay-methods{
    display: flex;
    flex-direction: column;
    gap:10px;
}

.p-container .pay-methods .method{
    display: flex;
    margin-bottom: 10px;
    cursor: pointer;
}

.p-container .pay-methods .method .icon{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.p-container .pay-methods .method .icon i{
    transition: .2s ease;
}

.p-container .pay-methods .method small{
    color: #828282;
}
#next-checkout{
    width: 100%;
    background: #097dea;
    padding: 3px;
    border-radius: 5px;
    border: 2px solid #097dea;
    color: white;
    font-weight: bold;
}

#next-checkout i{
    margin-left: 8px;
}

.section{
    display: none;
}
.active{
    display: block;
}

.p-container #sec-2 input{
    width: 100%;
    padding: 20px;
    border: none;
    border-bottom: 1px solid #097dea;
    border-radius: 0;
    outline: none;
}

.p-container #sec-3 {
    text-align: center;
}

.p-container #sec-3 .fail-options{
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgb(149, 148, 148);
    font-weight: bold;
    transition: .5s ease;
    opacity: 0;
}

.fail-options div{
    cursor: pointer;
}

.error-msg{
    color: red;
}

.success-msg{
    color: green;
}

.delivery{
    display: none;
}

@media only screen and (max-width:814px) {
    .p-container{
        width: 60%;
    }
}

@media only screen and (max-width:500px) {
    .p-container{
        width: 80%;
    }
}