/* Estilos Globais */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #ff512f, #dd2476);
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.main-content {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    box-sizing: border-box;
    flex-direction: column; /* Altera para coluna no mobile */
}

/* Sidebar */
.sidebar {
    width: 100%; /* Sidebar ocupa 100% da largura no mobile */
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin: 20px 0; /* Ajusta a margem no mobile */
    flex-shrink: 0;
    order: 3; /* Garante que o sidebar fique embaixo dos botões */
}

.sidebar .menu {
    list-style: none;
    padding: 0;
}

.sidebar .menu li {
    margin: 15px 0;
}

.sidebar .menu li a {
    color: white;
    text-decoration: none;
    font-size: 1.0rem;
    font-style: italic;
    font-weight: bold;
    display: block;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #e67e22;
    text-align: center;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
}

.sidebar .menu li a:hover {
    background-color: #e67e22;
    color: #fff;
    border: 2px solid #fff;
}

/* Container Principal */
.container {
    flex-grow: 1;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1; /* Garante que a logo apareça primeiro */
}

.container .logo {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
}

.social-and-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    order: 2; /* Garante que os botões venham antes do sidebar */
}

.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
}

.social-icons img {
    width: 100%;
    height: auto;
    background-color: #333;
    padding: 5px;
    border-radius: 60%;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.social-icons img:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.buttons {
    display: flex;
    flex-direction: column; /* Alterado para coluna no mobile */
    justify-content: center;
    gap: 20px;
}

.buttons .btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background-color: #f39c12;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.buttons .btn:hover {
    transform: scale(1.1);
    background-color: #e67e22;
}

/* Footer */
footer {
    width: 100%;
    background-color: #222;
    text-align: center;
    padding: 5px 0;
    color: white;
    font-size: 1rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
    position: fixed;
    bottom: 0;
    left: 0;
}

/* Animações */
@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-20px);
    }
    100% {
        transform: translatey(0px);
    }
}

@keyframes explode {
    0% {
        opacity: 1;
        transform: scale(0.5);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

.balloons {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.balloon {
    position: absolute;
    bottom: -100px;
    background-color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: float 5s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.balloon:nth-child(1) {
    left: 20%;
    background-color: #e74c3c;
}

.balloon:nth-child(2) {
    left: 40%;
    animation-delay: 2s;
    background-color: #8e44ad;
}

.balloon:nth-child(3) {
    left: 60%;
    animation-delay: 4s;
    background-color: #3498db;
}

.balloon:nth-child(4) {
    left: 80%;
    animation-delay: 1s;
    background-color: #2ecc71;
}

.explosion {
    position: absolute;
    background-color: yellow;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: explode 1s infinite;
}

.explosion:nth-child(1) {
    top: 20%;
    left: 30%;
}

.explosion:nth-child(2) {
    top: 40%;
    left: 50%;
    animation-delay: 0.5s;
}

.explosion:nth-child(3) {
    top: 60%;
    left: 70%;
    animation-delay: 1s;
}

/* Ajustes para versões desktop */
@media (min-width: 768px) {
    .main-content {
        flex-direction: row; /* Volta para linha no desktop */
    }

    .sidebar {
        width: 250px; /* Sidebar fixo em 250px no desktop */
        margin-right: 20px; /* Espaçamento lateral no desktop */
        order: initial; /* Remove a ordem no desktop */
    }

    .buttons {
        flex-direction: row; /* Alinha os botões horizontalmente no desktop */
    }
}
.acoes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btn-revanche, .btn-sair {
    background-color: #ff4d4d; /* Cor vermelha */
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.1s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-revanche:hover, .btn-sair:hover {
    background-color: #cc0000; /* Cor vermelha mais escura no hover */
}

.btn-revanche:active, .btn-sair:active {
    transform: scale(0.98); /* Pequeno efeito de clique */
}

@media screen and (max-width: 600px) {
    .btn-revanche, .btn-sair {
        font-size: 14px;
        padding: 8px 16px;
        width: 100%; /* Ocupa a largura total */
    }
}
.container {
    background-color: #f0f8ff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
}

.resultado-info, .escolhas-info, .resultado-final, .financeiro-info {
    margin-bottom: 20px;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    color: #4CAF50;
    text-align: center;
}

p {
    color: #333;
    word-wrap: break-word;
}

.acoes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.btn-revanche, .btn-sair {
    background-color: #ff4d4d;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    width: 100%; /* Ocupa toda a largura do container */
    max-width: 300px; /* Limita a largura máxima */
    transition: background-color 0.3s, transform 0.1s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-revanche:hover, .btn-sair:hover {
    background-color: #cc0000;
}

.btn-revanche:active, .btn-sair:active {
    transform: scale(0.98);
}

@media screen and (max-width: 600px) {
    .container {
        padding: 15px;
    }

    h1, h2 {
        font-size: 22px;
    }

    .btn-revanche, .btn-sair {
        font-size: 16px;
        padding: 8px 16px;
    }
}

