* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button,
input {
  border: none;
  outline: none;
  font: inherit;
  background: none;
  cursor: pointer;
}


:root {
  --background-primary: #f4f5fb;
  --background-secondary: #ffffff;
  --color-brand: #ca3884;
  --color-brand-hover: #a52c6b;
  --color-danger: #c93847;

  --content-primary: #080b12;
  --content-secondary: #374151;
  --content-tertiary: #9ca3af;
  --always-white: #ffffff;

  --border-primary: #d1d5db;
  --border-hover: #B9C2D0;



  --ff-base: "Inter", sans-serif;
  --title: 700 24px/32px var(--ff-base);
  --label: 600 16px/1.4rem 20px var(--ff-base);
  --paragraph: 500 16px/20px var(--ff-base);
  --link: 500 14px/20px var(--ff-base);
}


.logo {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 5rem;
}

body {
  background: var(--background-primary);
  margin: 1rem 8px;
  max-width: 600px;




  & a {
    font: var(--link);
    color: var(--color-brand);

    & svg {
      transform: translateY(6px);
    }
  }

  & h1 {
    font: var(--title);
    color: var(--content-primary);
    margin-top: 1rem;
    margin-bottom: 2.75rem;
  }

  .input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;

    & input {
      font: var(--label);
      font-family: var(--ff-base);
      background-color: var(--background-secondary);
      width: 325px;
      height: 44px;
      border-radius: 12px;
      padding: 1rem;
      border: 2px solid var(--border-primary);
    }

    & input:focus {
      border: 2px solid var(--color-brand-hover);
    }

    & button {
      height: 44px;
      width: 325px;
      background: var(--color-brand);
      border-radius: 16px;
      font: var(--label);
      font-family: var(--ff-base);
      color: var(--always-white);
    }

    & button:hover {
      background: var(--color-brand-hover);
    }

    & button:focus {
      background: var(--color-brand-hover);
    }
  }

  .content {
    & li {
      display: flex;
      align-items: center;
      background-color: var(--background-secondary);
      height: 49px;
      width: 325px;
      border-radius: 12px;
      padding: 1rem;
      margin-bottom: 1rem;
      position: relative;
      gap: 1rem;
      font: var(--paragraph);
      color: var(--content-secondary);


      & input[type="checkbox"] {
        appearance: none;
        width: 1rem;
        height: 1rem;
        border: 1px solid var(--border-primary);
        border-radius: 6px;
        cursor: pointer;
      }

      & input[type="checkbox"]:checked {
        background-color: var(--color-brand);
        border-color: var(--color-brand);
        position: relative;
      }

      & input[type="checkbox"]:checked::after {
        content: '✔';
        color: var(--always-white);
        font-size: 10px;
        position: absolute;
        top: -3px;
        left: 3px;
      }

      & button {
        position: absolute;
        left: 88%;
        cursor: pointer;
      }
    }
  }

  .content ul li:hover{
    border: 2px solid var(--color-brand);
  }

 

  .notice-remove {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-danger);
    height: 44px;
    width: 327px;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    margin-top: 2rem;

    &>div {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font: var(--label);
      font-family: var(--ff-base);
      color: var(--always-white);
    }
  }

  .show-remove {
    opacity: 0;
  }
}


@media (width>=80em) {
  .logo {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 5rem;
}

body {
  background: var(--background-primary);
  margin: 0 auto;
  max-width: 600px;




  & a {
    font: var(--link);
    color: var(--color-brand);

    & svg {
      transform: translateY(6px);
    }
  }

  & h1 {
    font: var(--title);
    color: var(--content-primary);
    margin-top: 1rem;
    margin-bottom: 2.75rem;
  }

  .input-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;

    & input {
      font: var(--label);
      font-family: var(--ff-base);
      background-color: var(--background-secondary);
      width: 451px;
      height: 44px;
      border-radius: 12px;
      padding: 1rem;
      border: 2px solid var(--border-primary);
    }

    & input:focus {
      border: 2px solid var(--color-brand-hover);
    }

    & button {
      height: 44px;
      width: 160px;
      background: var(--color-brand);
      border-radius: 16px;
      font: var(--label);
      font-family: var(--ff-base);
      color: var(--always-white);
    }

    & button:hover {
      background: var(--color-brand-hover);
    }

    & button:focus {
      background: var(--color-brand-hover);
    }
  }

  .content {
    & li {
      display: flex;
      align-items: center;
      background-color: var(--background-secondary);
      height: 49px;
      width: 600px;
      border-radius: 12px;
      padding: 1rem;
      margin-bottom: 1rem;
      position: relative;
      gap: 1rem;
      font: var(--paragraph);
      color: var(--content-secondary);


      & input[type="checkbox"] {
        appearance: none;
        width: 1rem;
        height: 1rem;
        border: 1px solid var(--border-primary);
        border-radius: 6px;
        cursor: pointer;
      }

      & input[type="checkbox"]:checked {
        background-color: var(--color-brand);
        border-color: var(--color-brand);
        position: relative;
      }

      & input[type="checkbox"]:checked::after {
        content: '✔';
        color: var(--always-white);
        font-size: 10px;
        position: absolute;
        top: -3px;
        left: 3px;
      }

      & button {
        position: absolute;
        left: 94%;
        cursor: pointer;
      }
    }
  }

  .content ul li:hover{
    border: 2px solid var(--color-brand);
  }

 

  .notice-remove {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-danger);
    height: 44px;
    width: 600px;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    margin-top: 2rem;

    &>div {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font: var(--label);
      font-family: var(--ff-base);
      color: var(--always-white);
    }
  }

  .show-remove {
    opacity: 0;
  }
}

}