html {
  background-color: #8f8f8f;
}

body {
  background: linear-gradient(180deg, #2e2e2ef7 5%, #2e2e2ef5 50%, #111111f5 95%);
  border-radius: 10px 10px 10px 10px;
  width: 600px;
  height: 480px;
  margin: 0 auto;
  padding: 0;
}
@media screen and (max-width: 599px) {
  body {
    width: 320px;
  }
}

h1 {
  text-align: left;
  margin: 0;
  padding: 0;
}

span {
  margin: 10px;
}

/*TEXTS size style weight text-shadow decoration cursor...*/
@font-face {
  font-family: iforces;
  src: url("../fonts/iforces/iforces.ttf") format("truetype");
}
@font-face {
  font-family: Roboto;
  src: url("../fonts/Roboto/Roboto-Regular.ttf") format("truetype");
}
html, table, input {
  font-size: 11px;
  font-family: Roboto, iforces, Arial, Helvetica, sans-serif;
}

html, button, .input_dim input, a {
  color: #fff5e8;
  text-shadow: #1b1b1b 1px 1px 2px;
}

h1 {
  font-size: 14px;
  text-shadow: -1px -1px 0px #241602;
}

p, li {
  font-size: 10px;
  /* line-height: 2; */
  /* letter-spacing: 1px; */
}

th, button {
  font-size: 12px;
}

button {
  border-radius: 6px;
  border-top: #003e79 solid 2px;
  border-left: #003e79 solid 2px;
  border-bottom: #001b35 solid 2px;
  border-right: #001b35 solid 2px;
  box-shadow: #1b1b1b 1px 1px 2px;
}

button, .btn {
  cursor: pointer;
}

button {
  background-color: #00305c;
}

button {
  width: 90%;
  height: 22px;
  margin-inline: 5%;
  margin-block: 6px;
}

.button_light_switch {
  visibility: hidden;
}

#calculate_button:focus + .button_light_switch {
  visibility: visible;
}

button:active {
  border-top: #001b35 solid 2px;
  border-left: #001b35 solid 2px;
  border-bottom: #003e79 solid 2px;
  border-right: #003e79 solid 2px;
  font-size: 11.5px;
  box-shadow: #363636 -1px -1px 5px;
}

button:hover,
.input_dim:hover {
  filter: brightness(110%);
}

#btnControl {
  display: none;
}

#btnControl:checked + label > .image_switch {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 500ms;
}

header {
  border-radius: 10px 10px 0 0;
  border-bottom: 3px solid #241602;
  background-color: #00305c;
  width: 100%;
  height: 6rem;
  display: flex;
  align-items: center;
}

header span {
  display: flex;
  width: 100%;
  justify-content: space-around;
  margin-block: auto;
}

.input_dim input {
  background-color: #00305c;
}

.input_dim input {
  border-radius: 0.5rem;
  border: 0px;
  box-shadow: #1b1b1b 1px 1px 2px;
}

table {
  width: 100%;
  text-align: center;
}

#input_dimensions table {
  margin: auto;
}

.input_dim input {
  width: 90%;
  text-align: center;
}

/* ------------------------------------ */
/* BACKGROUNDS - BORDERS - BOX-SHADOWS */
.senses_information {
  border-top: 3px solid #003f7b;
  box-sizing: border-box;
  box-shadow: #1b1b1b 1px 1px 2px;
}

.senses_information {
  background-color: #00305c;
}

/* ------------------------------------ */
/* Size, position, margin, padding */
#solution_table table {
  margin: auto;
}

.lien_info {
  text-align: center;
}

#rules {
  width: auto;
}

#rules td {
  text-align: left;
}

#solution_table table {
  width: auto;
}

#solution_table td {
  width: 20%;
}

/* ------------------------------------ */
/*  Remove arrows in input type number  */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
  -moz-appearance: textfield;
  /* Firefox */
}

/*  ----------------------------------  */
/* Actions */
/* ------------------------------------ */
/* SPECIALS */
.senses_information {
  position: absolute;
  top: 450px;
  width: 600px;
  height: 30px;
  text-align: center;
  border-radius: 0 0 10px 10px;
  padding-top: 6px;
}
@media screen and (max-width: 599px) {
  .senses_information {
    width: 320px;
  }
}

.image_switch {
  position: absolute;
  bottom: 30px;
  left: 0px;
  width: 100%;
  height: 400px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(177deg, #003e79 5%, #003e79 50%, #001b35 95%);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, opacity 500ms;
}

.image_switch img {
  height: 100%;
  width: 100%;
  border: transparent solid 10px;
  border-radius: 20px;
  box-sizing: border-box;
}

/* Background images effect */
.image-wrap {
  width: 600px;
  height: 480px;
  margin: 0 auto;
  overflow: hidden;
  position: absolute;
  top: 0px;
  z-index: -10;
  border-radius: 10px;
  background-color: black;
}
@media screen and (max-width: 599px) {
  .image-wrap {
    width: 320px;
  }
}

.image-wrap .image-01 {
  width: 100%;
  animation: lines 20s ease infinite alternate;
  position: absolute;
  z-index: -7;
}

.image-wrap .image-02 {
  height: 100%;
  animation: donutbk 40s ease infinite alternate;
  position: absolute;
  right: 0px;
  z-index: -8;
}

.image-wrap .image-03 {
  height: 100%;
  animation: donutwt 40s ease infinite alternate;
  position: absolute;
  left: 0px;
  z-index: -9;
}

@keyframes lines {
  0% {
    transform-origin: center;
    transform: scale(1);
  }
  100% {
    transform: scale(2);
  }
}
@keyframes donutbk {
  0% {
    transform-origin: left;
    transform: scale(2);
  }
  100% {
    transform: scale(1.5);
  }
}
@keyframes donutwt {
  0% {
    transform-origin: right;
    transform: scale(2);
  }
  100% {
    transform: scale(1.5);
  }
}

/*# sourceMappingURL=style.css.map */
