* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    max-height: 3930px;
    height: 100%;
    font-family: Arial, sans-serif;
}

.slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 91.5vh;
}

.image-background {
    display: flex;
    width: 200%; /* permite o deslizamento 3930 x 1080*/
    height: 100%;
    background-image: url('imagens/fundo.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.5s ease;
	  /* Centralizar ao carregar a página */
    transform: translateX(calc(50vw - 1260px));
}

.theme {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.theme img {
    width: 70%;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.theme:hover img {
    transform: scale(1.25);
}

.arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 5px;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
#games {
    position: absolute;
    bottom: 20px; /* Alinhamento inferior */
    left: 150px;   /* Alinhamento à esquerda */
}

#music {
    position: absolute;
    bottom: 150px; /* Alinhamento inferior */
    left: 600px;   /* Alinhamento à esquerda */
}

#momentoleitura {
    position: absolute;
    bottom: 150px; /* Alinhamento inferior */
    left: 1300px;   /* Alinhamento à esquerda */
}

#bauideias {
    position: absolute;
    bottom: 20px; /* Alinhamento inferior */
    left: 1900px;   /* Alinhamento à esquerda */
}

#placa {
    position: absolute;
    bottom: 100px; /* Alinhamento inferior */
    left: 1000px;   /* Alinhamento à esquerda */
}

#aviao {
    position: absolute;
    top: 20px; /* Alinhamento inferior */
    left: 850px;   /* Alinhamento à esquerda */
}

/* Rodapé fixo */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #009600;
    height: 110px; /* mexi aqui tbm */
    padding: 10px 30px; /* mexi aqui tbm */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

@media (max-width: 768px) {
    footer {
        height: auto; /* Permite que o rodapé ajuste sua altura */
        padding: 15px 20px;
        flex-direction: column;
        position: relative; /* Remove o 'fixed' para evitar sobreposição */
        text-align: center;
    }

    footer .container1 {
        flex-wrap: wrap; /* Permite que os itens do rodapé quebrem linha */
        flex-direction: column;
        align-items: center;
    }

    footer .social_icon, 
    footer .menu {
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
    }

    footer .social_icon li, 
    footer .menu li {
        margin: 5px 0; /* Reduz o espaçamento entre itens */
    }

    footer .social_icon li a {
        font-size: 1.5em; /* Reduz o tamanho dos ícones */
    }

    footer .menu li a {
        font-size: 1em; /* Reduz o tamanho das fontes */
    }

    footer .wave {
        display: none; /* Oculta as ondas em telas pequenas para evitar cortes */
    }
}

footer .container1{
    display: flex;

}

footer .social_icon, 
footer .menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px; /* mexi aqui */
}

footer .social_icon li, 
footer .menu li {
    list-style: none;
    margin: 0 30px;
}

footer .social_icon li a {
    font-size: 2em;
    color: #fff;
    margin: 0 10 px;
    display: inline-block;  
    transition: 0.5s;
}

footer .social_icon li a:hover {
    transform: translateY(-10px);
}

footer .menu li a {
    font-size: 1.2em;
    color: #fff;
    margin: 0 10 px;
    display: inline-block;
    transition: 0.5s;
    text-decoration: none;
    opacity: 0.75;
}

footer .menu li a:hover {
    opacity: 10;
}

footer .wave {
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 70px;
    background: url(imagens/waveGreen.png);
    background-size: 100% 50px;
}

footer .wave#wave1 {
    z-index: 1000;
    opacity: 1;
    bottom: 0;
    animation: animateWave 4s linear infinite;
}

footer .wave#wave2 {
    z-index: 999;
    opacity: 0.5;
    bottom: 10px;
    animation: animateWave_02 3s linear infinite;
}

footer .wave#wave3 {
    z-index: 1000;
    opacity: 0.2;
    bottom: 15px;
    animation: animateWave 3s linear infinite;
}

footer .wave#wave4 {
    z-index: 999;
    opacity: 0.7;
    bottom: 20px;
    animation: animateWave_02 4s linear infinite;
}



@keyframes animateWave {
    0%{
        background-position-x: 1000px;
    }
    100% {
        background-position-x: 0px;
    }
}

@keyframes animateWave_02 {
    0%{
        background-position-x: 0px;
    }
    100% {
        background-position-x: 1000px;
    }
}


.theme {
    position: relative;
    display: inline-block;
    margin: 20px; /* Espaçamento entre as imagens */
    text-align: center;
}

