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

body{
    background: #181818;
    color: #921dd9;
    font-size: 16px;
}

a{
    color: #921dd9;
    text-decoration: none;
}

a:visited {
    color: #921dd9;
    text-decoration: none;
}

header {
  height: 150px;
  text-align: center;
  vertical-align: middle;
  padding: 20px; /* Add some padding */
}

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% - 310px); /* 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;*/
}

#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: 500px;
  float: right;
  margin-top: 10px;
  padding: 20px; /* Add some padding */
}

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

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 #5b2c6f;
  padding: 20px; /* Add some padding */
}

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

.claro {
   background: #212121;
}

.oscuro {
   background: #181818;
}
#pagina {
  background: #181818;
  max-width: 90%; /* Make it full width */
  margin: 20px 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;
}

.center{
    text-align: center;
}
.fallo{
    color: #ac2323;
}

@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;
  }
}
