@font-face {
  font-family: "Object Sans";
  src: url("../fonts/ObjectSans-Regular.otf");
  font-display: swap;
}

@font-face {
  font-family: "Object Sans Bold";
  src: url("../fonts/PPObjectSans-Bold.otf");
  font-display: swap;
}

.chess-calculator {
  padding-top: 110px;
}

.chess-calculator .section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.chess-calculator .section-heading h1 {
  margin-top: 10px;
  font-family: "Object Sans";
  font-style: normal;
  font-weight: 700;
  font-size: 64px;
  color: #1f1f25;
  width: 100%;
}

.chess-calculator .section-heading h3 {
  margin: 10px auto 0 auto;
  letter-spacing: -0.03em;
  font-family: "Inter Medium", sans-serif;
  font-style: normal;
  color: #737373;
  width: 80%;
}

.chess-calculator .calc-engines h4,
.chess-calculator .calc-budget h4 {
  font-family: "Inter Medium", sans-serif;
  font-style: normal;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: #1f1f25;
  text-align: center;
  padding-top: 20px;
}

.chess-calculator .calc-engines,
.chess-calculator .calc-budget {
  border: 1px solid #e3e3e3;
  border-radius: 16px;
  height: fit-content;
}

.engines-table table {
  border: none;
  padding: 0px 20px 10px 40px;
  border-spacing: 0 24px;
}

.engines-table table td,
.engines-table table th {
  padding: 0px;
}

.engines-table table .engine-name {
  font-family: "Inter Medium", sans-serif;
  font-style: normal;
  font-size: 24px;
  color: #358c65;
}

.engines-table table .engine-stockfish {
  padding-top: 30px !important;
}

.engines-table table .speed {
  font-family: "Inter SemiBold", sans-serif;
  font-style: normal;
  font-size: 14px;
  color: #1f1f25;
  padding-left: 75px;
  padding-right: 75px;
  text-align: center;
}

.engines-table table .engine-time {
  font-family: "Inter Medium", sans-serif;
  font-style: normal;
  font-size: 14px;
  color: #1f1f25;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  width: 70px;
  height: 40px;
  padding: 0 2px;
  margin-left: 5px;
  text-align: right;
}

.engines-table table .wrong-input,
.engines-table table .wrong-input:focus,
.engines-table table .wrong-input:active {
  border: 1px solid #f54848 !important;
}

.engines-table table .engine-time::placeholder {
  color: #788078;
}

.engines-table table .engine-time:active,
.engines-table table .engine-time:focus {
  outline: none;
  border: 1px solid #207850;
}

.subscription-checkbox {
  padding-bottom: 20px;
}

.subscription-checkbox label {
  font-family: "Inter Medium", sans-serif;
  font-size: 14px;
  color: #1f1f25;
}

.subscription-checkbox input {
  border-radius: 4px;
  width: 16px;
  height: 16px;
  margin: 2px 10px 0px 0px;
}

.subscription-checkbox input:checked {
  filter: hue-rotate(307deg);
}

.engine-choice-describ {
  font-family: "Inter Medium", sans-serif;
  font-size: 14px;
  color: #1f1f25 !important;
  padding-top: 15px;
}

.min-amount,
.max-amount {
  font-family: "Inter Medium", sans-serif;
  font-size: 14px;
  color: #1f1f25 !important;
  padding-top: 10px;
  display: none;
}

.mailChessify {
  color: #358c65;
}

.calc-budget-inputs {
  padding: 20px 30px;
}

.calc-budget-inputs label {
  font-family: "Inter SemiBold", sans-serif;
  font-size: 14px;
  color: #1f1f25;
  padding-bottom: 10px;
}

.calc-budget-inputs input {
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  width: 100%;
  height: 48px;
  padding: 0 10px;
}

.calc-budget-inputs input:focus,
.calc-budget-inputs input:active {
  outline: none;
  border: 1px solid #207850;
}

.calc-subsc-price {
  display: flex;
  justify-content: space-between;
}

