@import url("https://fonts.googleapis.com/css?family=Kaushan+Script");
:root {
    --mainPink: #ef7998;
    --mainYellow: rgb(249, 228, 148);
    --mainWhite: #fff;
    --mainBlack: #000;
    --yellowTrans: rgba(249, 228, 148, 0.5);
    --mainGrey: rgb(238, 238, 238);
    /* nice colors props */
    --clr-thickChoco: #634832;
    --clr-lightChoco: #dbc1ac;
    --clr-mainLightRed: #f56a79;
    --clr-redTrans: rgba(88, 33, 42, 0.5);
    ;
}

body {
    font-family: "Kaushan Script", cursive;
    background: var(--mainWhite);
    color: var(--mainBlack);
}


/* add on */

.heading {
    animation-name: slide;
    animation-duration: 2s;
}

.main {
    animation-name: slide;
    animation-duration: 2s;
    animation-delay: .5s;
    animation-fill-mode: backwards;
}

@keyframes slide {
    0% {
        transform: translateX(-1000px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


/* global styles */

.btn-pink {
    color: var(--mainPink)!important;
    border-color: var(--mainPink)!important;
}

.btn-pink:hover {
    color: var(--mainBlack)!important;
    border-color: var(--mainBlack)!important;
    background: var(--mainPink)!important;
}

.btn-black {
    color: var(--mainBlack)!important;
    border-color: var(--mainBlack)!important;
}

.btn-black:hover {
    color: var(--mainPink)!important;
    background: var(--mainBlack)!important;
}

.logo {
    color: red;
}


/* nav links */

.navbar-toggler {
    outline: none !important;
}

.toggler-icon {
    font-size: 2.5rem;
    /* font-size: 40px; */
    color: var(--mainPink);
}

.nav-link {
    color: var(--mainPink);
}

.nav-link:hover {
    color: var(--mainBlack);
}


/* cart styles */

.cart-info__icon {
    color: var(--mainBlack);
    cursor: pointer;
}

.cart-info {
    border: 0.1rem solid var(--mainBlack);
    color: var(--mainBlack);
    border-radius: 0.25rem;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
}

.cart-info:hover {
    background: var(--mainPink);
    border-color: var(--mainPink);
    color: var(--mainWhite);
}

.cart-info:hover .cart-info__icon {
    color: var(--mainWhite);
}


/* banner */

.max-height {
    /* 100vh */
    min-height: calc(100vh - 76px);
    background: linear-gradient(var(--clr-redTrans), var(--clr-redTrans)), url('../images/hero.png');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.banner {
    color: var(--mainWhite);
    margin-top: -4rem;
}

.banner-title {
    color: var(--mainPink);
    font-size: 4rem;
}

.banner-link {
    font-size: 1.5rem;
    color: var(--mainBlack);
    border: 0.2rem solid var(--mainBlack);
}

.banner-link:hover {
    background: var(--mainBlack);
    color: var(--mainPink);
}


/* about */

.about-img__container {
    position: relative;
}

.about-img__container::before {
    /* always need content even it was an empty , otherwise will not show */
    content: '';
    position: absolute;
    top: -1.5rem;
    left: -1.7rem;
    width: 100%;
    height: 100%;
    outline: 0.5rem solid var(--clr-mainLightRed);
    /* placed at behind img */
    z-index: -1;
    transition: all 1s linear;
}

.about-img__container:hover:before {
    top: 0;
    left: 0;
}


/* store */

.store {
    background: var(--mainGrey);
}

.search-box {
    background: var(--mainPink);
    color: var(--mainBlack)
}

.single-item {
    transition: all 0.3 linear;
}

.single-item:hover {
    box-shadow: 0 10px 15px rgb(0, 0, 0, );
}

.img-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.store-img {
    transition: all 1s ease-in-out;
}

.img-container:hover .store-img {
    transform: scale(1.2);
}

.store-item-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0.75rem;
    background: var(--mainYellow);
    border-top-left-radius: 1rem;
    transition: all 1s ease-in-out;
    /* hide icon by defualt */
    transform: translate(100%, 100%);
}

.img-container:hover .store-item-icon {
    /* show up the hidden icon */
    transform: translate(0, 0);
}

.store-item-icon:hover {
    color: var(--mainWhite);
}


/* services */

.services {
    color: var(--mainWhite);
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/bottomBG.jpeg') center/cover fixed no-repeat;
}

.service-title {
    letter-spacing: 0.5rem;
}

.service-text {
    word-spacing: 0.5rem;
}


/* footer */

.footer-title {
    background: var(--mainBlack);
}

.footer-contact {
    background: var(--mainGrey);
}

.footer-icon {
    font-size: 1.5rem;
    color: var(--mainWhite);
    transition: all 0.4 ease-in-out;
}

.footer-icon:hover {
    color: var(--mainPink);
}