* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

h1 {
    font-size: 2.5rem;
    font-family: 'system-ui';
    font-weight: normal;
    color: #444;
    text-align: center;
    margin: 2rem 0;
}

.wrapper {
    width: 80%;
    margin: 0 auto;
    /*max-width: 80rem;*/
    padding-top: 7%;
    padding-left: 11%;
}

/*.cols {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.col {
    width: calc(25% - 2rem);
    margin: 1rem;
    cursor: pointer;
}*/

.container {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.front,
.back {
    background-size: cover;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.25);
    border-radius: 10px;
    background-position: center;
    -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: center;
    min-height: 280px;
    height: auto;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
}

.back {
    /*background: #cedce7;*/
    background: -webkit-linear-gradient(45deg, #cedce7 0%,#596a72 100%);
    background: -o-linear-gradient(45deg, #cedce7 0%,#596a72 100%);
    background: linear-gradient(45deg, #073c5e 0%,#073c5e 100%);
}

.front:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    opacity: .6;
    background-color: #000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
}

.container:hover .front,
.container:hover .back {
    -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.inner {
    -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
    transform: translateY(-50%) translateZ(60px) scale(0.94);
    top: 50%;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 1px solid transparent;
    -webkit-perspective: inherit;
    perspective: inherit;
    z-index: 2;
}

.container .back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.container .front {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.container:hover .back {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.container:hover .front {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.front .inner p {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

    .front .inner p:after {
        content: '';
        width: 4rem;
        height: 2px;
        position: absolute;
        background: #C6D4DF;
        display: block;
        left: 0;
        right: 0;
        margin: 0 auto;
        bottom: -.75rem;
    }

.front .inner span {
    color: #fff;
    font-family: 'system-ui';
    font-weight: 400;
}

/*@media screen and (max-width: 64rem) {
    .col {
        width: calc(33.333333% - 2rem);
    }
}

@media screen and (max-width: 48rem) {
    .col {
        width: calc(50% - 2rem);
    }
}

@media screen and (max-width: 32rem) {
    .col {
        width: 100%;
        margin: 0 0 2rem 0;
    }
}*/

/*------------------------------------------------------------------------------------*/

/* Animation */
.cb-slideshow,
.cb-slideshow:after {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
}

.cb-slideshow li {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 72s linear infinite 0s;
    -moz-animation: imageAnimation 72s linear infinite 0s;
    -o-animation: imageAnimation 72s linear infinite 0s;
}


    .cb-slideshow li:nth-child(1) {
        background-image: url(../img/FondoIncioPlataforma1.jpg)
    }

    .cb-slideshow li:nth-child(2) {
        background-image: url(../img/FondoIncioPlataforma2.jpg);
        -webkit-animation-delay: 12s;
        -moz-animation-delay: 12s;
        -o-animation-delay: 12s;
    }

    .cb-slideshow li:nth-child(3) {
        background-image: url(../img/FondoIncioPlataforma3.jpg);
        -webkit-animation-delay: 24s;
        -moz-animation-delay: 24s;
        -o-animation-delay: 24s;
    }

    .cb-slideshow li:nth-child(4) {
        background-image: url(../img/FondoIncioPlataforma1.jpg);
        animation-delay: 36s;
    }

    .cb-slideshow li:nth-child(5) {
        background-image: url(../img/FondoIncioPlataforma2.jpg);
        animation-delay: 48s;
    }

    .cb-slideshow li:nth-child(6) {
        background-image: url(../img/FondoIncioPlataforma3.jpg);
        animation-delay: 60s;
    }


@keyframes imageAnimation {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }

    8% {
        opacity: 0.3;
        transform: scale(1.15);
        animation-timing-function: ease-out;
    }

    17% {
        opacity: 0.3;
        transform: scale(1.20);
    }

    25% {
        opacity: 0;
        transform: scale(1.40);
    }

    100% {
        opacity: 0
    }
}

.tam-grid{
    width:90%
}


@media screen and (max-width: 1140px) {
    .cb-slideshow li div h3 {
        font-size: 140px
    }
}

@media screen and (min-width: 992px) and (max-width:1200px) {
    .wrapper {
        padding-top: 10%;
    }
}

@media screen and (min-width: 769px) and (max-width:992px) {
    .wrapper {
        padding-top: 11%;
    }

    .tam-grid {
        width: 85%
    }
}

@media screen and (min-width: 600px) and (max-width:768px) {
    .wrapper {
        padding-top: 13%;
        padding-left: 25%;
    }

    .tam-grid {
        width: 58%
    }
}

@media screen and (min-width: 576px) and (max-width:600px) {
    .wrapper {
        padding-top: 13%;
        padding-left: 25%;
    }

    .tam-grid {
        width: 65%
    }
}

@media screen and (max-width: 600px) {
    .cb-slideshow li div h3 {
        font-size: 80px
    }

    .tm-content {
        margin-top: 80px;
    }
}

@media screen and (max-width: 576px) {

    .cb-slideshow li div h3 {
        font-size: 80px
    }

    .tm-btn-subscribe {
        margin-top: 20px;
    }

    .wrapper {
        padding-left: 4%;
        padding-top: 18%;
    }

    .tam-grid {
        width: 80%
    }
}
}

