@import url('https://fonts.googleapis.com/css2?family=Niconne&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Niconne&display=swap');
body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    font-family: 'Niconne', cursive;
    background-color: aliceblue;
}

#container{
    width: 70%;
    height: 90%;
    margin: auto;
    padding: 10px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
    background-color: aquamarine;
}

.header>h1{
    font-size: 6em;
    font-weight: bolder;
    opacity: 0.6;
    width: 100%;
    max-width: 800px;
    margin: auto;
    padding: 5px;
    margin-bottom: 40px;
}

#item-list{
   margin: auto;
   margin-bottom: 40px;
   list-style-type: none;
}

.item{
    /* background-color: black; */
    min-height: 30px;
    min-width: 80px;
    font-size: 1.5em;
    font-weight: lighter;
    padding: auto;
    margin: auto;
    margin-bottom: 5px;
    opacity: 1;
    display: flex;
   align-items: center;
   font-family: 'Montserrat', sans-serif;
   justify-content: space-between;
}

#form{
    width: 100%;
    height: 60px;
    margin: auto;
    padding: 10px;
    border: none;
}

.input-item{
    margin: auto;
    width: 60%;
    height: 40px;
    border: 2px solid black;
    font-size: 1.2em;
}

svg{
  width: 50px;
  height: 40px;
  background-color: inherit;
}

.done span{
    text-decoration: line-through;
}
  
input[type="checkbox"] {
    display: none;
}
  
.tick {
    width: 30px;
    height: 30px;
    border: 3px solid #333;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
  
.tick::before {
    display: none;
    content: '✓';
    font-size: 20px;
  }
  
.done .tick::before {
    display: inline;
}
button{
  cursor: pointer;
}

#empty-section{
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: flex;
}

.checklist-icon {
  margin-bottom: 20px;
}

.empty-state__title, .empty-state__description {
  margin-bottom: 20px;
}

#item-list:empty {
  display: none;
}

#item-list:empty + #empty-section {
  display: flex;
}
