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

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

.hero {
    background-image: url('/Recursos/imagen2.png'); /* Cambia esta ruta por la de tu imagen */
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content {
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

h1 {
    font-size: 3rem;
}

p {
    font-size: 1.5rem;
}

.btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
}

.btn:hover {
    background-color: #2980b9;
}

.login-box {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
    margin-top: 20px;
}

.login-box img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    color: #555;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.login-box .btn {
    margin-top: 15px;
    width: 100%;
}

.no-visible {
    display: none !important;
  }  

  

  /* Estilo para el marco superior */
  header {
    background-color: #1a2b3c; /* Negro azulado */
    padding: 10px 0;
  }

  .header-content {
    display: flex;
    justify-content: space-around;
  }

  .header-content img {
    width: 100px;
    height: auto;
  }

  /* Estilo para el contenedor principal */
  .main-content {
        display: -webkit-inline-box;
  } 

  /* Estilo para el menú vertical */
  .sidebar {
    background-color: #1a2b3c; /* Negro azulado */
    width: 15%;
    padding-top: 20px;
  }

  .sidebar ul {
    list-style-type: none;
    padding: 0;
  }

  .sidebar .menu-item {
    margin: 10px 0;
  }

  .menu-btn {
    background: none;
    border: none;
    color: white;
    padding: 10px;
    width: 100%;
    text-align: left;
  }

  .menu-btn img {
    width: 30px;
    height: 30px;
  }

  .submenu {
    display: none;
    margin-left: 20px;
  }

  .submenu li {
    margin: 5px 0;
  }

  .submenu li a {
    color: white;
    text-decoration: none;
  }

  .submenu li a:hover {
    color: #f0f0f0;
  }

  /* Estilo para el contenido principal */
  main {
    /*flex-grow: 1;*/
    background-color: white;
  }

  .content {
    width: 100%;
    background-image: url('/Recursos/imagen2.png');
    position:relative;
   
    z-index: -1;
    border-radius: 0px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

  }

    /* Header */
    .header {
        background-color: #0066CC;
        /* Color azul cobalto */
        padding: 15px 30px;
        /* Ajuste para que no sea tan alto */
        display: flex;
        justify-content: space-between;
        /* Espacio entre el título y el icono */
        align-items: left;
    }

    .header h3 {
        color: white;
        font-size: 1.8em;
        /* Reducir tamaño del título */
    }

    .header i {
        font-size: 2em;
        color: white;
        cursor: pointer;
    }

    /* Contenedor principal */
    .content {
        display: flex;
        flex-direction: column;
        /* Para hacer que los elementos estén en una columna */
        justify-content: flex-start;
        padding: 20px;
        background-color: white;
    }

    .form-container {
        margin-bottom: 30px;
        /* Espacio entre el formulario y la tabla */
    }

    /* Estilos para los campos con etiquetas flotantes */
    .input-container {
        position: relative;
        margin-bottom: 20px;
        width: 100%;
    }

    .label {
        position: absolute;
        left: 10px;
        top: 10px;
        transition: 0.2s;
        color: #aaa;
    }

    .input {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        width: 100%;
        box-sizing: border-box;
    }

    .input:focus+.label,
    .input:not(:placeholder-shown)+.label {
        top: -10px;
        left: 5px;
        font-size: 12px;
        color: #007BFF;
    }

    /* Estilos para los campos en filas */
    .form-container .row {
        display: flex;
        flex-wrap: wrap;
        /* Permite que los elementos se ajusten */
        gap: 20px;
        margin-bottom: 20px;
    }

    .form-container .input-container {
        flex: 1;
        min-width: 220px;
        /* Asegura que los campos no sean demasiado pequeños */
    }

    /* Nueva fila para "Tema" y "Subtema" */
    .form-container .double-row {
        display: flex;
        gap: 15px;
    }

    /* Estilo para los botones y alineación a la derecha */
    .form-container .form-buttons {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 20px;
    }

    .form-container button {
        padding: 12px;
        background-color: #0066CC;
        border: none;
        border-radius: 4px;
        color: white;
        font-size: 1.1em;
        cursor: pointer;
    }

    .form-container button:hover {
        background-color: #005bb5;
    }

    /* Estilo para la tabla */
    .table th,
    .table td {
        text-align: center;
        vertical-align: middle;
        
    }

    .table th {
        background-color: #0066CC;
        color: white;
    }
    .table {
        table-layout: auto; /* Este es el valor por defecto */
        width: auto;
    }
    .adaptarcolum {
        display: inline-block;
        width: 115%
    }
    .tableIndex {
        font-size: 12px;
        text-align: center;
        width: 100%;
    }
    .tableIndex th {
        font-size: 13px;
    }
    .icontext{
        font-size: 30px !important;
    }
    .fondoMain{
         /*background-image: url(/Recursos/imagen2.png);
    height: 100%; */
    width: 84%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }
    .compInitial{
        width:100%;
    }