@import url("https://fonts.googleapis.com/css?family=Montserrat:400,700,900|Open+Sans:300,400,600,700&display=swap&subset=cyrillic,cyrillic-ext");

* {
    margin: 0;
    padding: 0;
  }

  .container-2 {
    display:flex;
    justify-content:center;
  }

  #hexGrid {
    display: grid;
    grid-gap:6px;
    grid-template-columns: repeat(4,fr);
    width: 280px;
    margin: 0 auto;
    font-size:.9em;
    list-style-type: none;
    overflow:hidden;
    
  }
  
  .hex {
    grid-column-end: span 2;
    position: relative;
    visibility:hidden;
    background-color:solid yellow;
    outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
  }
 
  .hex::after{
    content:'';
    display:block;
    padding-bottom: 86.602%;  /* =  100 / tan(60) * 1.5 */
  }
  .hexIn{
    position: absolute;
    width:100%;
    padding-bottom: 115.470%; /* =  width / sin(60) */
    overflow: hidden;
    visibility: hidden;
    outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
    -webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
        -ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
            transform: rotate3d(0,0,1,-60deg) skewY(30deg);
  }
  .hexIn * {
    position: absolute;
    visibility: visible;
    outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
  }
  .hexLink {
    display:block;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: #e4eaf3;
    overflow: hidden;
    -webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
        -ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
            transform: skewY(-30deg) rotate3d(0,0,1,60deg);
  }
  .hexGrid-plug .hexLink {
      background-color: #ecf1f9;
  }
  #center-letter{
    background-color:#ffd924;
  }

  .hexGrid-plug #center-letter.hexLink {
      background-color: #d1dae8;
  }

  .hexGrid-plug .hexLink p {
      display: none;
  }

  input[type="text"]
  {
      background: transparent;
      border: none;
  }
  
/*** HEX CONTENT *************************************************************/

  .hex p {
    width: 100%;
    padding: 40%;
    box-sizing:border-box;
    background-color:transparent;
    font-weight: 700;
    font-size:1.8em;
    color:black;
    text-transform:uppercase;
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    
  }
/*** HEX HOVER *****************************************************************/
  .hexLink:active p, .hexLink:focus p{
    background-color: #d1dceb
  }

  #center-letter.hexLink:active p, #center-letter.hexLink:focus p{
    background-color: #ecc129
  }

/*** HEXAGON SIZING AND EVEN ROW INDENTATION *********************************/
  
  #hexGrid{
    grid-template-columns: repeat(6,2fr);
    padding-bottom: 60px
  }
  .hex:nth-child(5n+1){ /* first hexagon of odd rows */
    grid-column-start: 2;
  }
  .hex:nth-child(5n+3){ /* first hexagon of even rows */
      grid-column-start: 1;
  }

/*** INPUT & CURSOR ********************************************************************/

  #testword {
    
    height:60px; 
    text-align: center;  
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    padding-top:3px;
    color: 000;
  }

  #testword.error {
      color: #7d818d;
  }

  #cursor {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffcf24;
  
  }
  .cursor {
    position: relative;
    margin: 0 auto;
    text-transform:uppercase;
    
  }
  .cursor p {
    display:flex;
    justify-content:center 
  }

/*** TEXT **********************************************************************/
.scoreText {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight:400;
  align-self:center;
}

ul {
  /*display:inline-block;*/
  list-style-type: none;
  text-align: center;
}





#discoveredText {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 16px;
  align-self:center;
  width:200px;
  background:#fbf4d5;
  border-radius:10px
}

.dwords{
  font-weight:400;
  padding:0

}


/*** BUTTONS *******************************************************************/
#shuffle_button {
  padding: 10px 10px;
  line-height:4px
}
#shuffle_button img{
  width:24px;
}

.button_container {
 display:-webkit-inline-flex; 
 margin-bottom:30px; 
 width: 300px;
 height: 10%;

}
.button {
  background-color: white; 
  border: 1px solid #d4dae4;
  margin: 0 auto;
  color: black;
  padding: 0px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius:30px;
  font-weight:700;
  cursor: pointer;
  touch-action: manipulation
}

.button:hover {
  border: 1px solid #7f8794;
  background-color: white;
}

/*** NOTIFICATIONS AND SHAKE EFFECT ****************************************************************/

#too-short{
  display:none;
}
#invalid-word{
  display:none;
  
}
#already-found{
  display:none;

}
#miss-center{
  display:none;

}
#good{
  display:None;
  background-color:#5bc330; 
  color:#fff
}

#great{
  display:None;
  background-color:#5bc330; 
  color:#fff
}

#pangram{
  display:None;
  background-color:#5bc330; 
  color:#fff
}

#amazing{
  display:None;
  background-color:#5bc330; 
  color:#fff
}


.notifications {
  background-color:black; 
  color:white; 
  display:flex;
  padding:5px 10px;
  align-items:center;
  justify-content:center;
  border-radius:3px;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 14px;
}

.pangram {
    font-weight: bold;
}


.pangram {
    font-weight: bold;
}

.skeleton-input {
    float: right;
    width: 119px;
    height: 25px;
    border-radius: 7px;
    background-image: linear-gradient(90deg, #dbe1ec 0px, #ecf1f9 40px, #dbe1ec 80px);
    background-size: 600px;
    animation: shine-lines 1.6s infinite linear;
}

.dark-theme .skeleton-input {
    background-image: linear-gradient(90deg, #7b8099 0px, #5f637a 40px, #7b8099 80px);
}

.skeleton-name {
    width: 119px;
    height: 25px;
}

.skeleton-points {
    width: 50px;
    height: 18px;
}

.skeleton-title {
    width: 65px;
    height: 18px;
}

@keyframes shine-lines {
    0% {
        background-position: -100px;
    }
    40%, 100% {
        background-position: 140px;
    }
}
@keyframes shine-avatar {
    0% {
        background-position: -32px;
    }
    40%, 100% {
        background-position: 208px;
    }
}

.button-new-game.disabled {
    opacity: 0.5;
    cursor:not-allowed;
    pointer-events:none;
    box-shadow:none
}


.dark-theme .hexLink {
    background-color: #2f3247;
}

.dark-theme .hexGrid-plug .hexLink {
    background-color: #282a39;
}

.dark-theme .hexLink:active p, .dark-theme .hexLink:focus p {
    background-color: #3d4059;
}

.dark-theme .hex p {
    color: #fff;
}

.dark-theme #center-letter.hexLink:active p, .dark-theme #center-letter.hexLink:focus p {
    background-color: #c79919;
}

.dark-theme #center-letter {
    background-color: #b58a13;
}

.dark-theme .hexGrid-plug #center-letter.hexLink {
    background-color: #474959;
}

.dark-theme #cursor {
    color: #c79919;
}

.dark-theme .button {
    background-color: #13141c;
    border: 1px solid #383b4e;
    color: #fff;
}

.dark-theme .button:hover {
    background-color: #13141c;
    border: 1px solid #61647c;
}

.dark-theme #testword {
    color: #fff;
}

.dark-theme #testword.error {
    color: #b2b2b2;
}

.dark-theme .notifications {
    background-color: #45485a;
}

.dark-theme #good, .dark-theme #great, .dark-theme #amazing, .dark-theme #pangram {
    background-color: #688231;
}

.dark-theme .block-words-select__arr path {
    fill: #8a9099
}