/*  RESET */
html { -webkit-box-sizing: border-box; box-sizing: border-box; -moz-box-sizing: border-box; height: 100%; }
*, *:before, *:after { -webkit-box-sizing: inherit; box-sizing: inherit; -moz-box-sizing: inherit; }
* { max-height: 1000000px; outline: none;}
h1,h2,h3,h4,h5,h6,p{font-size:inherit;font-weight: 400;margin: 0;}
button{cursor: pointer;}
img{vertical-align: top; max-width: 100%; height: auto; border-style: none;}
a {display: inline-block; text-decoration: none; outline: none; color: inherit;}
/* Reset end */

body {
  -ms-text-size-adjust: none;
	-moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
    margin: 0;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    background-image: radial-gradient(circle, #ffffff, #ffffff, #ffffff, #ffffff, #ffec9f);
    min-width: 320px;
    overflow-x: hidden;
    height: 100%;
    direction: ltr;
}

/* **** START **** */
.page{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.wrapper{
    margin: auto;
    width: 100%;
}
.content, .box {
  display: block;
  text-align: center;
  padding: 1vh 0;
  margin: 0 auto;
}
.box {
   transform: translateX(6%);
}
.title {
  font-size: 25px;
  text-align: center;
  line-height: 1.2;
  margin: 1vh auto;
  width: 90%;
}
.title2 {
  font-size: 17px;
  text-align: center;
  line-height: 1.2;
  margin: 1vh auto;
  width: 90%;
}
/* btn start */
.btn-wrap {
  display: block;
  text-align: center;
  margin: 15px auto;
  margin: 2.5vh auto;
}
.btn {
  background: red;
  
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 5px;
  
  width: 90vmin;
  max-width: 490px;

  color: #fff;
  font-weight: 600;
  font-size: 35px;
  line-height: 1;
  letter-spacing: .02em;
 
  border: 0;
  box-shadow: 0px 2px 4px 0px #a7a7a7;
}
/* btn end */


/* FOOTER */
.footer {
  width: 100%; 
  margin-top: 3vh;
}
.footer__text {
  font-size: 11px;
  padding: 0 10px 5px;
  line-height: 1;
  text-align: center;
  color: #7d7d7d;
}
.tr4, .footer__text a {
  color: inherit;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
}
/* FOOTER END*/

                                /* MEDIA */
/* notebook height adaptive */
@media (min-width:780px) and (max-height:860px) {
  .content {
    max-height: 43vh;
  }
  .box {
     max-height: 25vh;
  }
}

/* mobile landscape */
@media (orientation: landscape) and (max-width: 920px) and (max-height: 500px) {
  .content {
    max-height: 150px;
  }
  .box {
    max-width: 40%;
    max-height: 25vh;
  }
  .title {
    font-size: 17px;
    margin-bottom: 10px;
  }
  .title2 {
    font-size: 14px;
  }
  .btn {
    font-size: 23px;
    padding: 13px 5px;
  }
  .footer {
    position: relative;
  }
  @media (max-height: 415px){
   .content{
     max-height: 140px;
   }
  }
   @media (max-height: 375px){
    .content{
      max-height: 110px;
    }
    .box {
        max-width: 40%;
        max-height: 20vh;
    }
   }
   @media (max-height: 350px){
    .content{
      max-height: 100px;
    }
    .box {
        max-width: 40%;
        max-height: 16vh;
    }
    .title{
      font-size: 16px;
      margin-bottom: 10px;
    }
    .title2 {
      font-size: 12px;
    }
   } 
   @media (max-height: 325px){
    .content{
      max-height: 90px;
    }
    .box {
        max-width: 40%;
        max-height: 14vh;
    }
    .title{
      font-size: 14px;
    }
    .title2 {
      font-size: 10px;
    }
   } 
}

/* mobile portrait */
@media (orientation: portrait) and (max-width: 500px) {
  .content {
    max-height: 40vh;
  }
  .box {
    max-width: 70%;
    max-height: 20vh;
  }
  .title {
    font-size: 4.15vw;
    margin: 0 auto 3vh;
  }
  .title2 {
    font-size: 3.2vw;
    margin: 1vh auto;
  }
  
  .btn {
    font-size: 6vw;
    padding: 15px 5px;
  }
  .footer {
    top: auto;
    bottom: 5px;
  }
}
/*Iphone XS max(Chrome), Iphone X , Iphone XS - Port - Chrome*/
@media screen and (max-width: 376px)and (max-height:748px) {
  .box {
      max-width: 50%;
      max-height: 20vh;
  }
  img.content {
      max-width: 90%;
  }
}
/* 16\9 (iPhone 7, 6S, 6 down ) - portrait*/
@media screen and (max-width: 376px)and (max-height:590px) {
  img.content {
    max-width: 85%;
  }
  .title {
      margin: 1vh auto;
  }

  .box {
      max-width: 50%;
  }
}
/*Iphone 6s ,Iphone 8 - Port*/
@media screen and (max-width: 376px)and (max-height:560px) {
  .box {
      max-width: 48%;
  }
  img.content {
      max-width: 75%;
  }
}
/* SE portrait */
@media (orientation: portrait) and (max-height: 493px) {
  img.content {
    max-height: 37vh;
  }
  .box {
    max-height: 17vh;
  }
}


@media screen and (max-width: 321px)and (max-height:533px) {
  img.content {
      max-height: 28vh;
  }
}

/*Iphone SE - Port*/
@media screen and (max-width: 321px)and (max-height:455px) {
    
}
