/* HEADER */

header {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    padding: .3em;
    background: rgb(255, 0, 0);
    background: linear-gradient(225deg, rgba(255, 0, 0, 0.7) 0%, rgba(177, 0, 6, 0.7) 100%);
    width: 100%;
    z-index: 5;
    position: fixed;
    top: 0;
    left: 0;
}

/* MAIN */

main {
    margin-top: 4em;
}

#main {
    border: 1px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
    background-color: white;
    padding: 5px;
    margin-bottom: 1em;
}

body {
    background-color: seashell;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 24px;
    font-family: sans-serif;
    line-height: 1;
}

.separator::before, .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed lightgray;
    margin: 1em 0;
}

.separator::before {
    margin-right: .25em;
}

.separator::after {
    margin-left: .25em;
}

/* // Small devices (landscape phones, 576px and up) */

@media (min-width: 300px) {
    #main-carousel img {
        height: 280px;
    }

    #main{
        margin-bottom: 0;
    }
}

@media (min-width: 576px) {
    #main-carousel img {
        height: 460px;
    }
}

/* // Medium devices (tablets, 768px and up) */

@media (min-width: 768px) {
    #main-carousel img {
        height: 570px;
    }

    #main{
        margin-bottom: 1em;
        padding-bottom: 1em;
    }
}

/* // Large devices (desktops, 992px and up) */

@media (min-width: 992px) {
    #main-carousel img {
        height: 680px;
    }
}

/* // Extra large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {
    #main-carousel img {
        height: 720px;
    }
}

.row-info {
    position: relative;
    padding: 0 1em;
}

.mapple-tr-icon {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    height: 5em;
    width: 5em;
    opacity: .5;
}

/* SERVICES */

.services-row {
    overflow-x: scroll;
    width: 100%;
    white-space: nowrap;
    padding: 10px 0 1.5em 0;
}

.service-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    height: 250px;
    width: 200px;
    border: 1px solid lightgray;
    margin: 5px;
    transition: all 1s ease;
    background-color: white;
    cursor: pointer;
    white-space: normal;
    z-index: 999;
}

.service-img {
    margin-top: 1em;
    height: 100px;
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid red;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.service-img ion-icon, .service-img i {
    font-size: 68px;
}

.service-img img {
    height: 68px;
    width: 68px;
}

.service-title {
    display: block;
    width: 100%;
    text-align: center;
    margin: 5px;
    flex-grow: 1;
}

.service-discount {
    color: gray;
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: line-through;
    font-size: 16px;
}

.service-price {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 16px;
    margin-bottom: 5px;
}

.service-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

.service-item:hover .service-title {
    color: white;
}

.service-item:hover .service-price {
    color: white;
    animation: pulsar .5s linear 0s infinite alternate;
}

.service-item:hover .service-discount {
    color: lightgray;
}

@keyframes pulsar {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

.service-item:hover::before {
    height: 100%;
}

.service-item * {
    z-index: 2;
    /* transition: all 1s ease; */
}

.service-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0px;
    background: linear-gradient(0deg, rgba(255, 0, 0, .8) 0%, rgba(255, 0, 0, 0.6) 100%);
    z-index: 1;
    transition: all 1s ease;
}

/* ROW CONTACT */

.row-contact {
    margin-bottom: 1em;
}

.contact-container {
    border: 1px solid lightgray;
}