.texto h1 {
    text-align: center;
    margin-top: 15px;
    font-size: 3vw; /* Tamanho de fonte responsivo */
}

.delete-button {
    background-color: #ff4d4d; /* Cor de fundo */
    color: #fff; /* Cor do texto */
    border: none; /* Remove a borda */
    padding: 10px 15px; /* Espaçamento interno */
    border-radius: 5px; /* Bordas arredondadas */
    cursor: pointer; /* Mostra o cursor de ponteiro */
    font-size: 14px; /* Tamanho da fonte */
    transition: background-color 0.3s ease; /* Animação na mudança de cor */
}

.delete-button:hover {
    background-color: #e60000; /* Cor ao passar o mouse */
}

.delete-button:active {
    background-color: #cc0000; /* Cor ao clicar */
    transform: scale(0.95); /* Efeito de clique */
}
.message-success {
    background-color: #28a745; /* Verde de sucesso */
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.banner {
    width: 100%;
    max-width: 1900px;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
}

.banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.navigation {
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 70px;
background: #4B0082;
box-shadow: 10px 0 0 #8B008B;
border-left: 10px solid #4B0082;
overflow-x: hidden;
transition: width 0.5s;
z-index: 2;
}

.navigation:hover {
width: 180px;
}

.navigation ul {
position: absolute;
top: 0;
left: 0;
width: 100%;
padding-left: 5px;
padding-top: 130px;
}

.navigation ul li {
position: relative;
list-style: none;
width: 100%;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
}

.navigation ul li a {
display: flex;
width: 100%;
text-decoration: none;
color: #fff;
align-items: center;
}

.navigation ul li a .icon {
display: flex;
justify-content: center;
align-items: center;
min-width: 60px;
height: 60px;
}

.navigation ul li a .icon ion-icon {
font-size: 1.3rem;
}

.navigation ul li a .title {
padding-left: 10px;
white-space: nowrap;
}

.navigation ul li.active {
background: #8B008B;
}

.navigation ul li.active a::after {
content: '';
position: absolute;
bottom: -30px;
right: 0;
width: 30px;
height: 30px;
background: #4B0082;
border-radius: 50%;
box-shadow: 15px -15px 0 #8B008B;
}

/* Estilos gerais para a caixa */
.box {
position: absolute;
top: 22%;
left: 89%;
transform: translateX(-50%); /* Centraliza horizontalmente */
z-index: 2;
background-color: rgba(104, 146, 236, 0.52);
padding: 10px;
border-radius: 10px;
text-align: center;
width: 20%; /* Largura desejada */
max-width: 300px; /* Largura máxima */
}

/* Estilos para os links dentro da caixa */
.box-link {
text-decoration: none;
color: white;
border-radius: 10px;
padding: 10px;
display: block; /* Para que os links ocupem todo o espaço horizontal dentro da caixa */
margin-bottom: 5px; /* Adiciona um espaço entre os links */
font-size: 1em; /* Tamanho de fonte relativo */
}

.box-link:hover {
background-color: dodgerblue;
}

.success-message {
color: green;
font-size: 1.2em;
background-color: #d4edda;
padding: 10px;
border-radius: 5px;
}

.error-message {
color: red;
font-size: 1.2em;
background-color: #f8d7da;
padding: 10px;
border-radius: 5px;
}

.enlarged {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: none;
justify-content: center;
align-items: center;
z-index: 1000;
}

/* Estilo para a imagem ampliada */
.enlarged img {
max-width: 80%;
max-height: 80%;
border-radius: 10px;
}

/* Estilo para o botão de fechar (X) */
.close-btn {
position: absolute;
top: 20px;
right: 20px;
font-size: 30px;
color: white;
background: rgba(0, 0, 0, 0.6);
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}

.close-btn:hover {
background: rgba(0, 0, 0, 0.8);
}

.image-item {
    border: 2px solid #ddd; /* Cor e espessura da borda */
    border-radius: 10px; /* Bordas arredondadas */
    margin: 10px; /* Espaçamento ao redor da atividade */
    padding: 10px; /* Espaçamento interno da atividade */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para destacar */
    display: inline-block; /* Organizar atividades lado a lado */
    text-align: center; /* Centralizar elementos internos */
    background-color: #fff; /* Fundo branco */
}


.image-item.enlarged {
position: fixed;
top: 50%;
left: calc(50% + 10px); /* Adiciona uma margem de 20px do lado esquerdo */
transform: translate(-50%, -50%);
width: 90vw; /* Usar vw para tornar responsivo */
height: 90vh; /* Usar vh para tornar responsivo */
z-index: 10;
border-radius: 10px;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
overflow: auto; /* Adiciona a barra de rolagem */
}

.image-item.enlarged img {
max-width: 100%;
max-height: 100%;
border-radius: 10px;

}

.image-container {
    text-align: center;
    padding: 20px;
    margin-left: 50px;
}

.image-item {
    display: inline-block;
    position: relative;
    margin: 10px;
}

img.estilizado {
    width: 100%;
    max-width: 200px;
    height: auto;
}

@media (max-width: 2000px) {
.box {
top: 20%;
}
.box-link {
font-size: 1em;
}
}
/* Media queries para ajuste fino em diferentes tamanhos de tela */
@media (max-width: 1200px) {
.box {
top: 17%;
}
.box-link {
font-size: 1em;
}
.image-item.enlarged {
width: 80vw;
height: 80vh;
}
}

@media (max-width: 900px) {
.box {
top: 15%;
}
.box-link {
font-size: 1em;
}
.image-item.enlarged {
width: 70vw;
height: 70vh;
}

img.estilizado {
max-width: 180px;
}
}


@media (max-width: 768px) {
.image-item.enlarged {
width: 60vw;
height: 60vh;
}

img.estilizado {
max-width: 160px;
}
}


@media (max-width: 700px) {
.box {
top: 12%;
}
.box-link {
font-size: 0.9em;
padding: 8px;
}
}

@media (max-width: 600px) {
.box {
top: 11%;
}
.box-link {
font-size: 0.8em;
padding: 7px;
}


}

@media (max-width: 500px) {
.box {
top: 9%;
width: 25%; /* Ajusta a largura para 25% da tela */
height: 10%;
}
.box-link {
font-size: 0.7em;
padding: 6px;
}
}

@media (max-width: 576px) {
.image-item.enlarged {
width: 90vw;
height: 90vh;
top: 5%;
}

img.estilizado {
max-width: 140px;
}
}

@media (max-width: 390px) {
.box {
top: 8%;
width: 23%; /* Ajusta a largura para 35% da tela */
height: 7%;

}
.box-link {
font-size: 0.5em;
padding: 1px;
}
}    


@media (max-width: 768px) {

.navigation {
height: 100vh;
width: 60px;
}
.navigation:hover {
    width: 160px;
}

.navigation ul li {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.navigation ul li a .icon {
    min-width: 50px;
    height: 50px;
    z-index: 1;
}

.navigation ul li a .icon ion-icon {
    font-size: 1.2rem;
}

}

@media (max-width: 454px) {

.navigation {
height: 100vh;  
width: 40px; /* largura do menu fechado */

}
.navigation:hover { /* largura do menu */
    width: 140px;
}

.navigation ul li {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.navigation ul li a .icon {
    min-width: 30px;
    height: 30px;
    z-index: 1;
}

.navigation ul li a .icon ion-icon {
    font-size: 1.1rem;


 } }