:root {
  --hex-center-color: #5c5c5c;
  --hex-center-color-focus: #4b4b4b;
  --hex-center-color: #173fff;
  --hex-center-color-focus: #0f23ff;
  --hex-link-color: #fff64d;
  --hex-link-color-focus: #fff64db3;
  --hex-link-color: #bbbbbb;
  --hex-link-color-focus: #aaaaaa;
  --hex-link-color: rgba(255,253,202,1);
  --hex-link-color-focus: #fffdcab3;
  --hex-letter-color: black;
  --hex-center-letter-color: white;

  --notifications-color: #e53e3e;
  --notifications-text-color: white;
  --notifications-alt-color: #9ae6b4;
  --notifications-alt-text-color: black;

  --cursor-color: black;
  --panagram-color: red;
  --max-width: 1200px;
}
.o-layout--v-banners{display:none;}

*{
  margin: 0;
  padding: 0;
}

body {
  max-width: var(--max-width);
  margin: 0 auto;
  align-content: center;
  vertical-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.title_img {
  width: 250px;
  margin-top: 10px;
}

#left-logo {
  margin-left: auto;
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  margin-top: 10px;
  margin-right: 10px;
}

#scoreboard {
  flex-direction: column;
}

#hexGrid {
  display: grid;
  grid-gap: 6px;
  grid-template-columns: repeat(4, fr);
  width: 250px;
  margin: 0 auto;
  font-size: 0.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.47%; /* =  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: flex;
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: var(--hex-link-color);
  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);
  justify-content: center;
  align-items: center;
}

#center-letter {
  background-color: var(--hex-center-color);
  color: white;
}

input[type="text"] {
  background: transparent;
  border: none;
}

/*** HEX CONTENT *************************************************************/

.hex p {
  width: 100%;
  padding: 38%;
  box-sizing: border-box;
  background-color: transparent;
  font-weight: 400;
  font-size: 1.4em;
  color: var(--hex-letter-color);
  font-family:Graphik,Arial,sans-serif;
}
.hex #center-letter p{
  color: var(--hex-center-letter-color);
  font-weight: 600;
}

/*** HEX HOVER *****************************************************************/
.hexLink:hover p,
.hexLink:focus p {
  background-color: var(--hex-link-color-focus);
}

#center-letter.hexLink:hover p,
#center-letter.hexLink:focus p {
  background-color: var(--hex-center-color-focus);
}

/*** HEXAGON SIZING AND EVEN ROW INDENTATION *********************************/

#hexGrid {
  grid-template-columns: repeat(6, 2fr);
  padding-bottom: 8%;
  margin-bottom: 2vh;
  margin-bottom: 4rem;
}

@media (min-width: 1440px) {
  #hexGrid {
    padding-bottom: 5%;
  }
}

.hex:nth-child(5n + 1) {
  grid-column-start: 2;
}
.hex:nth-child(5n + 3) {
  grid-column-start: 1;
}

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

#testword {
  height: 50px;
  text-align: center;
  font-family:Graphik,Arial,sans-serif;
  font-size: 1.5rem;
  padding-top: 3px;
}

#cursor {
  font-family:Graphik,Arial,sans-serif;
  font-size: 1.5rem;
  font-weight: 100;
  height: 2vw;
  color: var(--cursor-color);
}

.cursor {
  z-index: 9;
  position: relative;
  margin: 0 auto;
}

/*** TEXT **********************************************************************/
h1 {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 1vhpx;
  font-size: 1.5rem;
  font-family: Feature Flat,Times New Roman,Georgia,serif;
}

.flex-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scoreText {
  max-width: 1200px;
  font-family:Graphik,Arial,sans-serif;
  font-size: 15px;
  font-weight: 100;
  align-self: center;
}

ul#hexGrid, ul.rules_list {
  /*display:inline-block;*/
  list-style-type: none;
  text-align: center;
}

#discoveredText {
  font-family:Graphik,Arial,sans-serif;
  font-size: 15px;
  align-self: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.dwords {
  font-weight: 100;
  padding: 0;
}

/*** BUTTONS *******************************************************************/

.close {
  position: absolute;
  right: 20px;
  top: 10px;
  width: 20px;
  height: 20px;
  opacity: 0.8;
}
.close:hover {
  opacity: 1;
}
.close:before,
.close:after {
  position: absolute;
  left: 15px;
  content: " ";
  height: 33px;
  width: 2px;
  background-color: #333;
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}

#help_button {
  max-height: 40px;
  min-height: 40px;
  margin: 10px 10px 0px auto !important;
  min-width: 40px;
  max-width: 40px;
}

