#footer {
  text-align: center;
  display: grid;
  grid-template-areas: "our-academy" "core-classes" "connect-with-us";
  grid-auto-columns: auto;
}
#footer .logo img {
  width: auto;
  height: 45px;
  margin: 10px 10px 10px auto;
  cursor: pointer;
}
#footer .footer-social li a {
  width: 20px;
  height: 20px;
  border: 1px solid #EA6100;
  border-radius: 50%;
  padding: 8px;
}
#footer .footer-social li :hover {
  background-color: #EA6100;
  color: white;
}
#footer button {
  width: 80vw;
  min-height: 48px;
  background-color: var(--light-blue);
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}
@media (min-width: 480px) {
  #footer button {
    width: 60vw;
  }
}
@media (min-width: 767px) {
  #footer button {
    width: 40vw;
  }
}
@media (min-width: 991px) {
  #footer button {
    width: 100%;
  }
}
#footer a {
  color: black;
  text-decoration: underline;
  font-weight: bold;
}
#footer h5 {
  color: #EA6100;
  text-align: center;
  font-weight: bold;
  line-height: unset;
  letter-spacing: unset;
  font-size: 20px;
  padding-top: 20px;
  margin-bottom: 20px;
}
#footer h6 {
  font-weight: bold;
  line-height: unset;
  letter-spacing: unset;
  font-size: 20px;
  text-decoration: underline;
}
#footer p {
  font-size: 15px;
  text-align: center;
}
@media (min-width: 991px) {
  #footer {
    grid-template-areas: "our-academy core-classes connect-with-us" "our-academy core-classes connect-with-us";
    grid-auto-columns: 1fr 1fr auto ;
    grid-column-gap: 7px;
    grid-auto-rows: auto 1fr;
    padding: 1em;
  }
}
#footer input {
  height: 46px;
  background-color: #f0f0f0;
  width: 100%;
  border: 1px solid var(--light-blue);
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 5px;
}
#footer section {
  display: flex;
  justify-content: center;
}
#footer #our-academy {
  grid-area: our-academy;
}
#footer #core-classes {
  grid-area: core-classes;
}
#footer #homework-help {
  grid-area: homework-help;
}
#footer #mailing-list {
  grid-area: mailing-list;
}
.footer-spacing {
  margin: 0 auto;
}
@media (min-width: 991px) {
  .footer-spacing {
    width: 80vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.footer-links,
.footer-social {
  list-style-type: none;
  padding: 0;
  display: table;
  margin: 10px auto;
  text-align: center;
}
.footer-links li,
.footer-social li {
  display: inline;
  margin: 0 1em;
  white-space: nowrap;
  -webkit-line-break: after-white-space;
}
.footer-links .bigger-icon,
.footer-social .bigger-icon {
  font-size: 2rem;
}
.suggest-different-domain {
  position: fixed;
  bottom: 0;
  right: 0;
  background-color: white;
  padding: 1em;
  border: 2px solid #f47a20;
  margin: 0.2em;
}
.suggest-different-domain a {
  cursor: pointer;
}
.suggest-different-domain .close-popup {
  float: right;
}
.primary-text,
.footer-links a,
.footer-social a {
  color: #f4a41d;
}
