@font-face {
  font-family: "CeraProLight";
  src: url("../fonts/CeraProLight.otf"); /* Safari, Android, iOS */
  font-display: swap;
}
@font-face {
  font-family: "CeraProMedium";
  src: url("../fonts/CeraProMedium.otf"); /* Safari, Android, iOS */
  font-display: swap;
}
@font-face {
  font-family: "CeraProBold";
  src: url("../fonts/CeraProBold.otf"); /* Safari, Android, iOS */
  font-display: swap;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  height: 100%;
}
html,
body {
  padding: 0;
  margin: 0;
  font-family: "CeraProLight", Helvetica, sans-serif;
  overflow-x: hidden;
  position: relative;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "CeraProMedium", Helvetica, sans-serif;
  margin: 0;
  padding: 15px 30px;
  letter-spacing: 0;
}
p,
li,
a {
  font-family: "CeraProLight", Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  margin: 1rem 0;
  letter-spacing: 0;
  padding: 0;
  color: #000000;
  word-break: break-word;
}
p a,
li a {
  color: #00a4e2;
  text-underline-offset: 2px;
}
p a:hover,
li a:hover {
  color: #1921a2;
}
b, strong {
  font-family: "CeraProMedium", Helvetica, sans-serif;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
  text-underline-offset: 2px;
}
.container {
  background-image: url("../images/Mobile/background-mobile.png");
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
}
.term-list-body .container {
  background-size: 100%;
}
.logo-block {
  padding: 25px 0;
  text-align: center;
  min-height: 450px;
}
.logo-block img {
  width: auto;
  height: auto;
  max-width: 200px;
}
.term-list-body.terms-body .logo-block {
  min-height: 480px;
}
.terms-body .logo-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.logo-block-mob {
  display: inline-block;
}
.logo-block-desk {
  display: none;
}
.mobile-img-block {
  text-align: center;
}
.mobile-img-block img {
  display: inline-block;
  width: 100%;
  height: auto;
  max-width: 350px;
}
.store-img-block {
  display: block;
  text-align: center;
  padding-bottom: 15px;
}
.store-img-block img {
  width: auto;
  height: 52px;
  padding: 0 5px;
  display: inline-block;
}
.terms-body .store-img-block {
  display: none;
}
.content-block {
  padding: 30px 10px 0 20px;
}
.bg-effect::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 0;
  right: 0;
  left: 100%;
  height: 100%;
  width: 40px;
  background-color: #ffffff;
  transform: skewX(-9deg);
  transform-origin: top right;
  z-index: 99;
}
.content-block h1 {
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: 0em;
  text-align: left;
  color: #ffffff;
  position: relative;
  z-index: 9;
  display: inline-block;
  background-color: #00a4e2;
}
.content-block h2 {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  color: #ffffff;
  background-color: #1921a2;
  position: relative;
  z-index: 9;
  display: inline-block;
}
.content-block p {
  text-align: left;
}
.reward {
  font-family: "CeraProMedium", Helvetica, sans-serif;
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  line-height: 34px;
  padding: 15px 30px;
  letter-spacing: 0;
  text-align: left;
  position: relative;
  z-index: 9;
  display: inline-block;
  background-color: #1921a2;
}
.desktop-reward-block {
  display: none;
}
footer.terms-link-page {
  position: relative;
  width: 90%;
  margin: 0 auto;
  z-index: 99;
  padding-top: 10px;
}
.footer-menu {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.footer-menu li {
  margin: 0;
  text-align: center;
}
.footer-menu .footer-item {
  font-family: "CeraProMedium", Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0;
  text-align: left;
  color: #1921a2;
}
.copy-right {
  cursor: default;
}
.footer-item.copy-right {
  text-decoration: none;
}
.footer-item.copy-right:hover {
  cursor: default;
  text-decoration: none;
}
.copy-right:hover {
  cursor: default;
  text-decoration: none;
}

.terms-link-page .footer-menu .footer-item  {
  text-decoration: none;
}
.terms-link-page .footer-menu .footer-item:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.terms-link-page .footer-item.copy-right:hover {
  cursor: default;
  text-decoration: none;
}

.terms-body h1 {
  height: auto;
  max-width: 80%;
  background-color: #00a4e2;
  display: block;
  margin: 0 auto;
}
.terms-body h1::after {
  content: "";
  position: absolute;
  width: 25px;
  background-color: #00a4e2;
  transform: skewX(-9deg);
  transform-origin: top right;
  z-index: 99;
  top: 0px;
  bottom: 0;
  left: 96%;
  height: 100%;
}

.terms-body h1::before {
  content: "";
  position: absolute;
  width: 25px;
  background-color: #00a4e2;
  transform: skewX(-9deg);
  transform-origin: top right;
  z-index: 99;
  top: 0px;
  bottom: 0;
  left: -1px;
  height: 100%;
}

/*promotion content block*/
.pesimaxmeals-promotion-content-block,
.win-promotion-content-block {
  overflow-y: auto;
}

.win-promotion-content-block  h1,
.pesimaxmeals-promotion-content-block h1 {
  height: auto;
  max-width: 80%;
  background-color: #00a4e2;
  display: block;
  margin: 0 auto;
  padding: 15px 30px;
}
.win-promotion-content-block  h1::after, 
.pesimaxmeals-promotion-content-block h1::after {
  content: "";
  position: absolute;
  width: 30px;
  background-color: #00a4e2;
  transform: skewX(-9deg);
  transform-origin: top right;
  z-index: 99;
  top: 0px;
  bottom: 0;
  left: 96%;
  height: 100%;
}
.win-promotion-content-block  h1::before, 
.pesimaxmeals-promotion-content-block h1::before {
  content: "";
  position: absolute;
  width: 30px;
  background-color: #00a4e2;
  transform: skewX(-9deg);
  transform-origin: top right;
  z-index: 99;
  top: 0px;
  bottom: 0;
  left: -1px;
  height: 100%;
}

@media only screen and (max-width: 380px) {
  .content-block {
    padding: 20px 5px 0 10px;
  }
  .store-img-block img {
    padding: 0 3px;
  }
}
@media only screen and (max-width: 400px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    padding: 15px 25px;
  }
}
@media only screen and (min-width: 768px) {
  .container {
    background-image: url("../images/Mobile/background-tab.png");
  }
  .term-list-body .container {
    background-size: contain;
  }
  .content-block {
    padding: 20px 40px 0 40px;
  }
  .logo-block {
    min-height: 400px;
  }
  .term-list-body.terms-body .logo-block {
    min-height: 400px;
  }
  .mobile-reward-block {
    display: block;
  }
  .store-img-block {
    display: block;
  }
  .terms-body .store-img-block {
    display: none;
  }
  .terms-body h1 {
    display: inline-block;
  }
  .win-promotion-content-block  h1,
  .pesimaxmeals-promotion-content-block h1 {
    display: block;
    max-width: 96%;
  }
}
/* Table border and paddings applied  */
table.pepsimaxmealspromo {
  width: 100%;
  border-collapse: collapse;
}
table.pepsimaxmealspromo td {
  border: 1px solid black;
  padding: 10px;
}

