* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

body {
    background: linear-gradient(-45deg, #000000, #d40000, #000000, #d10000);
    color: #ff0000;
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: center;
    height: 100vh;
    margin: 0; 
    animation: gradient 9s ease infinite;
    background-size: 400% 400%;
}


.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.7);
    margin-top: 15vh;
}

header {
    width: 100%; /* Garante que o header ocupe a largura total do container */
    background-color: #181818;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ff4d4d;
    font-size: 18px;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

.explicacao {
    text-align: center;
    margin-bottom: 40px;
}

.explicacao h1 {
    font-size: 3em;
    margin-bottom: 15px;
    color: #ff1a1a;
}

.explicacao p {
    font-size: 1.2em;
    line-height: 1.8;
    color: #d1d1d1;
    max-width: 800px;
    margin: 0 auto;
}

.doacao {
    text-align: center;
}

.doacao h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ff1a1a;
}

.doacao p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #d1d1d1;
}

.pix-container {
    display: flex;
    justify-content: center;
}

.pix-button {
    background-color: #ff0000;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.5em;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pix-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.9);
}

/* Estilo para o popup PIX */
.pix-popup {
    display: none; /* Esconde o popup inicialmente */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Mantém o popup acima de outros elementos */
}

.pix-popup-content {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
    text-align: center;
    width: 90%;
    max-width: 500px;
    color: #ff4d4d;
    position: relative;
    animation: slideIn 0.5s ease-out;
}

.pix-popup-content.slide-out {
    animation: slideOut 0.5s ease-in forwards; /* Animação de saída */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #ff4d4d;
    cursor: pointer;
}

.close-btn:hover {
    color: #fff;
}

.pix-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.chave-pix {
    font-size: 2.5em;
    font-weight: bold;
    color: #fff;
    margin: 10px 0;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes slideIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}
