#logo {
    font-family: 'Roboto Condensed';
    font-size: 2rem;
    text-align: center;
    color: black;
}
.header-menu nav li a {
    font-weight: bold;
    text-align: center;
}

/* underline animation */
.nav-link {
  position: relative;
  color: #000000;
  text-decoration: none;
}

.nav-link:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0.125rem;
  bottom: 0;
  left: 0;
  background-color: #000000;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.nav-link:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(0.65);
}

.navbar-brand .header-logo {
  height: auto !important;
}



.top-icon {
    color: white;
    font-size: 3.125rem;
}



#back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    cursor: pointer;
    width: 3.125rem;
    height: 3.125rem;
    background-color: #757575;
    display: none;
    -webkit-border-radius: 0.3125rem;
    -moz-border-radius: 0.3125rem;
    border-radius: 0.3125rem;
    z-index: 3;
    opacity: 0.5;
}

#back-to-top:hover {
    opacity: 1;
}

.header-contact {
    background-color: #5A4E67;
}

.header-contact a {
    text-decoration: none;
    color: #f6f3fb;
    font-weight: bold;
    font-size: 1.25rem;
}

.header-contact a:hover {
    color: #7915ed;
    text-decoration: none;
}

.header-contact .header-hours {
    color: #f6f3fb;
}

.header-contact .header-hour-text {
    font-weight: bold;
    font-size: 1.25rem;
    display: inline;
}

.header-social-media {
    padding-top: 0.25rem;
}

.page-content {
    padding-bottom: 3rem;
    font-family: 'Roboto';
    background-color: #f6f3fb;
}


.footer-top {
    background-color: #f6f0fe;
    padding: 3rem 0;
    position: relative;
}

.footer-items .footer-logo {
    padding-bottom: 2rem;
}

.footer-items h4 {
    color: black;
    text-align: left;
    padding-bottom: 0.5rem;
    font-family: 'Roboto Condensed';
    text-transform: uppercase;
    font-size: 1.125rem;
}

.phone-icon, .location-icon, .time-icon, nav-icon {
    font-size: 1rem;
}

.social-media-icon {
    font-size: 2rem;
}

.footer-items ul {
    list-style-type: none;
    margin: 0;
    padding: 0 0 2rem 0;
    font-family: 'Roboto';
    font-size: 0.925rem;
}

.footer-items .sitemap li {
    padding-bottom: 0.5rem;
}

.footer-items .social-media ion-icon {
    padding-right: 0.75rem;
}

.footer-items a {
    color:#808080;
    text-decoration: none;
    color: black;
}

.footer-items a:hover {
    color: #7915ed;
    text-decoration: none;
}

.table-hours {
    width: 240px;
    margin: 0px auto;
    font-family: 'Roboto';
    font-size: 0.925rem;
}

.borderless tbody tr td {
    border: none;
    padding: 0px 0px 0px 10px;
    text-align: left;
}

.table-lalign {
    margin: 0px;
}

.footer-bottom {
    background-color: #140327;
    padding: 1.5rem 0;
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: #808080;
    font-family: 'Roboto';
}



.welcome-section, .intro-section {
    position: relative;
    height: 100vh;
}

.welcome-section {
    margin-top: -11.5%;
}

.img-container {
    display: inline-block;
    position: relative;
    height: 100vh;
    width: 100%;
}

.landscape {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.site-title.left {
    position: absolute;
    left: 4%;
    top: 30%;
    background-color: rgba(254,250,243,0.4);
    padding: 2rem;
    border-radius: 1rem;
}

.site-title.right {
    position: absolute;
    width: 500px;
    right: 5%;
    top: 30%;
}

.site-title h1 {
    font-family: 'Roboto Condensed';
    color: #382b6c;
    font-size: 3.125rem;
    font-weight: bold;
    text-transform: uppercase;
}

.site-title h2 {
    font-family: 'Roboto Condensed';
    color: black;
    font-size: 1.875rem;
    font-weight: bold;
    text-transform: uppercase;
}

.site-title .description {
    font-family: 'Roboto Condensed';
    color: black;
    font-size: 1.875rem;
    font-weight: bold;
}

.site-title .description.long {
    font-family: 'Roboto Condensed';
    color: black;
    font-size: 1.2rem;
    font-weight: bold;
}

.left-gradient:after {
    display: inline-block;
    position: absolute;
    background-image:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0.6),
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0)
        );
  left: 0;
  top: 0;
  width: 100%;
  height:100%;
  content: '';
}

