@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:400,700,300);
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://use.fontawesome.com/releases/v5.1.0/css/all.css');

body {
  font-family: "Yanone Kaffeesatz", sans-serif;
  background-image:
    linear-gradient(rgba(142, 134, 134, 0.5), rgba(103, 102, 102, 0.5)),
    url('assets/images/bg.jpeg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh; /* para garantir que tenha altura */
  margin: 0;
  position: relative;
    overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  
  /* Gradiente animado */
  background: linear-gradient(270deg, #ff7e5f, #feb47b, #86a8e7, #91eae4);
  background-size: 800% 800%;
  animation: gradientShift 15s ease infinite;
  opacity: 0.4; /* transparência para não esconder o fundo */
}

@keyframes gradientShift {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}
body a {
  text-decoration: none;
  color: white;
}
body .container {
  width: 938px;
  position: absolute;
  top: 50%;
  left: 30px;
  right: 0;
  transform: translateY(-50%);
  margin: auto;
}
body .container .card {
  margin: 0 auto;
  display: inline-block;
  margin-right: 30px;
  transform: scale(0);
  width: 280px;
  text-align: center;
  position: relative;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 0px 17px 46px -10px #777777;
  height: 520px;
  border-radius: 14px;
}


body .container .card:nth-of-type(1) {
  -webkit-animation: intro 1s 0.1s forwards;
          animation: intro 1s 0.1s forwards;
}
body .container .card:nth-of-type(2) {
  -webkit-animation: intro 1s 0.2s forwards;
          animation: intro 1s 0.2s forwards;
}
body .container .card:nth-of-type(3) {
  -webkit-animation: intro 1s 0.3s forwards;
          animation: intro 1s 0.3s forwards;
}
body .container .card:nth-of-type(1) {
  background: -webkit-linear-gradient(45deg, #c96881 0%, #f7b695 100%);
}
body .container .card:nth-of-type(2) {
  background: -webkit-linear-gradient(45deg, #6B6ECC 0%, #89BFDF 100%);
}
body .container .card:nth-of-type(3) {
  background: -webkit-linear-gradient(45deg, #416e3d 0%, #26b16b 100%);
}
body .container .card:hover .card_inner__header img {
  left: -50px;
  transition: all 3.4s linear;
}
body .container .card:hover .card_inner__cta button {
  transform: scale(1);
}
body .container .card:nth-of-type(1):hover .card_inner__circle img {
  -webkit-animation: launch 1s forwards;
          animation: launch 1s forwards;
}
body .container .card:nth-of-type(1) .card_inner__circle img {
  top: 22px;
  left: 1px;
}
body .container .card:nth-of-type(2):hover .card_inner__circle img {
  -webkit-animation: spin 1s forwards;
          animation: spin 1s forwards;
}
body .container .card:nth-of-type(2) .card_inner__circle img {
  top: 22px;
}
body .container .card:nth-of-type(3):hover .card_inner__circle img {
  -webkit-animation: fly 1s forwards;
          animation: fly 1s forwards;
}
body .container .card:nth-of-type(3) .card_inner__circle img {
  top: 22px;
  left: 1px;
}
body .container .card:hover {
  opacity: 1;
}
body .container .card_inner__circle {
  overflow: hidden;
  width: 70px;
  position: absolute;
  background: #F1F0ED;
  z-index: 10;
  height: 70px;
  border-radius: 100px;
  left: 0;
  box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.28);
  right: 0;
  margin: auto;
  border: 4px solid white;
  top: 82px;
}
body .container .card_inner__circle img {
  height: 26px;
  position: relative;
  top: 17px;
  transition: all 0.2s;
}
body .container .card_inner__header {
  height: 120px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  overflow: hidden;
}
body .container .card_inner__header img {
  width: 120%;
  position: relative;
  top: -30px;
  left: 0;
  transition: all 0.1s linear;
}
body .container .card_inner__content {
  padding: 20px;
}
body .container .card_inner__content .price {
  color: white;
  font-weight: 800;
  font-size: 70px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.42);
}
body .container .card_inner__content .text {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 100;
  margin-top: 20px;
  font-size: 13px;
  line-height: 16px;
}
body .container .card_inner__content .title {
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
  margin-top: 40px;
  font-size: 25px;
  letter-spacing: 1px;
}
body .container .card_inner__cta {
  position: absolute;
  bottom: -24px;
  left: 0;
  right: 0;
  margin: auto;
  width: 200px;
}
body .container .card_inner__cta button {
  padding: 16px;
  box-shadow: 0px 0px 40px 4px #F76583, 0px 0px 0px 2px rgba(255, 255, 255, 0.19) inset;
  width: 100%;
  background: -webkit-linear-gradient(-90deg, #fe5e7d 0%, #e5375b 100%);
  border: none;
  font-family: "Yanone Kaffeesatz", sans-serif;
  color: white;
  outline: none;
  font-size: 20px;
  border-radius: 6px;
  transform: scale(0.94);
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s 0.1s;
}
body .container .card_inner__cta button span {
  text-shadow: 0px 4px 18px #BA3F57;
}
body .container .card_inner__cta button:hover {
  box-shadow: 0px 0px 60px 8px #F76583, 0px 0px 0px 2px rgba(255, 255, 255, 0.19) inset;
}

@-webkit-keyframes launch {
  0% {
    left: 1px;
  }
  25% {
    top: -50px;
    left: 1px;
  }
  50% {
    left: -100px;
  }
  75% {
    top: 100px;
    transform: rotate(40deg);
  }
  100% {
    left: 1px;
  }
}

@keyframes launch {
  0% {
    left: 1px;
  }
  25% {
    top: -50px;
    left: 1px;
  }
  50% {
    left: -100px;
  }
  75% {
    top: 100px;
    transform: rotate(40deg);
  }
  100% {
    left: 1px;
  }
}
@-webkit-keyframes fly {
  0% {
    left: 0px;
  }
  25% {
    top: -50px;
    left: 50px;
  }
  50% {
    left: -130px;
  }
  75% {
    top: 60px;
  }
  100% {
    left: 0px;
  }
}
@keyframes fly {
  0% {
    left: 0px;
  }
  25% {
    top: -50px;
    left: 50px;
  }
  50% {
    left: -130px;
  }
  75% {
    top: 60px;
  }
  100% {
    left: 0px;
  }
}
@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(720deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(720deg);
  }
}
@-webkit-keyframes intro {
  0% {
    transform: scale(0);
  }
  25% {
    transform: scale(1.06);
  }
  50% {
    transform: scale(0.965);
  }
  75% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes intro {
  0% {
    transform: scale(0);
  }
  25% {
    transform: scale(1.06);
  }
  50% {
    transform: scale(0.965);
  }
  75% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  body .container {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px; /* <- adiciona espaço após o último card */
  }

  body .container .card {
    width: 100%;
    max-width: 360px;
    margin: 20px 0;
  }

  body {
    height: auto;
    overflow: auto;
  }
}

/* BANNER TOPO */

#alertbar{
  background:#1a202c;
  border-bottom:5px solid #16d296;
  font-family:'Open Sans';
}
.user-section{background:#161a25;}
.user{color:#16d296;}
.msg{color:#ffffff;font-size:14px;}
.fas{color:#16d296;}
.titling {color:#ffffff;font-size:18px;}

#alertbar{
  width:100%;
  position:absolute;
  top:0;
  left:0;
  height:50px;
  animation: bar-slide 13s;
  transition: all 800ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
  overflow:hidden;
  transform: translateY(-100px);
  text-shadow: 2px 3px 2px rgba(0,0,0,0.3);
}
.titling {
  width:100%;
  text-align:center;
  padding:10px;
  font-weight:700;
  position:absolute;
  z-index:999;
  animation: titling-slide 10s;
  animation-delay:1.4s;
  transition: all 800ms cubic-bezier(0.455, 0.03, 0.515, 0.955);  
}

.user-section {
  width:50%;
  height:50px;
  position:absolute;
  right:-1100px;
  animation: slanted-slide 10s;
  animation-delay:1s;
}

.user-section:before {
  transform: skewX(-50deg);
  content: '';
  width:60px;
  height:50px;
  position:absolute;
  right:935px;
  background:#161a25;
  overflow:hidden;
  border-left:2px solid #232838;
}

.user {
  font-weight:700;
  padding:5px;
  position:absolute;
  top:0;
  left:0;
}
.msg {
  position:absolute;
  bottom:8px;
  font-weight:400;
}

.fas{
  display:inline-block;
  padding:0 10px 5px 5px;
  animation:icon 11s ease;
  transform: scale(0) rotate(-45deg);
  animation-delay:800ms;
}


@keyframes icon {
  0% {
  transform: scale(0) rotate(-45deg);
  }
  3% {
  transform: scale(1.5) rotate(15deg);
  }
  8% {
  transform: scale(1.2) rotate(0deg);
  }
  88% {
  transform: scale(1.2) rotate(0deg);
  }
  93% {
  transform: scale(1.5) rotate(15deg);
  }
  98% {
  transform: scale(0) rotate(-45deg);
  }
}

@keyframes bar-slide {
  0% {
  transform: translateY(-100px);
  }
  10% {
  transform: translateY(0px);
  }
  85% {
  transform: translateY(0px);
  }
  
  95% {
  transform: translateY(-100px);
  }
}

@keyframes slanted-slide {
  0% {
  right:-1200px;
  }
  15% {
  right:20px;
  }
  20% {
  right:0px;
  }
  85% {
  right:0px;
  }
  
  100% {
  right:-1200px;
  }
}

@keyframes titling-slide {
  2% {
    transform: translateX(0px);
  }
  12% {
  transform: translateX(-230px);
  }
  14% {
  transform: translateX(-200px);
  }
  82% {
  transform: translateX(-200px);
  }
  
  92% {
  transform: translateX(0px);
  }
}



