body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    color: #333;
    padding: 0;
    height: 100vh;
    margin: 0;
}

header {
    background-color: #f0f0f0;
    padding: 10px;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

header img {
    max-width: 1820px;
    max-height: 120px;
    margin: 0 0px;
    object-fit: cover;
}

h1 {
    margin: 0;
}

form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


input,
select {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    background-color: green;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: darkred;
}

.image-upload {
    margin-bottom: 16px;
    border-radius: 5px;
}

.image-upload label {
    margin-bottom: 8px;
    background-color: #003366;
    color: #fff;
    max-width: 30%;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.image-upload input {
    display: none;
}

.image-upload img {
    max-width: 100%;
    max-height: 200px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.date-select {
    display: flex;
    gap: 10px;
}

.boton {
    padding: 10px 20px;
    background-color: white;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-items: center; 
}

.boton:hover {
    background-color: darkred;
}

.hidden {
    display: none;
}

.label-styled {
    display: block;
    margin-bottom: 8px;
    background-color: #003366;
    color: #fff;
    max-width: 30%;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
}

.image-container {
    
      display: flex;
      justify-content: center; /* centra horizontalmente */
      align-items: center;     /* centra verticalmente */
      height: 100vh; 
  
    gap: 20px; /* Añade un poco de espacio entre las imágenes */
}

.centro-boton {
  text-align: center;
}


        body {
            font-family: Arial, sans-serif;
            background-color: #f0f0f0;
            color: #333;
            padding: 0;
            height: 100vh;
            margin: 0;
        }

        header {
            background: linear-gradient(black, red);
            padding: 10px;
            text-align: center;
            color: white;
       
            display: flex;
            align-items: center;
            justify-content: center;
            font-size:15px;
        }
        
        header img {
            max-width: 120px;
            max-height: 120px;
            margin: 0 0px; /* Ajusta el margen según sea necesario */
        object-fit: cover;
        }
        
        h1 {
            
            margin: 0;
            /*display: inline-block;*/
        }

        form {
            max-width: 600px;
            margin: 20px auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
        }

        input, select {
            width: 100%;
            padding: 8px;
            margin-bottom: 16px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
        }

        button {
            background-color: red;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        button:hover {
            background-color: darkred;
        }
        .image-upload {
    margin-bottom: 16px;
    border-radius: 5px;
    text-align: center; /* Centra el contenido horizontalmente */
}
.image-upload label {
    display: inline-block; /* Permite centrar el label también */
    margin-bottom: 8px;
    background-color: #ff0000; 
    color: #fff; 
    max-width: 30%;
    border: none; 
    padding: 10px; 
    cursor: pointer; 
    border-radius: 5px;
    text-align: center;
}

.image-upload img {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    max-height: 200px;
    border: 1px solid #ccc;
    border-radius: 5px;
    object-fit: cover;
}
        .image-upload input {
            display: none;
        }

        .date-select {
            display: flex;
            gap: 10px;
        }

        .boton {
            padding: 10px 20px;
            background-color: red;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .boton:hover {
            background-color: darkred;
        }

        .hidden {
            display: none;
        }
        
        .label-styled {
    display: block;
    margin-bottom: 8px;
    background-color: #ff0000;
    color: #fff;
    max-width: 30%;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
}
        
        #banderaAnimacion {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadein 1s ease forwards;
}

.bandera-corea {
  width: 300px;
  height: 200px;
  position: relative;
  background: white;
  border: 3px solid black;
  animation: scaleIn 1s ease forwards;
}

.circulo {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, red 50%, blue 50%);
  border-radius: 50%;
  position: absolute;
  top: 70px;
  left: 120px;
  opacity: 0;
  animation: aparecer 0.5s ease forwards 1s;
}

.trigrama {
  width: 30px;
  height: 30px;
  background: black;
  opacity: 0;
  animation: aparecer 0.5s ease forwards;
}

.top-left {
  position: absolute;
  top: 20px;
  left: 20px;
  animation-delay: 1.5s;
}
.top-right {
  position: absolute;
  top: 20px;
  right: 20px;
  animation-delay: 2s;
}
.bottom-left {
  position: absolute;
  bottom: 20px;
  left: 20px;
  animation-delay: 2.5s;
}
.bottom-right {
  position: absolute;
  bottom: 20px;
  right: 20px;
  animation-delay: 3s;
}

@keyframes aparecer {
  to {
    opacity: 1;
    transform: scale(1.1);
  }
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.hidden {
    display: none;
}


.tooltip-contenedor {
  position: relative;
  display: inline-block;
  margin-left: 10px;
  vertical-align: top;
}
@keyframes latido {
  0% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1); }
  75% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.icono-alerta {
  width: 35px;
  height: 35px;
  fill: red;
  cursor: pointer;
  animation: latido 1.8s infinite;
}

.icono-alerta:hover {
  transform: scale(1.2);
}

.tooltip-imagen {
  display: none;
  position: absolute;
  top: 30px;
  left: -20px;
  z-index: 999;
  border: 1px solid #ccc;
  background-color: white;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.tooltip-imagen img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 2px;
}

.tooltip-contenedor:hover .tooltip-imagen {
  display: block;
}

.tooltip-imagen p.descripcion-ejemplo {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  text-align: center;
  max-width: 250px;
}


