@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

body{
    /* height:140vh ; */
    width: 80%;
    margin: 0 auto;
    background: linear-gradient(33deg, #cb9875, #01c9d2);
    background-repeat:  no-repeat;
  background-size: cover;
  overflow-x: hidden;
}

/*////////////////////////////// done of navbar ///////////////////////////////////////////*/

.navbar{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    height: 20vh;
    /* width:   */
}

#nav{
    background: linear-gradient(77deg, #76bfe8, #28fea1);
    padding: 20px;
    /* width: 80px; */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    box-shadow:  0 2px 5px rgba(0,0,0,0.3);
    transition: width 0.6s linear;
}

nav.chalu{
    width:100%;
}

nav ul{
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 0;
    transition: width 0.4s linear;
    
}

nav.chalu ul{
    width: 100%;
}


nav ul li {
    transform: rotate(0deg);
    opacity: 0;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    transition: transfrom 0.6s linear, opacity 0.6s linear;
  }
  
  nav.chalu ul li {
    opacity: 1;
    transform: rotateY(360deg);
}

nav ul a {
    position: relative;
    color: #000;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}
nav ul a:hover {
    color: rgb(255, 255, 255);    
    /* background-color: #000; */
}
  nav.chalu ul li:hover {
transform: scale(1.2);
transition: all 0.5s ease-in-out;

  }
  
  .icon {
    background: transparent;
    border: 0;
    padding: 0;
    position: relative;
    height: 30px;
    width: 30px;
    outline: none;
    cursor: pointer;
  }
  
  .icon .line {
    background: rgb(255, 0, 230);
    height: 3px;
    width: 20px;
    position: absolute;
    top: 10px;
    left: 5px;
    transition: transfrom 2s linear;
  }
  #nav:hover{
    transform: scale(1.03);
  }
  
  .icon .line2 {
    top: auto;
    bottom: 10px;
  }
  
  nav.chalu .icon .line1 {
    transform: rotate(-765deg) translateY(5.5px);
  }
  
  nav.chalu .icon .line2 {
    transform: rotate(765deg) translateY(-5.5px);
  }

/*////////////////////////////// done of navbar ///////////////////////////////////////////*/

/* -----------------------Random emojis---------------------------------------------------------- */

.emojicontainer{
    margin: 1em auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


#emoji {
    font-size: 5rem;
    filter: grayscale(1);
    transition-property: transfrom, filter;
    transition-duration: 200ms;
    cursor: pointer;
  }
  
  #emoji:hover {
    transform: scale(1.3);
    filter: grayscale(0);
  }


  .lesson{
    font-family: poppins,sans-serif;
    /* font-style: italic; */
    color:antiquewhite;
    position: relative;
    /* left: -20%; */
    /* top:0 */

  }

  ::-webkit-scrollbar {
    background-color: transparent;
    width: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(0deg, rgb(0, 225, 255) 0%, rgb(15, 227, 29) 100%);
    border-radius: 100px;
  }


  @media (max-width:420px){

      #nav{
        width: 350px;    
      }
  }
  @media (min-height:800px){

      body{
        height: 150vh;    
      }
  }