@font-face {
    font-family: 'Lexend Variable';
    src: url('../../fonts/Lexend-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    /* Define el rango de pesos */
    font-display: swap;
    /* Mejor rendimiento en carga */
}

* {
    margin: 0;
    padding: 0;
    font-family: "Lexend Variable", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    cursor: context-menu;
    box-sizing: border-box;
    color: var(--text-color);
    scroll-behavior: smooth
}

body {
    background-image: url(../../img/background/background.jpg);
    background-color: var(--background);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(15px);
    position: relative;
    height: 100vh;
    width: 100vw;

    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}


nav {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    width: 100%;
}

nav .title_logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

nav .title_logo img {
    width: clamp(30px, 4vw, 50px);
    height: auto;
}

nav .title_logo h1{
    font-size: 1.5rem;
    font-weight: 600;
}

nav .access_platform {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    height: 100%;
}

nav .access_platform a.login {
    border-radius: 5px;
    padding: 10px;
    transition: transform 0.2s cubic-bezier(.33, 1, .68, 1);
    cursor: pointer;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-size: clamp(.85rem, 3vw, 1.1rem);
}

nav .access_platform a.login:active {
    transform: scale(.95)
}


.card {
    padding: 15px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0px 0px 15px 0px var(--card-shadow);
}

.black_curtain {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / .397);
    z-index: 1;
}

main {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    /*width: fit-content; */
    padding: 10px;
}

section.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
   
    height: 50%;
    text-align: center;
    padding: 10px;
}

section.title h1 {
    font-size: clamp(2.5rem, 4vw, 3.2rem);
}

section.title h2 {
    font-size: clamp(.9rem, 2vw, 1.2rem);
    font-weight: 400;
}

.form_monitor {
    width: 100%;
}

.form_monitor form {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.row-input-group {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.card_title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card_title h2 {
    font-size: 1.2rem
}

.card_title h3 {
    font-weight: 400;
    font-size: .85rem
}

.card_description{
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.card_description p{
    font-size: .9rem;
}

button.primary {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    margin-top: auto;
    height: 40px;
    font-size: 1rem;
}


::-webkit-scrollbar {
    width: 12px
}

::-webkit-scrollbar-track {
    background: var(--scrolBar-background)
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrolBar-bar);
    border-radius: 10px;
    border: 2px solid var(--scrolBar-background)
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrolBar-hover)
}

html,
main {
    scrollbar-width: thin;
    scrollbar-color: var(--scrolBar-bar) var(--scrolBar-background)
}


footer {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    background-color: var(--background);
    align-items: center;
    gap: 5px;
    padding: 10px;
    z-index: 2;
    width: 100%;
}

footer .links{
    display: flex;
    flex-direction: row;
    gap: 10px;
}
footer .links a{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
    font-size: .8rem;
}

footer .details{
    display: flex;
}

footer .details p{
    font-size: .8rem;
}