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

body {
    background-color: #042C46;
    color: white;
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: bold;
}

/* toggle  */

nav {
display: flex;
justify-content: flex-end;
padding: 20px 24px;
}

.btn {
position: absolute;
left: 2rem;
margin-top: 0.3rem;
color: #DB283F;
}

.theme-switch-wrapper {
display: flex;
align-items: center;
}

.theme-switch-wrapper em {
margin-left: 10px;
font-size: 1rem;
}

.theme-switch {
display: inline-block;
height: 34px;
position: relative;
width: 60px;
}

.theme-switch input {
display: none;
}

.slider {
background-color: var(--togglebg);
bottom: 0;
cursor: pointer;
left: 0;
position: absolute;
right: 0;
top: 0;
transition: 0.4s;
}

.slider:before {
background-color: var(--roundcolor);
bottom: 4px;
content: "";
height: 26px;
left: 4px;
position: absolute;
transition: 0.4s;
width: 26px;
}

input:checked + .slider {
background-color: var(--toggleslider);
}

input:checked + .slider:before {
transform: translateX(26px);
}

.slider.round {
border-radius: 34px;
}

.slider.round:before {
border-radius: 50%;
}

em {
color: var(--color);
}

.container {
width: 100%;
max-width: 700px;
margin: 0 auto;
padding-left: 10px;
padding-right: 10px;
color: var(--color);
margin: auto;
padding-top: 4rem;
}

.app-title {
text-align: center;
margin-bottom: 20px;
font-size: 80px;
}

svg {
width: 64px;
height: 64px;
}

.todo-list {
list-style: none;
margin-bottom: 20px;
}

.todo-item {
margin-bottom: 10px;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
background-color: rgba(219, 40, 63, 0.3);
border-radius: 8px;
padding: 10px;
}

.todo-item span {
flex-grow: 1;
margin-left: 10px;
margin-right: 10px;
font-size: 22px;
}

.done span {
text-decoration: line-through;
user-select: none;
}

input[type="checkbox"] {
background-color: #DB283F;
}

input:focus {
outline: none;
background-color: #d4e7d5;
}

.tick {
width: 30px;
height: 30px;
border: 3px solid var(--colour);
border-radius: 50%;
display: inline-flex;
justify-content: center;
align-items: center;
cursor: pointer;
border-color: #DB283F;
}

.tick::before {
content: "✔️";
font-size: 20px;
display: none;
}

.done .tick::before {
display: inline;
}

.delete-todo {
border: none;
outline: none;
cursor: pointer;
background-color: rgba(219, 40, 63, 0);
}

.delete-todo svg {
width: 30px;
height: 30px;
pointer-events: none;
}

form {
width: 100%;
display: flex;
justify-content: space-between;
margin-bottom: 2rem;
}

input[type="text"] {
width: 100%;
padding: 10px;
border-radius: 4px;
border: 3px solid #333;
background-color: #ea8491;
color: white;
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: bold;
}

.created-by {
font-family: 'manrope', sans-serif;
background-color: #DB283F;
color: white;
padding: 10px 20px;
border-radius: 20px;
box-shadow: 0 0 10px #DB283F;
position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
}

.bottom-left-button {
  position: fixed;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #042C46;
  box-shadow: 0 0 10px #042C46;
  text-decoration: none;
}

.bottom-left-button img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bottom-left-button:hover {
  background-color: #fff;
  color: #042C46;
  box-shadow: 0 0 10px #fff;
}

body{
  background: #042C46;
}


.circle{
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: ripple 15s infinite;
  box-shadow: 0px 0px 1px 0px #508fb9;
}

.small{
  width: 200px;
  height: 200px;
  left: -100px;
  bottom: -100px;
}

.medium{
  width: 400px;
  height: 400px;
  left: -200px;
  bottom: -200px;
}

.large{
  width: 600px;
  height: 600px;
  left: -300px;
  bottom: -300px;
}

.xlarge{
  width: 800px;
  height: 800px;
  left: -400px;
  bottom: -400px;
}

.xxlarge{
  width: 1000px;
  height: 1000px;
  left: -500px;
  bottom: -500px;
}

.shade1{
  opacity: 0.2;
}
.shade2{
  opacity: 0.5;
}

.shade3{
  opacity: 0.7;
}

.shade4{
  opacity: 0.8;
}

.shade5{
  opacity: 0.9;
}

@keyframes ripple{
  0%{
    transform: scale(0.8);
  }
  
  50%{
    transform: scale(1.2);
  }
  
  100%{
    transform: scale(0.8);
  }
}

.bottom-left-button {
  position: fixed;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #042C46;
  box-shadow: 0 0 10px #042C46;
  text-decoration: none;
}

.bottom-left-button img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bottom-left-button:hover {
  background-color: #fff;
  color: #042C46;
  box-shadow: 0 0 10px #fff;
}

/* Add this below all the other styles */

.empty-state {
flex-direction: column;
align-items: center;
justify-content: center;
display: none;
}

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

.empty-state__title,
.empty-state__description {
/* margin-bottom: 20px; */
font-size: 25px;
text-align: center;
margin: 2rem;
width: 25rem;
}

/* Add this below the other styles */
.todo-list:empty {
display: none;
}

.todo-list:empty + .empty-state {
display: flex;
}

@media (max-width: 608px) {
.container {
width: 90%;
margin: auto;
}
.app-title {
font-size: 3rem;
}
.empty-state__title,
.empty-state__description {
font-size: 1.5rem;
width: 18rem;
}
/*   .btn {
position: absolute;
right: -1rem;
} */
em {
display: none;
}
}
