.amonperefoot {
    font-family: 'Alex Brush', cursive !important;
    font-size: 2rem !important;
    color: white !important;
}

@keyframes bgColor {
    12.5% {
        color: #72EFDD;
    }

    25% {
        color: #64DFDF;
    }

    37.5% {
        color: #56CFE1;
    }

    50% {
        color: #48BFE3;
    }

    62.5% {
        color: #4EA8DE;
    }

    75% {
        color: #5de8f4;
    }

    87.5% {
        color: #56CFE1;
    }

    100% {
        color: #56CFE1;
    }
}

.colored-dot-foot {
    color: #24cfba;
    animation: bgColor 5s infinite linear !important;
    animation-duration: 5s !important;
    animation-timing-function: linear !important;
    animation-delay: 0s !important;
    animation-iteration-count: infinite !important;
    animation-direction: normal !important;
    animation-fill-mode: none !important;
    animation-play-state: running !important;
    animation-name: bgColor !important;
    font-size: 4rem;
    line-height: 1rem;
}

.single-project {
    position: relative;
    margin: 1rem;
    margin-bottom: 2rem;
    height: 400px;
    border: 1px #f5ca56 solid;
    border-radius: 10rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 24px 38px rgb(81 107 117 / 21%);
}

.profile-card {
    background-color: #D82520;
}

@media (min-width: 768px) {
    .single-project:hover {
        transform: scale(1.01);
    }

    .profile-card {
        z-index: 1;
        transform: scale(1.1);
    }
}

.single-project:after, .bg-shadow:after {
    border-radius: inherit;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.3;
    content: " ";
    -webkit-filter: drop-shadow(0px 2px 2px rgba(130,130,130,1));
    filter        : drop-shadow(0px 2px 2px rgba(130,130,130,1));
    -ms-filter    : "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=2, Color='#444')";
    filter        : "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=2, Color='#444')";
}

.project-details {
    max-width: 70%;
    position: absolute;
    left: -1rem;
    bottom: -1rem;
    padding: 2rem;
    padding-bottom: 1.5rem;
    display: inline-block;
    background-color: #fff;
    border-radius: 0 3rem;
    z-index: 1;
}

.project-details p {
    text-transform: uppercase;
    color: #f5ca56;
    font-size: 0.75rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.project-details a {
    float: right;
    color: #f5ca56;
}

.project-details h4 {
    border-left: 3px #f5ca56 solid;
    padding-left: 1rem;
}

.main_title h2 {
    padding: 1rem;
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
}

.heading-section h2 > span {
    color: #f5ca56;
}

@media (max-width:992px) {
    .single-project {
        height: 300px;
        border: 1px #f5ca56 solid;
        border-radius: 4rem 0;
    }


    .project-details {
        width: 100%;
        max-width: 100%;
        background-color: unset;
        /*text-shadow: 0px 0px 10px black;*/
        z-index: 1;
    }

    .project-details h4 {
        color: white;
        /*text-shadow: 2px 2px 5px black;*/
    }
}

.underlined-title {
    width: fit-content;
    margin: auto;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    color: #45505b;
}

.underlined-title::before {
    content: "";
    position: absolute;
    display: block;
    width: 90%;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: 5%;
}

.underlined-title::after {
    content: "";
    position: absolute;
    display: block;
    width: 30%;
    height: 3px;
    background: #d82520;
    bottom: 0;
    left: 35%;
}

/* Fancy List */
.fancy-list h3, .fancy-list h4 {
    padding-left: 1.5rem;
    position: relative;
    color: #f5ca56;
    font-weight: 500;
}

.fancy-list div {
    padding: 0.1rem 0 0.1rem 0.5rem;
    border-left: 2px solid #f5ca56;
}

.fancy-list h3::before, .fancy-list h4::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50px;
    left: -8px;
    top: calc(50% - 8px);
    background: transparent;
    border: 2px solid #f5ca56;
}

.fancy-list ul {
    padding: 0 3rem;
}

.fancy-list p {
    text-indent: 0rem;
}
/* Fancy List */

.indent-p p {
    padding-left: 1rem;
}

.text-aoma {
    color: #D82520 !important;
}

.subtext-aoma {
    color: #f5ca56 !important;
}

