* {
  box-sizing: border-box;
}
@font-face {
  font-family: 'Chomsky';
  src: url('../fonts/Chomsky-8MOa2.otf') format('opentype');
}
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&display=swap');


body {
  font-family: 'Noto Sans', sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.header {
  font-family: 'Chomsky', serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #f8f8f8;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
}
.menu {
  display: flex;
  align-items: center;
  gap: 10px;
}
.title {
  font-size: 38px;
  color: #333;
}
@media (max-width: 600px) {
  .title {
    font-size: 26px;
  }
}  
#counter {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}
.icon {
  background-color: #fff0;
  border: none;
  padding-top: 7px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 27px;
  color: rgb(53, 53, 53);
}
.icon:hover {
  background-color: #ddd;
}
.game-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}  
.footer {  
  height: 10px;
  text-align: center;  
  width: 100%;  
}  
.content {  
  max-width: 940px;
  margin: 0 auto;  
} 
#puzzle-container {
  display: grid;
  gap: 0px;
  margin: 0 auto;
  background-color: black;
  max-width: 940px;
  width: 100%;  
  margin-top: 1px;
}
.puzzle-piece {
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); 
}
.puzzle-piece-locked{
  border-radius: 0px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0); 
}
.border-top {  
  border-top: 10px solid #DAA520;
  background-color: rgba(255, 255, 255, 0.8);  
  padding: 20px;  
} 
.border-bottom {  
  border-bottom: 10px solid #DAA520;
  background-color: rgba(255, 255, 255, 0.8);  
  padding: 20px;  
}
.border-left {  
  border-left: 10px solid #DAA520;
  background-color: rgba(255, 255, 255, 0.8);  
  padding: 20px;  
}
.border-right {  
  border-right: 10px solid #DAA520;
  background-color: rgba(255, 255, 255, 0.8);  
  padding: 20px;  
}


/*drag drop*/
.highlight {  
  position: relative;  
}  
.highlight::after {  
  content: "";  
  position: absolute;  
  top: 0;  
  left: 0;  
  width: 100%;  
  height: 100%;  
  background-color: rgba(0, 0, 0, 0.3);
}  
.over{
  background-color: rgba(252, 206, 4, 0.671);
  opacity: 0.75;
}
.large-heart-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  display: none;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/material-icons.woff2) format('woff2');
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
.popup {
  width: 96%;
  max-width: 500px;
  max-height: 80%;
  overflow: hidden;
  display: none;
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translate(-50%, 0%);
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 2);
  z-index: 10010;
  color: #814e03;
  border-radius: 8px;
  /*background-image: url('graphic/wallpaper-light2.jpg');*/
}
.popupXButton {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 25px;
  background: none;
  border: none;
  cursor: pointer;
}
.lvlButton {  
  padding-bottom: 10px;  
}  
.lvlButton label{  
  padding-left: 10px;
}  
.settingsTitle{
  font-size: 18px;
  font-weight: bold;
  color: #333;
  padding-bottom: 10px;
  padding-top: 10px;
}
.calendarButton{
  width: 50px;
  height: 50px;
  padding-right: 50px;
  text-align: center;
  font-size: 36px;
  font-weight: 500;
}

.infoTitle {
  font-family: 'Chomsky', serif;
  font-size: 30px;
  color: #333;
  margin-top: 10px;
}
  .infoTitle a {
    text-decoration: none;
    color: #333;
  }
.infoM {
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  margin: 10px 0;
}
.infoLink {
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  margin: 10px 0;
}
  .infoLink a {
    text-decoration: none;
    color: #333;
  }
hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  margin-top: 20px;
  margin-bottom: 20px;
}

.infoLink a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #333; /* Arrow color */
  margin-right: 15px;
  vertical-align: middle;
}
.calendarrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.calendarButton {
  font-size: 20px;
  padding: 5px 10px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
#calendarDate {
  font-size: 18px;
  margin: 0 10px;
  font-weight:600;
}
#calendarAuthorName {
  padding-top: 24px;
  font-size: 20px;
  text-align: center;
}


#calendarDescription {
    padding-top:24px;
  font-size: 18px;
  text-align: center;
}
.pb20{
    padding-bottom:20px;
}
#calendarNextPuzzle {
  font-size: 12px;
  text-align: center;
}
#calendarPP {
  font-size: 12px;
  text-align: center;
}
#calendarNextPuzzle2 {
  font-size: 12px;
  text-align: center;
}
.scoreLabel {
  font-size: 16px;
  color: #333;
  padding-bottom: 4px;
  padding-top: 30px;
  text-align:center;
}
.centr {
  display: flex;
  align-items: center;
  justify-content: center;
}
#shareButton {

  padding: 10px 20px;
  margin-top: 30px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
}
.infoSmaller {
  font-size: 13px;
  color: #808080;
}
.winMessage1 {
  font-size: 40px;
  color: green;
  padding: 30px;
  font-weight: 600;
  text-align: center;
}
.winMessage2 {
  font-size: 22px;
  color: green;
  padding-left: 30px;
  font-weight: 600;
  text-align: center;
}
.play-button {
  background-color: green; 
  border: none;
  padding: 20px; 
  border-radius: 10px;
  cursor: pointer; 
  display: inline-flex;
  align-items: center; 
  justify-content: center;
  text-align:center;
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 26.0px;
  border-color: transparent transparent transparent white;
  display: inline-block;
}

.play-button:hover {
  background-color: darkgreen;
}

.play-button-container {
    padding-top:10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gameImageMenu {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

  .gameImageMenu > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .gameImageMenu img {
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.6);
  }

.gameText {
  margin-top: 10px;
  font-size: 14px;
  color: #000;
}

  .gameText a {
    text-decoration: none;
    color: #000;
  }

    .gameText a:hover {
      text-decoration: underline;
    }  
