@charset "UTF-8";
/*  Variables, Mixins y Funciones   */
/*  Correspondiente al codigo general   */
@import url("https://fonts.googleapis.com/css2?family=Pacifico&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oxygen+Mono&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Paprika&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

::selection {
  background-color: #d6a779; }

:is(h1) {
  font-family: 'Pacifico', cursive;
  font-weight: lighter;
  font-size: 2.5rem;
  text-align: center;
  color: #F2F2F2; }

:is(h2) {
  font-family: 'Pacifico', cursive;
  font-weight: lighter;
  font-size: 2rem;
  text-align: center;
  color: #F2F2F2; }

:is(h3) {
  font-family: 'Oxygen Mono', monospace;
  font-size: 1.25rem;
  color: #F2F2F2; }

:is(p) {
  font-family: 'Paprika';
  font-size: 1rem;
  color: #F2F2F2; }

.estrella1 {
  transform: rotate(180deg);
  animation-name: estrella1; }

.estrella2 {
  transform: rotate(0deg);
  animation-name: estrella2; }

:is(.estrella1, .estrella2) {
  animation-iteration-count: infinite;
  animation-timing-function: ease;
  animation-duration: 8s;
  animation-delay: 0.5s; }

body {
  background-color: #232324;
  display: grid;
  grid-template-columns: 16% 1fr;
  grid-template-rows: 1fr 15%;
  transition: 1s; }

header {
  grid-column: 1 / 2;
  grid-row: 1 / 3; }

main {
  grid-column: 2 / 3;
  grid-row: 1 / 2; }

footer {
  grid-column: 2 / 3;
  grid-row: 2 / 3; }

/*  Importamos el Layout  */
header {
  background-color: #356A7A;
  height: 100%; }
  header .h-titulo {
    display: flex;
    flex-flow: wrap column;
    align-items: center; }
    header .h-titulo .imagenes-titulo {
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: space-between; }
    header .h-titulo p {
      font-family: 'Pacifico', cursive;
      font-weight: lighter;
      font-size: 2rem;
      text-align: center; }
  header nav {
    display: flex;
    flex-direction: column; }
    header nav .registro li {
      display: flex;
      list-style: none; }
      header nav .registro li a {
        width: 100%;
        margin: 10px;
        text-align: center;
        color: #F2F2F2;
        font-size: 1.5rem; }
        header nav .registro li a:hover {
          color: #d6a779; }
        header nav .registro li a:active {
          color: #D47070; }
    header nav ol {
      margin: 2.1875rem; }
      header nav ol li {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem; }
        header nav ol li a {
          list-style: circle;
          width: 100%;
          align-self: baseline;
          list-style: circle;
          color: #F2F2F2;
          font-size: 1.5rem; }
          header nav ol li a:hover {
            color: #d6a779; }
          header nav ol li a:active {
            color: #D47070; }
        header nav ol li ul {
          display: flex;
          flex-direction: column;
          align-items: baseline; }
          header nav ol li ul li {
            margin: 1.25rem 0; }
            header nav ol li ul li a {
              color: #F2F2F2;
              font-size: 1.25rem; }
              header nav ol li ul li a:hover {
                color: #d6a779; }
              header nav ol li ul li a:active {
                color: #D47070; }

.profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem; }
  .profile img {
    width: 4rem; }
  .profile span {
    font-size: 2.5rem;
    color: #A894FF; }
  .profile h3 {
    color: #D47070; }

.profile-login {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-right: 2rem;
  margin-top: 1rem;
  gap: 0.5rem; }
  .profile-login a {
    color: #A894FF;
    font-size: 1.5rem; }
  .profile-login img {
    width: 2rem; }

.grafico {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.875rem; }
  .grafico .titulo-grafico {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5625rem; }
    .grafico .titulo-grafico img {
      width: 3rem; }
  .grafico .g-grafico {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 50vh; }

.modificar-estadisticas {
  display: flex;
  justify-content: end;
  align-items: center;
  margin: 2rem 2rem 0.5rem 0;
  gap: 0.5rem; }
  .modificar-estadisticas .e-añadir {
    background-image: url("../assets/img/boton-añadir.png"); }
  .modificar-estadisticas .e-eliminar {
    background-image: url("../assets/img/boton-eliminar.png"); }
  .modificar-estadisticas button {
    display: flex;
    width: 3.25rem;
    height: 3.25rem;
    border: none;
    background-size: cover;
    background-position: center;
    background-color: transparent;
    border-radius: 50%; }
    .modificar-estadisticas button:hover {
      transform: scale(1.25);
      transition: 0.35s; }

#modificar-estadisticas {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; }
  #modificar-estadisticas fieldset {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none; }
    #modificar-estadisticas fieldset legend {
      font-family: 'Paprika';
      font-size: 1.75rem;
      color: #A894FF;
      text-decoration: underline;
      margin: 1rem; }
    #modificar-estadisticas fieldset label {
      font-family: 'Oxygen Mono', monospace;
      font-size: 1.25rem;
      color: #F2F2F2;
      margin: 0.5rem; }
  #modificar-estadisticas .cambio-estadisticas {
    display: flex;
    gap: 5rem; }
    #modificar-estadisticas .cambio-estadisticas button {
      font-family: 'Oxygen Mono', monospace;
      color: #F2F2F2;
      text-decoration: dotted;
      font-size: 1rem;
      border-radius: 2rem;
      width: 8rem;
      height: 2.5rem;
      margin: 1rem 0 2rem 0; }
      #modificar-estadisticas .cambio-estadisticas button:hover {
        transform: scale(1.1);
        transition: 0.25s; }
    #modificar-estadisticas .cambio-estadisticas #subir-datos {
      background-color: #30817A; }
    #modificar-estadisticas .cambio-estadisticas #descartar-datos {
      background-color: #D47070; }

.estadisticas {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  margin-bottom: 6rem; }
  .estadisticas .e-rectangulo {
    margin: .625rem;
    background-color: #F2F2F2;
    border-radius: 1.2rem;
    width: 25%;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 4px 5px 5px #545353; }
    .estadisticas .e-rectangulo h2 {
      color: black;
      text-decoration: underline;
      font-size: 1.35rem; }
    .estadisticas .e-rectangulo .estadisticas-p-img {
      display: flex;
      align-items: center;
      gap: 1rem; }
      .estadisticas .e-rectangulo .estadisticas-p-img p {
        font-size: 2.5rem;
        font-weight: bold;
        text-decoration: underline;
        font-family: 'pacifico'; }
      .estadisticas .e-rectangulo .estadisticas-p-img img {
        height: 4rem; }
    .estadisticas .e-rectangulo .t-gastado {
      color: #D47070; }
    .estadisticas .e-rectangulo .t-categoria {
      color: #A894FF; }
    .estadisticas .e-rectangulo .positivo {
      color: #30817A; }
    .estadisticas .e-rectangulo .negativo {
      color: #D47070; }
    .estadisticas .e-rectangulo .t-amigos {
      color: #179EBB; }
    .estadisticas .e-rectangulo .t-limite {
      color: #179EBB; }
    .estadisticas .e-rectangulo .t-limite-no {
      color: #D47070; }
    .estadisticas .e-rectangulo .t-limite-ok {
      color: #30817A; }
    .estadisticas .e-rectangulo .t-gastar-amigo {
      color: #179EBB; }

.añadir-eliminar-datos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 2rem; }
  .añadir-eliminar-datos button {
    background-color: #946332;
    font-family: 'Oxygen Mono', monospace;
    color: #F2F2F2;
    text-decoration: dotted;
    font-size: 1rem;
    border-radius: 2rem;
    width: 10rem;
    height: 3rem; }
    .añadir-eliminar-datos button:hover {
      transform: scale(1.1);
      transition: 0.25s; }

.datos-presupuesto {
  display: grid;
  grid-template-columns: 8% repeat(4, 1fr);
  padding: 1.5625rem 0;
  margin: 0 0 25rem 0; }
  .datos-presupuesto p {
    text-align: center;
    padding: 0.5rem 0; }
  .datos-presupuesto h2 {
    text-decoration: underline; }
  .datos-presupuesto :is(.cant-amigos, .nombre-amigo, .gasto-amigo, .categoria-amigo, .fecha-amigo) {
    display: grid;
    grid-template-rows: 20% 1fr;
    align-items: center;
    justify-items: center;
    padding: .625rem 0; }
  .datos-presupuesto .cant-amigos {
    grid-column: 1 / 2; }
  .datos-presupuesto .nombre-amigo {
    grid-column: 2 / 3; }
  .datos-presupuesto .gasto-amigo {
    grid-column: 3 / 4; }
  .datos-presupuesto .categoria-amigo {
    grid-column: 4 / 5; }
  .datos-presupuesto .fecha-amigo {
    grid-column: 5 / 6; }
  .datos-presupuesto .d-p-titulos {
    grid-row: 1 / 2;
    padding-bottom: 1.5rem; }
  .datos-presupuesto .datos {
    grid-row: 2 / 3; }

.separadores {
  display: flex;
  justify-content: space-around;
  align-items: center; }
  .separadores .linea {
    width: 30%;
    height: .1875rem;
    background-color: #F2F2F2; }

.categorias {
  margin: 6rem 0; }
  .categorias h2 {
    text-decoration: underline #179EBB; }

.totales {
  display: grid;
  height: 40rem;
  grid-template-rows: 20% 1fr;
  grid-template-columns: repeat(3, 1fr); }
  .totales h2 {
    grid-row: 1 / 2;
    grid-column: 1 / 4;
    text-decoration: underline #179EBB; }
  .totales :is(.nombre-amigo, .categoria-amigo, .fecha-amigo) {
    grid-row: 2 / 3;
    display: grid;
    grid-template-rows: 10% 1fr;
    grid-template-columns: 1fr;
    justify-items: center; }
    .totales :is(.nombre-amigo, .categoria-amigo, .fecha-amigo) h2 {
      grid-row: 1 / 2;
      text-decoration: underline #F2F2F2; }
    .totales :is(.nombre-amigo, .categoria-amigo, .fecha-amigo) .datos {
      margin: 3rem 0;
      grid-row: 2 / 3;
      text-align: center; }
      .totales :is(.nombre-amigo, .categoria-amigo, .fecha-amigo) .datos p {
        margin: 1rem 0; }

#botonModo {
  display: none; }

.div-boton-titulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem; }

.div-noche label {
  scale: 0.6; }

.slider-v3 {
  position: relative;
  display: block;
  width: 7em;
  height: 3em;
  cursor: pointer;
  border-radius: 1.5em;
  transition: 350ms;
  background: #ddd; }

.slider-v3::after {
  position: absolute;
  content: '';
  width: 2em;
  height: 2em;
  top: 0.5em;
  left: 0.5em;
  border-radius: 1.5em;
  transition: width 200ms ease-out, height 300ms 50ms ease-in, top 300ms 50ms ease-in, left 250ms 50ms ease-in, background 300ms ease-in, box-shadow 300ms ease-in;
  background: #f2f2f2;
  box-shadow: 0 0 0 1.5em #f2f2f2 inset; }

input:checked + .slider-v3::after {
  width: 4em;
  height: 3em;
  top: 0;
  left: 3em;
  background: #4c6;
  box-shadow: 0 0 0 0 #f2f2f2 inset; }

.claro {
  background-color: #D2C3F2;
  color: #121212;
  transition: 1s; }
  .claro h1 {
    color: #121212; }
  .claro h2 {
    color: #121212; }
  .claro h3 {
    color: #121212; }
  .claro p {
    color: #121212; }
  .claro button {
    background-color: #6C42BD; }
  .claro .inicio-sesion button {
    background-color: #6C42BD; }
  .claro .modificar-estadisticas button {
    background-color: transparent; }
  .claro .profile span {
    color: #6C42BD; }
  .claro header {
    background-color: #4B3873; }
    .claro header .h-titulo p {
      color: white; }
    .claro header .div-boton-titulo p {
      color: #e3390e; }
  .claro footer {
    background-color: #9384B3; }
  .claro #cant-amigos {
    width: 3rem; }
  .claro .registrarse a {
    color: #6703ea !important; }
  .claro .profile-login a {
    color: #d15d40;
    font-weight: bold; }

footer {
  display: grid;
  grid-template-rows: 1fr 2fr 1fr;
  align-items: center;
  flex-flow: column wrap;
  background-color: #262f32; }
  footer .f-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem; }
    footer .f-title h3 {
      font-size: 2rem; }
    footer .f-title img {
      width: 3.125rem; }
  footer .f-social {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%; }
    footer .f-social img {
      width: 4.5rem; }
      footer .f-social img:hover {
        transform: scale(1.2);
        transition: 0.5s; }
    footer .f-social .barras {
      width: .1875rem;
      height: 3.75rem;
      border-radius: .625rem;
      background-color: #d1d1d1;
      box-shadow: 2px 2px 2px 1px rgba(138, 138, 138, 0.2); }
  footer .f-copy {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%; }
    footer .f-copy p {
      padding: 0.2rem 0; }

@keyframes estrella1 {
  5% {
    transform: rotate(180deg);
    transition: 0.5s; }
  25% {
    transform: rotate(140deg);
    transform: scale(1.25);
    transition: 1s; }
  50% {
    transform: rotate(100deg);
    transition: 2s; }
  75% {
    transform: rotate(120deg);
    transition: 3s; } }

@keyframes estrella2 {
  5% {
    transform: rotate(0deg);
    transition: 0.5s; }
  25% {
    transform: rotate(40deg);
    transform: scale(1.25);
    transition: 1s; }
  50% {
    transform: rotate(80deg);
    transition: 2s; }
  75% {
    transform: rotate(60deg);
    transition: 3s; } }

/* Layout de Views */
.inicio-sesion {
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  width: 100%;
  margin-bottom: 30rem; }
  .inicio-sesion h1 {
    margin: 4rem 0; }
  .inicio-sesion .i-inputs {
    display: flex;
    flex-direction: column;
    width: 45%; }
    .inicio-sesion .i-inputs .bordes-input {
      display: flex;
      justify-content: center;
      flex-flow: row nowrap;
      background-color: white;
      gap: .4375rem;
      margin-bottom: 2.25rem;
      border-radius: 1rem;
      height: 2.5rem; }
      .inicio-sesion .i-inputs .bordes-input input {
        align-self: center;
        height: 1.65rem;
        width: 90%;
        border: none;
        color: black;
        font-size: 1rem;
        font-weight: bold;
        font-family: 'Paprika'; }
      .inicio-sesion .i-inputs .bordes-input img {
        width: 1.5625rem;
        align-self: center; }
      .inicio-sesion .i-inputs .bordes-input .lock {
        width: 1.3rem; }
  .inicio-sesion button {
    background-color: #946332;
    color: white;
    border-radius: 2rem;
    height: 2.75rem;
    width: 12rem;
    font-size: 1rem;
    font-weight: lighter;
    font-family: 'Oxygen Mono', monospace; }
    .inicio-sesion button:hover {
      scale: 1.1;
      transition: 0.6s;
      background-color: #aa7de1; }
  .inicio-sesion .entro-sesion {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    margin-bottom: 5rem; }
    .inicio-sesion .entro-sesion div {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-items: center;
      gap: 1rem;
      margin: 2rem 0; }
      .inicio-sesion .entro-sesion div h3 {
        font-size: 1.65rem;
        color: #30817A; }
      .inicio-sesion .entro-sesion div img {
        width: 4rem; }
  .inicio-sesion .registrarse {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    animation-iteration-count: 2;
    animation-timing-function: ease-in-out;
    animation-duration: 1.5s;
    animation-delay: 0.5s; }
    .inicio-sesion .registrarse p {
      font-size: 1rem; }
    .inicio-sesion .registrarse a {
      color: #aa7de1;
      font-size: 1.4rem; }
      .inicio-sesion .registrarse a:hover {
        scale: 1.1; }
      .inicio-sesion .registrarse a:active {
        color: #946332; }
  .inicio-sesion .aviso {
    color: #D47070;
    animation-name: desaparicion;
    animation-iteration-count: 1;
    animation-timing-function: linear;
    animation-duration: 6s;
    animation-delay: 0s;
    margin-bottom: 1rem; }

@keyframes desaparicion {
  40% {
    opacity: 1;
    transition: 3s; }
  60% {
    opacity: 0.8;
    transition: 1s; }
  70% {
    opacity: 0.6;
    transition: 0.5s; }
  80% {
    opacity: 0.4;
    transition: 0.5s; }
  90% {
    opacity: 0.2;
    transition: 0.5s; }
  100% {
    opacity: 0;
    transition: 0.5s; } }

@keyframes moverRegistro {
  25% {
    transform: rotate(-3deg);
    transition: 0.5s; }
  50% {
    transform: rotate(0deg);
    transition: 0.5s; }
  75% {
    transform: rotate(3deg);
    transition: 0.5s; } }

/* Importamos componentes */