.right-gradient:after {
    display: inline-block;
    position: absolute;
    background-image:
        linear-gradient(
            to left,
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0.6),
            rgba(255, 255, 255, 0.4)
        );
  left: 0;
  top: 0;
  width: 100%;
  height:100%;
  content: '';
}



.basic-service-info {
    margin: 3rem auto;
}

.basic-service-info .service-box {
    text-align: center;
    text-transform: uppercase;
    height: 240px;
    width: 240px;
    margin: auto;
    padding-top: 2.25rem;
}

.basic-service-info .service-box .img-service:hover {
    animation: shakeX 0.6s;
}

.basic-service-info .service-box h4 {
    font-size: 1.125rem;
    font-weight: bold;
    color: white;
    padding-top: 2.25rem;
}

.basic-service-info .service-box a {
    text-decoration: none;
}

.basic-service-info .service-box.practice {
    background-color: #f8ce7e;
}
.basic-service-info .service-box.team {
    background-color: #aed0d1;
}
.basic-service-info .service-box.emergency {
    background-color: #f6b98b;
}
.basic-service-info .service-box.appointment {
    background-color: #c2dabc;
}


.services-section {
    margin-top: 3rem;
}

.services-section .service-box {
    background-color: #fefaf3;
    text-align: center;
    border-radius: 1rem;
    height: 16rem;
    margin: auto;
    padding-top: 2.5rem;
}

.services-section .service-box:hover {
    background-color: #f6f3fb;
}

.services-section .service-box .img-service:hover {
    animation: shakeY 0.6s;
}

.services-section .service-box a {
    text-decoration: none;
    color: black;
}

.services-section h4 {
    padding-top: 2.5rem;
    font-weight: bold;
}

.services-section .service-box.info {
    text-align: left;
    padding-left: 5rem;
}

.services-section .service-box.info h4 {
    padding-top: 2.5rem;
}

.services-section .service-box .description {
    padding-top: 2rem;
    font-size: 1.2rem;
}

.content-section {
    //margin-top: 5rem;
    //remove
}

.content-section .img-container {
    display: inline-block;
    position: relative;
    height: 45vh;
    opacity: 0.2;
}

.content-section .content-title {
    position: absolute;
    padding: 0 4%;
    top: 30%;
}

.content-section .content-title h1, .content-section .content-title .description {
    font-weight: bold;
}

.text-section {
    background-color: #fefaf3;
    border-radius: 1rem;
    margin: 2rem auto;
    padding: 2rem;
}

.section-boxs {
    background-color: #fefaf3;
    border-radius: 1rem;
    padding: 2rem;
}

.text-section img {
    width: 90%;
}

.forms-box {
    background-color: #fefaf3;
    text-align: center;
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 2rem 0;
}
.forms-box:hover {
    background-color: #f6f3fb;
}

.forms-box .title {
    font-size: 1.5rem;
    padding-bottom: 1rem;
}

.forms-box a {
    text-decoration: none;
    color: black;
}

.forms-box img:hover {
    animation: shakeX 0.6s;
}

.contact-section .location, .contact-section .contact {
    list-style-type: none;
}

@media (min-width: 1200px) {
    .container-fluid {
        width: 1200px;
    }

    .text-section {
        width: 1200px;
    }
}

@media (max-width: 1200px) {
    .content-section .img-container {
        height: 45vh;
    }
    .content-section .content-title {
        top: 27%;
    }
    .content-section .content-title.no-description {
        top: 30%;
    }
}

@media (min-width: 992px) {
    .header-menu .dropdown:hover .dropdown-menu {
        display: block;
    }
    .header-menu .dropdown .dropdown-menu {
        display: none;
    }
}

