/*
Theme Name: Binary Calculator
Author: Binary Calculator
*/

body {
  font-family: "Plus Jakarta Sans", "sans-serif" !important;
  scroll-behavior: smooth;
  color: var(--text-color);
}

.lang-dropdown{
  display: flex!important;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.background-div {
  background-image: url("../imgs/bg.svg");
  background-position: center;
  background-repeat: no-repeat;
}
.bg-f3 {
  background-color: #f3f3f3 !important;
}
.bg-c5 {
  background-color: #d45858 !important;
}
.color-c5 {
  color: #d45858 !important;
}
.dropdown-item:hover {
  background-color: #d45858 !important;
  color: white !important;
}
.navbar-nav .nav-item {
  margin-right: 30px;
}
.navbar-nav .nav-link {
  font-size: 16px;
  color: black;
}
.navbar-toggler {
  border: none !important;
}
.navbar-toggler:focus {
  box-shadow: none !important;
}
.dropdown-toggle::after {
  border: none !important;
}
.input-drop-toggle::after {
  border: black !important;
}
.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-form-control-bg);
  border-color: #d45858 !important;
  outline: 0;
  box-shadow: 0 0 0 0.1rem #ca9d9d !important;
}
.h-fit-content {
  height: fit-content;
}
.drop-icon {
  margin-top: 11px;
  float: right;
  margin-left: auto;
  margin-right: 8px;
}

.pointer {
  cursor: pointer;
}
.text-h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 50px;
}
.text-h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 50px;
}
.text-h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}
.text-h4 {
  font-size: 26px;
  font-weight: 600;
  line-height: 30px;
}
.text-p {
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}
.text-p-bold {
  font-size: 22px;
  font-weight: 600;
  line-height: 44px;
}
.hero-text {
  margin: 10px 100px 20px 110px;
  padding: 10px 110px 20px 110px;
}
.text-box {
  margin: 0 140px 0 140px;
}
.hero-box {
  width: 80%;
  margin-bottom: 100px;
  border: 1px solid #dfdfdf;
}
.first-num {
  width: 60%;
}
.operator {
  border: 1px solid #dfdfdf;
}
.ideal-card {
  height: 280px;
}
.arrow-img {
  margin-left: 300px;
  margin-bottom: 20px;
}
.tab-content-text {
  display: none;
}
.footer-right {
  width: 50%;
}
.footer-links-left {
  margin-top: 180px;
}
.footer-links-right {
  margin-top: 365px;
}
.footer-text {
  font-size: 24px;
  font-weight: 500;
}
.soical-link-wrapper {
  width: 52px;
  height: 52px;
}
.border-left {
  border-left: 1px solid #f3f3f3;
}
.clear-btn {
  width: 30%;
  background-color: #dfdfdf !important;
}
.calculate-btn {
  width: 65%;
}
.accordion-item {
  background-color: transparent !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 10px;
  box-shadow: none !important;
  border: none !important;
}
.accordion-button:not(.collapsed) {
  background: #c56550 !important;
  color: white !important;
}
.accordion-button:not(.collapsed)::after {
  background-image: none !important;
}
.accordion-button::after {
  background-image: none !important;
}
.accordion-button {
  color: black !important;
  background-color: #f3f3f3 !important;
  font-weight: 600;
  font-size: 18px;
  border: none !important;
  border-radius: 5px !important;
  height: 60px;
  margin-bottom: 20px !important;
}
.accordion-button:focus {
  box-shadow: none !important;
}
.accordion-body {
  background-color: white !important;
  border-radius: 5px !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  margin: 0 10px 0 10px;
  border: 1px solid #f3f3f3;
  transform: none !important;
}
#result-table {
  display: none;
}
.b-dotted {
  border-bottom: 1px dashed black;
}
.expression-b {
  border-bottom: 1px solid black;
}
@media (max-width: 768px) {
  .background-div {
    background-size: 1800px 1800px;
  }
  .footer-text {
    font-size: 20px;
    font-weight: 300;
  }
  .logo {
    width: 200px;
    /* height: 90px; */
  }
  .hero-text {
    margin: 10px;
    padding: 10px;
  }
  .operator-div {
    width: 100%;
  }
  .first-num {
    width: 100%;
  }
  .operator {
    border: 1px solid #dfdfdf;
    width: 100%;
  }
  .footer-right {
    width: 100%;
  }
  .border-left {
    border-left: none;
    border-top: 2px solid #f3f3f3 !important;
  }
  .clear-btn {
    width: 98%;
    background-color: #dfdfdf !important;
  }
  .calculate-btn {
    margin-top: 10px;
    width: 98%;
  }
  .footer-links-left {
    margin-top: 80px;
  }
  .footer-links-right {
    margin-top: 80px;
  }
  .ideal-card {
    height: auto;
  }
  .text-box {
    margin: 0;
  }
  .hero-box {
    width: 95%;
  }
}
@media screen and (min-width:768px) and (max-width:1400px){
  form .d-md-flex{
    flex-wrap: wrap;
    margin-bottom: 0!important;
  }
  .first-num , .operator-div{
    width: 100%!important;
    margin-left: 0!important;
  }
  .first-num.me-2{
    margin-right: 0!important;
  }
  .operator-div.ms-md-2{
    margin-left: 0!important;
  }
  form .calculate-btn, form .clear-btn{
    width: 100%!important;
    margin: 0!important;
  }
  form .calculate-btn{
    margin-top: 10px!important;
  }
}
