.info-container{
    min-width: 100%;
    min-height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.info-container.show{
    display: flex;
    opacity: 1;
    animation: fadeInOverlay 0.4s ease-in-out;
}

.info-container.closing{
    animation: fadeOutOverlay 0.3s ease-in-out forwards;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOutOverlay {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.info-popup{
    height: 600px;
    width: 100%;
    max-width: 300px;
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.7) translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease-in-out;
}

.info-container.show .info-popup{
    transform: scale(1) translateY(0);
    opacity: 1;
    animation: popupSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.info-container.closing .info-popup{
    animation: popupSlideOut 0.3s ease-in forwards;
}

@keyframes popupSlideIn {
    0% {
        transform: scale(0.7) translateY(30px);
        opacity: 0;
    }
    60% {
        transform: scale(1.05) translateY(-5px);
        opacity: 0.9;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes popupSlideOut {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    100% {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
}

.info-popup-slides{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.info-popup-slide{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
}

.info-popup-slide.active{
    opacity: 1;
    z-index: 1;
}

.info-popup .close-btn{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: #0303043c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    padding: 0.5rem;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
}
.info-popup .close-btn:hover{
    background-color: #ffffff7b;
    transform: scale(1.1);
    transition: all 0.2s ease;
}
.info-popup .close-btn:active{
    transform: scale(0.9);
    transition: all 0.1s ease;
}
.info-popup .close-btn div{
    width: 20px;
    height: 2.5px;
    background-color: white;
    border-radius: 40px;
}

.info-popup .close-btn div:first-child{
    transform: rotate(-48deg) translateY(2px) translateX(-3px);
}
.info-popup .close-btn div:last-child{
    transform: rotate(48deg);
}
.info-popup .action-btn a{
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}
.info-popup .action-btn{
    background-color: #2563EA;  
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 40px;
    justify-self: flex-end;
    position: relative;
    z-index: 10;
    margin-top: auto;
}
.info-popup  .action-btn:hover{
    cursor: pointer;
    transition: background-color .3s ease-in;
    background-color: #1449bb;
}
.info-popup .action-btn:active{
    transform: scale(.98);
}