:root {
    --bg-color: #212529;
    --text-color: #0074d9;
    --main-transition: all 0.3s linear
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

::selection {
    background-color: var(--text-color);
    color: #fff
}

li {
    list-style-type: none
}

a {
    color: inherit;
    text-decoration: none
}

.caed {
    transition: var(--main-transition)
}

.card:hover {
    box-shadow: 1px 1px 10px var(--bg-color), 3px 3px 15px var(--bg-color)
}

.card img:hover {
    filter: brightness(1.2)
}

.card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column
}

.card .card-body h5+p {
    flex-grow: 1
}

.card .card-body a {
    transition: var(--main-transition)
}

.card .card-body a:hover {
    transform: scale(1.1)
}

body {
    font-family: "PT Serif", serif
}

header nav .container-fluid img {
    animation: moveBottom .5s linear .2s backwards
}

header nav .container-fluid .collapse .navbar-nav {
    animation: moveBottom .5s linear .4s backwards
}

header nav .container-fluid .collapse .navbar-nav a {
    animation: moveBottom .5s linear calc(.2s * var(--i)) backwards
}

header nav .container-fluid .collapse form {
    animation: moveBottom .5s linear 1.4s backwards
}

.hero-section {
    height: 100vh;
    width: 100%;
    background: url(../images/hero/imgHero.jpg);
    background-size: cover;
    background-attachment: fixed;
}

.hero-section h1 {
    animation: moveBottom .5s linear 1.6s backwards
}

.hero-section p {
    animation: moveBottom .5s linear 1.8s backwards
}

.hero-section a {
    animation: moveBottom .5s linear 2s backwards
}

.discover {
    position: absolute;
    inset: 0;
    background-color: #fff;
    min-height: 100vh;
    transform: scale(0);
    transition: var(--main-transition);
    margin-top: 90px;
}

.discover.show {
    transform: scale(1)
}

.discover .fa-xmark {
    position: absolute;
    top: 50px;
    right: 50px;
    font-size: 2em;
    cursor: pointer
}

.services .card,
.features .card {
    position: relative
}

.services .card::before,
.features .card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    border-radius: inherit;
    background-color: var(--text-color);
    transition: var(--main-transition)
}

.services .card:hover::before,
.features .card:hover::before {
    width: 100%
}

.services .card:hover,
.features .card:hover {
    transform: translateY(-10px)
}

.services .service-icon,
.features .feature-icon {
    height: 80px;
    text-align: center;
    line-height: 80px;
    font-size: 60px;
    padding: 4px 0
}

.testimonials .card {
    margin-top: 50px
}

.testimonials .card img {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%)
}

.testimonials .card:hover img {
    border: 4px solid var(--text-color);
    border-radius: 50%
}

.testimonials .row {
    margin-top: 30px
}

.social-media a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    background: var(--text-color);
    border: 1px solid #fff0
}

.social-media a i {
    font-size: 25px;
    line-height: 40px
}

.social-media a:hover {
    background-color: #fff0;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    transition: var(--main-transition)
}

.filters-bar {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px
}

.filters-bar button {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    background-color: #eee;
    cursor: pointer;
    display: inline-block
}

.filters-bar button.active {
    background-color: #ddd
}

.brand {
    display: flex;
    padding: 0 35px;
    align-items: center;
    justify-content: center
}

.wrapper {
    display: flex;
    max-width: 1200px;
    position: relative
}

.wrapper i {
    top: 50%;
    height: 44px;
    width: 44px;
    color: #343F4F;
    cursor: pointer;
    font-size: 1.15rem;
    position: absolute;
    text-align: center;
    line-height: 44px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 100;
    transition: transform 0.1s linear
}

.wrapper i:active {
    transform: translateY(-50%) scale(.9)
}

.wrapper i:hover {
    background: #f2f2f2
}

.wrapper i:first-child {
    left: -22px;
    display: none
}

.wrapper i:last-child {
    right: -22px
}

.wrapper .carousel {
    font-size: 0;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    scroll-behavior: smooth
}

.carousel.dragging {
    cursor: grab;
    scroll-behavior: auto
}

.carousel.dragging img {
    pointer-events: none
}

.carousel img {
    height: 200px;
    object-fit: cover;
    user-select: none;
    margin-left: 14px;
    width: calc(100% / 4)
}

.carousel img:first-child {
    margin-left: 0
}

@media(max-width:900px) {
    .carousel img {
        width: calc(100% / 2)
    }
}

@media(max-width:550px) {
    .carousel img {
        width: 100%
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--text-color);
    cursor: pointer;
    z-index: 99999;
    text-align: center;
    line-height: 30px;
    font-size: 20px;
    display: none
}

footer {
    background-color: var(--bg-color);
    color: #f8f9fa;
    padding-top: 20px;
    padding-bottom: 20px
}

.card img {
    height: 170px
}

@keyframes moveBottom {
    0% {
        transform: translateY(-100%);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

@keyframes moveTop {
    0% {
        transform: translateY(100%);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

@keyframes moveRight {
    0% {
        transform: translateX(-50px);
        opacity: 0
    }

    100% {
        transform: translateX(0);
        opacity: 1
    }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    color: white;
    padding: 0;
    text-align: center;
    transition: top 0.3s ease-in-out;
    z-index: 10101001;
    box-shadow: 0 0 10px #eee,
        1px 1px 10px #eee;
}


.modal {
    width: 100%;
    height: 100%;
    padding-top: 100px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: scale(0);
    transition: .3s;
    z-index: 101000000000000000;
}

.modal.show {
    transform: scale(1);
}

.modal img {
    height: 400px;
}

.modal h2 {
    color: var(--text-color);
    font-weight: bold;
}

.modal p {
    color: black;
}

.modal button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    outline: none;
    border: none;
    color: black;
    font-size: 40px;
}

body.modal-open {
    overflow: hidden;
}

#cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    background: var(--bg-color);
    min-height: 100vh;
    transition: .6s;
    transform: scale(0);
    padding: 5px;
    padding-top: 50px;
    z-index: 10101010101;
    box-shadow: 0 0 10px #000;
}

#cart.show {
    transform: scale(1);
}

#cart .close {
    position: absolute;
    top: 45px;
    right: 10px;
    font-size: 30px;
    color: var(--text-color);
    cursor: pointer;
}

#cart ul {
    padding: 5px;
}

#cart ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#cart ul li img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

#cart ul li span:last-child {
    color: var(--text-color);
    font-size: 30px;
    cursor: pointer;
}

.wrap-heart {
    margin: 60px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.wrap-heart h1 {
    margin-top: 50px;
}
.wrap-heart .heart {
    width: 80px;
    height: 80px;
    background-color: #0074d9;
    box-shadow: -10px 10px 70px #0074d9;
    animation: heart 0.6s linear infinite;
    position: relative;
}
.wrap-heart .heart::before,
.wrap-heart .heart::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background:#0074d9;
    border-radius: 50%;
}
.wrap-heart .heart::before {
    transform: translateX(-50%);
    box-shadow: 10px -10px 60px #0074d9;
}
.wrap-heart .heart::after {
    transform: translateY(-50%);
    box-shadow: 10px 10px 60px #0074d9;
}

@keyframes heart {
    0%{
        transform: rotate(45deg) scale(1.07);
    }
    
    80%{
        transform: rotate(45deg) scale(1);
    }
    100%{
        transform: rotate(45deg) scale(.8);
    }
    
}