input.underlined, textarea.underlined {
    border-bottom: 2px solid #d9d9d9;
}

.aoma-label {
    font-weight: 600;
}

.bg-aoma {
    background: #D82520 !important;
    border-color: #D82520 !important;
}

.bg-aoma-secondary {
    background: #f5ca56 !important;
    border-color: #f5ca56 !important;
}

.bg-lila {
    background-color: #F9F9FF;
}

/* BOXED PERKS */

.boxed-perks {
    padding-top: 2rem;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: start;
    border: 1px gold solid;
    /*background: #d82520c9;*/
}

.boxed-perks:hover {
    transform: scale(1.02);
}

/*.boxed-perks:nth-child(even) {
    color: white;
    background: #ff5e52;
}*/

.boxed-perks:nth-child(odd), .boxed-perks:nth-child(even) {
    background: white;
}

.boxed-perks .iconify, .boxed-perks .iconify-inline {
    font-size: 3rem;
    color: black;
    /*vertical-align: sub;*/
    color: #f5ca56;
    display: block;
}

.boxed-perks h4 {
    color: #f5ca56;
    position: relative;
    margin-bottom: 1rem;
    display: inline-block;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
}

.boxed-perks h4:after {
    width: 40px;
    content: '';
    background-color: #f5ca56;
    position: absolute;
    bottom: -10px;
    left: 0;
    height: 2px;
}

.boxed-perks p {
    /*color: white;*/
    text-align: justify;
    margin: 0;
}


/* TAB FUNCTIONS */
.tab-functions {
    color: white;
}

/*#nanny-functions > div {
    display: flex;
}

#nanny-functions > div > .iconify-inline {
    width: 30rem;
    height: 10rem;
    color: #f5ca56;
}

#nanny-functions > div > div {
    padding-left: 1rem;
}*/

.tab-functions h4 {
    color: #f5ca56;
    font-weight: 700;
    font-size: 1.5rem;
}

.tab-functions .nav {
    /*display: flex;
    justify-content: center;*/
    height: 100%;
}

.tab-functions li a {
    color: white !important;
    font-size: 1.2rem;
    position: relative;
}

.tab-functions li a:hover {
    font-weight: 700;
}

.tab-functions li a.active {
    background-color: transparent !important;
    font-weight: 700;
}

.tab-functions li a.active:after, .tab-functions li a:hover:after {
    position: absolute;
    top: 10px;
    right: 0;
    width: 0;
    height: 0;
    content: '';
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #ffffff transparent transparent;
}

/*.tab-functions li:nth-child(even) {
    background: #d82520c9;
}

.tab-functions li:nth-child(odd) {
    background: #f54641;
}*/

.hover-shadow:hover {
    box-shadow: 0 24px 38px rgb(81 107 117 / 21%);
}

.scrolled-header {
    padding: 0 !important;
    top: 0 !important;
    position: fixed !important;
}

.scrolled-nav {
    position: fixed !important;
    top: 57px !important;
    background: #d82520 !important;
}

.scrolled-nav .nav-link, .scrolled-nav a {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.top-wrap .nav-link {
    color: white;
}

.top-wrap .nav-link.active {
    font-weight: 700;
}

.top-wrap .nav-link:hover, .top-wrap .nav-link:focus {
    color: #fff !important;
    font-weight: 700;
}

.hero-wrap {
    overflow: hidden;
}

.hero-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, rgba(216,37,32,1) 100%);
    opacity: 0.3;
}

.shadow {
    -webkit-box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}

.circle-social {
    height: 40px;
    width: 40px;
    display: inline-block;
    color: #fff;
    border-radius: 50%;
    position: relative;
    background-color: #e0514d;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.circle-social span, .circle-social svg {
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #fff;
}

.contact-box {
    color: #444;
    /*background: white;*/
}

.contact-box:hover, .contact-box:hover .info-box {
    color: white !important;
    background: #d82520 !important;
}

.info-box {
    border-radius: 50%;
    font-size: 2rem;
    border: 2px dotted;
    text-align: center;
    line-height: 3rem;
    width: 3rem;
    height: 3rem;
    color: #d82520;
    border-color: currentColor;
}