@media (max-width: 992px) {
    .site-title h1 {
        font-size: 3rem;
    }

    .site-title .description {
        font-size: 1.5rem;
    }

    .basic-service-info .service-box {
        height: 180px;
        width: 180px;
        padding-top: 1.5rem;
    }

    .basic-service-info .service-box h4 {
        font-size: 0.9rem;
        padding-top: 1rem;
    }

    .services-section .service-box.info {
        padding-left: 2rem;
    }

    .services-section .service-box.info h4 {
        padding-top: 1.5rem;
        font-size: 1.3rem;
    }

    .services-section .service-box .description {
        padding-top: 1rem;
        font-size: 1rem;
    }

    .services-section .service-box h4 {
        font-size: 1.3rem;
    }

    .content-section .img-container {
        height: 40vh;
    }
    .content-section .content-title {
        top: 25%;
    }
}

@media (max-width: 768px) {
    .header-social-media, .header-hours {
        display: none;
    }

    .header-phone {
        text-align: center;
    }

    .header-logo {
        height: 5rem;
    }

    .site-title h1 {
        font-size: 2.5rem;
    }

    .site-title .description {
        font-size: 1.3rem;
    }

    .site-title.right {
        top: 20%;
    }

    .services-section .service-box.info {
        padding-left: 1rem;
    }

    .services-section .service-box.info h4 {
        font-size: 1rem;
    }

    .services-section .service-box .description {
        padding-top: 1rem;
        font-size: 0.875rem;
    }

    .services-section .service-box h4 {
        font-size: 1rem;
    }

    .content-section .img-container {
        height: 35vh;
    }
    .content-section .content-title {
        top: 20%;
    }
    .content-section .content-title.no-description {
        top: 25%;
    }
}

@media (max-width: 576px) {
    .left-gradient:after {
        background-image:
            linear-gradient(
                to bottom,
                rgba(255, 255, 255, 1),
                rgba(255, 255, 255, 0.8),
                rgba(255, 255, 255, 0.2),
                rgba(255, 255, 255, 0),
                rgba(255, 255, 255, 0)
            );
    }

    .right-gradient:after {
        background-image:
            linear-gradient(
                to bottom,
                rgba(255, 255, 255, 1),
                rgba(255, 255, 255, 0.8),
                rgba(255, 255, 255, 0.2),
                rgba(255, 255, 255, 0),
                rgba(255, 255, 255, 0)
            );
    }

    .footer-top .sitemap-section {
        display: none;
    }

    .header-logo {
        height: 4rem;
    }

    .site-title h1 {
        font-size: 1.875rem;
    }

    .site-title .description {
        font-size: 1rem;
    }

    .site-title.left {
        left: 10%;
        top: 18%;
    }

    .site-title.right {
        left: 10%;
        top: 10%;
        width: 80vw;
    }

    .site-title .description.long {
        font-size: 1rem;
    }

    .services-section .service-box {
        width: 16rem;
    }

    .content-section .content-title {
        top: 18%;
    }
    .content-section .content-title .description {
        font-size: 0.875rem;
    }
}

@media (max-width: 370px) {
    .header-logo {
        height: 3rem;
    }
    .footer-logo {
        height: 5rem;
    }
    .content-section {
        margin-top: 0rem;
    }
    .content-section .content-title {
        top: 23%;
    }
    .content-section .content-title.no-description {
        top: 23%;
    }
}

@media (max-width: 300px) {
    .header-logo {
        height: 2rem;
    }
    .footer-logo {
        height: 4rem;
    }
    .content-section {
        margin-top: 0rem;
    }
    .content-section .content-title {
        top: 30%;
    }
    .content-section .content-title.no-description {
        top: 30%;
    }
}

@keyframes shakeX {
    0% { transform: translateX(0.4rem); }
    25% { transform: translateX(-0.4rem); }
    50% { transform: translateX(0.4rem); }
    75% { transform: translateX(-0.4rem); }
    100% { transform: translateX(0.4rem); }
}

@keyframes shakeY {
    0% { transform: translateY(0.4rem); }
    25% { transform: translateY(-0.4rem); }
    50% { transform: translateY(0.4rem); }
    75% { transform: translateY(-0.4rem); }
    100% { transform: translateY(0.4rem); }
}