html 
{
    height: 100%;
}

body 
{
    margin:0;
    padding:0;
    font-family: 'Roboto Medium',Helvetica, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

:root
{
    --principal: #E74C3C;
    --secundario: #F2A274;
    --rojo:#EE4138;
    --verde:#27B374;
    --gris: #2C3E50;
    --delay: 0s;
}

/* CONTAINER */

.container-sistema
{
    background-color: var(--principal);
    border-radius: 20px;
    color: white;
    padding: 5px 10px;
    width: auto;
}

#container-nombre-sistemas
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 30px;
    height: 16vh;
    overflow: auto;
}


.container-info-adm
{
    display: flex;
    justify-content: space-between;
    gap: 10%;
    height: 300px;
}

.container-permisos-de-usuario
{
    box-shadow: 0 0px 10px rgb(0 0 0 / 45%);
    width: 90%;
    border-radius: 5px;
    padding: 30px;
    display: flex;
    gap: 5%;
    -webkit-animation: top 1s var(--delay) both;
    animation: top 1s var(--delay) both;
}

.container-btn-prevision
{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    -webkit-animation: top 1s var(--delay) both;
    animation: top 1s var(--delay) both;
}

.container-datos-usuario
{
    margin-bottom: 30px;
    text-align: left;
}

.container-mensaje
{
    position: absolute;
    width: 80%;
    text-align: center;
    -webkit-animation: top 1s var(--delay) both;
    animation: top 1s var(--delay) both;
}

.container-wave
{
    position:absolute;
    width: 100%;
    bottom: 0;
}

.container-img-tabla
{
    padding-right: 15px;
    
}

.container-sub-info-adm
{
    width: 100%;
}

