* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    background: #f5f5f5;
    color: #222;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* --------------------------------
   Aplicación
   -------------------------------- */

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* --------------------------------
   Cabecera
   -------------------------------- */

#cabecera {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

#cabecera-principal {
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 15px;
}

#marca {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 20px;
    font-weight: bold;
}

#marca img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

#btn-menu {
    border: 0;
    background: transparent;

    font-size: 28px;
    line-height: 1;

    padding: 5px 8px;
}


/* --------------------------------
   Menú principal
   -------------------------------- */

#menu-principal {
    border-top: 1px solid #eee;
    background: #fff;
}

#menu-principal button {
    display: block;

    width: 100%;

    padding: 14px 18px;

    border: 0;
    border-bottom: 1px solid #eee;

    background: transparent;

    text-align: left;
}

#menu-principal button:hover {
    background: #f5f5f5;
}


/* --------------------------------
   Pestañas de la peña
   -------------------------------- */

#pestanas-pena {
    display: flex;

    border-top: 1px solid #eee;
    background: #fff;
}

#pestanas-pena button {
    flex: 1;

    padding: 11px 10px;

    border: 0;
    background: transparent;

    border-bottom: 3px solid transparent;
}

#pestanas-pena button.activa {
    border-bottom-color: #222;
    font-weight: bold;
}


/* --------------------------------
   Contenido
   -------------------------------- */

#contenido {
    flex: 1;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
    padding: 20px;
}


/* --------------------------------
   Formularios
   -------------------------------- */

input,
textarea,
select {
    width: 100%;

    padding: 10px;

    border: 1px solid #ccc;
    border-radius: 5px;

    background: #fff;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button[type="submit"],
.boton-principal {
    padding: 10px 18px;

    border: 0;
    border-radius: 5px;

    background: #333;
    color: #fff;
}


/* --------------------------------
   Errores
   -------------------------------- */

.error {
    color: #b00020;
}


/* --------------------------------
   Eventos
   -------------------------------- */

.evento {
    margin-bottom: 12px;
    padding: 15px;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 8px;

    cursor: pointer;
}

.evento:hover {
    background: #fafafa;
}

.evento h2 {
    margin-top: 0;
}


/* --------------------------------
   Lista de inscritos
   -------------------------------- */

.lista-inscritos {
    margin: 0;
    padding: 0;

    list-style: none;
}

.lista-inscritos li {
    padding: 8px 0;

    border-bottom: 1px solid #eee;
}


/* --------------------------------
   Móvil
   -------------------------------- */

@media (max-width: 600px) {

    #contenido {
        padding: 15px;
    }

}