@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.spotify {

    opacity: 0.8;
}

::selection{
  color: #ffff;
  background: rgb(142, 73, 232);
}
body{
  width: 100%;
  height: 100vh;
  overflow: hidden;

}
.wrapper{
  background:black;
  max-width: 400px;
  width: 100%;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
  position: absolute;
  top: 100px;
  left: 16px;
  opacity: 0.7;
  transition: 0.5s;
    transition-property: background, box-shadow;
}

.wrapper:hover{
    background: #2E94E3;
    box-shadow: 0 0 30px #2E94E3;
  }

.wrapper header{
  font-size: 30px;
  font-weight: 600;
  color: white;
}
.wrapper .inputField{
  margin: 20px 0;
  width: 100%;
  display: flex;
  height: 45px;
}
.inputField input{
  width: 85%;
  height: 100%;
  outline: none;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 17px;
  padding-left: 15px;
  transition: all 0.3s ease;
}

.inputField input:focus{
  border-color: #8E49E8;
}
.inputField button{
  width: 50px;
  height: 100%;
  border: none;
  color: #fff;
  margin-left: 5px;
  font-size: 21px;
  outline: none;
  background:#2E94E3;
  cursor: pointer;
  border-radius: 3px;
  opacity: 0.8;
  pointer-events: none;
  transition: all 0.3s ease;
}
.inputField button:hover,
.footer button:hover{
  background:blue;
}
.inputField button.active{
  opacity: 1;
  pointer-events: auto;
}
.wrapper .todoList{
  max-height: 250px;
  overflow-y: auto;
}
.todoList li{
  position: relative;
  list-style: none;
  height: 45px;
  line-height: 45px;
  margin-bottom: 8px;
  background: #f2f2f2;
  border-radius: 3px;
  padding: 0 15px;
  cursor: default;
  overflow: hidden;
}
.todoList li .icon{
  position: absolute;
  right: -45px;
  background: #e74c3c;
  width: 45px;
  text-align: center;
  color: #fff;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.todoList li:hover .icon{
  right: 0px;
}
.wrapper .footer{
  display: flex;
  width: 100%;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
  color: white;
}
.footer button{
  padding: 6px 10px;
  border-radius: 3px;
  border: none;
  outline: none;
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  margin-left: 5px;
  background: #2E94E3;
  cursor: pointer;
  user-select: none;
  opacity: 0.8;
  pointer-events: none;
  transition: all 0.3s ease;
}
.footer button.active{
  opacity: 1;
  pointer-events: auto;
}



.clock{
    margin: 0;
    padding: 0;
    position: absolute;
    left: 16px;
    bottom: 12px;
    opacity: 0.65;
  }
  
  .clock .body{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    
  }
  
  .datetime{
    color: #ffffff;
    background: black;
    font-family: "Segoe UI", sans-serif;
    width: 340px;
    padding: 15px 10px;
    border-radius: 15px;
    transition: 0.5s;
    transition-property: background, box-shadow;
  }
  
  .datetime:hover{
    background: #2E94E3;
    box-shadow: 0 0 30px #2E94E3;
  }
  
  .date{
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 3px;
  }
  
  .time{
    font-size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .time span:not(:last-child){
    position: relative;
    margin: 0 6px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 3px;
  }
  
  .time span:last-child{
    background: #2E94E3;
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
    padding: 0 5px;
    border-radius: 3px;
  }

  nav {
    /* make the text white */
    color: white;
    /* ensure that our navbar extends the entire width of the screen */
    width: 100%;
    /* navbar is fixed to the top of the screen */
    position: fixed;
    /* background color of the navbar is black */
    background: rgba(0, 0, 0, 0.8);
    /* the navbar's height is 60px  */
    height: 60px;
    z-index: 5;

    
  }
  .nav-bar {
    /* take 100% of the height of the nav */
    height: 100%;
    /* explain space-between, space-evenly, space-around */
    display: flex;
    justify-content: space-between;
    
    align-items: center;
    /* add some padding to the sides */
    padding: 0 2rem;
  }
  
  /* we want the nav links to take up a 250px width in the navbar */
  .nav-links {
    width: 500px;
  }
  
  /* take up 100% width of the box defined above */
  .nav-links ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
  }

  .nav-links ul li {
      width: 500px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: white;
    

  }

  .cool-link::after {
      content: '';
      display: block;   
      width: 0;
      height: 2px;
      background: #fff;
      transition: width .3s;
  }

  .cool-link:hover::after {
      width: 100%;
      transition: width .3s;
  }

  .sub-menu-1 {
      display: none;
      
  }

   .nav-bar ul li:hover .sub-menu-1 {
      display: block;
      position: absolute;
      background: rgb(0,0,0);
      margin-top: 2px;
      margin-left: -5px;
      z-index: 1;

  }

  .nav-bar ul li:hover .sub-menu-1 ul {
      display: block;
      margin: 10px;
  }

  .nav-bar ul li:hover .sub-menu-1 ul li {
    width: 150px;
    padding: 10px;
    border-bottom: 1px dotted #fff;
    background: solid;
    border-radius: 0;
    text-align: left;
}

.nav-bar ul li:hover .sub-menu-1 ul li:last-child {
    border-bottom: none;
}

.nav-bar ul li:hover .sub-menu-1 ul li a:hover {
    color:rgb(142, 73, 232)
}