
.heading-small{
    font-size: 50px;

}
@media screen and (max-width: 767px) {
    .heading-small {
        font-size: 30px;
    }
  }
  @media screen and (max-width: 450px) {
    .heading-small {
        font-size: 20px;
    }
  }
  @media screen and (max-width: 340px) {
    .heading-small {
        font-size: 15px;
    }
  }
  .height-contact{
    margin-top: -294px;
  }
  @media screen and (max-width: 575px) {
    .height-contact {
        margin-top: 0;
    }
  }
.navbar-nav .nav-item {
    position: relative;
  }

.navbar-nav .nav-item:not(:has(.active))::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 0;
    height: 4px;
    background-color: #007bff;
  }

  .navbar-nav .nav-item:hover::before {
    left: 0;
    width: 100%;
  }

.active{
    font-weight: bold;
    border: 2px solid #0D6EFD ;
    border-radius: 5px;
    box-shadow: 2px 3px 1px 0px #0D6EFD;
    margin-right: 5px;
    margin-left: 5px;
}

.active:hover{
    text-decoration: none !important;
}

.arith-symbol, .output, .hint, .operator {
    font-weight: bold !important;
}

.calculator {
    max-width: 380px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    background-color: #f2f2f2;
}

.square{
    height: 70px;
    width: 70px;
    border: 2px solid black;
}

/* Added by DWL */
.equation-divider {width:50%;border-bottom:solid 1px black;opacity:.8;}

/* End Added by DWL */

.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

#display {
    font-size: 36px;
    text-align: right;
    margin-bottom: 10px;
    background-color: #fff;
    border: none;
    outline: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 100%;
    transition: background-color 0.3s ease;
}

#display:hover {
    background-color: #f9f9f9;
}

.btn .cal {
    font-size: 24px;
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Subtle box shadow */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    width: 100%;
}

.answer{
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.answer:hover{
    font-weight: bold;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.btn .cal:hover  {
    transform: scale(1.1);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #e6e6e6; /* Slightly darker button background on hover */
}

.btn .cal:active {
    background-color: #d9d9d9; /* Even darker button background when clicked */
    transform: scale(0.9);
    box-shadow: none;
}


body {
    font-family: "Roboto", '-apple-system', 'BlinkMacSystemFont', "Segoe UI", 'Roboto', "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #fff;
    color: #000;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
font-family: "Poppins", sans-serif; }

a {
-webkit-transition: .3s all ease;
-o-transition: .3s all ease;
transition: .3s all ease; }
a, a:hover {
    text-decoration: none !important; }

.content {
padding: 7rem 0; }

h2 {
font-size: 3.5rem;
font-weight: 700; }

h3 {
font-size: 2rem;
font-weight: 700; }

/* .form-control {
border: none;
border-bottom: 1px solid #d9d9d9;
padding-left: 0;
padding-right: 0;
border-radius: 0; }
.form-control:active, .form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #000; }

.btn, .form-control {
height: 55px;
} */


@media (max-width: 991.98px) {
    form.border-right {
    padding-right: 0 !important;
    border-right: none !important; }
}

label .error {
font-size: 12px;
color: red;
}

#message {
resize: vertical;
}

#form-message-warning, #form-message-success {
display: none;
}

#form-message-warning {
color: #B90B0B; }

#form-message-success {
color: #55A44E;
font-size: 18px;
font-weight: bold; }

.submitting {
    float: left;
    width: 100%;
    padding: 10px 0;
    display: none;
    font-weight: bold;
    font-size: 12px;
    color: #000;
}
.square-box:hover, .square-box.selected {
    box-shadow: 0px 0px 23px 5px #0D6EFD;
}
.square-box {
    cursor: pointer;
}
.hidden {
    visibility: hidden;
}
