* {
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Josefin Sans', sans-serif;
  text-align: center;
  width: 85vw;
  max-width: 550px;
  margin: 0 auto;
  background-color: rgb(243, 243, 243);
  color: grey;
  font-weight: 600;
}

main {
  position: relative;
}

.card {
  border-radius: 7px;
  background-color: white;
}

.item {
  height: 55px;
  display: flex;
  align-items: center;
}


/*#region Background Image*/
#bg-image {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}
/*#endregion Background Image*/


/*#region Header*/
header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6vh;
}

h1 {
  text-align: left;
  color: white;
  letter-spacing: 0.3rem;
}

#dark-mode {
  height: 30px;
  width: auto;
}
/*#endregion Header*/


/*#region New To-Do Input*/
#input-field {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

input[type='checkbox'] {
  -webkit-appearance: none;
  width: 25px;
  height: 25px;
  margin: 15px;
  border-radius: 500px;
  border: 1px solid rgb(234, 234, 234);
}

input[type='checkbox']:checked {
  background-color: green;
}

#to-do-input {
  margin: 0;
  padding: 0;
  border: none;
  flex-grow: 1;
}

#input-field button {
  height: 55px;
  width: 55px;
  color: black;
  background-color: white;
  font-weight: bold;
  border: none;
  border-top-right-radius: 7px;
  border-left: solid 2px grey;
  border-bottom-right-radius: 7px;
}
/*#endregion New To-Do Input*/


/*#region View Selecter*/
#view-select {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

#view-select p {
  margin: 0 15px;
  font-size: 1.1rem;
}
/*#endregion View Selecter*/


#list-container {
  margin: 20px auto;
  background-color: white;
}

.to-do-item {
  border-bottom: solid 2px rgb(234, 234, 234);
  display: grid;
  grid-template-columns: 55px auto 50px;
}

.to-do-item p {
  text-align: left;
  align-self: center;
  word-wrap: normal;
}

.to-do-item img {
  height: 15px;
  margin: auto;
}


#bottom-row {
  justify-content: space-between !important;
  margin: 0 15px;
  color: rgb(185, 184, 184);
}


.completed {
  color: rgb(185, 184, 184);
  font-weight: 400;
  text-decoration: line-through;
}


.pointer:hover {
  cursor: pointer;
}
.active {
  font-weight: bold;
  color: darkcyan;
}