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

:root{
    --primary-color:    #2B8A7F;
    --secondary-color:  #192734;
    --third-color:      #ffffff;
    --form:             #dfe4ea;
}
::selection{
    background-color: var(--primary-color);
    color: var(--third-color);
}
::-webkit-scrollbar{
    width: 0.7rem;
    height: 0.7rem;

}
::-webkit-scrollbar-thumb{
    background-color: #2B8A7F;
    border-radius: 0.5rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* usar rem para texto en lugar de pixeles
los fontsize de html y body son necesarios para
equiparar los rems a los pixeles*/


html{
    font-size: 62.5%;

}

body{
    margin-top: 5rem;
    font-family:        'Roboto';
    background-color:   var(--primary-color);
    font-size:          16px;
    display:            flex;
    align-items:        center;
    justify-content:    center;
    min-height:calc(100vh - 1%);
}

.frm-login{
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-e{
    height: 47rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-ca{
    height: 20rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-cli{
    height: 20rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-ev{
    height: 26rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-ha{
    height: 49rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-mp{
    height: 20rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-pe-over{
    padding: 1%;
}

.c-pe{
    overflow: auto;
    height: 45rem;
    margin-top: 2.5rem;
    /* margin-bottom: 1rem; */
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-v-e-over{
    padding: 1%;
}

.c-v-e{
    overflow: auto;
    height: 45rem;
    margin-top: 2.5rem;
    /* margin-bottom: 1rem; */
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.v-r-over{
    padding: 1%;
}

.v-r{
    overflow: auto;
    height: 45rem;
    margin-top: 2.5rem;
    /* margin-bottom: 1rem; */
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-clien{
    height: 23rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-vend{
    height: 23rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-usu{
    height: 45rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-habi{
    height: 23rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-hues{
    height: 18rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-reser{
    height: 25rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.c-event-over{
    padding: 1%;
}

.c-event{
    overflow: auto;
    height: 45rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

.vista_tabla{
    min-width: 80%;
    max-width: 80%;
    margin-top: 2.5rem;
    height: 50rem;
    /* margin-bottom: 2.5rem; */
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: var(--form);
    padding: 2rem 2.5rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

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

.agregar{
    height: 13rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:start;
    /* border: solid black .5rem; */
}

.agregar_btn{
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: var(--third-color);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.agregar_btn:hover{
    border: none;
    outline: none;
    background-color: #3abbac;
    color: var(--third-color);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.agregar_btn a{
    color: var(--third-color);
}

.barra{
    width: 30rem;
    height: 2.5rem;
    /* margin-right: 0.6%; */
}

.over{
    padding-bottom: 0.1rem;
    height: 100%;
    overflow: auto;
}

.title{
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}
.frm-label{
    margin-bottom: 2rem;
    color: var(--secondary-color);
}
.frm-imput{
    text-align: center;
    height: 2.5rem;
    outline: none;
    border: none;
    border-bottom: solid 0.1rem var(--primary-color);
    border-radius: 0.5rem;
    width: 100%;
}
.buttons{
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}
.btn1{
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: var(--third-color);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
}
.btn1:hover{
    border: none;
    outline: none;
    background-color: #37afa1;
    color: var(--third-color);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
}
.btn2{
    border: none;
    outline: none;
    background-color: var(--secondary-color);
    color: var(--third-color);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
}
.btn2:hover{
    border: none;
    outline: none;
    background-color: var(--third-color);
    color: var(--secondary-color);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
}

a{
    color: var(--primary-color);
    text-decoration: none;
}

.eliminar{
    border: none;
    outline: none;
    background-color: rgb(184, 0, 0);
    color: var(--form);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
}
.eliminar:hover{
    border: none;
    outline: none;
    background-color: rgb(121, 2, 2);
    color: black;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
}
.tabla{
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
}
.tabla_thead{
   background-color: var(--primary-color);
   color: white;
   font-weight: bold;
   border: 0.1rem solid black;
   width: 100%;
}
.tabla_thead th{
    padding: 1rem;
}

.opciones{
    width: 20rem;
}


.td_opciones{
    display: flex;
    justify-content: center;
}

.td_opciones button{
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.tabla_tbody td{
    padding: 0.5rem;
    text-align: center;
    border: 0.1rem solid black;
    overflow: auto;
}
