@font-face {
    font-family: 'Montserrat';
    src: 'assets/fonts/static/Montserrat-Medium.ttf';
    font-weight: 400;
    font-style: normal;
}

/* Estilo do body */
body {
    font-family: 'Montserrat', sans-serif !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #000;
}

/* Estilo da section */
section {
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    overflow: hidden;
}

/* Gradiente de fundo da section */
section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(#000, var(--principal) , #000);
    animation: animate 5s linear infinite;
}

/* Animação para o gradiente de fundo */
@keyframes animate {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Estilo padrão para todos os spans */
section span {
    position: relative;
    display: block;
    width: calc(6.25vw - 2px);
    height: calc(6.25vw - 2px);
    background: var(--background);
    z-index: 2;
    transition: 1.5s;
}

/* Remove efeito de hover para spans com a classe ui-button-text ui-c */
section span.ui-button-text.ui-c {
    transition: none !important;
    background: var(--background); /* Mantém a cor de fundo original */
}

/* Efeito de hover para spans que não possuem a classe ui-button-text ui-c */
section span:not(.ui-button-text.ui-c):hover {
    background: var(--principal); 
    transition: 0s;
}

/* Estilo da seção de login */
section .signin {
    position: absolute;
    width: 400px;
    background: var(--card);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.9);
}

/* Estilo do conteúdo de login */
section .signin .content {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
}

/* Estilo do título de login */
section .signin .content h2 {
    font-size: 2em;
    color: rgb(0,220,94); ;
    text-transform: uppercase;
}
    
/* Estilo do formulário */
section .signin .content .form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
}

/* Estilo dos inputs do formulário */
section .signin .content .form input {
    width: 100%;
    background: var(--cards-modulo);
    border: none;
    outline: none;
    padding: 25px 10px 7.5px;
    border-radius: 4px;
    color: var(--texto);
    font-weight: 500;
    font-size: 1em;
}

/* Estilo dos ícones nos inputs */
section .signin .content .form i {
    position: absolute;
    left: 0;
    padding: 15px 10px;
    font-style: normal;
    color: #aaa;
    transition: 0.2s;
    pointer-events: none;
}

/* Animação ao focar nos inputs */
.signin .content .form input:focus ~ i,
.signin .content .form input:valid ~ i {
    transform: translateY(-7.5px);
    font-size: 0.8em;
    color: var(--texto);
    box-shadow: none !important;
}

/* Estilo dos links do formulário */
.signin .content .form .links {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

/* Estilo padrão dos links */
.signin .content .form .links a {
    color: var(--texto);
    text-decoration: none;
}

/* Estilo do link específico */
.signin .content .form .links a:nth-child(2) {
    color: var(--principal);
    font-weight: 600;
}

/* Estilo do botão de submit */
.signin .content .form #submit {
    padding: 10px;
    background: rgb(0,220,94); ;
    color: #000;
    font-weight: 600;
    font-size: 1.35em;
    letter-spacing: 0.05em;
    cursor: pointer;
}

/* Estilo do botão .command */
.command {
    padding: 10px 20px;
    background-color: rgb(0,220,94);  /* Verde */
    color: var(--texto); /* Cor do texto */
    font-weight: 600;
    font-size: 1em;
    border: none;
    border-radius: 0; /* Remove arredondamento */
    cursor: pointer;
    text-align: center;
    width: auto;
}

h1 {
    position: relative;
    text-align: center;
    font-size: 50px;
    font-family: 'Montserrat', sans-serif !important;
    text-shadow:
        0 0 5px #0bf4f3,
        0 0 10px #0bf4f3,
        0 0 20px #0bf4f3,
        0 0 40px #0bf4f3,
        0 0 80px #0bf4f3;
}

.custom-btn {
    color: var(--texto);
    width: 130px;
    height: 40px;
    padding: 10px 25px;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-5:hover{
    background: transparent;
    color: #21ebff;
}

.custom-btn {
    color: var(--texto);
    width: 130px;
    height: 40px;
    padding: 10px 25px;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

/* 15 */
.btn-15 {
    color: var(--principal);
    border: 1px solid var(--principal);
    box-shadow: 0 0 5px var(--principal), 0 0 5px var(--principal) inset;
    z-index: 1;
}
.btn-15:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background: var(--principal);
    box-shadow: 0 0 20px  var(--principal);
    transition: all 0.3s ease;
}
.btn-15:hover {
    color: var(--texto);
}
.btn-15:hover:after {
    left: 0;
    width: 100%;
}
.btn-15:active {
    top: 2px;
}

/* Responsividade para telas menores */
@media (max-width: 900px) {
    section span {
        width: calc(10vw - 2px);
        height: calc(10vw - 2px);
    }
}

@media (max-width: 600px) {
    section span {
        width: calc(20vw - 2px);
        height: calc(20vw - 2px);
    }
}
