.r-container {
  max-width: 1200px;
  margin: 0 auto;
}
.top-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px 25px;
  color: #fafafa;
  background-color: #8ed25d;
}
.top-alert button {
  margin-top: 10px;
}
.demo-banner {
  background-color: #2a4359;
  text-align: center;
  padding: 2em 1em 3em 1em;
  text-align: center;
}

.demobanner-content {
  height: auto;
  width: 100%;
}

.demobanner-content img {
  height: auto;
  width: 150px;
}

.demo-banner h1 {
  font-size: 1.5em;
  margin-top: -1em;
  font-family: 'Vazir-Bold';
  color: #fbab18;
}

.demo-banner p {
  margin-top: 1em;
  padding: 0 1.3em;
  font-size: 1em;
  color: #ffffff;
}
.demobanner-content .list-feature {
  margin-top: 0;
  font-size: 0.9em;
}

.demobanner-content .list-feature .feature-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  border: 1px solid #ffffff6c;
  border-radius: 30px;
  padding: 0.2em 0.7em;
  color: #ffffff;
}
.demobanner-content button {
  margin-top: 1.5em;
}

.demo h3 {
  font-size: 1.2em;
  margin-top: 4em;
}

.demoimage {
  margin-top: 3em;
}

.contentpage {
  margin-bottom: 5em;
  margin-top: 6em;
}

.demoimage .card,
.contentpage .card {
  margin-top: 2em;
  padding: 1em;
  transition: 1s;
}

.demoimage figure,
.contentpage figure {
  overflow: hidden;
  height: 300px;
}

.demoimage img,
.contentpage img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  overflow: hidden;
  -webkit-transition: -webkit-transform 5s ease-in-out;
  transition: -webkit-transform 5s ease-in-out;
  -o-transition: transform 5s ease-in-out;
  transition: transform 5s ease-in-out;
  transition: transform 5s ease-in-out, -webkit-transform 5s ease-in-out;
}

.demoimage .card:hover img {
  -webkit-transform: translateY(calc(-100% + 500px));
  -ms-transform: translateY(calc(-100% + 500px));
  transform: translateY(calc(-100% + 500px));
  -webkit-transition: -webkit-transform 5s ease-in-out;
  transition: -webkit-transform 5s ease-in-out;
  -o-transition: transform 5s ease-in-out;
  transition: transform 5s ease-in-out;
  transition: transform 5s ease-in-out, -webkit-transform 5s ease-in-out;
  cursor: pointer;
}

.contentpage .col:hover .card {
  -webkit-transform: translateY(-0.7em);
  -ms-transform: translateY(-0.7em);
  transform: translateY(-0.7em);
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
}

.demoimage p,
.contentpage p {
  color: #000000;
  font-weight: bold;
  margin-top: 0.5em;
}

.demo .footer {
  margin-top: 7em;
  padding: 3em 2em;
  text-align: center;
}
/* *************************************************** */
@media screen and (min-width: 454px) {
  .top-alert {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}
@media screen and (min-width: 992px) {
  .demobanner-content img {
    margin-top: 1em;
  }
  .demo-banner h1 {
    font-size: 3em;
    margin-top: -0.3em;
  }

  .demo-banner p {
    font-size: 1.3em;

    font-family: 'Vazir-Bold';
  }

  .demobanner-content .list-feature {
    margin-top: 5em;
    font-size: 1em;
  }
  .demobanner-content .list-feature .feature-item {
    padding: 0.5em 0.7em;
  }
  .demobanner-content button {
    margin-top: 5em;
    margin-bottom: 3em;
  }
  .demo h3 {
    font-size: 1.5em;
  }
  .demo .footer h4 {
    font-weight: bold;
  }
}