#shuffle_button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  min-width: 40px;
  max-width: 40px;
  max-height: 40px;
}

.button_container {
  display: -webkit-inline-flex;
  margin-bottom: 2vh;
  width: 300px;
  height: 10%;
}
.button {
  background-color: white;
  border: 2px solid #e7e7e7;
  margin: 0 auto;
  color: black;
  padding: 0px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.8em;
  border-radius: 30px;
  cursor: pointer;
}

.button:hover {
  background-color: #e7e7e7;
  color: black;
  border: 2px solid #e7e7e7;
}

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

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

#berria1000,
#berbaxerka1000,
#amazing,
#pangram,
#great,
#good {
  display: None;
  background-color: var(--notifications-alt-color);
  color: var(--notifications-alt-text-color);
  border-radius: 4px;
}

.notifications {
  background-color: var(--notifications-color);
  color: var(--notifications-text-color);
  display: flex;
  padding: 5px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: Graphik,Arial,sans-serif;
  font-size: 1em;
}

.words-found {
  display: flex;
  flex-direction: row;
}

.word {
  cursor: pointer;
}

.word:hover {
  text-decoration: underline;
}

.word-found {
  cursor: pointer;
  font-weight: bold;
}

.word-found:hover {
  text-decoration: underline;
}

#yesterday_words_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#yesterday_words {
  cursor: pointer;
  font-weight: bold;
}

#yesterday_words:hover {
  text-decoration: underline;
}

.is_pangram {
  cursor: pointer;
  color: var(--panagram-color) !important;
}

.is_pangram:hover {
  text-decoration: underline;
}

#yesterday_words_list {
  max-width: 1200px;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.full_modal {
  min-height: 100vh;
  min-width: 100vw;
  z-index: 10;
  position: absolute;
  top: 0;
  background-color: white;
  display: none;
}

@media (min-width: 1200px) {
  .full_modal {
    min-width: var(--max-width);
    max-width: var(--max-width);
  }
}

.modal_content {
  padding: 20px 10px;
  height: 95vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.rules_list {
  list-style-type: square;
  text-align: left;
}
.rules_list > li {
  padding: 10px;
  margin-left: 20px;
  font-family:Graphik,Arial,sans-serif;
}

#share_icons {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.2;
  margin: 10px 10px 20px 10px;
}
#share_icons > a {
  margin: 0px 4px;
}

#share_results {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: none;
}

#congrats {
  display: none;
  max-width: 300px;
  margin-bottom: 20px;
  border-radius: 4px;
}
 .rules_list a{
          color: #292d32;
          font-weight: 400;
          text-decoration: underline;
          text-decoration-color: currentcolor;
          text-decoration-thickness: auto;
          text-decoration-color: #173fff;
          text-decoration-thickness: from-font;
          text-underline-offset: 2px;
      }
      .rules_list a:hover{
          color:#173fff;
      }
      span.word{
          color: #292d32;
          font-weight: 400;
          
      }
       span.word:hover{
          color:#173fff;
          text-decoration: underline;
          text-decoration-color: currentcolor;
          text-decoration-thickness: auto;
          text-decoration-color: #173fff;
          text-decoration-thickness: from-font;
          text-underline-offset: 2px;
      }

a#CybotCookiebotDialogPoweredbyCybot,
#CybotCookiebotDialogPoweredByText,
.CybotCookiebotDialogBodyBottomWrapper {
  display: none !important;
}

.CybotEdge
  #CybotCookiebotDialogBodyButtonDecline.CybotCookiebotDialogBodyButton {
  display: none !important;
}

#CybotCookiebotDialog.CybotEdge
  #CybotCookiebotDialogBody
  .CybotCookiebotScrollContainer {
  max-height: 11em !important;
}

.pl1 {
  /*background-image: url("https://via.placeholder.com/320x100?text=320x100");*/
}
.pl1 img {
  max-width: 100%;
  max-height: 100%;
}

@media (min-width: 1200px) {
  .pl1 {
    /*background-image: url("https://via.placeholder.com/1200x90?text=1200x90");*/
    text-align: center;
  }
}

.pl2 {
  /*background-image: url("https://via.placeholder.com/300x300?text=300x300");*/
}

.pl2 img {
  max-width: 100%;
  max-height: 100%;
}


@media (min-width: 1200px) {
  .pl2 {
    /*background-image: url("https://via.placeholder.com/1200x250?text=1200x250");*/
    text-align: center;
  }
}

