@import url('variables.css');

/* GENERALES */
body {
    display: flex;
    height: 100vh;
    background-color: var(--main-background);
    color: var(--light-gray);
}

main{
    height: 100%;
    width: 100%;
    background-color: var(--main-background);
}

/* NAVBAR */
.navbar{
    background-color: var(--dark-gray-3);
    color: var(--dark-gray);
    border-bottom: 1px solid var(--dark-gray-3);
}

.navbar-name{
    font-size: 26px;
}

.prefijo-navbar{
    font-size: 18px;
    margin-bottom: -5px;
}


/* COLUMNAS Y ROWS */
.cont-main{
    margin-top: 40px;
}

.cont-sub-main{
    display: flex;
    flex-direction: row;
}

.cont-btns-menu{
    width: 49%;
    padding: 0 50px;
}

.cont-leaderboard{
    width: 49%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.leaderboard{
    height: 600px;
    width: 450px;
    display: block;
    background: var(--main-background);
    border: 1px solid #444;
    padding: 10px;
    border-radius: 8px;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background 0.3s;
    margin-left: 50px;
}

.separator{
    height: 100%;
    width: 1px;
    border-right: 1px solid #3551f1;
    margin: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    padding: 10px;
}

.cont-top-directions{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: left;
}

.windows-name{
    font-size: 1.5em;
    font-weight: 500;
    color: var(--dark-gray);
    margin: 0;
    padding: 0;
}

.direction-name{
    font-size: 1.0em;
    font-weight: 500;
    color: var(--dark-gray);
    margin: 0;
    padding: 0;
}

.direction-icon{
    font-size: 0.7em;
    font-weight: 500;
    color: var(--dark-gray);
}


/* Vertical Navbar */

.vertical-navbar {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: var(--navbar-background);
    width: 500px;
    border-right: 1px solid #3551f1;
    justify-content: space-between;
}

.img-perfil {
    height: 250px;
    width: 250px;
    border-radius: 100%;
}

.logo-devle{
    width: 65px;
    margin-right: 15px;
}

.cont-logo{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px 0 50px 0;
}

.txt-logo-devle{
    font-size: 55px;
    font-weight: bold;
    font-family: monospace;
}

/* programing style */

.line {
    display: block;
    font-family: monospace;
    line-height: 1.6;
}

.keyword {
    color: var(--keyword); /* azul claro */
}

.class-name {
    color: var(--class-name);
}

.function-name {
    color: var(--function-name); /* azul más intenso */
}

.parameter {
    color: var(--parameter) /* gris azulado */
}

.return {
    color: var(--return);
}

.comment {
    color: var(--comment);
    font-style: italic;
}

.grouping_symbols{
    color: var(--grouping_symbols);
}

.string {
    color: var(--string);
}

.tab{
    padding-left: 25px;
}

    .tech-form {
        width: 100%;
        max-width: 420px;
        margin: 30px auto;
        padding: 25px;
        background: #0b0b0b;
        border: 2px solid #007bff;
        border-radius: 10px;
        text-align: center;
        color: #e6e6e6;
        box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
    }

    .tech-form h2 {
        margin-bottom: 20px;
        font-size: 22px;
        color: #00a2ff;
        text-shadow: 0 0 8px rgba(0, 162, 255, 0.5);
    }

    .inp-tech {
        width: 90%;
        padding: 12px;
        margin-bottom: 15px;
        border-radius: 6px;
        border: 2px solid #007bff;
        background: #000000;
        color: #e6e6e6;
        font-size: 16px;
        outline: none;
        transition: 0.25s ease;
    }

    .inp-tech:focus {
        border-color: #33aaff;
        box-shadow: 0 0 12px rgba(51, 170, 255, 0.8);
    }

    .tech-form input[type="submit"] {
        padding: 10px 25px;
        border: 2px solid #007bff;
        background: transparent;
        color: #00a2ff;
        font-size: 16px;
        border-radius: 6px;
        cursor: pointer;
        transition: 0.25s ease;
    }

    .tech-form input[type="submit"]:hover {
        background: #007bff;
        color: #ffffff;
        box-shadow: 0 0 12px rgba(0, 123, 255, 0.8);
    }