#header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 15px;
    background-color: rgb(24, 61, 184,0.8);
    font-size: 20px;
    color: #FFFFFF;
    height: 30px;
    
    
}
#page {
    margin: 0px auto;
    width: 100%;
    align-items: center;
}

#header_logo_puebla{
    width: 20%;
    height: 100%;
    size: 20px 30px;
    position: relative;
}
  
  #header_logo_puebla img {
    max-height:20%;
     min-height:10%;
     width:20%;/*valor inicial*/
     background-repeat: no-repeat;
     
  }


body {
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("logo2.png");
    background-repeat: no-repeat;
    background-position: center;
}

nav ul {
    display: table;
    text-align: center;
    list-style-type: none;
    margin: 0 auto;
    padding: 50% 50% 50% 50%;
}

nav ul li {
    --c: rgb(24, 61, 184);
    color: var(--c);
    font-size: 16px;
    border: 0.3em solid var(--c);
    border-radius: 0.5em;
    width: 12em;
    height: 3em;
    text-transform: uppercase;
    font-weight: bold;
    font-family: sans-serif;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 3em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.5s;
    margin: 1em;
}

.diferente{
    --c: rgb(7, 7, 8);;
    color: var(--c);
    font-size: 16px;
    border: 0.3em solid var(--c);
    border-radius: 0.5em;
    width: 12em;
    height: 3em;
    text-transform: uppercase;
    font-weight: bold;
    font-family: sans-serif;
    color: rgb(24, 61, 184);;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 3em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.5s;
    margin: 1em;
}

.otro{
    position: absolute;
    width: 25%;
    height: 100%;
    background-color: rgb(76, 81, 92);
    transform: translateY(150%);
    border-radius: 50%;
    left: calc((var(--n) - 1) * 25%);
    transition: 0.5s;
    transition-delay: calc((var(--n) - 1) * 0.1s);
    z-index: -1;
}

nav ul li span {
    position: absolute;
    width: 25%;
    height: 100%;
    background-color: var(--c);
    transform: translateY(150%);
    border-radius: 50%;
    left: calc((var(--n) - 1) * 25%);
    transition: 0.5s;
    transition-delay: calc((var(--n) - 1) * 0.1s);
    z-index: -1;
}

nav ul li:hover {
    color: whitesmoke;
}

nav ul li:hover span {
    transform: translateY(0) scale(2);
}

nav ul li span:nth-child(1) {
    --n: 1;
}

nav ul li span:nth-child(2) {
    --n: 2;
}

nav ul li span:nth-child(3) {
    --n: 3;
}

nav ul li span:nth-child(4) {
    --n: 4;
}

nav ul li span:nth-child(5) {
    --n: 5;
}
