@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kalam:wght@300&display=swap");

html {
  font-size: 100%;
  font-family: "Dancing Script", cursive;
  background: url(supermarket.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  box-sizing: border-box;
  bottom: 0;
}

body {
  padding: 0px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: space-around;
}

h1 {
  font-size: 5em;
  text-align: center;
  margin: 0;
  font-weight: 800;
  word-spacing: 20px;
  text-shadow: 0 1px 4px rgb(5, 183, 253);
}

#tooltip {
  opacity: 0;
  text-align: center;
  font-size: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  color: rgb(226, 43, 211);
  padding: 10px;
  border-radius: 20px;
  border-color: rgb(226, 10, 136);
  margin: 0;
  margin-top: 30px;
  background-color: aliceblue;
}

.fa-lightbulb {
  color: rgb(238, 215, 12);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.61);
  font-size: 20px;
  margin-right: 10px;
}

#tooltip:hover .fa-lightbulb {
  transform: scale(1.5);
}

#first {
  color: rgb(182, 51, 160);
  font-weight: 600;
  word-spacing: 10px;
  text-align: center;
  font-size: 2em;
  margin: 20px;
  text-shadow: 0 1px 4px rgb(255, 255, 255);
}

#container {
  display: flex;
  height: fit-content;
  align-items: center;
  align-content: space-around;
  flex-direction: column;
  padding-top: 10px;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 10px;
  margin-bottom: 40px;
  border-radius: 35px;
  background-color: rgba(240, 248, 255, 0.658);
}

#inputBox {
  display: flex;
  margin-top: 10px;
  place-content: center center;
}

#userInput {
  border-radius: 10px;
  border-color: rgb(29, 138, 189);
  font-size: 1.2em;
  font-family: "Montserrat", sans-serif;
}

#enter {
  cursor: pointer;
  border-radius: 10px;
  border-color: rgb(18, 177, 84);
  background-color: rgb(11, 136, 88);
  color: white;
  font-size: 1em;
  font-family: "Montserrat", sans-serif;
  transition: transform ease-in-out 400ms;
}

#enter:hover {
  transform: scale(1.1);
}

#toDoList {
  position: relative;
  z-index: 1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5em;
  font-weight: 600;
  list-style-position: outside;
  list-style-image: url(caddie1.png);
}

ul {
  margin-bottom: 0;
}

li {
  color: rgb(3, 29, 54);
  transition: transform ease-in-out 400ms;
}

li:hover {
  transform: scale(1.1);
}

#container:hover #tooltip {
  opacity: 1;
}

.trash {
  background-color: rgb(190, 37, 109); /* Blue background */
  border-color: brown;
  border-radius: 40px;
  color: white;
  padding: 4px 5px;
  font-size: 12px;
  cursor: pointer;
  margin-left: 20px;
  opacity: 0;
  transition: opacity ease-in-out 500ms;
  transition: scale ease-in-out 500ms;
}

li:hover .trash {
  opacity: 1;
}

.trash:hover {
  transform: scale(1.3);
  background-color: rgb(189, 15, 15);
  text-shadow: 0 1px 4px rgb(255, 255, 255);
}

.done {
  list-style-image: url(caddie2.png);
  text-decoration: line-through 3px;
}

#buttonsBottom {
  display: flex;
  justify-content: center;
}

#delete {
  cursor: pointer;
  display: flex;
  margin: 20px;
  align-items: center;
  border-radius: 10px;
  border-color: brown;
  background-color: rgb(214, 122, 122);
  color: white;
  transition: transform ease-in-out 400ms;
  font-size: 1em;
  font-family: "Montserrat", sans-serif;
}

#print {
  cursor: pointer;
  display: flex;
  margin: 20px;
  align-items: center;
  border-radius: 10px;
  border-color: rgb(29, 138, 189);
  background-color: rgb(17, 166, 224);
  color: white;
  transition: transform ease-in-out 400ms;
  font-size: 1em;
  font-family: "Montserrat", sans-serif;
}

#delete:hover {
  transform: scale(1.2);
  background-color: brown;
  color: blanchedalmond;
}

#print:hover {
  transform: scale(1.2);
  background-color: rgb(29, 138, 189);
  color: blanchedalmond;
}

.hidden {
  visibility: hidden;
}

#footer {
  display: flex;
  font-size: 0.8em;
  font-weight: 900;
  text-shadow: 0 1px 4px rgb(0, 183, 255);
  text-align: center;
  font-family: "Montserrat", sans-serif;
}