.calc-subsc-price h6 {
  font-family: "Inter Regular", sans-serif;
  font-size: 18px;
  color: #1f1f25;
  padding-top: 40px;
}

#subscriptionType {
  border: 1px solid #e3e3e3;
  background-color: #ffffff;
  border-radius: 12px;
  width: fit-content;
  padding: 0px 5px;
  height: 40px;
  margin-top: 30px;
}

#subscriptionType:focus,
#subscriptionType:active {
  outline: none;
}

.calc-total-price h6 {
  font-family: "Inter SemiBold", sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: #1f1f25;
  padding-bottom: 40px;
}

.calc-buy,
.calc-buy:visited, .calc-buy:visited button {
  width: 100%;
  height: 48px;
  color: #ffffff;
  background: #358c65;
  border-radius: 12px;
  font-family: "Inter SemiBold", sans-serif;
  font-size: 18px;
  outline: none;
  border: none;
  padding-top: 10px;
  text-align: center !important;
}

.calc-buy a {
  color: #ffffff !important;
}

.calc-buy:hover, .calc-buy:hover button,
.calc-buy:active, .calc-buy:active button {
  background-color: #207850;
  color: #ffffff !important;
}

.not-signed-btn button {
  width: 100%;
  height: 48px;
  color: #ffffff;
  background: #358c65;
  border-radius: 12px;
  font-family: "Inter SemiBold", sans-serif;
  font-size: 18px;
  outline: none;
  border: none;
}

.disabled-button {
  opacity: 0.5;
  cursor: default;
}

.coins-bonus-span {
  font-family: "Inter Medium", sans-serif;
  font-size: 14px;
  color: #1f1f25;
  padding-top: 10px;
}

.coins-bonus-span .coins-bonus {
  color: #358c65;
}

.time-label {
  font-family: "Inter SemiBold", sans-serif;
  font-size: 14px;
  color: #788078;
  padding-top: 5px !important;
}

.coins-ul,
.package-ul {
  display: flex;
  justify-content: space-between;
}

#calculatorSubmit {
  padding: 0 15px !important;
}

@media (max-width: 1399px) {
  .engines-table table .speed {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 1150px) {
  .calc-budget .price-input {
    margin-left: 0px;
  }
  .engines-table table .speed {
    padding-left: 10px;
    padding-right: 10px;
  }
  .engines-table table {
    padding: 0px 10px 10px 20px;
  }
  .chess-calculator .calc-engines {
    margin: 0;
  }
  .chess-calculator .section-heading h1 {
    font-size: 48px;
  }
}

@media (max-width: 991px) {
  .engines-table table {
    margin: 0 auto;
  }
  .chess-calculator .calc-budget {
    margin-left: 0px;
    margin-right: 0px;
  }
  .calc-budget-inputs {
    padding: 20px 100px;
  }
  .engine-choice-describ {
    margin-bottom: 30px;
    margin-left: 5px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .calc-budget-inputs {
    padding: 20px 50px;
  }
}

@media (max-width: 529px) {
  .engines-table table {
    border-spacing: 0 10px;
  }
  .engines-table table .engine-name {
    font-size: 18px;
  }
  .chess-calculator .section-heading h1 {
    font-size: 30px;
  }
  .engines-table table .engine-stockfish {
    padding-top: 20px !important;
  }
}

@media (max-width: 499px) {
  .engines-table table .engine-time {
    width: 60px;
    height: 35px;
    padding: 0 4px;
  }
  .calc-budget-inputs {
    padding: 20px;
  }
  .chess-calculator .calc-engines h4,
  .chess-calculator .calc-budget h4 {
    font-size: 18px;
  }
}

@media (max-width: 535px) {
  td,
  th {
    padding: 5px 5px !important;
  }
  .engines-table table .speed,
  .time-label,
  .engine-choice-describ {
    font-size: 12px;
  }
  .engines-table table .engine-time {
    width: 40px;
  }
}

@media (max-width: 365px) {
  .engines-table table {
    padding: 0;
  }
  .engines-table table .engine-time {
    width: 30px;
  }
}
