body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f0ff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-image: radial-gradient(circle, #e1d3ff, #e8deff, #efe9ff, #f7f4ff, #fff);
  
}

.container {
  background-color: rgb(247, 247, 247);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 400px;
  overflow: auto;

  max-height: 69vh;

  max-width: 90%; 
  margin: 0 auto;
}

h1 {
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.input-container {
  display: flex;
}

input[type="text"] {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px 0 0 4px;
}


#taskInput:focus{
  outline: none;
}

#taskInput::-moz-focus-inner {
  border: 0;
}

button {
  background-color: #2bad4a;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #218838;
}

ul {
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
}

li {
  padding: 10px;
  background-color: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.delete {
  margin-left: auto;
  color: #dc3545;
  cursor: pointer;
  transition: color 0.3s;
}

.delete:hover {
  color: #c82333;
}

.dark-header {
  background-color: #333;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 98%;
  z-index: 1000;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 0 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.huge-stylish-text {
  font-size: 36px;
}

.github-button {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border: solid white 1px;
  border-radius: 4px;
  padding: 2px 5px 4px 5px;
  box-sizing: border-box;
  margin-right: 15px;
  margin-top: 3px;
  transition: color, border-color 0.12s;
}

.github-button:hover {
  color: rgb(222, 222, 222);
  border-color: rgb(222, 222, 222);
}

.logo {
  height: 17px;
  vertical-align: middle;
  margin-bottom: 2px;
}

.download-button {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border: solid white 1px;
  border-radius: 4px;
  padding: 2px 5px 4px 5px;
  box-sizing: border-box;
  margin-right: 15px;
  margin-top: 3px;
  transition: color, border-color 0.12s;
}

.download-button:hover {
  color: rgb(222, 222, 222);
  border-color: rgb(222, 222, 222);
}

.dl {
  height: 17px;
  vertical-align: middle;
  margin-bottom: 3px;
}

.bottom-text {
  position: fixed;
  bottom: -9px;
  right: 10px;
  color: #666;
  font-size: 14px;
  padding: 0px;
}

a {
  text-decoration: none;
  color: #666;
}

.made-with:hover {
  text-decoration: underline;
}

.made-with{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.made-with p:first-child {
  margin-bottom: -12px; 
}

.instructions {
    text-align: center;
    margin-top: 20px;
    margin-top: -12px;
}

.instructions p {
  color: #666;
}

.div{
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 600px) {
  .container {
    padding: 10px; 
  }

  .dark-header{
    height: 66px;
  }

  .input-container {
    flex-direction: column; 
  }

  input[type="text"] {
    margin-right: 7px;
    margin-bottom: 10px; 
    border-radius: 4px; 
  }

  button {
    margin-right: 7px;
    border-radius: 4px; 
  }

  .header-content {
    flex-direction: row; 
    align-items:stretch; 
    margin: auto;
  }

  .huge-stylish-text {
    font-size: 45px;
  }

  .github-button {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border: solid white 1px;
    border-radius: 4px;
    padding: 10px;
    padding-left: 2px;
    padding-right: 2px;
    box-sizing: border-box;
    margin-right: 15px;
    margin-top: 3px;
    transition: color, border-color 0.12s;
    background-color: #333;
    vertical-align: middle;
  }
  
  .github-button:hover {
    color: rgb(222, 222, 222);
    border-color: rgb(222, 222, 222);
  }

}
