@media (max-width: 1200px) {
  .big-card1 {
    height: 300px;
  }
  .big-card2 {
    height: 300px;
  }

  .small-cards {
    max-width: 1176px;
  }

  .small-card1 {
    width: 100%;
    height: 300px;
  }
  .small-card2 {
    width: 100%;
    height: 300px;
  }

  .medium-card {
    max-width: 1176px;
    width: 100%;
    height: 300px;
  }
}

@media (max-width: 1100px) {
  .cards {
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }

  nav {
    display: none;
  }
  .menu-icon {
    display: block;
    -webkit-animation: fadeIn;
    animation: fadeIn;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
  }

  .mobile-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .header-container {
    display: block;
  }

  .header.show {
    height: 180px;
  }

  ul {
    gap: 10px 20px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .navigation.show {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  li a {
    font-size: 15px;
  }
  .active {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .section-fullinfo {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .mathematicians {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .formula-card {
    font-size: 26px;
  }
}

@media (max-width: 450px) {
  .footer-container img {
    width: 60px;
    height: 60px;
  }

  .formula-card {
    font-size: 20px;
  }

  .formulas-container h2 {
    font-size: 40px;
  }

  .history-info h2 {
    font-size: 40px;
  }

  .meaning-container h4 {
    font-size: 38px;
  }
}

@media (max-width: 350px) {
  .formula-card {
    font-size: 18px;
  }

  .formulas-container h2 {
    font-size: 35px;
  }
}
@media (max-width: 300px) {
  .formula-card {
    font-size: 15px;
  }

  .formulas-container h2 {
    font-size: 28px;
  }

  .history-info p {
    font-size: 25px;
  }
   .history-info li {
    font-size: 25px;
  }

  .history-info h2 {
    font-size: 38px;
  }

  .meaning-container h4 {
    font-size: 35px;
  }

}

@media (max-width: 250px) {
  .formula-card {
    font-size: 13px;
  }

   .meaning-container h4 {
    font-size: 30px;
  }

   .meaning-container p {
    font-size: 25px;
  }
}
