
.popup-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); 
}


.popup-content {
	position: relative;
	width: 300px;
	height: 115px;
	overflow: hidden;
	z-index: 1;
	border: 6px double #b09500;
	border-radius: 15px;
	padding: 15px;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	align-items: center;
	background: linear-gradient(337deg, rgb(12, 31, 134) 0%, rgb(7, 19, 84) 16%, rgb(7, 19, 84) 89%, rgb(12, 31, 134) 100%);
	box-shadow: 0 5px 10px rgb(255, 243, 145), 0 0 30px 16px rgba(111, 88, 0, 0.8);
    color: #fff4df;
    text-align: left;
    box-shadow: 0 5px 10px rgb(255, 243, 145), 0 0 30px 16px rgba(111, 88, 0, 0.8);
}


.light-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: color-dodge;
    opacity: 0;
    z-index: 2; 
    animation: fadeIn 2s forwards, blink 12s infinite;
}

.title-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 3;
    animation: slideIn 0.6s forwards, float 2.5s infinite alternate;
    animation-timing-function: cubic-bezier(.53, .21, .02, .99);
}

@media (min-width: 768px) {
    .title-image {
        width: 45%;
    }
}


@media (max-width: 767px) {
    .title-image {
        width: 100%;
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 50%;
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) translateY(0);
    }
    100% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}


@keyframes blink {
    0%, 100% {
        opacity: 0;
    }
    2%, 4%, 30%, 32%, 60%, 62%, 90% {
        opacity: 0.7;
    }
    5%, 35%, 65% {
        opacity: 0;
    }
}
