@import url('https://fonts.googleapis.com/css2?family=Piedra&family=Creepster&family=Patrick+Hand&display=swap');

@font-face {
    font-family: charming;
    src: url(charming.ttf);
}
@font-face {
    font-family: henny-penny;
    src: url(henny_penny.ttf);
}

@font-face {
    font-family: christmas;
    src: url(MountainsofChristmas-Regular.ttf);
}

@font-face {
    font-family: eater;
    src: url(Eater-Regular.ttf);
}

header {
    padding: 0 0.5em;
}

.fondo {
    position: absolute;
    bottom: 0;
    width: 100vw;
    z-index: -10;
}

.fondo svg{
    width: 100%;
}

.charming{
    font-family: charming;
    font-size: 4.3em !important;
    line-height: 1em;
}

.henny-penny{
    font-family: henny-penny;
    line-height: 1em;
}

.eater{
    font-family: eater;
    line-height: 1em;
}

.christmas{
    font-family: christmas;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

body {
    background: black;
    color: yellow;
}

main {
    display: flex;
    width: 100%;
    font-family: "Patrick Hand";
    padding: 0 0.5em;
}

h1 {
    font-family: Creepster;
    font-weight: lighter;
    color: yellow;
    font-size: 7em;
    margin-bottom: 0.3em;
}

a{
    text-decoration: underline;
}

.mensaje-cabecera {
    font-size: 1.8em;
    margin: 1em 0.3em;
    text-align: center;
}

.izquierda{
    flex: 3;
    padding-right: .4em;
    font-size: 2.9em;
    user-select: none;
}

.derecha {
    flex: 2;
    border-left: solid 0.3em white;
    padding-left: 0.5em;
    max-width: 40%;
}

.titulo-invitados{
    font-size: 3em;
}

ul.invitados li {
    font-size: 3.5em;
    display: flex;
    flex-direction: column;
    background: gray;
    margin-bottom: 0.3em;
    border-radius: 6px;
    margin-right: 4px;
    padding-left: 0.2em;
    backdrop-filter: blur(15px);
}

ul.invitados {
    list-style: none;
    padding: 0;
}

span.nombre-listado {
    display: inline-block;
    /* width: 70%; */
    max-width: 100%;
    text-overflow: ellipsis;
    text-wrap: nowrap;
    overflow: hidden;
    flex: 3;
    border-bottom: solid 1px;
}

.form-inscripcion input[type=text], .form-inscripcion select {
    font-family: 'charming';
    font-size: 1em;
    width: 95%;
}

.piedra{
    font-family: Piedra;
    color: darkgray;
}

.calabaza{
    filter: drop-shadow(0px 0px 4px orange);
}

.calabera{
    filter: drop-shadow(0px 0px 4px whitesmoke);
}

span.icono-listado {
    flex: 1;
    text-align: center;
}

.form-inscripcion button#enviar {
    display: block;
    /* text-shadow: 0 0 2px #adadad; */
    margin: 1em auto;
    margin-bottom: 0;
    /* font-size: 0.8em; */
    /* border-top-right-radius: 2em; */
    /* border-top-left-radius: 2em; */
    /* height: 7em; */
    padding: .5em;
    text-shadow: 0 0 1px black;
    font-family: 'Piedra';
    background: #eae6ed;
    /* border: double 0.3em #292929; */
    /* border-bottom: dotted darkgreen 0.1em; */
    /* background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjX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g3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==); */
    font-size: 1em;
    color: #7b7b7b;
    /* -webkit-background-clip: text; */
    -moz-background-clip: text;
    background-clip: text;
}

.form-inscripcion button#enviar{
    border-radius: 26px !important;
    border-color: white;
    border: dashed 2px #adadad;
    backdrop-filter: blur(41px);
}

.oculto{
    display: none;
}

.capa_superior {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, #000000db, transparent);
    backdrop-filter: blur(60px);
    padding: 5em;
    box-sizing: border-box;
    z-index: 110;
}

.titulo-capa {
    font-family: Creepster;
    font-weight: lighter;
    color: yellow;
    font-size: 7em;
    margin-bottom: 0.3em;
    text-align: center;
}

.texto-bases {
    font-size: 3em;
    font-family: 'Patrick Hand';
}

.boton-capa {
    margin: 0 auto;
    text-align: center;
}

.boton-capa button {
    font-family: 'Piedra';
    font-size: 6em;
    border-radius: .2em;
    padding: .2em 2em;
    background: linear-gradient(0deg, #8f8f00, #838300 15%, yellow);
    box-shadow: 0 0 60px -10px yellow;
}

.lista-invitados .lista {
    max-height: 53vh;
    overflow: auto;
    backdrop-filter: blur(6px);
    /* background: linear-gradient(180deg, black, transparent, transparent, black); */
}

.gradient-black-bottom {
    position: absolute;
    bottom: -100px;
    width: 100%;
    height: 60px;
    background: linear-gradient(0deg, black, transparent);
    z-index: 99;
}

.gradient-black-top {
    position: absolute;
    top: 69px;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, black, transparent);
    z-index: 99;
}