.theme img {
    border: none;
    outline: none;
    transition: transform 0.3s ease; /* Animação suave no zoom */
}

.theme:hover img {
    transform: scale(1.1); /* Efeito de zoom na imagem */
}

.tooltip-text {
    visibility: visible; /* Sempre visível */
    position: absolute;
    bottom: 100%; /* Altere este valor para ajustar a posição do texto */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.75); /* Fundo do tooltip */
    color: #fff; /* Cor do texto */
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    width: 80%;
    opacity: 1; /* Totalmente opaco */
    transition: none; /* Remove as transições de visibilidade e opacidade */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Sombra suave no tooltip */
    font-size: 14px;
    font-weight: bold;
    z-index: 10; /* Certifique-se de que o texto esteja acima de outros elementos */
    pointer-events: none;
}

/* Adicionar margem inferior entre o texto e a imagem */
.tooltip-text::after {
    content: '';
    display: block;
    margin-top: 8px; /* Espaçamento entre o tooltip e a imagem */
}

.tooltip-image {
    position: absolute;
    visibility: hidden; /* Inicialmente invisível */
    opacity: 0; /* Inicialmente invisível */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Suaviza a transição de visibilidade e opacidade */
    max-width: 150px; /* Tamanho máximo da imagem do tooltip */
    z-index: 1000; /* Certifique-se de que a imagem fique acima dos outros elementos */
}
.player {
    margin-top: 30px;
}

.controls {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.btn {
    margin: 0 5px;
    padding: 4px 8px;
    font-size: 8px;
    cursor: pointer;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .image-background {
        flex-direction: column;
		display: flex;
		width: 450%; /* permite o deslizamento 3930 x 1080*/
		height: 100%;
		background-image: url('imagens/fundo_movel.png');
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		transition: transform 0.5s ease;
		  /* Centralizar ao carregar a página */
		transform: translateX(calc(50vw - 830px));


    }
	
#games {
position: absolute;
bottom: 20px; /* Alinhamento inferior */
left: 0px;   /* Alinhamento à esquerda */
}

#music {
    position: absolute;
    bottom: 90px; /* Alinhamento inferior */
    left: 300px;   /* Alinhamento à esquerda */
}

#momentoleitura {
    position: absolute;
    bottom: 90px; /* Alinhamento inferior */
    left: 750px;   /* Alinhamento à esquerda */
}

#bauideias {
    position: absolute;
    bottom: 20px; /* Alinhamento inferior */
    left: 1150px;   /* Alinhamento à esquerda */
}

#placa {
    position: absolute;
    bottom: 280px; /* Alinhamento inferior */
    left: 700px;   /* Alinhamento à esquerda */
}

#aviao {
    position: absolute;
    top: 20px; /* Alinhamento inferior */
    left: 700px;   /* Alinhamento à esquerda */
}

.arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

	
}

/* Ajustes para telas menores - Página de Músicas */
@media (max-width: 768px) {

    /* Header adaptável */
    .header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    #logo-brinquedoteca {
        width: 90%;
        height: auto;
        max-width: 300px;
        margin: 10px 0;
    }

    #logo-unipac {
        width: 70px;
        height: auto;
        margin-left: 0;
    }

    /* Seções de músicas adaptáveis */
    .musica-secao {
        padding: 15px;
        margin: 20px 10px;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .musica-secao h2 {
        font-size: 1.5em;
        margin-bottom: 8px;
    }

    .musica-secao p {
        font-size: 1em;
        margin-bottom: 15px;
    }

    /* Container de vídeos ajustável */
    .video-container {
        gap: 20px;
        padding: 10px;
        width: 100%;
        overflow-x: scroll;
        justify-content: flex-start;
    }

    .video-container iframe {
        width: 320px;   /* Ajuste de largura para celular */
        height: 180px;
        flex: 0 0 auto;
    }

    /* Footer ajustável */
    footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 10px;
    }

    footer .container1 {
        flex-direction: column;
        align-items: center;
    }

    footer .social_icon li,
    footer .menu li {
        margin: 8px;
    }

    footer .wave {
        background-size: 800px 50px;
        top: -50px;
        height: 50px;
    }
}

.video-container iframe {
    transition: transform 0.5s ease, width 0.5s ease;
}

.video-container iframe:hover {
    transform: scale(1.05);
}

.musica-secao {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.musica-secao:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

