*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Lora;
}

:root
{
  --blackShadow:3px 2px 8px rgba(0, 0, 0, 0.3);
}

nav{
  background-color: #3178b3;
  padding: 15px;
}

nav h1{
  color: whitesmoke;
  font-weight: 300;
  font-family: italic;
  font-size: 2em;
}

.collapse{
  margin-left: 5%;
}

.collapse button{
  margin:15px ;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
}

.titleTask{
  text-align: center;
  margin-top: 3%;
  margin-bottom: 3%;
  font-family: Lora;
  font-size:1.5rem;
  letter-spacing: 2px;
  text-align: center;
}

.divNoTask {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 2%;
}

.divNoTask img {
  position: relative;
  left: 25%;
}

.noTask{
  font-family: Lora;
  word-spacing: 5px;
  font-size: 1.5rem;
  margin-top: 5%;
  text-align: center;
}

.divTaskList{
  width: 100%;
}

.divTaskList p{
  width: 60%;
  background-color:rgb(250, 250, 250);
  margin: auto;
  padding: 8px;
  margin-bottom: 1%;
  cursor: pointer;
  transition: ease-out 0.8s;
  border:1px solid rgb(230, 235, 235);
  border-radius: 5px; 
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.divTaskList p:hover{
  border: none;
  transform: scale(1.02);
  box-shadow:  var(--blackShadow);
  -webkit-box-shadow: var(--blackShadow);
  -moz-box-shadow: var(--blackShadow);
}

.divTaskList p span{

  color: red; 
  font-size: 1.2rem;

}

/* ================================================================
  FOOTER
  ================================================================ */
.footer {
  background-color: #111;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  padding: 20px 40px;
  font-family: 'Nunito', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a {
  color: #4da6ff;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.footer a:hover {
  color: #80c1ff;
  text-decoration: underline;
}

.footer-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-icons a {
  color: #fff;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
}

.footer-icons a:hover {
  background-color: #333;
  transform: scale(1.1);
  text-decoration: none;
}

/* RESPONSIVITE */
@media (max-width:900px){
  .divTaskList p{
    width: 70%;
    padding: 6px;
  }
}
@media (max-width:750px){
  .noTask{
    word-spacing: 3px;
    font-size: 1.2rem;
  }
}
@media (max-width:600px){
  .noTask{
    word-spacing: 0px;
    font-size: 1.2rem;
  }
  .titleTask{
    font-size: 1.2rem;
    letter-spacing: 0px;
  }
  .divTaskList p{
    width: 75%;
    padding: 5px;
  }
  .divTaskList p span{
    font-size: 1rem;
  }
}
@media (max-width:500px){
  .noTask{
    font-size: 1rem;
  }
  .divTaskList p{
    width: 80%;
    padding: 3px;
    margin-bottom: 2%;
  }
}
@media (max-width:400px){
  .noTask{
    font-size: .8rem;
  }
  .divTaskList p{
    width: 80%;
    padding: 3px;

  }
  .titleTask{
    margin-top: 3%;
    margin-bottom: 3%;
    font-size: 1rem;
  }
  .divTaskList p span{
    font-size: 0.9rem;
  }
}
