@font-face {
    font-family: 'SuperMario256';
    src: url('SuperMario256.ttf') format('truetype');
}

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

.container{
    position: relative;
}

.container button{
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 100;
    text-transform: uppercase;
    padding: 10px 7px;
    background-color: rgb(245, 222, 19);
    border-top: 1px solid white;
    border-left: 1px solid white;
    box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.507);
    color: rgb(238, 8, 207);
    font-weight: 600;

}

.container button:hover{
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    border-top: 1px solid black;
    border-left: 1px solid black;
}

.title{
    width: 100%;
    height: 100vh;
    position: absolute;
    right: 0px;
    top: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title img{
    width: 50%;
    margin-top: 30px;
    margin-bottom: 20px;
}

.invitacion{
    display: none!important;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: url(cubosmario.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 20000;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    text-align: center;
    transition: all 5000s ease-in-out;
    padding: 20px 30px;
}

.invitacion h1{
    font-family: 'SuperMario256', sans-serif;
    margin: 20px 0;
}

.invitacion p{
    font-family: 'SuperMario256', sans-serif;
    font-size: 18px;
    line-height: 25px;
    color: #864bf4;
}

.contenedor-confirmar{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #99ccff;
    padding: 50px 10px ;
    text-align: center;
    border-radius: 30px;
    width: 95%;
    background: rgba(7, 142, 253, 0.3);
 -webkit-backdrop-filter: blur(5px);
 backdrop-filter: blur(5px);
 border: 1.5px solid rgba(209, 213, 219, 0.3);
}

.formulario{
    background: url(hongosmario.jpg);
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.formulario h1{
    color: #ffff00;
    font-family: 'SuperMario256', sans-serif;
    font-size: 27px;
    line-height: 25px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.formulario h2{
    color: #ffff00;
    font-family: 'SuperMario256', sans-serif;
    font-size: 23px;
    line-height: 25px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.btn-aceptar,
.btn-denegar{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-confirmar{
    
    padding: 15px 20px;
    margin: 5px;
    font-family: 'SuperMario256', sans-serif;
    color: #ffffff;
    transition: all .2s;    
}

.btn-verde{
    background: #52f226;
    border-top: 1px solid #aefe97;
    border-left: 1px solid #aefe97;
    border-bottom: 1px solid #0c3800;
    border-right: 1px solid #0c3800;
    box-shadow: 4px 4px 10px #a09f9f;
}

.btn-rojo{
    background: #f21616;
    border-top: 1px solid #f44747;
    border-left: 1px solid #f44747;
    border-bottom: 1px solid #b10101;
    border-right: 1px solid #b10101;
    box-shadow: 4px 4px 10px #a09f9f;
}

.btn-verde:hover{
    transform: scale(1.05);
    border-bottom: 1px solid #aefe97;
    border-right: 1px solid #aefe97;
    border-top: 1px solid #0c3800;
    border-left: 1px solid #0c3800;
    box-shadow: 1px 1px 2px #a09f9f;
}

.btn-rojo:hover{
    transform: scale(1.05);
    border-bottom: 1px solid #f44747;
    border-right: 1px solid #f44747;
    border-top: 1px solid #b10101;
    border-left: 1px solid #b10101;
    box-shadow: 1px 1px 2px #a09f9f;
}

.contadores{
    display: flex;
    flex-direction: row;
}

.reloj{
    margin-top: 20px;
}

.titulo-marcador{
    margin-bottom: 10px;
}

.titulo-marcador,
.contenedor-contador{
    font-family: 'SuperMario256', sans-serif;
}

.contenedor-contador h2{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: url(ladrillo.png);
    background-size: 60px 60px;
    background-position: center center;
    color: white;
    font-size: 32px;
    margin: 0 10px;
}

.contenedor-contador h4{
    font-size: 14px;
    color: red;
    margin-top: 7px;
}

.invitacion.active {
    display: flex!important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
}

.invitacion.oculto {
    display: none!important;
    width: 0;
    height: 0;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.formulario.active {
    display: flex!important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
}

.formulario.oculto {
    display: none!important;
    width: 0;
    height: 0;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes rainbow {
    0% { color: red; }
    14% { color: orange; }
    28% { color: yellow; }
    42% { color: green; }
    57% { color: blue; }
    71% { color: indigo; }
    85% { color: violet; }
    100% { color: red; }
}

.rainbow-text {
    animation: rainbow 3s infinite;
    font-family: 'SuperMario256', sans-serif;
}

@keyframes pastelRainbow {
    0% { color: #ff9999; } /* Light Red */
    14% { color: #ffcc99; } /* Light Orange */
    28% { color: #ffff99; } /* Light Yellow */
    42% { color: #ccffcc; } /* Light Green */
    57% { color: #99ccff; } /* Light Blue */
    71% { color: #ccccff; } /* Light Indigo */
    85% { color: #ffccff; } /* Light Violet */
    100% { color: #ff9999; } /* Light Red */
}

.pastel-rainbow-text {
    animation: pastelRainbow 3s infinite;
    font-family: 'SuperMario256', sans-serif;
}

.botones{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    z-index: 10000;
}

.btn-accion{
    
    height: 150px;
    width: 30px;
    background: rgba(247, 206, 0, 0.971);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 9px;
    border-bottom-left-radius: 9px;
    margin-bottom: 2px;
    cursor: pointer;
    font-family: 'SuperMario256', sans-serif;
    font-size: 14px;
    text-align: center;

}

.btn-accion p{
    transform: rotate(-90deg);
}

.btn-close{
    font-family: 'SuperMario256', sans-serif;
    width: 100%;
    position: fixed;
    top: 10px;
    right: 10px;
    background: orange;
    display: none;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    padding-top: 5px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 50000;
    color: #864bf4;
}

.importante{
    font-size: 30px;
}

.titulo_ubicar{
    font-family: 'SuperMario256', sans-serif;
    margin-top: 10px;
    font-size: 17px;
}

.ubicar{
    display: flex;
    flex-direction: row;
    padding: 10px 0;
}

.ubicar img{
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 16px;
    box-shadow: 5px 5px 5px rgb(55, 55, 55);
    margin: 5px;
}

.verde{
    color: green;
}

.azul{
    color: blue;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(255, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    
  }
  
  .loader-content {
    text-align: center;
    color: white;
  }

  .loader-content h2{
    font-family: 'SuperMario256', sans-serif;
    color: #ffffff;
    text-align: center;
  }
  
  .hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-out;
  }