* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    height: 100vh;
}
/*-----------------------------*/

.welcome-animation {
    display: none;
}

.welcome-text {
    display: inline-block;
    transition: color 1s;
    opacity: 0;
    animation: slideIn 1s forwards;
    
}

.highlight {
    border: solid 1px gray;
    border-radius: 10px;
    color: #0c969c;
    background-color: #fff;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
  
.highlight {
    animation: slideInHighlight 1s forwards; /* Movimiento para la parte destacada */
}

@keyframes slideInHighlight {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


/*-----------------------------------*/
@keyframes lava {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

header {
    width: 100%;
    height: 80px;
    background-color: #0c969c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header h2 {
    margin-bottom: 0px;
    font-size: 25px;
    color: #ffffff;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.container_grafica{

     height: 100%;
    text-align: center;
}
.chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90%;
  width: 100%;
  /* Para que ocupe el 100% del ancho disponible */
}
.minimize-button {
    margin-left: 10px;
    padding: 5px 10px;
    font-size: 14px;
    background-color: #0c969c;
    color: #f9ffc1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* Oculto por defecto */
    transition: background 0.3s, transform 0.2s; 
}
.minimize-button:hover{
    background-color: #0b888f;
    transform: scale(1.05);
}

.content {
    width: 90%;
    max-width: 1100px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.377);
    border-radius: 8px;
}
/* From Uiverse.io by gharsh11032000 */ 
.animated-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10.67px 24px; /* Incrementado un tercio */
    border: 2px solid; /* Sin cambios, ya que es el mismo grosor */
    border-color: transparent;
    font-size: 10.67px; /* Incrementado un tercio */
    background-color: #fff;
    border-radius: 66.67px; /* Incrementado un tercio */
    font-weight: 600;
    color: #333;
    box-shadow: 0 0 0 1.33px white; /* Incrementado un tercio */
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
    position: absolute;
    width: 16px; /* Incrementado un tercio */
    fill: #333;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
    right: 21.33px; /* Incrementado un tercio */
}

.animated-button .arr-2 {
    left: -33.33%; /* Sin cambios, porque es relativo */
}

.animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 13.33px; /* Incrementado un tercio */
    height: 13.33px; /* Incrementado un tercio */
    background-color: #0c969c;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-16px); /* Incrementado un tercio */
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
    box-shadow: 0 0 0 16px transparent; /* Incrementado un tercio */
    color: #fff;
    border-radius: 16px; /* Incrementado un tercio */
}

.animated-button:hover .arr-1 {
    right: -33.33%; /* Sin cambios, porque es relativo */
}

.animated-button:hover .arr-2 {
    left: 21.33px; /* Incrementado un tercio */
}

.animated-button:hover .text {
    transform: translateX(16px); /* Incrementado un tercio */
}

.animated-button:hover svg {
    fill: #212121;
}

.animated-button:active {
    scale: 0.95;
    box-shadow: 0 0 0 5.33px #0c969c; /* Incrementado un tercio */
}

.animated-button:hover .circle {
    width: 293.33px; /* Incrementado un tercio */
    height: 293.33px; /* Incrementado un tercio */
    opacity: 1;
}

/*------------------------*/
.content2 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.conjunto {
    flex: 1;
    margin: 0 10px;
}

h2 {
    margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    font-size: 19px;
}

/* Estilos para la sección de metas y reportes */
.ACis {
    height: 16%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 1px rgb(219, 219, 219);
    border-radius: 10px;
    margin-bottom: 1rem; /* Margen adaptado con rem */
    padding: 7px;
    font-size: 1.125rem; /* 18px en rem */
    color: #34495e; /* Color de texto gris oscuro */
    font-weight: normal;
}
.ACis p {
    display: flex;
    align-items:  end;
    height: 100%;
}
/* Estilo para los encabezados de metas */
.ACis:first-of-type {
    font-size: 1.25rem; /* 20px en rem */
    font-weight: bold;
    color: #2c3e50; /* Color de título azul oscuro */
}

/* Estilo para los valores y reportes */
#totalReports {
    font-weight: bold;
    color: #3498db; /* Color azul para resaltar el valor */
}

