

/* =============================================================================
   HTML5 CSS Reset Minified - Eric Meyer
   ========================================================================== */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
li{list-style:none}


/* =============================================================================
   My CSS
   ========================================================================== */

/* ---- base ---- */

html,body{ 
	width:100%;
	height:100%;
	background:#200420;
}

html{
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body{
  font:normal 75% Lato, sans-serif;
}


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

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

}

.coming-soon {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0.2rem 0;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 10px turquoise;
  text-shadow: 0 0 3px #00ff37;
  font-family: "Lato", sans-serif;
}

.tajmerlol {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  max-width: 90vw;
  line-height: 1;
}

.rok {
  color: #fff;
  font-size: 4.5rem;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.countdown {
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 1.7rem;
  text-align: center;
  flex-wrap: wrap;
}

.container-day,
.container-hour,
.container-minute,
.container-second {
  font-size: 0.7rem;
  margin: 0;
  padding: 0;
}

#speedtypeTestSection {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 150px);
  padding: 1rem;
  font-family: "Lato", sans-serif;
  pointer-events: none;
  z-index: 1;
  position: relative;
}


#testContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  width: auto;
  max-width: 95vw;
  min-width: 300px;
  background: rgba(0, 0, 0, 0.8);
  padding: clamp(1rem, 4vw, 3rem);
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 0 10px turquoise;
  pointer-events: auto;
}

#testContainer input,
#testContainer select,
#testContainer textarea,
#testContainer button {
  pointer-events: auto;
}

#settings {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  pointer-events: auto;
}

#settings label {
  font-weight: bold;
  font-size: 1rem;
}

#settings input {
  width: 50px;
  padding: 0.3rem;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  color: turquoise;
  box-shadow: 0 0 10px turquoise;
  background: rgba(0, 0, 0, 0.6);
}

#settings button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 10px turquoise;
  border: none;
  color: turquoise;
  font-weight: bold;
  transition: background-color 0.3s;
  pointer-events: auto;
}

#settings button:hover {
  background-color: #222222;
}

#targetText {
  display: inline-block;
  text-align: center;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
  min-width: 50vw;
  max-width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 2px rgb(0, 0, 0);
  min-height: 7rem;
  font-family: "Lato Bold", sans-serif;
  overflow-wrap: anywhere;
  hyphens: none;
}

#results {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 1rem;
  color: #aeeeff;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 0 2px #000000;
}

#results span {
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
}

#finalMessage.highlight {
  text-shadow: 0 0 2px #000000;
  color: #aeeeff;
  font-weight: bold;
}

.correct {
  color: #90ee90;
}

.incorrect {
  color: #ff4c4c;
}

.current {
  background-color: #444;
  border-radius: 3px;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 10px turquoise;
  color: white;
  text-align: right;
  font-family: "Lato", sans-serif;
  display: flex;
  justify-content: space-between;
}

.logodiscord {
  margin: 0 0.3vw 0 0;
  height: 1.5em;
}
.discord {
  color: white;
  text-align: right;
  padding: 0.1rem;
  margin-right: 0.1rem;
  text-shadow: 0 0 2px turquoise;
}

.footer-left {
  display: flex;
  align-items: center;
  position: relative;
  font-family: "Lato", sans-serif;
}
.footer-left::after {
  content: "";
  display: block;
  position: absolute;
  right: -0.7rem;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1px;
  box-shadow: 0 0 5px 1px turquoise;
}

.footer-right {
  display: flex;
  align-items: center;
  color: white;
  font-family: "Lato", sans-serif;
  position: relative;
}
.footer-right::before {
  content: "";
  display: block;
  position: absolute;
  left: -0.7rem;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1px;
  box-shadow: 0 0 5px 1px turquoise;
}

.footer-link {
  color: white;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}
  
.footer-link:hover {
  text-decoration: underline;
}
.footer-left {
  justify-content: left;
  color: white;
}

.logodiscord {
  margin-top: 0.04rem;
  margin-right: 0.1rem;
  max-height: 1.2em;
}

.discord {
  color: white;
  text-align: right;
  font-family: "Lato", sans-serif;
  padding: 0.1rem;
  margin-right: 0.2rem;
  text-shadow: 0 0 2px turquoise;
}

/* MOBILE FIXES */
@media (max-width: 600px) {
  .rok {
    font-size: 3.2rem;
  }

  .countdown {
    gap: 0.3rem;
    scale: 0.85;
  }

  .container-day,
  .container-hour,
  .container-minute,
  .container-second {
    font-size: 0.65rem;
  }
}