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

body{
    background: #1a274a;
    color: #264f8f;
    font-size: 16px;
}

a{
    color: #264f8f;
    text-decoration: none;
}

a:visited {
    color: #264f8f;
    text-decoration: none;
}

header {
  height: 150px;
  text-align: center;
  vertical-align: middle;
  padding: 20px; /* Add some padding */
}
header img {
  position: relative;
  top: -135px; /* ajustar los valores para mover la imagen */
  left: 92%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  /*margin: 30%;*/
  /*border:1px solid #fff;*/
  display: block;
}

nav {
  height: 60px;
  text-align: center;
  vertical-align: middle;
  margin-top: 10px;
  padding: 20px; /* Add some padding */
}

nav ul li{
    list-style: none;
    display: inline;
    padding: 10px;
}

nav ul li a{
    text-decoration: none;
    padding: 10px;
}

nav h2 {
  font-size: 1.5em; /* Use relative font size */
  text-align: center;
  line-height: 60px;
}

section {
  width: calc(100% - 620px); /* Make it 70% of the parent width */
  min-height: 670px;
  float: left;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 20px; /* Add some padding */
  margin-right: 10px;
  margin-left: 10px;
}

section h2 {
  font-size: 1.5em; /* Use relative font size */
  text-align: center;
  /*line-height: 500px;*/
}

#section {
  width: 100%; /* Make it 70% of the parent width */
  min-height: 500px;
  float: left;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 20px; /* Add some padding */
  margin-right: 10px;
}

#section h2 {
  font-size: 1.5em; /* Use relative font size */
  text-align: center;
  /*line-height: 500px;*/
}

aside {
  width: 300px; /* Make it 30% of the parent width */
  height: 670px;
  margin-top: 10px;
  /*padding: 20px; /* Add some padding */
}

aside img {
    position: relative;
    top: -20px; /* ajustar los valores para mover la imagen */
    left: -22px;
    /*width: 150px;
    height: 150px;
    border-radius: 50%;*/
    /*margin: 30%;*/
    /*border:1px solid #fff;*/
    display: block;
}
aside h2 {
  font-size: 1.5em; /* Use relative font size */
  text-align: center;
  line-height: 500px;
}
#idza {
    float: left;
}
#decha{
    float: right;
}

footer {
  clear: both;
  height: 100px;
  margin-top: 20px;
  padding: 20px; /* Add some padding */
  background-color: #303030;
}

footer h2 {
  font-size: 1.5em; /* Use relative font size */
  text-align: center;
  line-height: 60px;
}

footer p {
  font-size: 1em; /* Use relative font size */
  text-align: justify;
  line-height: 20px;
}

footer div {
  margin-top: 5px;
  margin-left: 10px;
  margin-right: 10px;
}

.modulo {
  border-radius: 15px; /* Simplify border radius */
  border: solid 1.5px #f68d3c;
  padding: 20px; /* Add some padding */
}

.section {
  background-color: #303030;
  border-radius: 15px; /* Simplify border radius */
  border: solid 1px #f68d3c;
  padding: 20px; /* Add some padding */
}

.claro {
   background: #212121;
}

.oscuro {
   background: #181818;
}
#pagina {
  background: #1a274a;
  max-width: 90%; /* Make it full width */
  margin: 10px auto; /* Add some margin */
}

#header{
    background: #292929;
    padding: 10px;
}

#header h1{
    text-align: center;
}

#nav{
    background: #292929;
    padding: 10px;
}

#footer{
    color: #acacac;
    background-color: #303030;
    padding: 20px;
}

#main{
    color: #acacac;
    padding: 20px 0;
    width: 500px;
    margin: 0 auto;
}
.rojo{
   background: #ff0000;
}

.center{
    text-align: center;
}
.fallo{
    color: #ac2323;
}
.correcto{
    color: #23ac23;
}
.cuidado{
    color: #ac6f23;
}

@media (max-width: 768px) {
  /* Adjust layout for smaller screens */
  section {
    width: 100%;
    height: auto;
  }
  aside {
    width: 100%;
    height: auto;
  }
  footer {
    height: auto;
  }
}

@media (max-width: 480px) {
  /* Adjust layout for even smaller screens */
  header {
    height: 100px;
  }
  nav {
    height: 40px;
  }
  section {
    height: 300px;
  }
  aside {
    height: 300px;
  }
  footer {
    height: 80px;
  }
}
.tab {
    overflow: hidden;
    background-color: #212121;
}

.tab a {
    background-color: inherit;
    float: center;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    text-decoration: none;
    color: #264f8f;
}

.tab a:hover {
    background-color: #f68d3c;
}

.tab a.active {
    background-color: #f68d3c;
    border-radius: 15px;
}

.tabcontent {
    display: none; /* Ocultar por defecto */
    padding: 6px 12px;
    border-top: none;
}

.table-scroll {
    overflow-y: auto;
    max-height: 515px; /* ajusta el alto según sea necesario */
}

.table-scroll table {
    width: 100%;
}

.table-scroll thead {
    position: sticky;
    top: 0;
    background-color: #181818;
    z-index: 1;
}

.table-scroll tbody {
    overflow-y: auto;
    height: 100%;
}