.info-box svg, .info-box span {
    vertical-align: text-top !important;
}

.shadowy {
    box-shadow: 0 0 30px rgb(214 215 216 / 60%)
}

.nav-item>.nav-link {
    position: relative;
    margin: 0.5rem 0.5rem;
    padding: 0.5rem 0;
}

.nav-item>.nav-link:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #fff;
    visibility: visible;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all .3s ease-in-out 0s;
    -moz-transition: all .3s ease-in-out 0s;
    -ms-transition: all .3s ease-in-out 0s;
    -o-transition: all .3s ease-in-out 0s;
    transition: all .3s ease-in-out 0s;
}

.nav-item:hover .nav-link:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
}

.services h4 {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    margin-bottom: 2rem;
    letter-spacing: 0.1rem;
}

.services h4:after {
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    content: '';
    width: 30px;
    height: 1px;
    background: #d82520;
    margin: 0 auto;
}

.services:hover h4:after {
    background: #fff;
}

.simple-wrap {
    color: white;
}

.simple-wrap > .iconify {
    font-size: 7rem;
    color: #f5ca56;
}

.whats-app-button:hover {
    transform: scale(1.01);
}


.team-image {
    width: 100%;
    /*border-radius: 50%;*/
}

.team-header {
    position: relative;
}

.team-header h2 {
    font-weight: 500;
}

.team-header span {
    font-weight: 400;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b3b3b3;
}

.team-header::after {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 2px;
    content: '';
    background: #dc6363;
}

.mobile-menu {
    background: #d82520;
    color: white;
    font-family: "montserrat-light",sans-serif;
    font-size: 1.2rem;
    padding: 3rem 1.5rem;
    height: 100%;
    width: 300px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 700;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    visibility: hidden;
}

.mobile-menu.active {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
    -webkit-overflow-scrolling: touch;
}

.grandpa-bg {
    background-image: url(../images/grandparents-bg.jpeg);
    background-color: white;
    /*box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);*/
    min-height: 620px;
}

@media (max-width: 768px) {
    .grandpa-bg {
        background-image: url(../images/grandparents-bg-768.jpeg);
    }
}

@media (max-width: 576px) {
    .grandpa-bg {
        background-image: url(../images/grandparents-bg-576.jpeg);
    }
}


.nanny-bg {
    background-image: url(../images/nanny-bg.jpeg);
    background-color: white;
    /*box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);*/
    min-height: 620px;
}

@media (max-width: 768px) {
    .nanny-bg {
        background-image: url(../images/nanny-bg-768.jpeg);
    }
}

@media (max-width: 576px) {
    .nanny-bg {
        background-image: url(../images/nanny-bg-576.jpeg);
    }
}

.elderly-bg {
    background-image: url(../images/elderly-bg.jpeg);
    background-color: white;
    /*box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);*/
    min-height: 620px;
}

@media (max-width: 768px) {
    .elderly-bg {
        background-image: url(../images/elderly-bg-768.jpeg);
    }
}

@media (max-width: 576px) {
    .elderly-bg {
        background-image: url(../images/elderly-bg-576.jpeg);
    }
}

.bigger-paragraph p, p.bigger-paragraph {
    font-size: 1.1rem;
}

.text-shadow {
    text-shadow: 0 0 1rem black;
}

.text-shine {
    text-shadow: 0 0 1rem white;
}


.mouse {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2rem;
    z-index: 2;
}
.mouse-icon {
    width: 70px;
    height: 70px;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    text-align: center;
    margin: 0 auto;
    display: block;
}
.mouse-wheel {
    height: 70px;
    margin: 2px auto 0;
    display: block;
    width: 30px;
    background: transparent;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    -webkit-animation: 1.6s ease infinite wheel-up-down;
    -moz-animation: 1.6s ease infinite wheel-up-down;
    animation: 1.6s ease infinite wheel-up-down;
    color: gold;
    font-size: 30px;
}
.mouse-icon:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    background: #ffffff1f;
    z-index: -1;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
@keyframes wheel-up-down {
    100% {
      margin-top: 25px;
      opacity: 1;
    }
    30% {
      opacity: 1;
    }
    0% {
      margin-top: -10px;
      opacity: 0;
    }
}