@media (max-width: 576.1px) {
  .footer {
    height: max-content;
    background-color: black;
    position: relative;
  }

  .footer h1 {
    text-align: center;
    display: block;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
  }

  #otherservices {
    padding-right: 4rem;
  }

  .footer .row div.footerdiv {
    padding: 2em 0em 0em 1em;
    display: flex;
    display: -webkit-flex;
  }

  .footer .row div div div {
    transition: 0.2s ease-in-out;
  }

  .some-row-footer {
    display: block;
    width: auto;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .footer-text {
    font-weight: 200;
    text-align: left;
    text-decoration: none !important;
    color: white !important;
    font-size: 1.1rem;
    transition: 0.2s ease-in-out;
  }

  .footer-text:hover {
    text-decoration: none;
    font-weight: bold;
  }

  .footer-text-container {
    padding: 0;
    text-decoration: none;
    height: max-content;
  }

  .footer-email {
    text-align: center;
    color: white;
    font-size: 1.3rem;
    padding-bottom: 2rem;
  }

  .footer-misc {
    text-align: center;
    color: white;
    font-size: 1.2rem;
  }

  .footer-misc a {
    color: white;
    text-decoration: none !important;
  }

  .footer-phone {
    text-align: center;
    color: white;
    font-size: 1.3rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
    margin-top: 0;
  }

  .footer .row div div div {
    text-align: center;
  }

  .footer .row div a:hover {
    transform: scale(1.1);
  }

  .footer .row .copyright {
    background-color: white;
    margin-top: 2em;
    display: block;
  }

  .footer .row div.copyright p {
    text-align: center;
    user-select: none;
    padding: 3em;
    padding-top: 3em;
    display: block;
    color: black;
    font-size: 0.7rem;
    margin: 0 auto;
  }

  .footer .row div div.footer-social {
    padding-top: 0px;
    padding-bottom: 0px;
    width: max-content;
    margin: 0 auto;
  }

  .footer .row div div.footer-social a {
    text-decoration: none;
    user-select: none;
  }

  #footer-contact {
    text-align: center;
    display: block;
  }

  #footer-contact p {
    display: block;
    text-align: center;
    height: max-content;
  }

  #footer-contact p a {
    display: inline;
    text-align: center;
  }
}

/* desktop */
@media only screen and (min-width: 576.1px) {
  .footer {
    height: max-content;
    background-color: black;
    position: relative;
  }

  .footer h1 {
    text-align: left;
    display: block;
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    width: 100%;
  }

  #otherservices {
    padding-right: 4rem;
  }

  .footer .row div.footerdiv {
    padding: 5em 0em 5em 0em;
    display: flex;
    display: -webkit-flex;
  }

  .footer .row div div div {
    transition: 0.2s ease-in-out;
  }

  .some-row-footer {
    display: block;
    width: auto;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .footer-text {
    text-align: left;
    text-decoration: none !important;
    color: white !important;
    font-size: 0.7rem;
    transition: 0.2s ease-in-out;
    cursor: pointer !important;
  }

  .footer-text:hover {
    text-decoration: none;
    font-weight: bold;
  }

  .footer-text-container {
    padding: 0;
    text-decoration: none;
    height: max-content;
  }

  .footer-email {
    text-align: center;
    color: white;
    font-size: 1rem;
    padding-bottom: 2rem;
  }

  .footer-misc {
    height: 2rem;
    text-align: left;
    color: white;
    font-size: 1.1rem;
  }

  .footer-misc a {
    text-decoration: none !important;
    color: white;
    transition: .2s ease-in-out;
  }

  .footer-misc a:hover {
    font-weight: bold;
    /* font-size: 1.2rem; */
    transform: scale(1.1) !important;
  }

  .footer-phone {
    text-align: center;
    color: white;
    font-size: 1rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
    margin-top: 0;
  }

  .footer .row div div div {
    text-align: left;
  }

  .footer .row div a:hover {
    transform: scale(1.1);
  }

  .footer .row .copyright {
    margin-top: 2em;
    display: block;
  }

  .footer .row div.copyright p {
    text-align: center;
    user-select: none;
    padding: 3em;
    padding-top: 0;
    display: block;
    color: white;
    font-size: 0.7rem;
    margin: 0 auto;
  }

  .footer .row div div.footer-social {
    padding-top: 0px;
    padding-bottom: 0px;
    width: max-content;
    margin: 0 auto;
  }

  .footer .row div div.footer-social a {
    text-decoration: none;
    user-select: none;
  }

  #footer-contact {
    text-align: left;
    display: block;
  }

  #footer-contact p {
    display: block;
    text-align: left;
    height: max-content;
  }

  #footer-contact p a {
    display: inline;
    text-align: left;
  }
}

button.footer-text {
  background-color: transparent;
  border: 0;
  padding-left: 0;
}

#footer-call-icon {
  background: url('../images/icons/ic_call_white_48dp.png') no-repeat;
  background-size: contain;
  border: 0;
  width: 2rem;
  height: 2rem;
  background-color: transparent;
  display: inline-block;
  margin-bottom: -.7rem;
  margin-right: .4rem;
}

#footer-email-icon {
  background: url('../images/icons/ic_mail_outline_white_48dp.png') no-repeat;
  background-size: contain;
  border: 0;
  width: 2rem;
  height: 2rem;
  background-color: transparent;
  display: inline-block;
  margin-bottom: -.7rem;
  margin-right: .4rem;
}

#footer-email-fb {
  background: url('../images/icons/facebook.png') no-repeat;
  background-size: 2rem 2rem;
  ;
  border: 0;
  width: 2.1rem;
  height: 2.1rem;
  filter: brightness(100);
  display: inline-block;
  transition: .2s ease-in-out;
}

#footer-email-fb:hover {
  background-size: 2.1rem 2.1rem;
}

#footer-email-ig {
  background: url('../images/icons/instagram.png') no-repeat;
  background-size: 2rem 2rem;
  width: 2.1rem;
  height: 2.1rem;
  filter: brightness(100);
  display: inline-block;
  margin-top: 1rem;
  text-shadow: 1px 1px 2px black;
}

#footer-email-ig:hover {
  background-size: 2.1rem 2.1rem;
}

@media only screen and (min-width: 576px) and (max-width: 768px) {
  .footer p {
    text-align: center;
  }

  .footer a {
    text-align: center;
  }

  .footer h1 {
    text-align: center;
  }

  .footer {
    text-align: center;
  }

  .footer-text-container {
    text-align: center !important;
  }

  .some-row-footer {
    padding-top: 1rem;
  }
}
