*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;

}

:root{
  --c_red: #FF5733;
  --font_color: #808B96;
  --c_white: #F8F9F9;
  --c_black: #17202A;
  --bg_color: #EAECEE;
}

body{
  height: 100vh;
  width: 100%;
  background-color: var(--bg_color);
  color: var(--c_black)!important;
}

header{
  width: 100%;
  height: 60px;
  margin: auto;
  background-color: var(--c_black);
  /* box-shadow: 0px 10px 20px 0px rgb(0, 0, 0, 20%); */
}

header .header_container{
  max-width: 1300px;
  width: 80%;
  height: 100%;
  margin: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

header .header_container .logo{
  width: 15%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: cursive;
  color: var(--c_white);

}

header .header_container nav{
  width: 70%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

header .header_container nav .nav_item{
  padding: 0.4rem 1rem;
  text-decoration: none;
  color: var(--c_white);
  text-transform: capitalize;
  font-size: 16px;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.5s;
}

header .header_container nav .nav_item:hover{
  background-color: var(--bg_color) ;
  color: var(--c_black) ;
}


header .header_container nav #time_select{
  padding: 0.4rem;
  margin-left: 0.4rem;
  font-size: 0.7rem;
  outline: none;
  border-color: var(--c_white);
  border-radius: 3px ;
}


header .header_container nav #time_select option{
  color: var(--c_black);
  background-color: var(--c_white);
}

header .header_container nav #stop_timer{
  color: var(--c_red);
}


.heading1{
  margin: 5px auto;
  text-align: center;
  font-family: 'ubuntu';
  font-size: 2rem;
  color: var(--font_color);
}

.heading4{
  margin: 5px auto;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--font_color);
}

.container{
  max-width: 1300px;
  width:80%;
  margin: 20px auto;
  position: relative;
  background: transparent;
  border-radius: 10px;
  /* box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 20%); */
  background-color: var(--c_white);
  
}

#container{
  width: 100%;
  padding: 1rem;
}

.inner-container{
  width: 80%;
  margin: 10px auto;
  padding: 10px;
  
}

.inner-container:nth-child(1){
  height: 150px;
  background-color: var(--bg_color)
}

.inner-container:nth-child(2){
  height: 80px;
}

.inner-container:nth-child(3){
  height: 100px;
}

.box_shadow{
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 20%);

}

/* #container:nth-child(1){
  padding-top: 25px;
} */

#typing-area{
  height: 40px;
  width: 50%;
  padding: 5px 20px;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  outline: none;
  color:var(--c_black);
  border: 1px solid var(--c_white);

}

#typing-area:focus{
  border: 1px solid var(--font_color);
}

.typed{
  width: 200px;
  font-size: 0.8rem;
  font-family:  sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#score{
  margin: 10px auto;
  padding: 8px;
  text-align: center;
  font-size: 1rem;
  font-family:  sans-serif;
  font-weight: bold;
  color: var(--c_black);
  
}


.score-container{
  margin: 50px auto;
  height: 240px;
  width: 240px;
  background-color: transparent;
  border-color:  var(--c_white);
  border-width: 5px;
  border-style: dotted;
  border-radius: 130%;
}

.text-1{
  font-size: 1.4rem;
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline;
}

.typing-menu{
  height: 50%;
  background-color:var(--c_black);
}

.score-menu{
  height: 50%;   
  background-color: var(--c_black);
}

/* #tTyped,#correct,#wrong{
  font-size: 1rem;
  font-weight: bold;

} */

#cWord{
  padding: 0.2rem;
  background-color: var(--font_color);
  border-style: none;
  border-radius: 2px;
}

.speed{
  margin-top: 15px;
  text-align: center;
  font-family:  sans-serif;
  font-weight: bold;
  color: var(--c_black);
}

#wpm{
  height: 135px;
  width: 150px;
  margin: 1rem auto;
  background-color: transparent;
  border-style: groove;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

#wpm h1{
  font-size: 11vmin;
  text-align: center;
  font-family:  sans-serif;
  font-weight: bold;
  color:var(--c_white);
}

#wp{
  font-family:  sans-serif;
  font-weight: bold;
  font-size: 18px;
  color:var(--c_white);
  text-align: center;
}

#and{
  margin: 30px auto;
  text-align:center;
  font-family:  sans-serif;
  font-weight: bold;
  font-size: 40px;
  color: var(--c_black);
  
}

#acc{
  text-align: center;
  font-family:  sans-serif;
  font-weight: bold;
  font-size: 22px;
  color: var(--c_black);
  margin: 1rem auto;
}

#accuracy{
  width: 120px;
  margin: 1rem auto;
  padding: 8px 15px;
  text-align: center;
  font-family:  sans-serif;
  font-weight: bold;
  color: var(--c_white);
  border-radius: 10px;
  background-color: var(--c_red);

}

#result{
  width: 100%;
  margin: auto;
  padding: 10px;
  background-color: var(--font_color);
}

.code{
  position: absolute;
  top: 500px;
  left: 250px;
  font-family:  sans-serif;
  font-weight: bold;
  text-align: center;
  font-size: 20px;
  color: rgba(255, 255, 255,0.6);
  
}
#start_btn{
  width: 100px;
  padding: 8px 12px;
  margin: 20px auto;
  display: block;
  border: 1px solid var(--c_black);
  color: var(--c_white);
  border-radius: 3px;
  text-decoration: none;
  text-align: center;
  background-color: var(--c_black);
}
#start_btn:hover{
  background-color: transparent;
  color: var(--c_black);
}

footer{
  width: 100%;
  height: 60px;
  margin: auto;
  background-color: var(--c_black);


}

footer .footer{
  max-width: 1300px;
  width: 80%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}



footer .footer a,span{
  color: var(--font_color);
  text-decoration: none;

}

footer .footer a:hover{
  color: var(--c_white);

}

@media screen and (max-width: 768px){

  header{
    width: 100%;
  }

  .container{
    width: 100%;
  }

  .inner-container{
    width: 98%;
  }

  .heading1{
    font-size: 1.2rem;
  }
  .heading4{
    font-size: 0.7rem;
  }
  .text-1{
    font-size: 1rem;
  }

  #typing-area{
    width: 80%;
  }
  footer{
  font-size: 12px;

  }

}