/* style.css */

/* Resetando margens e preenchimentos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    text-align: center;
    background-color: #fce4ec;
    color: #333;
    transition: background 0.5s, color 0.5s;
}

body .theme-toggle {
    position: absolute;
    left: 15%;
    top: 10%;
}

header {
    background: #ff80ab;
    padding: 15px;
    color: white;
}

header button {
    background: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.mensagem {
    margin: 20px auto;
    padding: 20px;
    max-width: 600px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    width: 100%;
    height: auto;
}

button {
    position: absolute;
    top: 50%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    transform: translateY(-50%);
    /* Centraliza verticalmente */
}

.prev {
    left: 10px;
    /* Alinha o botão anterior à esquerda */
}

.next {
    right: 10px;
    /* Alinha o botão próximo à direita */
}

button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

footer {
    background: #ff80ab;
    padding: 15px;
    color: white;
}

audio {
    margin-top: 10px;
}

/* Modo escuro */
body.dark-mode {
    background-color: #121212;
    color: white;
}

body.dark-mode .carousel {
    background-color: #333;
}

body.dark-mode .carousel-container {
    background-color: #333;
}

body.dark-mode button {
    background-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .theme-toggle {
    background-color: #fff;
    color: #000000;
}

body.dark-mode {
    color: #000000;
}

body.dark-mode header {
    background: #4d2331;
    padding: 15px;
    color: white;
}

body.dark-mode footer {
    background: #4d2331;
    padding: 15px;
    color: white;
}

body.dark-mode button {
    background-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .theme-toggle {
    background-color: #fff;
    color: #121212;
}