.lista-invitados {
    position: relative;
}

#capa_confirmacion .texto-bases {
    text-align: center;
    margin: 3em 0;
    font-size: 4em;
}

.form-main .form-button {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.form-buttom img {
    position: relative;
    bottom: 0;
    width: 31px;
    display: block;
}

.form-button img {
    position: absolute;
    margin: 0 auto;
    display: block;
    width: 92px;
    bottom: -190px;
    animation: mano cubic-bezier(0, 0, 0.27, 1.07);
    animation-duration: 14s;
    animation-iteration-count: infinite;
}

div#sombra_fondo {
    height: 100%;
    position: absolute;
    width: 100%;
    background: linear-gradient(190deg, black 8%, transparent 37%, transparent 100%);
}

#Capa_7_xA0_Imagen_1_,#Capa_6_xA0_Imagen_1_,#Capa_5_xA0_Imagen_1_,#Capa_4_xA0_Imagen_1_,#Capa_3_xA0_Imagen_1_{
    filter: brightness(6.5) hue-rotate(189deg);
}

#Capa_8_xA0_Imagen_1_{
    filter: brightness(2.5) hue-rotate(189deg) drop-shadow(0px 63px 30px goldenrod);
}

.form-checkbox a {
    display: block;
    font-size: 0.8em;
    line-height: 1.9em;
}

#fantasma {
    height: 18vh;
    top: 31vh;
    left: 11vw;
    opacity: 0;
    filter: drop-shadow(0px 0px 14px white);
    position: relative;
}

#fantasma.visible{
    animation: aparicion-fantasma 1.5s 1 ease,
    fantasma 8s infinite -1s linear,
    desaparicion-fantasma 1s 1 5s linear,
    fantasma-oculto .1s infinite 6s linear;
}

#letrero-fantasma {
    position: absolute;
    background: #ebebeb;
    border: solid 2px black;
    width: 11em;
    height: 5em;
    bottom: 397px;
    right: 20px;
    z-index: 10;
    border-radius: 40px;
    box-shadow: 0 0 55px -13px white;
    opacity: 0;
    color: #2b2b2b;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2vh;
    padding: .5em;
    box-sizing: border-box;
    text-align: center;
    font-family: 'Creepster';
}

#letrero-fantasma.visible{
    animation: animacion-letrero 5s infinite 1.5s ease, letrero-oculto .1s infinite 5s linear;
}

@media only screen and (min-width: 1024px) {
    body{
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    main{
        max-width: 600px;
        font-size: 0.6em;
    }

    header{
        padding-top: 0em !important;
        line-height: 1.4em;
    }

    header h1{
        margin-top: 0.4em;
        font-size: 5em;
    }

    .lista-invitados{
        max-height: 461px;
    }

    .lista-invitados .lista{
        height: 60vh;
    }

    .gradient-black-top{
        top: 36px;
    }

    .fondo{
        max-width: 600px;
        bottom: -153px;
        z-index: -2;
    }

    .capa_superior{
        padding: 5em;
        font-size: 0.7em;
        z-index: 110;
    }

    a:hover, button:hover{
        cursor:pointer;
    }
    .texto-bases{
        max-width: 860px;
        margin: 3em auto !important;
    }
}

.form-lista-actividades .form-checkbox input {
    width: 1.5em;
    aspect-ratio: 1;
}

.form-checkbox * {
    cursor: pointer;
}

.form-checkbox span {
}

.form-checkbox {
    display: flex;
    justify-content: flex-start;
    margin-top: 1em;
    font-size: .9em;
    gap: 0.5em;
}

.subtitulo {
    margin-top: 1em;
}

.form-equipo .subtitulo {
    color: transparent;
    background: linear-gradient(180deg, #ffff00, #232300);
    background-clip: text;
    line-height: 1.7em;
    text-align: center;
}

.selector-bando {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

.selector-bando button {
    width: 50%;
    border: none;
    padding: 2rem 0;
    font-size: 0.9em;
}
.selector-bando button:not(.bando-seleccionado){
    filter: opacity(0.7);
}

button#bando_maldito {
    background: darkred;
    color: goldenrod;
    text-shadow: 0px 0 11px black;
    border: dotted 2px black;
    border-top-right-radius: 31px;
    border-top-left-radius: 80px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 72px;
    box-shadow: inset 3px 3px 40px black;
}

button#bando_no_maldito {
    background: cornflowerblue;
    color: white;
    border-radius: 15px;
    box-shadow: 0px 0px 27px -7px white;
}

button#enviar.maldito {
    color: darkred;
}
button#enviar.no_maldito {
    color: cornflowerblue;
}

.lista-iconos {
    font-size: 2.5rem;
}

ul.invitados li.maldito {
    background: #8b000088;
    font-family: 'eater';
    font-size: 1.8em;
    color: goldenrod;
}

ul.invitados li.no_maldito {
    background: #4386ff88;
    font-family: 'christmas';
    font-size: 2.6em;
    color: white;
}