@font-face {
  font-family: IRANSansWeb;
  font-style: normal;
  font-weight: bold;
  src: url('../../common/fonts/IRANSans/IRANSansWeb_Bold.eot');
  src: url('../../common/fonts/IRANSans/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'), url('../../common/fonts/IRANSans/IRANSansWeb_Bold.woff2') format('woff2'), url('../../common/fonts/IRANSans/IRANSansWeb_Bold.woff') format('woff'), url('../../common/fonts/IRANSans/IRANSansWeb_Bold.ttf') format('truetype');
}

@font-face {
  font-family: IRANSansWeb;
  font-style: normal;
  font-weight: normal;
  src: url('../../common/fonts/IRANSans/IRANSansWeb.eot');
  src: url('../../common/fonts/IRANSans/IRANSansWeb.eot?#iefix') format('embedded-opentype'), url('../../common/fonts/IRANSans/IRANSansWeb.woff2') format('woff2'), url('../../common/fonts/IRANSans/IRANSansWeb.woff') format('woff'), url('../../common/fonts/IRANSans/IRANSansWeb.ttf') format('truetype');
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'IRANSansWeb';
  direction: rtl;
}

.page {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -999;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #416c57;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
}

.content {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.content img {
  max-width: 170px;
  max-height: 130px;
  margin: 2rem 0 0 0;
}

.inner {
  background: #fff;
  border-radius: 4px;
  width: 500px;
  min-height: 400px;
}

.button {
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
  padding: 6px 14px 6px 58px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.button::before, .button::after {
  position: absolute;
  content: '';
}

.button::after {
  width: 30%;
  height: 200%;
  left: 5px;
  top: -20px;
  margin: -5px -5px 0 0;
  transform-origin: 0 0;
  transform: rotate(12deg);
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.button::before {
  width: 42px;
  height: 100%;
  left: 0;
  top: 0;
  background-repeat: no-repeat;
  background-position: center 7px;
  background-size: 24px 24px;
  border-radius: 4px 0 0 4px;
  transition: width 0.4s;
}

.button:hover::after {
  width: 50%;
}

.button.mobile {
  background-color: #e54d26;
}

.button.html {
  background-color: #FF7733;
}

.button.flash {
  background-color: #d12a27;
}

.button.html::before {
  background-image: url(../img/sharing/html.png);
}

.button.mobile::before {
  background-image: url(../img/sharing/mobile.png);
}

.button.flash::before {
  background-image: url(../img/sharing/flash.png);
}

h1 {
  position: relative;
  margin: 1rem 0;
  color: #212121;
  font-size: 1.8rem;
}

h1::before {
  content: '';
  position: absolute;
  width: 40px;
  left: 50%;
  margin-left: -20px;
  height: 1px;
  background: #ffc107;
  top: -0.5rem;
}

h2 {
  color: #616161;
  font-size: 1.3rem;
}

h3 {
  color: #616161;
  font-size: 1.1rem;
  font-weight: normal;
  margin-bottom: 2rem;
}

h4 {
  margin-top: 3rem;
  font-weight: normal;
  color: #757575;
  font-size: 0.8rem;
}

@media screen and (max-width: 480px) {
  .button {
    display: block;
    max-width: 170px;
    margin: 0 auto 6px auto;
  }
  .button::after {
    top: -22px;
    width: 20%;
  }
}
