/* empêcher la page d'être scroll */
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
 }

body {
  font-family: 'Josefin Sans', sans-serif;
  margin: 50px 50px 0 50px ;

}



#main-content {

  display: grid;
  grid-template-columns: 2fr 8fr 2fr  ;
}


#image {
  /* fond d'écran */
  min-height: 100%;
  min-width: 100%;

  /* taille et proportion du fond d'écran */
  width: 100%;
  height: auto;

  /* position du fond d'écran */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: -1;
}

#time {
  font-size: 100px;
  color: #ffffff;
}

  #container-center {
     display:flex;
     justify-content: center;
     
    
  }

  #container-hour-date {
    
    background: rgba(180, 180, 180, 0.20);
    box-shadow: 0 8px 32px 0 rgba(100, 100, 100, 0.37);
    backdrop-filter: blur( 3.5px );
    -webkit-backdrop-filter: blur( 3.5px );
    border-radius: 10px;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
  }

#container-weather {
  margin-top: 30px;
  background: rgba(180, 180, 180, 0.2);
  box-shadow: 0 8px 32px 0 rgba(100, 100, 100, 0.37);
  backdrop-filter: blur(3.5px);
  -webkit-backdrop-filter: blur(3.5px);
  border-radius: 10px;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
}

  #container-quote-author {
    
    padding: 3px 0 3px 0 ;
    background: rgba(180, 180, 180, 0.20);
    box-shadow: 0 8px 32px 0 rgba(100, 100, 100, 0.37);
    backdrop-filter: blur( 3.5px );
    -webkit-backdrop-filter: blur( 3.5px );
    border-radius: 10px;
    color: #ffffff;
    font-size: 30px;
    text-align: center;
  }

#quote {
  font-style: italic;
}

/* *{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
} */
/* body {
    width: 350px;
    height: 250px;
    text-align: center;
    background-color: rgb(31, 104, 104);       
    display :flex ;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 6px;

  } */

/* **** CSS pour la barre de recherche **** */

input,
button {
  margin-bottom: 2px;
  padding: 2px;
  border: 0;
  outline: none;
  border-radius: 6px;
}
/* button {
  background-color: #000000;
  color: #32c415;
  cursor: pointer;
  font-size: 15px;
} */

/*reseaux */

 .social-share{
    display: flex;
    flex-direction: row;
}

.social-icon{
    display: block;
    width: 50px;
    height: 30px;
    aspect-ratio: 3/3;
}

.social-icon img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

 /**** CSS pour la to do liste **** */

#container-right {
  position: grid;
  margin-top: 11px;
}

#todo_block {
  margin: 0;
  padding: 0;
  background-color: #f4f4f400;
  border-radius: 8px;
  width: 350px;
}

#todo_container {
  background-color: #ffffff11;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#new-task {
  padding: 10px;
  width: calc(100% - 20px);
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
}

#add-task {
  padding: 10px;
  width: 100%;
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 13px;
  transition: opacity 0.3s ease;
}

#task-list {
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

#task-list li {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #e0e0e0;
  margin-bottom: 5px;
  border-radius: 4px;
  overflow: hidden;
}

#task-list li span {
  flex-grow: 1;
  margin-left: 10px;
  word-break: break-all;
}

input[type="checkbox"] {
  cursor: pointer;
}

button:not(#add-task) {
  margin-left: 5px;
  padding: 5px 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

button:hover {
  opacity: 0.8;
}

#toggle {
  display: none;
}

#toggle:checked ~ #hiddendiv {
  display: none;
}

label {
  padding: 10px;
  width: 100%;
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 90px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 13px;
  transition: opacity 0.3s ease;
}

.zone-hover {
  position: relative;
  width: 300px;
  height: 40px;
  background-color: #f0f0f0;
  border-radius: 5px;
  overflow: hidden;
}

.searchBox {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 10px;
  box-sizing: border-box;
  transition: width 0.3s;
  border-radius: 30px;
}

.zone-hover:hover .searchBox {
  width: 250px;
 
}
 
.btn{
  display: block; 
  padding: 20px;
  background: rgba(red, green, blue, alpha);
  color: whitesmoke;
  border-radius: 40px;
  position: relative;
  top:5px;
  border:none;
  font-size: 1rem;
  cursor: pointer;
  width: 150px;
  background-color: #000000;
}

.btn:hover{
  background: linear-gradient(90deg,grey,rgb(255, 255, 255), rgb(0, 0, 0), rgb(90, 90, 122), rgb(70, 65, 65));
  background-size: 500%;
  z-index: 1;
  animation: blink 9s linear infinite;
}

@keyframes blink{
  from{
    background-position: 0%;
  }
  to{
    background-position: 500%;
  }
}

#searchEngine{
  width: 150px;
  cursor: pointer;
  margin-left: 5px;
  border-radius: 5px;
  background: rgba(180, 180, 180, 0.20);
}
