/* fontes importadas */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,300;0,400;0,700;1,100;1,300;1,400;1,700&display=swap');

/* configurações gerais */ 

:root{
  --bg-color: #09090A;
  --text-color: #ffffff;
  --bg-input: #18181B;
  --stroke-color-input: #27272A;
  --hover-color: #252525;
}

.light-mode {
  --bg-color: #ffffff;
  --text-color: #000000;
  --bg-input: #f4f4f7f3;
  --stroke-color-input: #dddddf;
  --hover-color: #faf9f9;
}

* {
    padding: 0;
    margin: 0;
    font-size: 10px;
    box-sizing: border-box;
    color: var(--text-color);
  }
  
  body {
    background-color: var(--bg-color);
    height: 100vh;
  }

  /* estilização do cabeçalho */

  header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    padding: 48px;
  }

  .buttons {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  #switcher {
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    border: 0;
    border-radius: 50%;
  }

  #switcher:hover {
    background-color: var(--hover-color);
  }

  .day-log {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 24px;
    gap: 10px;
    border: 1px solid #8B5CF6;
    border-radius: 8px;
    background-color: transparent;
  }

  .day-log:hover {
    background-color: var(--hover-color);
  }

  .day-log div {
    font-family: 'Inter';
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 125%;
  }


  /* estilização dos checkboxes */

  form {
    display: flex;
    padding: 180px 48px 48px;
    width: fit-content;
  }

  .habits {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    gap: 24px;
  }

  .habit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 64px;
  }


  .days {
    display: flex;
    margin-left: 32px;
    gap: 48px;
  }

  .day {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .day div {
    width: 64px;
    height: 25px;
    margin-bottom: 8px;
    font-family: 'Roboto Mono';
    font-weight: 700;
    font-size: 2rem;
    color: #A1A1AA;
    line-height: 125%;
  }

  input {
    appearance: none;
    width: 64px;
    height: 64px;
    background-color: var(--bg-input);
    border: 2px solid var(--stroke-color-input);
    border-radius: 8px;
  }

  input:checked {
    background-color: #8B5CF6;
    border: 2px solid #A78BFA;
    border-radius: 8px;
  }

  /* responsividade */

  @media (max-width: 570px) {
    button div {
      display: none;
    }

    #logo-app {
      width: 120px;
      height: 66px;
    }
  
    .day-log {
      padding: 12px 20px;
    }
  }