@import url('https://fonts.googleapis.com/css2?family=Nova+Square&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

html{
    cursor: url(Cursor/Best.cur), auto;
}

section{
  padding: 20px 20px;
}

body{
  background: linear-gradient(225deg, #f93452 0%, #d4ff00 100%);
  background-size: cover;
  background-repeat: no-repeat;
}

.section-two{
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.keyboard {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 5px 0;
  background: #004134;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  user-select: none;
  transition: bottom 0.4s;
}

.keyboard--hidden {
  bottom: -100%;
}

.keyboard__keys {
  text-align: center;
}

.keyboard__key {
  height: 45px;
  width: 6%;
  max-width: 90px;
  margin: 3px;
  border-radius: 4px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.05rem;
  outline: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: top;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.keyboard__key:active {
  background: rgba(255, 255, 255, 0.12);
}

.keyboard__key--wide {
  width: 12%;
}

.keyboard__key--extra-wide {
  width: 36%;
  max-width: 500px;
}

.keyboard__key--activatable::after {
  content: '';
  top: 10px;
  right: 10px;
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
}

.keyboard__key--active::after {
  background: #08ff00;
}

.keyboard__key--dark {
  background: rgba(0, 0, 0, 0.25);
}


svg{
  font-size: 3em;
}

h1{
    font-family: 'Nova Square';
    font-size: 5em;
    margin: 50px 0 0;
}

p{
  font-family: 'Nova Square';
  font-size: 2em;
}

font{
  font-size: 3em;
  font-family: 'Nova Square';
  margin: 60px 0 0;
}

.game-container{
    padding: 20px 30px;
    position: relative;
    margin: auto;
    height: 350px;
    width: 450px;
}

.game-info {
  font-family: 'Nova Square';
	color: #000000;
	font-size: 3em;
}

.figure-container{
    fill: transparent;
    stroke: #000000;
    stroke-width: 4px;
    stroke-linecap: round;
}

.figure-part{
    display: none;
}

.wrong-letters-container{
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    text-align: right;
}

.wrong-letters-container p{
    margin: 0 0 5px;
}

.wrong-letters-container span{
    font-size: 24px;
}

.word{
    display: flex;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.letter{
    border-bottom: 3px solid #2980b9;
    display: inline-flex;
    font-size: 30px;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    height: 50px;
    width: 20px;
}

.popup-container{
    background-color: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.popup{
    background-color: #2980b9;
    border-radius: 5px;
    box-shadow: 0 15px 10px 3px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}

.popup button{
    cursor: pointer;
    background-color: #fff;
    color: #2980b9;
    border: 0;
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 16px;
}

.popup button:active{
    transform: scale(0.98);
}

.popup button:focus{
    outline: 0;
}

.notification-container{
    background-color: rgba(0,0,0,0.3);
    border-radius: 10px 10px 0 0;
    padding: 15px 20px;
    position: absolute;
    bottom: 50px;
    transition: transform 0.3s ease-in-out;
}

.notification-container p{
    margin: 0;
}

.notification-container.show{
    transform: translateY(-60px);
}

header{
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #23252B;
  box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
  padding: 0 100px;
  transition: 0.6s;
}

header .logo{
  color: #ff7b00;
  font-size: 1.8em;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
}

header .navigation{
  position: relative;
  line-height: 75px;
  transition: 0.6s;
  transition-property: line-height;
}

header .navigation .menu{
  position: relative;
  display: flex;
  justify-content: center;
  list-style: none;
  user-select: none;
}

.menu-item > a{
  color: #fff;
  font-size: 0.9em;
  text-decoration: none;
  margin: 20px;
  padding: 25px 0;
}

.menu-item > a:hover{
  color: #469DFF;
  transition: 0.3s;
}

.menu-item .sub-menu{
  position: absolute;
  background: #23252B;
  top: 74px;
  line-height: 40px;
  list-style: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
  pointer-events: none;
  transform: translateY(20px);
  opacity: 0;    
  transition: 0.3s;
  transition-property: transform, opacity;
}

header.sticky .menu-item .sub-menu{
top: 60px;
}

.menu-item:hover .sub-menu{
  pointer-events: all;
  transform: translateY(0);
  opacity: 1;

}

.menu-item .sub-menu .sub-item{
  position: relative;
  padding: 7px 0;
  cursor: pointer;
  box-shadow: inset 0px -30px 5px -30px rgba(255, 255, 255, 0.2);
}

.menu-item .sub-menu .sub-item a{
  color: #ffffff;
  font-size: 1em;
  text-decoration: none;
  padding: 15px 30px;
}

.menu-item .sub-menu .sub-item:hover{
  background: #4080EF;
}

.menu-item .sub-menu .sub-item:last-child:hover{
  border-radius: 0 0 8px 8px;
}

.menu-btn{
  display: none;
}


@media (max-width: 1375px ){
  header .menu-item > a{
    color: #fff;
    font-size: 0.8em;
    text-decoration: none;
    margin: 20px;
    padding: 25px 0;
  }

}
@media (max-width: 1260px){
header .navigation .menu{
  position: fixed;
  display: block;
  background: #23252b;
  min-width: 350px;
  height: 100vh;
  top: 0;
  right: -100%;
  padding: 90px 50px;
  visibility: hidden;
  overflow-y: auto;
  transition: 0.5s;
  transition-property: right, visibility;
}

header.sticky .navigation{
  line-height: 75px;
}

header .navigation .menu.active{
  right: 0;
  visibility: visible;
}

.menu-item{
  position: relative;
}

.menu-item .sub-menu{
  opacity: 1;
  position: relative;
  top: 0;
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  display: none;
}

header.sticky .menu-item .sub-menu{
  top: 0;
}

.menu-item:hover .sub-menu{
  transform: translateX(10px);
}

.menu-item .sub-menu .sub-item{
  box-shadow: none;
}

.menu-item .sub-menu .sub-item:hover{
  background: none;
}

.menu-item .sub-menu .sub-item a:hover{
  color: #4080EF;
  transition: 0.3s;
}

.close-btn{
  position: absolute;
  background: url(Images/close.png)no-repeat;
  width: 40px;
  height: 40px;
  background-size: 25px;
  background-position: center;
  top: 0;
  left: 0;
  margin: 25px;
  cursor: pointer;
}

.menu-btn{
  background: url(Images/menu.png)no-repeat;
  width: 40px;
  height: 40px;
  background-size: 30px;
  background-position: center;
  cursor: pointer;
  display: block;
}

header{
  padding: 15px 20px;
}

header.sticky{
  padding: 10px 20px;
}
}