* {
    box-sizing: border-box;
}

html {
  min-height: 100%;
  position: relative;
}

body {
    margin: 0;
    padding: 0;
    margin-bottom: 200px;
    font-family: Arial, "Segoe UI", sans-serif;
    background: #f5f6fa;
    color: #222;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

body:not(.index){
    padding-top: 80px; 
}

.index{
    padding-top: 50px;
}

footer{
    background: #333;
    color: white;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
}

footer a{
    color: white;
    text-decoration: none;
}

footer ul{
    list-style: none;
    margin: auto;
    padding: 10px;
    align-content: center;
}

footer div{
    margin: auto;
    padding: 10px;
    align-content: center;
}

.sesion{
    display: grid;
    grid-template-columns: 1fr 1fr; /* dos columnas */
    gap: 15px; /* espacio entre elementos */
    width: 500px;
    margin: 0 auto;
    font-weight: bold;
}

.sesion fieldset{
    padding: auto;
    border-radius: 5px;
    border-color: #2d4d9f;
    background: white;
}

.sesion legend{
    color: #2d4d9f;

}

.sesion input{
    padding: 3px;
    outline: none;
    border: 0;
    border-bottom: 1px solid #2d4d9f;
}

.sesion{
    width: 500px;
    margin: 0 auto;
}

.sesion fieldset{
    padding: auto;
    border-radius: 5px;
    border-color: #2d4d9f;
    background: white;
    box-shadow: 6px 6px 3px rgba(0,0,0,0.1);
}

.sesion legend{
    color: #2d4d9f;

}

.sesion input{
    padding: 3px;
    outline: none;
    border: 0;
    border-bottom: 1px solid #2d4d9f;
}

.sesion input:hover{
    background: #e5edff;
    transition: 0.20s;
}

.sesion input[type=submit],
.sesion input[type=reset] {
    width: 100px;
    height: 30px;
    box-shadow: 2px 2px 1px #095886;
    background: #1195e2;
    border-bottom: 0px;
    border-radius: 6px;
}

.sesion input[type=submit]:hover,
.sesion input[type=reset]:hover {
    box-shadow: 0px 0px 0px #095886;
    background: #1195e2;
    border-bottom: 0px;
    border-radius: 6px;
}

.menu nav {
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 15px 0;
    margin-bottom: 25px;
    position: fixed;
    top: 0;
    width: 100%;
}

.menu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.menu nav li {
    display: inline-block;
}

/* Enlaces estilo barra */
.menu nav a {
    text-decoration: none;
    font-weight: 600;
    color: #2a2a2a;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.2s ease;
}

.menu nav a:hover {
    background: #e6ecff;
    color: #2d4d9f;
    box-shadow: 0 0 6px rgba(45,77,159,0.3);
}

h1:not(#welcome) {
    color: #2d4d9f;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    text-align: center;
}

h2,h3,blockquote,address,pre,h4 {
    color:#222;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    text-align: center;
    padding: 5px;
}

ol,dl,details{
    margin-left: 100px;
}

#masterminos{
    text-align: left;
    margin-left: 100px;
}

img:not(#logo,#bulbasur) {
    margin: auto;
    display: flex;
    border-radius: 10px;
}

img:hover:not(#logo,#bulbasur){
    background: #e5edff;
    transition: 0.15s;
}

#bulbasur{
    margin-left: auto;
    margin-right: auto;
}

#welcome{
    color: #2d4d9f;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.buscar2 {
    width: 272px;
    margin: auto;
    margin-top: 10px;
    padding: 5px;
    align-content: center;
}

audio,iframe{
    display: flex;
    justify-content: center; 
    align-items: center;
    margin: auto;
    align-content: center;
}

#buscar-barra{
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(45,77,159,0.3);
    display: inline-block;
}

.boton{
  display: inline-block;
  border-radius: 10px;
  background-color: #2d4d9f;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 12px;
  padding: 4px;
  width: 80px;
  cursor: pointer;
}

.boton span {
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.boton span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  right: -20px;
  transition: 0.5s;
}

.boton:hover span {
  padding-right: 20px;
}

.boton:hover span:after {
  opacity: 1;
  right: 0;
}

p{
    text-align: center;
}

table {
    width: 95%;
    margin: auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    font-size: 1rem;
    table-layout: fixed;
}

caption {
    font-weight: 700;
    padding: 15px;
    font-size: 1rem;
    background: #e6ecff;
    color: #2d4d9f;
    text-align: center;
}

thead th {
    text-shadow: 1px 1px 3px black;
    background: #2d4d9f;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
}

tbody th {
    text-shadow: 1px 1px 3px black;
    background: #f0f3ff;
    padding: 8px;
    font-weight: 700;
    color: #2d4d9f;
    text-align: center;
    width: 90px;
}

td {
    text-align: center;
    padding: 6px;
    border: 1px solid #d9d9d9;
}

tr:nth-child(odd){
    background-color: rgba(211, 211, 211, 0.219);
}

tr:hover {
    background: #e5edff;
    text-shadow: 1px 1px 3px;
    transition: 0.20s;
}

tfoot {
    padding: 10px;
    background: #fafafa;
    font-style: italic;
}

#Normal1{
    background-color: #8b8b8b;
}

#Normal2{
    color: #8b8b8b;
}

#Fuego1{
    background: #ff852e;
}

#Fuego2{
    color: #ff852e;
}

#Agua1 {
    background: #1195e2;

}

#Agua2{
    color: #1195e2;

}

#Electrico1{
    background: #ffe600;
}

#Electrico2{
    color: #ffe600;
}

#Planta1{
    background: #67d867;
}

#Planta2{
    color: #67d867;
}

#Hielo1{
    background: #7cebff;
}

#Hielo2{
    color: #7cebff;
}

#Lucha1{
    background: #bb4111;
}

#Lucha2{
    color: #bb4111;
}

#Veneno1{
    background: #9633aa;
}

#Veneno2{
    color: #9633aa;
}

#Tierra1{
    background-color: #b69245;
}

#Tierra2{
    color: #b69245;
}

#Volador1{
    background: #a3d6ff;
}

#Volador2{
    color: #a3d6ff;
}

#Psiquico1{
    background: #ff2aed;
}

#Psiquico2{
    color: #ff2aed;
}

#Bicho1{
    background: #0e791c;
}

#Bicho2{
    color: #0e791c;
}

#Roca1{
    background: #8a6a20;
}

#Roca2{
    color: #8a6a20;
}

#Fantasma1{
    background: #521d80;
}

#Fantasma2{
    color: #521d80;
}
#Dragon1{
    background: #414db6;
}

#Dragon2{
    color: #414db6;
}