@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

    :root {
        --background-color: #181C14;
        --text-color: #ECDFCC;
        --header-bg: #3C3D37;
        --header-bg-dark: #2d2e2a;
        --article-background: #697565;
        --article-background-dark: #818f7c;
        --phone-size: 800px
    }

    /*
    :root {
        --background-color: #240750;
        --text-color: #DDDDDD;
        --header-bg: #577B8D;
        --article-background: #344C64;
    }
        */

    body{
        font-family:'Space Mono';
        background-color: var(--background-color);
    }

    header {
        margin: min(15px, 5%);
        /*display: flex;
        align-items: center;
        justify-content: space-between;*/
        background-color: var(--header-bg);
        border-radius: 10px;
        color: var(--text-color);
        padding: 15px;
        padding-left: 3%;
        padding-right: 3%;
    }

    article{
        color: var(--text-color);
        background-color: var(--article-background);
        border-radius: 10px;

        margin: min(15px, 5%);
        padding: 15px;

        padding-right: 15px;
        max-width: 1000px;
    }

    

    .warning-art{
        background-color:#947422
    }

    .in-article{
        background-color: var(--article-background-dark);
        border-radius: 10px;
        padding-top: 10px;
        padding-bottom: 10px;

    }


    .topnav{
        display: flex;
        align-items: center;
        justify-content: space-between;
        right: 5%;
    }

    .logo {
        width: 200px;
    }

    .header-title{
        margin: 0;
    }

    nav ul{
        list-style-type: none;
        background-color: var(--header-bg-dark);
        border-radius: 10px;

        padding: 10px;
    }

    nav ul li{
        padding-left: 5%;
        padding-right: 5%;
    }

    nav ul li a{
        text-decoration: none;
        color: var(--text-color);
    }

    .url{
        text-decoration:underline;
        color: var(--text-color);
    }


    .little{
        font-size:smaller;
    }

    .xlittle{
        font-size:x-small;
    }

    

    @media (max-width: 799px) { /*cuando la pantalla se queda peque;a*/
        .logo {
            display: none;
        }
        .header-title{
            justify-content: center
        }
        body{
            font-size: small;
        }
    }

    
    @media (min-width: 800px) {/*cuando la pantalla se queda grande*/
        nav ul{
            display: flex;
            align-items: center;
            justify-content: center;
        }

        article{
            margin: 30px;

            padding-left: 30px;
            padding-right: 30px;
        }

        header{
            margin: 30px;
        }
    
    }

    @media (min-width: 1150px) {
      article {
        margin: auto;
        margin-top: 30px;
        margin-bottom: 30px;
      }
    }

    input[type="password"],
    input[type="text"] {
        font-family: 'Space Mono', monospace;
        padding: 6px;
        padding-left: 10px;
        padding-right: 10px;
        width: 250px;
        color: var(--text-color);
        background-color: var(--article-background-dark);
        border: 4px solid var(--header-bg);
        border-radius: 10px;
        outline: none;
        transition: border-color 0.3s;
        margin-bottom: 10px;
        margin-top: 10px;
    }
    input[type="password"]::placeholder,
    input[type="text"]::placeholder{
        color: var(--text-color);
    }

    /* Cambio de borde al enfocar */
    input[type="password"]:focus,
    input[type="text"]:focus {
        border-color: var(--header-bg-dark);
    }

    /* Estilo del botón */
    button {
        font-family: 'Space Mono', monospace;
        padding: 10px 20px;
        color: var(--text-color);
        background-color: var(--header-bg);
        border: none;
        border-radius: 10px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    /* Cambio de color al pasar el ratón */
    button:hover {
        background-color: var(--header-bg-dark);
    }

