/* modal_botoes.css - Estilos específicos para o pop-up e botões */

/* Botões */
#container-botoes {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    margin: 20px 0;
}

.scrolling-buttons-inner {
    display: inline-block;
    animation: scrollButtons linear infinite;
    animation-duration: 650s;
}

.scrolling-buttons-inner.paused {
    animation-play-state: paused;
}

@keyframes scrollButtons {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
}

.button-item {
    display: inline-block;
    padding: 5px 10px;
}

.button-item button {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border: 2px solid #007bff;
    background-color: transparent;
    color: #007bff;
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.button-item button:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Modal Pop-up */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal-overlay.visible {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 10px;
    animation: slideIn 0.4s ease-out;
    text-align: center;
}

.modal-content h2 {
    color: #007bff;
    font-size: 1.5em;
    margin-top: 0;
}

.modal-content p {
    font-size: 1em;
    line-height: 1.4;
}

.modal-content p:last-child {
    font-weight: bold;
    color: #333;
    margin-top: 15px;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}