/* ==== Estilos Globais ================================================== */

body {
    background-color: #2E333B;
    color: #ffffff;
    font-family: Helvetica, sans-serif;
    text-align: center;
}

/* ==== Contêiner Principal ================================================== */

.container {
    width: 90%;
    max-width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 100px; /* Espaço para a barra fixa */
}

/* ==== Grupos de Checkbox ================================================== */

.checkbox-group-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s, transform 0.5s;
    pointer-events: none;
}

.checkbox-group:hover {
    background-color: #242931;
}

.checkbox-group {
    flex: 1;
    min-width: 370px;
    max-width: 400px;
    text-align: left;
    border: 2px solid #F6C90E;
    padding: 15px;
    margin: 10px;
    background-color: #1E2228;
    border-radius: 5px;
    transition: background-color 0.3s;
}

/* ==== Labels e Textos ================================================== */

input[type=checkbox], input[type=radio] {
    width: 17px;
    height: 17px;
}

.checkbox-group label {
    display: block;
    margin: 15px 5px;
    cursor: pointer;
}

.package-title {
    font-weight: bold;
    margin-top: -2px;
    margin-left: 4px;
    position: absolute;
}

.package-description {
    display: flex;
    font-size: 0.85em;
    color: #bbbbbb;
    padding-left: 52px;
    margin-top: -3px;
}

/* ==== Botão de Download ================================================== */

.download-button,
.download-button-split {
    padding: 7px 17px;
    font-size: 1.5em;
    font-weight: bold;
    font-family: monospace;
    opacity: 0 !important;
    transform: translateY(-20px);
    transition: opacity 0.5s, transform 0.5s;
    pointer-events: none;
}

.download-button:disabled,
.download-button-split:disabled {
    cursor: not-allowed;
}

/* ==== Botão de Voltar ================================================== */

.back-button {
    padding: 7px 17px;
    margin-top: 50px;
    font-size: 1.5em;
    font-weight: bold;
    font-family: monospace;
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s, transform 0.5s;
    pointer-events: none;
}

.back-button:disabled {
    cursor: not-allowed;
}

/* ==== Título ================================================== */

.title {
    font-size: 3.25em;
    font-weight: bold;
    color: #F6C90E;
    margin-top: 30px;
    margin-bottom: 35px;
    visibility: hidden;
}

/* ==== Títulos de Grupo ================================================== */

.group-title {
    color: #F6C90E;
    margin-top: 0;
    font-size: 1.7em;
    font-family: monospace;
}

/* ==== Ícones ================================================== */

.icon {
    width: 20px;
    height: 20px;
    margin-top: -8px;
    margin-left: 3px;
    margin-right: 3px;
}

/* ==== Rodapé ================================================== */

footer {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s, transform 0.5s;
    pointer-events: none;
}

.footer-image img {
    opacity: 0.7;
    transition: opacity 0.1s;
    border-radius: 20%;
}

.footer-image img:hover {
    opacity: 1;
}

/* ==== Texto Digitado ================================================== */

.typing-wrapper {
    display: grid;
    place-items: center;
}

.typing-text {
    width: calc(var(--ch-count) * 1ch + 6px);
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #ffffff;
    font-family: monospace;
}

/* ==== Animações ================================================== */

@keyframes typing {
    from {
        width: 0;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* ==== Slideshow ================================================== */

.slideshow-container {
    width: 90%;
    max-width: 600px;
    margin: 0px auto;
    position: relative;
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s, transform 0.5s;
}

.slideshow-container img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    border: 2px solid #F6C90E;
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s, transform 0.5s;
}

/* ==== Barra Fixa do Botão de Download ================================================== */

.download-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1E2228;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.download-bar .btn-group {
    display: inline-block;
}