.container-img-adm
{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.container-info-adm
{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.container-tabla
{
    width: 100%;
}

.container-form-adm
{
    width: 100%;
}

.container-card-abm, .container-card-permisos
{
    display: flex;
    justify-content: center;
    margin-top: 8%;
}

.container-card-permisos
{
    display: none;
}

.container-barra-busqueda
{
    /* opacity: 0; */
    display: flex;
    justify-content: center;
    margin-top: 50px;
    -webkit-animation: top 1s var(--delay) both;
    animation: top 1s var(--delay) both;
}

.container-btn
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    height: 55vh;
    overflow: auto;
    margin: 0 10%;
    margin-top: 5%;
    padding: 15px;
}

.container-login, .container-registro
{
    margin: 0;
    width: 100%;
    height: 100vh;
    background-size: 200% 200%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 32px;
    overflow: none;
}

.container-titulo-login, .container-titulo-registro
{
    display: flex;
    justify-content: center;
}

.container-textbox-login, .container-textbox-registro
{
    position: relative;
}

.container-textbox-login label, .container-textbox-registro label
{
    position: absolute;
    top:0;
    left: 0;
    padding: 10px 0;
    font-size: 18px;
    color: var(--principal);
    pointer-events: none;
    transition: .5s;
}

.container-textbox-login input:focus ~ label, .container-textbox-login input:valid ~ label,
.container-textbox-registro input:focus ~ label, .container-textbox-registro input:valid ~ label
{
    top: -20px;
    left: 0;
    color: var(--principal);
    font-size: 12px;
}

.container-btn-login, .container-btn-registrarse 
{
    margin-top: 30px;
    display: flex;
    gap: 15px;
    -webkit-animation: top 1s var(--delay) both;
    animation: top 1s var(--delay) both;
}

.container-btn-registro
{
    width: 100%;
}

/* NAVEGACION */

.nav-menu
{
    height: 65px;
    width: 100%;
    display: flex;
    background: linear-gradient(45deg, rgba(231,76,60,1) 0%, rgba(242,162,116,1) 100%);
    box-shadow: 0 0px 10px rgb(0 0 0 / 45%);
    justify-content: space-between;
    align-items: center;
    -webkit-animation: top 1s var(--delay) both;
    animation: top 1s var(--delay) both;
}

/* TEXTBOX */

.textbox-verificacion-usuario
{
    border: none;
    font-size: 15px;
    background-color: transparent;
    width: 280px;
}

.text-error
{
    color: var(--principal);
}

.textbox-login-general, .textbox-registro-general
{
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: var(--gris);
    margin-bottom: 30px;
    border: none;
    border-bottom: 2px solid var(--principal);
    outline: none;
    background: transparent;
}

/* TEXT */

.texto-nombre
{
    color: var(--principal);
    font-size: 15px;
}

.mensaje
{
    color: var(--font); 
    text-align: center;
}

.textbox-buscar
{
    border: none;
    width: 45%;
    font-size: 20px;
    padding-left: 20px;
    height: 40px;
    box-shadow: 0 0px 10px rgb(0 0 0 / 33%);
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    outline: none;
}

.titulo-login, .titulo-registro
{
    font-weight: bold;
    font-size: 45px;
    margin-bottom: 65px;
    color: var(--gris)
}

.text-titulo-login, .text-titulo-registro
{
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 40px;
    color: white;
    font-weight: bold;
    font-family: 'Caldina Medium','Roboto Medium',Helvetica, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.text-titulo-menu
{
    font-size: 40px;
    color: white;
    font-weight: bold;
    font-family: 'Caldina Medium','Roboto Medium',Helvetica, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-animation: top 1s var(--delay) both;
    animation: top 1s var(--delay) both;
}

/* BOTONES */

.btn-prevision-left 
{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.btn-prevision-right 
{
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.btn-general-prevision
{
    cursor: pointer;
    width: 40%;
    color: var(--principal);
    height: 30px;
    border: 1px solid var(--principal);
    background-color: transparent;    
}

.prevision-select 
{
    background-color: var(--principal);
    color: white;
}

.btn-card-eliminar
{
    color: var(--rojo);
    border: 2px solid var(--rojo)
}

.btn-card-eliminar:hover
{
    background-color: var(--rojo);
    color: white;
    transition: .3s ease;
}

.btn-card-editar
{
    border: 2px solid var(--verde);
    color: var(--verde);
}

.btn-card-editar:hover
{
    background-color: var(--verde);
    color: white;
    transition: .3s ease;
}

.btn-card-general
{
    border-radius: 5px;
    background-color: transparent;
    cursor: pointer;
    margin-top: 5px;
    height: 40px;
    width: 45px;
    padding: 0 10px;
    outline: 0;
    font-size: 20px;
    margin-right: 10px;
}

.btn-card-general:active
{
    transform: scale(1.05);
}

.btn-subir-imagen
{
    background-color: #E74C3C;
    display: inline-block;
    padding: 10px 12px;
    border-radius: 5px;
    width: calc(100% - 24px);
    text-align: center;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-subir-imagen:hover
{
    transform: scale(1.01);
    transition: .8s ease;
    background: #f18174;
}

.btn-nav
{
    margin: 15px;
    background: transparent;
    font-size: 25px;
    border: none;
    color: white;
    cursor: pointer;
}

.btn-nav:hover
{
    transform: scale(1.05);
    transition: .3s ease;
}

.btn-buscar
{
    width: 50px;
    height: 42px;
    border: none;
    box-shadow: 0 0px 10px rgb(0 0 0 / 33%);
    background-color: white;
    color: black;
    font-size: 15px;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    cursor: pointer;
}

.btn-buscar:active
{
    transform: scale(1.1);
    transition: .1s ease;
}

.btn-sistema
{
    width: 100%;
    height: 130px;
    border-radius: 10px;
    box-shadow: 0 0px 10px rgb(0 0 0 / 45%);
    background-color: white;
    border: none;
    cursor: pointer;
    padding: 20px;
    padding-bottom: 5px;
    -webkit-animation: top 1s var(--delay) both;
    animation: top 1s var(--delay) both;
}

.btn-sistema:hover
{
    transform: scale(1.05);
    transition: .4s ease;
}

.btn-login
{
    width: 100%;
    height: 40px;
    border-radius: 5px;
    background: var(--principal);
    border: none;
    color: white;
    font-size: 17px;
    cursor: pointer;
    outline-color: var(--secundario);
    margin-bottom: 10px;
}

.btn-login:hover
{
    transform: scale(1.01);
    transition: .8s ease;
    background: #f18174;
}

.btn-registro, .btn-volver-registro
{
    width: 100%;
    height: 40px;
    border-radius: 5px;
    background-color: transparent;
    border: 2px solid var(--principal);
    color: var(--principal);
    font-size: 17px;
    cursor: pointer;
    outline-color: var(--secundario);
    margin-bottom: 10px;
}

.btn-registro:hover, .btn-volver-registro:hover
{
    background-color: var(--principal);
    border: none;
    color: white;
    transition: .3s ease;
}

/* TABLA */

table
{
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

thead tr
{
    padding: 20px 15px;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
}

.tbl-header
{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: linear-gradient(360deg, rgba(231,76,60,1) 0%, rgba(242,162,116,1) 100%);
    color: white;
}

.td-codigo
{
    padding: 15px;
}

tr
{
    border-bottom: var(--principal);
}

td
{
    padding: 15px 0;
    max-width: 70px;
    vertical-align:middle;
    font-weight: 300;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tbl-content
{
    height: 300px;
    overflow-x:auto;
    margin-top: 0px;
    border-bottom: solid 1px var(--principal);
}

/* WAVE */

.inner-header 
{
    height:65vh;
    width:100%;
    margin: 0;
    padding: 0;
}
  
.flex 
{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.waves 
{
    position:relative;
    width: 100%;
    height:15vh;
    margin-bottom:-7px;
    min-height:100px;
    max-height:150px;
}

.content 
{
    position:relative;
    height:20vh;
    text-align:center;
    background-color: white;
}

.parallax > use 
{
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}

.parallax > use:nth-child(1) 
{
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax > use:nth-child(2) 
{
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax > use:nth-child(3) 
{
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax > use:nth-child(4) 
{
    animation-delay: -5s;
    animation-duration: 20s;
}

.selectlist-permisos, .selectlist-permisos-cambiar
{
    border: 2px solid var(--principal);
    border-radius: 5px;
    background-color: transparent;
    color: var(--principal);
    height: 40px;
    width: 120px;
    font-size: 15px;
    margin-bottom: 20px;
}

.selectlist-permisos-cambiar
{
    width: 100%;
}

@keyframes move-forever 
{
    0% 
    {
      transform: translate3d(-90px,0,0);
    }
    100% 
    { 
        transform: translate3d(85px,0,0);
    }
}

@media (max-width: 768px) 
{
    .waves 
    {
        height:40px;
        min-height:40px;
    }

    .content 
    {
        height:30vh;
    }

    h1 
    {
        font-size:24px;
    }
}

/* OTROS */

iframe
{
    width: 100%;
    height: 100%;
    border: none;
}

a
{
    -webkit-animation: top 1s var(--delay) both;
    animation: top 1s var(--delay) both;
}

input[type="file"] 
{
    display: none;
}

.imagen-tabla-adm
{
    width: 100%;
    border-radius: 5px;
    height: 70px;
    object-fit: contain;
}

.imagen-adm
{
    width: 200px;
    height: 100px;
    border: 2px solid var(--principal);
    border-radius: 5px;
    object-fit: contain;
}

.barra-progreso
{
    width: 100%;
    height: 23px
}

.card-abm
{
    box-shadow: 0 0px 10px rgb(0 0 0 / 45%);
    width: 90%;
    border-radius: 5px;
    padding: 30px;
    display: flex;
    gap: 5%;
    -webkit-animation: top 1s var(--delay) both;
    animation: top 1s var(--delay) both;
}

.img-sistema
{
    width: 100%;
    height: calc(100% - 25px);
    object-fit: contain;
}

.img-frigo-login
{
    width: 220px;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.background-login, .background-registro
{
    width: 2000px;
    height: 900px;
    top: -450px;
    left: -400px;
    transform: rotate(150deg);
    position: absolute;
    background: linear-gradient(45deg, rgba(231,76,60,1) 0%, rgba(242,162,116,1) 100%);
    box-shadow: 0 0px 10px rgb(0 0 0 / 45%);
    -webkit-animation: top2 1s var(--delay) both;
    animation: top2 1s var(--delay) both;
}

#form-login, #form-registro
{   
    opacity: 1;
    position: absolute;
    
    top: 50%;
    left: 50%;
    width: 380px;
    padding: 44px;
    transform: translate(-50%, -50%);

    box-sizing: border-box;
    box-shadow: 0 0px 70px rgb(0 0 0 / 35%);
    border-radius: 10px;
    background-color: white;

    transition: 1s ease;
    -webkit-animation: top2 1s var(--delay) both;
    animation: top2 1s var(--delay) both;
}

#form-registro
{
    width: 460px;
}

#container-aprobar-cliente
{
    margin-top: 150px;
    display: flex;
    justify-content: center;
}

@keyframes top
{
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes top2
{
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}