.os400 {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

body{
    padding:0;
    margin:0;
    font-size: 14px;
    line-height: 1.3;
    font-family: "Open Sans", sans-serif;
    font-weight: 400; 
    font-variation-settings: "wdth" 100;
    background-color: #000;
    
}
strong{
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.wrapper{
/*    max-width: 1024px;*/
    width: 100%;
    margin:0 auto;
    padding:20px;
    box-sizing: border-box;
    position: relative;
    min-height: 100vh;    
    background-image: url('../images/xpert-bg1.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}
@media (orientation: landscape) {
    .wrapper{
        max-width: 100%;
        background-position: center center;
        background-size: cover;
    }
}


.logo{ 
    text-align:center; 
    padding:20px 40px; 
    position: absolute;
    right: 0;
    top:20px;
    z-index: 2;
    background-color: #fff;
    border-top-left-radius:4px;
    border-bottom-left-radius:4px;
}
.logo img{ height:80px; }

h1{
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    padding:20px 0;
    margin:0;
    text-align: center;
    font-family: "Open Sans", sans-serif;
}
#pag_form, #pag_rewards{
    max-width: 75%;
    width: 100%;
/*    background-color: #fff;*/
    padding:20px;
    border-radius: 4px;
    position: absolute;
    left: 50%;
    bottom: 25%;
/*    bottom: 100px;*/
    transform: translateX(-50%);
    zoom:0.7;
}
.q-wrap{
    padding-bottom: 20px;
    /*margin-bottom: 20px;*/
    border-bottom: solid 1px #d5d5d5;
}
.r-wrap{
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: solid 1px #d5d5d5;
}
.q-wrap strong{
    display: block;
    padding: 10px 0;
    font-size: 28px;
    color: #a33a80;
}
.q-wrap label{
    padding: 5px 0;
    float: left;
    padding-left: 10px;
    box-sizing: border-box;
    width: calc(100% - 20px); 
}
.q-wrap input[type="radio"]{
    float: left;    
    margin: 8px 0 0 0;
    vertical-align: middle;
}
.q-wrap input[type="text"]{
    margin-bottom:20px;    
    padding:20px;
    text-align: left;
    font-size: 28px;
    width: 100%;
    outline: none;
    border:solid 1px #d5d5d5;
    box-sizing: border-box;
    color:#a33a80;
}
.btn-w{ text-align:center; padding-top:10px; }
.btn-w a{
    background-color: #a33a80;
    font-size: 36px;
    line-height: 26px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding:2rem;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}
.btn-w a:hover{ background-color:#6e1d53; }

#frm_err_0, #frm_err_1, #frm_err_1b, #frm_err_2, #frm_err_2b, #frm_err_3{
    color: #a33a80;
    background-color: #f1f1f1;
    border-color: #d6d6d6;
    padding: .8rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
    box-sizing: border-box;
    display: none;
}

#frm_err_1c,#frm_err_2c {
    color: #1d6108;
    background-color: #c9ede1;
    border-color: #d6d6d6;
    padding: .8rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
    box-sizing: border-box;
    display: none;
}

#qw_1, #qw_2, #qw_3{ display:none; }
#pdet_1, #pdet_2, #pdet_3, #pdet_4{ display:none; }

#pag_rewards, #rew_1, #rew_2, #rew_3, #rew_4{ display: none; }
/*#pag_rewards{ 
    padding:40px 0; 
    margin:0 auto;
    max-width: 680px;
}*/
#pag_rewards h2{
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    padding:20px 0;
    margin:0;
    text-align: center;
}
#pag_rewards p span{ 
    display: inline-block;
    margin:5px 0 10px 0;
    text-transform: uppercase;
}

.clear::after {
  content: "";
  clear: both;
  display: table;
}
.tac{ text-align:center; }

#prize-result {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    z-index: 9999;
    max-width: 90%;
    text-align: center;
    font-size: 28px;
    border-radius: 40px;
    box-shadow: 0 0 10px #666;
    min-width: 70%;
    padding: 60px;
    color: #7b1358;
    font-weight: 600;  
}

#prize-result a {
    font-size: 26px;
    padding: 16px;
    font-weight: 700;
    box-shadow: 3px 3px 6px #0002;
    letter-spacing: 1px;
    background-color: #a33a80;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 35px;    
    text-transform: uppercase;
}

.textimg{
    position: absolute;
    width: 70%;
    max-width: 500px;
    left: 60px;
    top: 160px;
}


@media (max-width: 768px) {
    body{ font-size:14px; }
    h1{ font-size:20px; }
    .q-wrap strong{ font-size:16px; }
    #pag_rewards h2{ font-size:16px; }
}


#nextq_0 {
    font-size: 36px;
    line-height: 26px;
    padding: 20px;
    font-weight: 700;
    box-shadow: 3px 3px 6px #0002;
    letter-spacing: 1px;
    zoom: 1.3;
}


.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.checkbox-container input[type="checkbox"] {
  width: 50px;
  height: 50px;
  margin: 0;
  flex-shrink: 0;
}

.checkbox-container label {
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.validation_err {
    border: 1px solid red;
  }

.portrait {
  display: none;
}

 

/* Media query for landscape mode */
@media (aspect-ratio > 0.6) {  
  .portrait {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: red;
    text-align: center;
    background-color: white;
    padding: 20px;
    border: 2px solid black;
    width: 70%;
  }

  .wrapper, .wheel-wrapper, button, #pag_form  {
    display: none; /* Hide the actual content in landscape mode */
  }

  body {
    background-color: #fff;
  }
}