.term-list-body a {
  font-family: "CeraProMedium", Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0;
  text-align: left;
  color: #00a4e2;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.term-list-body .content-block {
  text-align: center;
}
.term-list-body .content-block p {
  text-align: center;
  margin: 0;
}
.term-list-body .content-block h1 {
  margin-bottom: 1rem;
}
@media only screen and (min-width: 1024px) {
  .container {
    background-image: url("../images/Desktop/background-desktop.png"); 
    background-position: top left;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }  
  
  .terms-body .container {
    background-image: none;
    background-position: top;
    background-size: contain;
    background-repeat: no-repeat;
    display: unset;
  }

  .terms-body {
    background-image: url("../images/Desktop/background-desktop.png"); 
    background-attachment: fixed;
    height: 100vh;
    background-position: top left;
    background-size: cover;
  }
  .terms-body .logo-block {
    position: fixed;
    width:35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .terms-body .content-block {
    margin-left: auto;
    width:50%;
    padding-left: 20px;
  }
  .logo-block {
    min-height: unset;
  }
  .win-promotion-content-block {
    text-align: left;
  }

  .logo-block,
  .mobile-img-block {
    width: 30%;
  }
  .content-block {
    width: 60%;
  }
  .content-block h1 {
    height: 64px;
  }
  .content-block h2 {
    height: auto;
  }
  .bg-effect::before {
    top: 0px;
    bottom: 0;
    right: 100%;
    left: -25px;
    height: 100%;
  }
  .mobile-reward-block {
    display: none;
  }
  .store-img-block {
    display: none;
  }
  .desktop-reward-block {
    display: flex;
    flex-direction: row;
    justify-content: end;
    padding-top: 20px;
  }
  .reward-content {
    padding-right: 40px;
  }
  .reward {
    font-size: 17px;
    padding: 10px 25px;
    height: 54px;
  }
  .reward-qr img {
    width: 120px;
    height: auto;
  }
  .content-block {
    padding: 40px 15px 0 5px;
    text-align: right;
  }
  .content-block p {
    text-align: left;
  }
  footer {
    bottom: 0px;
    right: 42px;
  }
  footer.terms-link-page {
    position: absolute;
    width: 54%;
    margin: 0;
    bottom: 10px;
    padding-top: 0;
  }
  .footer-menu {
    padding: 0;
    justify-content: center;
    flex-direction: row;
  }
  .fixedfooter {
    position: absolute;
    right: 0px;
    bottom: 10px;
    width: 54%;
  }
  .footer-menu li {
    margin: 0;
  }
  .footer-item  {
    padding-left: 20px;
    text-decoration: none;
  }

}
@media only screen and (min-width: 1200px) {
  .container {
    position: relative;
    max-height: 100%;
  }
  .logo-block-mob {
    display: none;
  }
  .logo-block-desk {
    display: inline-block;
  }
  .content-block {
    padding: 30px 40px 0 10px;
    text-align: left;
    height: 100%;
  }
  .home-page .content-block {
    height: auto;
    text-align: right;
  }
  .home-page .content-block p{
    text-align: right;
  }
  .terms-body .content-block {
    width:60%;
  }
  .term-list-body .content-block {
    width:65%;
  }
  .fixedfooter {
    width: 65%;
  }
  .content-block h2 {
    height: 52px;
  }
  .reward-content {
    padding-right: 60px;
    max-width: 300px;
  }
  .win-promotion-content-block  h1,
  .pesimaxmeals-promotion-content-block h1 {
    max-width: 96%;
    text-align: left;
    height: auto;
  }
  footer.terms-link-page {
    width: 65%;
  }
  .footer-menu .footer-item {
    padding-left: 30px;
  }
}
@media only screen and (min-width: 1400px) {
  .logo-block img {
    max-width: 250px;
  }
  .logo-block {
    width: 33%;
  }
  .mobile-img-block {
    width: 33%;
  }
  .mobile-img-block img {
    max-width: 468px;
  }
  .content-block {
    padding: 50px 40px 0 10px;
    width: 34%;
  }
  .win-promotion-content-block  h1::after,
  .pesimaxmeals-promotion-content-block h1::after {
    left: 98%;
  }
  footer {
    bottom: 0px;
  }
}
@media only screen and (min-width: 1600px) { 
  .logo-block {
    width: 26%;
  }
  .mobile-img-block {
    width: 38%;
  }
  .mobile-img-block img {
    max-width: 650px;
  }
  .content-block {
    width: 36%;
  }
  .win-promotion-content-block  h1,
  .pesimaxmeals-promotion-content-block h1 {
    max-width: 98%;
  }
  .win-promotion-content-block  h1::after,
  .pesimaxmeals-promotion-content-block h1::after {
    left: 99%;
  }
}



