@media (hover:hover) {
  label {
    &:hover {
      transform: scale(1.2);
      background: radial-gradient(circle farthest-side at center center, #ffffff 0%, #d3ca13 90%);
      box-shadow: 1px 1px 7px 1px #d3ca13;
    }
  }

  select {
    &:hover {
      border: 2px solid rgb(5, 206, 5);
      color: #25f40d;
      box-shadow: 1px 1px 7px 1px rgb(5, 206, 5);
    }
  }

  .summary {
    &:hover {
    color:#f4f40d;
    text-shadow: 0px 0px 1px black;
    }
  }

  .button {
    &:hover {
      background-color: #92e01e;
      border: 1px solid rgb(5, 238, 71);
      box-shadow: 1px 1px 7px 1px #25f40d;
      color: white;
      transform: scale(1.1);
    }
  }
}

body {
  height: 100vh;
  overflow: hidden;
  background-image: url("../../assets/images/fone2.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  height: auto;
  border: 1px solid red;
  margin: 0 auto;
  padding: 20px 20px 20px 20px;
  background-image: url("../../assets/images/fone2.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 10px 10px 100px green, inset 1px 1px 10px rgb(147, 152, 147);
  border-radius: 10px;
}

.container.dark {
  background-image: url("../../assets/images/fone.jpg");
  box-shadow: inset 10px 10px 1000px rgb(10, 10, 10)
}

.block-one {
  display: flex;
  justify-content: center;
}

.block-one-left {
  display: flex;
  flex-direction: column;
}

.levels {
  padding: 0;
  font-family:cursive;
}

input {
  appearance: none;
}

input:checked + label {
  background: radial-gradient(circle farthest-side at center center, #ffffff 0%, #25f40d 95%);
  color: rgb(1, 3, 20);
  pointer-events: none;
  box-shadow: 1px 1px 7px 1px #25f40d;
  text-shadow: 1px 1px 1px rgb(239, 237, 237);
}

label {
  padding: 0;
  background: radial-gradient(circle farthest-side at center center, #ffffff 0%, #878383 90%);
  padding: 1px 3px;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  cursor: pointer;
  transition: all 0.3s linear;
}

.shablons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

select {
  border: 2px solid rgb(105, 110, 105);
  border-radius: 5px;
  font-family: cursive;
  font-size: 10px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s linear;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

option {
  cursor: pointer;
}

.timer {
  color: red;
  background-color: black;
  padding: 3px 5px;
  border: 1px solid red;
  border-radius: 5px;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 1px 1px 3px 1px red;
}

.details {
  border: none;
  position: absolute;
  padding: 2px 2px 0 0;
  top: 5px;
  left: 0px;
  background-image: url('../../assets/images/fone2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 5px;
  font-size: 11px;
}

.summary {
  border: none;
  padding-left: 5px;
  cursor: pointer;
  transition: all 0.3s linear;
  text-shadow: 1px 1px 2px red;
}

.scoreLine {
  display: flex;
  text-align: center;
}

.scoreLineNumber {
  width: 25%;
  border: 1px solid black;
}

.scoreLine:nth-child(2) {
  color: #031401;
  font-weight: 700;
  min-width: 36px;
}

.scoreLineTimer {
  width: 25%;
  min-width: 40px;
  border: 1px solid black;
}

.scoreLineLevel {
  width: 25%;
  min-width: 40px;
  border: 1px solid black;
}

.scoreLinePicture {
  width: 25%;
  min-width: 70px;
  border: 1px solid black;
}

.block-one-right {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 260px;
}

.button {
  background-color: #e0d4d4;
  cursor: pointer;
  transition: all 0.3s linear;
  outline: none;
  border: 1px solid rgb(73, 80, 75);
  font-size: 14px;
  padding: 1px 3px;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.smallBTN {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.button-sound-img {
  width: 15px;
  height: 15px;
  background: radial-gradient(circle farthest-side at center center, #ffffff 0%, #25f40d 95%);
}

.button-sound-img.inactive {
  background: radial-gradient(circle farthest-side at center center, #ffffff 0%, #f44b0d 95%);
}

.light {
  width: 15px;
  height: 15px;
}

.light.inactive {
  background: radial-gradient(circle farthest-side at center center, #ffffff 0%, #3c3938 95%);
}

.block-two {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 25px;
}

.block-two-wrap {
  display: flex;
  flex-direction: column;
  align-items: end;
  border: 5px solid rgb(252, 0, 0);
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  position: relative;
}

.block-two-top {
  display: flex;
}

.hintsTopBlock {
  display: flex;
  align-items: end;
  background-color: rgb(88, 156, 88);
  border: 1px solid red;
  border-top: none;
  border-bottom: 5px solid red;
}

.hintsTopElement {
  display: flex;
}

.hintsTopCol {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.hint {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid black;
  background-color: rgb(138, 174, 112);
  box-sizing: border-box;
}

.block-two-bottom {
  display: flex;
}

.hintsLeftBlock {
  display: flex;
  flex-direction: column;
  align-items: end;
  background-color: rgb(88, 156, 88);
}

.hintsleftElement {
  height: 125px;
  width: 100%;
  border: 1px solid red;
  border-right: 5px solid red;
  border-left: none;
}

.hintsLeftString {
  display: flex;
  justify-content: end;
}

.hintsLeftString:nth-child(5n) {
  justify-content: end;
  width: 100%;
}

.gameFielblock {
  display: flex;
}

.linefield {
  display: flex;
}

.gameField {
  display: flex;
  flex-wrap: wrap;
  width: 125px;
  height: 125px;
  border: 1px solid red;
}

.point {
  width: 25px;
  height: 25px;
  border: 1px solid black;
  background-color: transparent;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
}

.point.black {
  background-color: rgb(15, 15, 15);
}

.point.cross {
  background-color: rgb(209, 207, 207);
  position: relative;
}

.point.cross::after {
  content: "";
  background-color: red;
  min-width: 30px;
  min-height: 2px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: rotate(45deg) translate(-3px, 1px);
}

.point.cross::before {
  content: "";
  background-color: red;
  color: red;
  min-width: 30px;
  min-height: 2px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: rotate(-45deg) translate(-1.5px, -3px);
}

.darkModal {
  display: none;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.modalWindow {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 250px;
  height: 200px;
  background-color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  z-index: 2;
}

.close {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.close img {
  width: 100%;
}

.modalText {
  font-size: 24px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 620px) {
  .container {
    max-width: 620px;
    padding: 20px 20px 20px 20px;
  }

  .block-one {
    display: flex;
    width: calc(100vw - 100px);
    justify-content: space-between;
  }

  .details {
    top: 2px;
  }
  
  .block-one-right {
    gap: 10px;
    flex-wrap: wrap;
    max-width: 200px;
  }
  
  .button {
    font-size: 14px;
    padding: 1px 3px;
  }
  
  .block-two {
    margin-top: 20px;
  }
  
  .hint {
    width: 20px;
    height: 20px;
  }
  
  .hintsleftElement {
    height: 100px;
    width: 100%;
  }
  
  .gameField {
    width: 100px;
    height: 100px;
  }
  
  .point {
    width: 20px;
    height: 20px;
  }
  
  .point.cross::after {
    min-width: 25px;
    min-height: 2px;
    transform: rotate(-45deg) translate(-1px, -2px);
  }
  
  .point.cross::before {
    min-width: 25px;
    min-height: 2px;
    transform: rotate(45deg) translate(-2px, 1px);
  }
}

@media (max-width: 500px) {
  .container {
    max-width: 500px;
    padding: 15px 15px 15px 15px;
  }

  .block-one {
    display: flex;
    width: calc(100vw - 60px);
    justify-content: space-between;
  }

  .shablons {
    display: flex;
    justify-content: space-around;
    gap:5px;
    margin-top: 20px;
  }

  summary {
    display: flex;
    flex-direction: column;
  }
  
  .block-one-right {
    gap: 10px;
    flex-wrap: wrap;
    max-width: 200px;
  }
  
  .button {
    font-size: 14px;
    padding: 1px 3px;
  }
  
  .block-two {
    margin-top: 20px;
  }
  
  .hint {
    width: 17px;
    height: 17px;
  }
  
  .hintsleftElement {
    height: 85px;
    width: 100%;
  }
  
  .gameField {
    width: 85px;
    height: 85px;
  }
  
  .point {
    width: 17px;
    height: 17px;
  }
  
  .point.cross::after {
    min-width: 20px;
    min-height: 2px;
  }
  
  .point.cross::before {
    min-width: 20px;
    min-height: 2px;
  }
}

@media (max-width: 440px) {
  .container {
    max-width: 420px;
    padding: 10px 10px 10px 10px;
  }

  .block-one {
    display: flex;
    width: calc(100vw - 10px);
    justify-content: space-between;
  }

  .levels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  label {
    margin-top: 10px;
  }

  .shablons {
    padding-left: 5px;
  }

  .block-one-right {
    gap: 10px;
    flex-wrap: wrap;
    max-width: 180px;
  }
  
  .button {
    font-size: 12px;
    padding: 1px 3px;
  }

  .hint {
    width: 15px;
    height: 15px;
  }
  
  .hintsleftElement {
    height: 75px;
    width: 100%;
  }
  
  .gameField {
    width: 75px;
    height: 75px;
  }
  
  .point {
    width: 15px;
    height: 15px;
  }
  
  .point.cross::after {
    min-width: 17px;
    min-height: 2px;
  }
  
  .point.cross::before {
    min-width: 17px;
    min-height: 2px;
  }

  .block-two-wrap {
    border: 3px solid rgb(252, 0, 0);
  }

  .hintsTopBlock {
    border-bottom: 3px solid red;
  }

  .hintsleftElement {
    border-right: 3px solid red;
  }
}

@media (max-width: 350px) {
  .container {
    max-width: 350px;
    padding: 0;
  }

  .block-one {
    display: flex;
    width: calc(100vw - 10px);
    gap: 5px;
  }

  .button-sound-img {
    margin-top: 10px;
  }

  .block-one-right {
    gap: 10px;
    flex-wrap: wrap;
    max-width: 180px;
    margin-top: 10px;
  }

  .hint {
    width: 14px;
    height: 14px;
  }
  
  .hintsleftElement {
    height: 70px;
    width: 100%;
  }

  .summary {
    padding-left: 2px;
  }
  
  .gameField {
    width: 70px;
    height: 70px;
  }
  
  .point {
    width: 14px;
    height: 14px;
  }
  
  .point.cross::after {
    min-width: 16px;
    min-height: 2px;
  }
  
  .point.cross::before {
    min-width: 16px;
    min-height: 2px;
  }
}