/* PANEL STARTOWY */

#startScreen{
margin-top:60px;
}

.startBox{
background:white;
width:280px;
margin:20px auto;
padding:25px;
border-radius:10px;
box-shadow:0 0 10px rgba(0,0,0,0.2);
display:flex;
flex-direction:column;
gap:10px;
}

.startBox label{
font-weight:bold;
text-align:left;
}

#playerName,
#level{
padding:8px;
font-size:16px;
border:1px solid #ccc;
border-radius:5px;
}

#playerName:focus,
#level:focus{
outline:none;
border-color:#3b82f6;
box-shadow:0 0 5px rgba(59,130,246,0.5);
}

/* PRZYCISK START */

#startButton{
margin-top:10px;
padding:10px;
font-size:18px;
background:#3b82f6;
color:white;
border:none;
border-radius:6px;
cursor:pointer;
transition:0.2s;
}

#startButton:hover{
background:#2563eb;
transform:scale(1.05);
}

#startButton:active{
transform:scale(0.95);
}

body{
font-family:Arial;
text-align:center;
background:#eef4ff;
}

#gameScreen{
display:none;
}

#gameArea{
width:420px;
height:320px;
border:3px solid #333;
margin:20px auto;
position:relative;
overflow:hidden;
background:white;
}

#fallingWord{
position:absolute;
top:0;
font-size:32px;
font-weight:bold;
white-space:nowrap;
}

#effect{
position:absolute;
top:120px;
width:100%;
font-size:40px;
font-weight:bold;
opacity:0;
}

.good{
color:green;
}

.bad{
color:red;
}

#inputWord{
font-size:22px;
padding:5px;
}

#topbar{
font-size:20px;
}
#fallingWord{
position:absolute;
font-size:32px;
font-weight:bold;
white-space:nowrap;
user-select:none;
}
#rankingEasy,
#rankingMedium,
#rankingHard{
list-style-type: none;
padding-left: 0;
margin-left: 0;
}
#rankingEasy,
#rankingMedium,
#rankingHard{
list-style:none;
padding:10px;
margin:10px auto;
width:200px;
background:white;
border:2px solid #333;
border-radius:8px;
}