/* Estilos para los textos dentro de los párrafos */
.ACis p {
    font-size: 1rem; /* 16px en rem */
    color:rgb(44, 44, 44); /* Color gris suave para los párrafos */
}

/* Estilo para el encabezado de ACis faltantes */
.ACis:last-of-type {
    font-size: 1.25rem; /* 20px en rem */
    font-weight: bold;
    color: #e74c3c; /* Color rojo para destacar los ACis faltantes */
}


.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


#cantidad,
#estadisticas {
    width: 100%;
    height: 400px;
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
}


#upload-acis {
    display: none;
}
#upload-imagenes{
    display: none;
}
#carrusel {
    width: 100%;
    height: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
}

p {
    display: none;
}

.caja-carrusel {
    display: grid;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 40px;
    
}

.caja-hora{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
.caja-hora1{
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border-radius: 5px;
    background-color: #e7e7e7;
  }
.caja-hora1 a {
    
    font-size: 0.7rem;
  }


section {
    display: none;
}
.expand-button {
    display: none;
}

.expand-button:hover {
    display: none;
}
/* Contenedor del video */
.video-container {
    display: flex;
    flex-direction: column;  /* Apila los elementos en columna */
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
}

/* Título encima del video */
.video-container h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333; /* Asegúrate de que el texto sea visible */
    margin-bottom: 10px; /* Espaciado entre el título y el video */
    text-align: center; /* Centrado del texto */
}
iframe{
    border-radius: 10px;
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.377);
}




@media (max-width: 768px) {
    
    #upload-acis {
        
        display: none;
    }
    
    .content {
        width: 100%;
    }

    .content2 {
        flex-direction: column;
        align-items: center;
    }

    .conjunto {
        margin: 10px 0;
        width: 100%;
    }

    #cantidad,
    #estadisticas,
    #carrusel {
        height: auto;
        padding: 20px;
    }

    #carrusel {
        background-image: url(img/img3.jpg);
        background-size: cover;
    }

    p {
        display: block;
    }

    .caja-carrusel {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}


@media (min-width: 1024px) {
    .welcome-animation {
        display: none; /* Inicialmente oculto */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3em;
        font-family: Arial, Helvetica, sans-serif;
        color: white;
        text-align: center;
        background: linear-gradient(45deg, #0c969c, #0b888f); /* Fondo de la animación */
        overflow: hidden;
        animation: fadeIn 1s forwards, fadeOut 1s forwards 2s; /* Dura 1s en mostrar y 1s en ocultar */
        
    }
    .caja-hora1 a {
    
        font-size: 0.8rem;
      }
    .container_grafica{
        display: grid;
  justify-content: center;
  align-items: center;
    }
    #upload-acis {
        font-size: 15px;
        padding: 10px 10px;
        background-color: #fff;
        color: #333;
        border: none;
        border-radius: 10px;
        box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.1);
        transition: 0.9s;
        display: block;
    }
    
    #upload-acis:hover {
        transform: scale(0.9);
        background-color: #f0f0f0;
    }
    
    #cantidad,
    #estadisticas {
        height: 450px;
        box-shadow: 0 4px 9px rgba(0, 0, 0, 0.3);
    }

    .caja-carrusel {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    #carrusel {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        width: 600px;
        height: 400px;
        background-color: #fff;
    }

    p {
        display: block;
        color: #333;
        font-size: 20px;
        margin-bottom: 15px;
    }

    section {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 500px;
        height: 100%;
    }

    section img {
        width: 0px;
        flex-grow: 1;
        object-fit: cover;
        opacity: 1;
        transition: 0.9s;
    }

    section img:hover {
        transform: scale(1.1);
        cursor: crosshair;
        width: 200px;
        opacity: 1;
        filter: contrast(120%);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    .expand-button {
        padding: 8px 12px;
        background-color: #0c969c;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin-bottom: 10px;
        transition: background 0.3s, transform 0.2s;
        display: block;
    }
    
    .expand-button:hover {
        display: block;
        color: #fff;
        background-color: #0b888f;
        transform: scale(1.05);
    }
}
#cantidad, #estadisticas {
    transition: all 0.3s ease; 
}

.full-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000; 
    background-color: #fff; 
    overflow: auto; 
}

