/********** Template CSS **********/


:root {
    --color-primary: #ffe88d;
    --color-primary-dark: #dfbd6b;
    --color-bg-dark: #243c21;
    --color-bg-light: #abc3a3;
    --color-text-dark: #1c3019;
    --color-text-light: #FAE890;
    --color-bg-g-1:#243c21;
    --color-bg-g-2:#040804;
}

body {
    margin: 0;
    font-family: emoji;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #f2f2f2;
    background: linear-gradient(0deg, #040804, #243c21);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    font-family: emoji;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
    border-radius: 50px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    color: var(--bs-white);
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--color-primary-dark);
    font-size: 18px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--color-primary);
    text-shadow: 0px 0px 1px currentcolor;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 991.98px) and (max-width: 1200px) {
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background:linear-gradient(180deg, #0d0d0ab5, #041d159e);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/nail-salons-banner-03.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;

    color: var(--color-text-light);
    text-shadow: 1px 0px .5px #000000;
    font-family: emoji;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--color-text-light);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--color-text-light);

    color: var(--color-text-light);
    text-shadow: 1px 0px .5px #000000;
    font-family: emoji;
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--color-bg-g-2), var(--color-bg-g-1));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--color-bg-g-2), var(--color-bg-g-1));
}

.service-item-center {
    border-radius: 10px;
    background: #405d3d;
    box-shadow: 0px 0px 5px #fae890d9;
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to top, var(--color-bg-g-2), var(--color-bg-g-1));
        text-align: center;
    }

    .service-text p {
        text-align: justify;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}


.team-item .team-body .team-above {
    position: absolute;
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    overflow: hidden;
    transition: height .5s ease;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-above {
    left: auto;
    right: 0;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
    background: linear-gradient(to right, #00000000, #00000080);
}

.team-item .team-body .team-before {
    text-align: right;
    background: linear-gradient(to left, #00000000, #00000080);
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 100%;
}

.team-item:hover .team-body .team-above {
    height: 100%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    opacity: 0;
    transition: .5s;
}

.team-item .team-body .team-above a {
    margin: 5px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease;
}

.team-item:hover .team-body .team-above a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .2s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 25px;
    height: 25px;
    margin: 0 5px;
    padding: 10px;
    background: var(--color-bg-g-1);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 50px;
    height: 50px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
@keyframes footerAnimatedBg {
	0% {
        background-position: 0 0;
    }

	100% {
        background-position: -1000px 0;
    }
}

.footer {
	background-image: url(../img/footer-bg-nail.png);
	background-position: 0px 0px;
    background-repeat: repeat-x;
	animation: footerAnimatedBg 50s linear infinite;
}

/* ---------- NEW STYLE ---------- */

.img-logo {
    width: auto;
    height: 25px;
}

.img-logo-footer {
    width: auto;
    height: 30px;
}

.btn-outline-primary {
    color: var(--color-primary-dark);
    border: solid 1px var(--color-primary-dark);
}

.btn-primary {
    background: linear-gradient(135deg, #ead480, #c79c32);
    color: #0e2906;
    border: solid 1px #f0d185;

    text-transform: uppercase;
    padding: 6px 35px 6px 35px;
    letter-spacing: 1px;
}

.btn-outline-primary:hover, 
.btn-primary:hover {
    background: linear-gradient(178deg, #ead480, #e6ce77);
    color: #0e2906;
    border: solid 1px #665510;
    text-transform: uppercase;
    box-shadow: 0px 0px 1px 1px #fff1be;
}

.navbar.bg-dark {
    background: var(--color-bg-dark) !important;
    box-shadow: 0px 1px 5px #00000069 !important;
}

#gallery .team-item,
#about img {
    /* border: solid 1px #e6cd77; */
    box-shadow: 0px 0px 5px #fae890d9;
}

#testimonial,
#services {
    background: linear-gradient(0deg, var(--color-bg-g-2), var(--color-bg-g-1));
}

#about,
#gallery {
    background: linear-gradient(180deg, var(--color-bg-g-2), var(--color-bg-g-1));
}

#about p {
    text-align: justify;
}

#services .service-item {
    box-shadow: 0px 0px 5px #fae890d9;
}

#services img {
    border: solid 1px #828a51;
}

#header-carousel .fs-5 {
    font-size: 1rem !important;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 5px 16px;
    margin-bottom: 5px;
    background-color: transparent;
    border: none;
    color: #f2f2f2;
}

.text-primary {
    color: var(--color-primary) !important;
}

.bg-dark {
    background-color: #121911 !important;
}

.bg-info {
    background-color: var(--color-bg-dark) !important;
    border: solid 1px var(--color-bg-light);
}

.bg-info td {
    color: #ffffff;
}

.bg-info .text-primary:hover {
    text-shadow: 0px 0px 5px currentColor;
}

.footer p a {
    color: #dddddd;
}

.footer p a:hover {
    color: var(--color-primary);
}

.footer ul {
    list-style: none;
}

.footer .info a {
    font-size: 20px;
    margin-bottom: 8px !important;
}

.footer .info a:hover {
    color: var(--color-primary) !important;
}

.navbar-collapse.show .navbar-nav {
    background: #1e321beb;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 1px;
}