@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@100..900&display=swap');

/* Variables
-----------------------------------------*/
/* Colours */
:root{
    --azul-principal:           #154661;
    --azul-secundario:          #216e98;
    --azul-terciario:           #a8bdc9;
    --fondo-footer:             #000000;

    --text-negro:               #000000;
    --texto-oscuro:             #333333;
    --texto-blanco:             #FFFFFF;
    --texto-azul:               #5DA0AC;

    --cuadro-seleccion:         #ca8300;
}
/* END Variables */

*{
    box-sizing: border-box;
    font-family: "Catamaran";
    user-select: none;
}

body{
    margin: 0;
    padding: 0;
    width: 100%;
    line-height: 1.6;
    background-color: var(--azul-secundario);
    text-align: justify;
    overflow: scroll;
}

.topbar{
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background-color: var(--azul-principal);
    color: var(--texto-blanco);
    text-align: center;
    font-size: 20px;
    line-height: 20px;
    z-index: 1000;
}

.topbar-menu{
    display: flex;
    width: 100%;
}

.topbar-usuario{
    display: flex;
    width: 50%;
    margin-left: 20px;
}

.topbar-login{
    display: flex;
    justify-content: right;
    width: 50%;
    margin-right: 20px;
}

h1{
    color: var(--text-negro);
    text-align: center;
}

h2, h3{
    color: var(--texto-oscuro);
    text-align: center;
}

a{
    text-decoration: none;
    font-weight: bold;
    color: var(--texto-blanco);
    transition: color 0.3s ease;
}

a:hover{
    color: var(--cuadro-seleccion);
}

p {
    margin: 10px 0;
}

ul {
    margin: 10px 0;
    padding-left: 20px;
}

.contenedor{
    display: flex;
    border-radius: 10px;
    flex-direction: column;
    align-items: center;
    border: 1px solid;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 10px;
    width: 80%;
    background-color: var(--azul-terciario);
}

header{
    display: flex;
    flex-direction: column;
    width: 100%;
}

header img{
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    width: 100%;
}

nav{
    border-top: 1px solid;
    border-bottom: 1px solid;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background-color: var(--azul-principal);
    font-size: clamp(0.6875rem, 0.5833rem + 0.3472vw, 1rem);
}

.navopciones{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
}

nav ul{
    list-style: none;
    display: inline-flex;
    column-gap: 25px;
}

nav span{
    color: var(--texto-azul);
    padding: 7px 15px;
    margin: 0 5px;
    border-radius: 10px;
    background-image: linear-gradient(90deg, transparent 50%, #ca8300 50%);
    background-size: 201% 100%;
    background-position: 0 0;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-position 0.3s, color 0.3s ease;
}

nav span:hover{
    color: var(--texto-blanco);
    background-position: -99% 0;
    cursor: pointer;
}

.navselected{
    border-radius: 10px;
    padding: 7px 15px;
    color: var(--texto-blanco);
    background-color: var(--cuadro-seleccion);
    font-weight: bold;
    text-transform: uppercase;
}

.downloadtable{
    display: flex;
    flex-direction: column;
    font-size: clamp(0.6875rem, 0.5833rem + 0.3472vw, 1rem);
    width: 100%;
    word-break: break-all;
}

.downloadtablemargindown{
    margin-bottom: 50px;
}

.row{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.cell{
    display: flex;
    height: 40px;
    line-height: 40px;
}

.cell img{
    margin-left: 10px;
    margin-right: 10px;
    vertical-align: middle;
    object-fit: none;
    transition: filter 0.5s ease-out;
}

.cell img:hover{
    filter: brightness(1.35);
    cursor: pointer;
}

.cell_center{
    justify-content: center;
}

.cell_program{
    width: 17%;
}

.cell_version{
    width: 12%;
}

.cell_state{
    width: 12%;
}

.cell_download{
    width: 57%;
}

.cell_hash{
    width: 9%;
}

.cell_title{
    color: var(--texto-blanco);
    background-color: var(--azul-principal);
    font-weight: bold;
    justify-content: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

main{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 80%;
    padding-top: 30px;
    padding-bottom: 50px;
}

.download{
    width: 85%;
}

.hashcursor{
    transition: filter 0.5s ease-out;
}

.hashcursor:hover{
    filter: brightness(1.35);
    cursor: pointer;
}

footer{
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
    color: var(--texto-blanco);
    background-color: var(--fondo-footer);
    font-size: clamp(0.875rem, 0.7917rem + 0.2778vw, 1.125rem);
}

@media (max-width: 1210px){
    .contenedor{
        width: 95%;
    }

    .table{
        width: 100%;
    }

    .cell{
        height: 100px;
    }

    .cell_hash{
        align-items: flex-start;
    }
}