/* Copyright (C) 2025-now  p.fernandezf <p@fernandezf.es> & iago.rivas <delthia@delthia.com> */

/* COLORES */
:root {
    --amarillo-hackudc: #ffd230;
    --sombra-hackudc: #7c3f00;
    --acento-hackudc: #fef3c6;
    /* grises */
    --fondo: #101010;
    --borde: #1a1a1a;
    --claro: #242424;
    --texto: #999;

    /* Tamaño máximo */
    --max-width: 1200px;

    /* Colores */
    --amarillo: var(--amarillo-hackudc);
    --azul: #007bff;
    --verde: #28a745;
    --naranja: #ff8800;
    --rojo: #dc3545;
}

html {
    font-family: Nunito, sans-serif, system-ui;
    font-size: auto;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 100%;
    line-height: 1.6;

    background-color: #0f0f0f;
    color: #f0f0f0;
    background-image: url("../svg/tile_torre.svg");
    background-repeat: repeat;
    background-size: 200px;
    background-position: 0 0;
}

body {
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--amarillo-hackudc);
}

div#content,
nav {
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;

    margin-bottom: 1rem;
}

nav {
    margin-top: 2em;
}

.boton {
    text-decoration: none;
    border: 1px solid var(--amarillo);
    border-radius: 9999px;
    padding: .5rem 1rem;
}

.boton-azul { color: var(--azul); border-color: var(--azul); }
.boton-rojo { color: var(--rojo); border-color: var(--rojo); }
.boton-verde { color: var(--verde); border-color: var(--verde); }
.boton-rojo-fill { border: none; background-color: var(--rojo); }
.boton-verde-fill { border: none; background-color: var(--verde); }
button.boton {
    font-size: 1em;
    font-weight: 600;
    line-height: 1.6;
}

.transparente { background-color: transparent;}


/* GENERAL */
.lucide {
    vertical-align: middle;
    width: 1.25em;
    height: 1.25em;
    margin-bottom: 0.25em;
}

span.bold {
    font-weight: bold;
}

p.warning {
    padding: 0.5rem 1rem;

    border: 2px solid #ff88007f;
    border-radius: 0.5rem;

    background-color: #ff88003a;
    color: #eee;

    font-weight: bold;
    text-align: center;
}

/* Mensajes */
div.messages {
    width: min(calc(100% - 2rem), 600px);
    margin: 1rem auto;
}

div.messages div.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
}

div.message.message-info {
    background-color: #007bff3a;
    border: 2px solid #007bff7f;
    color: #f0f0f0;
}

div.message.message-success {
    background-color: #28a7453a;
    border: 2px solid #28a7457f;
    color: #f0f0f0;
}

div.message.message-warning {
    background-color: #ff88003a;
    border: 2px solid #ff88007f;
    color: #f0f0f0;
}

div.message.message-error {
    background-color: #dc35453a;
    border: 2px solid #dc35457f;
    color: #f0f0f0;
}

/* Otros */
#logo {
    width: 50%;

    display: block;
    margin: 0 auto;
}


#titulo {
    text-align: center;
    font-size: 3em;
}

#subtitulo {
    text-align: center;
    font-size: 3em;
}

#subtitulo span {
    color: var(--amarillo-hackudc);
    text-shadow: 3px 3px 0px var(--sombra-hackudc);
}

@media(max-width: 900px) {
    #logo {
        width: 75%;
    }

    #subtitulo {
        font-size: 2.5em;
    }
}

.flex { display: flex; }
.ml-1 { margin-left: 1em; }
.ml-auto { margin-left: auto; }
.mr-0 { margin-right: 0; }
.mt-0 { margin-top: 0; }


#verificacion-incorrecta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

    border: 2px solid var(--borde);
    border-radius: 0.5em;

    margin: 0 auto;
    padding: 1em 4em;

    width: fit-content;

    background-color: var(--fondo);
}
