*{
  box-sizing:border-box;
}
body{
  line-height:1.2;
  font-size:16px;
  font-family: Raleway, sans-serif;
  font-feature-settings: 'pnum' on, 'lnum' on;
  font-weight:400;
  font-style:normal;
  color:#000;
  margin:0;
}
h1{
  font-size:35px;
  margin:45px 0 20px 0;
}
footer{
  background:#6A696B;
  padding:70px 0;
}
p{
  margin:10px 0;
  font-weight:400;
}
ul{
  margin:0;
}
svg{
  width:1.2em;
  height:1.2em;
}
a{
  text-decoration:none;
  color:#800517;
  font-weight:600;
}
img{
  width: auto;
  height: auto;
  max-width:100%;
  max-height:100%;
}
input,textarea{
  outline:none;
  border:none;
  font-family: Raleway, sans-serif;
  font-weight:500;
}
input[type="submit"],
input[type="file"] {
  cursor:pointer;
}
::placeholder{
  color:#bdbdbd;
}
.sitearea{
  width:100%;
  max-width:1920px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
}
.workarea{
  width:100%;
  max-width:1920px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
}
.area-title{
  font-size:48px;
  font-weight:500;
  text-align:center;
}
header.sitearea{
  margin:20px auto 0 auto;
}
.header-container{
  padding:0 20px;
  justify-content:space-between;
}
.header-container.workarea{
  flex-direction:unset;
}
.header-logo{
  display:flex;
  align-items:center;
}
.logo-text{
  font-size:18px;
  font-weight:600;
  text-transform:uppercase;
  max-width:220px;
}
.header-adres{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.header-adres img{
  margin:0 10px 0 0;
}
.adres{
  display:flex;
  align-items:center;
  margin:0 0 10px 0;
}
.mail{
  display:flex;
  align-items:center;
}
.mail img{
  margin:0 10px 0 0;
}
.header-contacts{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.header-phone{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:0 0 10px 0;
}
.header-phone img{
  margin:0 10px 0 0;
}
.phones{
  display:flex;
  flex-direction:column;
  font-size:20px;
}
.header-social{
  display:flex;
  justify-content:center;
  align-items:center;
}
.header-social a{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:0 10px;
}
.header-social a img{
  width:30px;
  height:30px;
  object-fit:contain;
  filter:grayscale(100%);
  transition:.5s;
}
.header-social a:hover img{
  filter:grayscale(0%);
}
.header-button{
  display:flex;
  justify-content:center;
  align-items:center;
}
.pagetitle-container{
  flex-direction:unset;
}
.pagetitle-img{
  width:100%;
  max-width:800px;
}
.pagetitle{
  flex:1;
}
.pagetitle h1{
  font-size:72px;
  font-weight:bold;
}
.pagetitle p{
  font-size:48px;
}
.quiz-button{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  max-width:860px;
  height:140px;
  margin:45px auto;
  padding:7px 15px;
  background: linear-gradient(180deg, #6A696B 0%, #800517 100%);
  box-shadow: 5px 5px 10px #000000;
  border-radius: 50px;
  font-weight: bold;
  font-size: 48px;
  line-height: 56px;
  text-align: center;
  color:#fff;
  cursor:pointer;
}
.arrows-area{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  max-width:860px;
  margin:45px auto;
}
.gift-container{
  flex-direction:unset;
  justify-content:space-around;
}
.gift-item{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:center;
  width:100%;
  max-width:520px;
  min-width:300px;
}
.gift-text{
 font-size:35px; 
 text-align:center;
}
.alert-container{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  max-width:860px;
  margin:45px auto;
}
.alert-icon{
  margin:0 10px 0 0;
}

.quiz-form{
  position:fixed;
  width:100%;
  height:100%;
  top:0;
  display:flex;
  justify-content:center;
  align-items:center;
  background:rgba(0,0,0,.7);
  overflow-y:auto;
  z-index:-1;
  opacity:0;
  transition:.5s;
}
.quiz-form.active{
  z-index:999999;
  opacity:1;
}
.quiz-page-background{
  position:relative;
  background:#fff;
  width:100%;
  max-width:1280px;
  height:100%;
  max-height:800px;
}
.quiz-page{
  position:absolute;
  height:100%;
  z-index:-1;
  opacity:0;
  visibility:hidden;
  overflow:hidden;
  transition:.5s;
}
.quiz-page.active{
  opacity:1;
  visibility:visible;
  overflow:visible;
  z-index:1;
  height:auto;
}
.quiz-page.last{
  height:100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz-page.last .quiz-body{
    height:100%;
}
.quiz-page.last .quiz-img{
  height:100%;
}
.quiz-body{
  width:100%;
  height:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.quiz-img{
  overflow:hidden;
  width:100%;
  max-width:500px;
  min-width:300px;
  height:100%;
  max-height:800px;
}
.quiz-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.quiz-content-container{
  flex:1;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:20px 30px;
}
.quiz-content{
  position:relative;
  flex:1;
  height:100%;
  display:flex;
  flex-direction:column;
  border-bottom:2px solid #000;
  margin:0 0 30px 0;
}
.quiz-page-title{
  font-size:24px;
  padding:0 50px 0 0;
}
.quiz-page-question{
  font-size:24px;
  font-weight:bold;
  margin:40px 0 20px 0;
}
.quiz-progress{
  margin:0 0 40px 0;
}
.quiz-page .input{
  display:none;
}
.quiz-check{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:flex-start;
}
.quiz-check .checkbox{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
  width:200px;
  max-height:180px;
  margin:10px;
  background: #ececec;
}
.quiz-check .checkbox.quad{
  width:155px;
  height:155px;
}
.quiz-check .checkbox.quad .check-img{
  width:100%;
  height:100%;
}
.quiz-page .input:checked + label{
  color:red;
  border:1px solid red;
}
.quiz-page label{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  width:100%;
  height:100%;
  box-shadow: 5px 5px 5px rgb(0 0 0 / 25%);
}
.quiz-page p,
.quiz-page .check-text{
  width:100%;
  height:90px;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  margin:0;
  padding:0 10px;
}
.check-img{
  background:transparent;
  display:flex;
  align-items:flex-end;
  width:100%;
  height:90px;
}
.check-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.quiz-buttons{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.quiz-btn{
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  margin:0 0 0 20px;
  font-size:24px;
  color:#fff;
  font-weight:bold;
  padding:7px 15px;
  width:100%;
  max-width:250px;
  height:55px;
  background: linear-gradient(180deg, #6A696B 0%, #800517 100%);
  box-shadow: 5px 5px 10px #000000;
  border-radius: 50px;
  cursor:pointer;
}
.quiz-btn.gray{
  background:#6A696B;
}
.quiz-page-title.end{
  display:flex;
  flex-direction:column;
}
.quiz-page-title.end p{
  font-size:65px;
  font-weight:bold;
  text-align:left;
  display:flex;
  justify-content:flex-start;
  padding:0;
  line-height:1;
}
.congr{
  display:flex;
  align-items:center;
}
.congr img{
  height:60px;
}
.end-text{
  margin:30px 0;
  font-size:30px;
}
.end-input input{
  font-size:30px;
  background: #FFFFFF;
  border: 1px solid #6A696B;
  box-sizing: border-box;
  border-radius: 50px;
  padding:10px 20px;
  width:100%;
  max-width:300px;
}
.quiz-download-container{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
}
.quiz-download-item{
  margin:20px 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.quiz-download-img{
  width:200px;
  height:300px;
}
.quiz-download-img img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.quiz-page.sertificate .check-img img{
  object-fit:contain;
}

.quiz-page.last .quiz-content{
  border-bottom:none;
  justify-content:center;
}
.quiz-page.last .quiz-img{
  max-width:900px;
}
.quiz-sertificate-container a{
  margin:0 5px;
}




.check-error{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#b9021d;
  font-size:30px;
  font-weight:bold;
  padding:10px;
  background:rgba(255,255,255,.7);
}
.check-error.sert{
  position:relative;
}
.btn-download{
  padding:10px 20px;
  margin:0 0 20px 0;
  color:#fff;
  font-size:20px;
  background: linear-gradient(180deg, #6A696B 0%, #800517 100%);
  box-shadow: 5px 5px 10px #000000;
  border-radius: 50px;
  text-align:center;
}
.btn-main{
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:10px 15px;
  text-transform:uppercase;
  font-weight:bold;
  color:#fff;
  background:#800517;
  box-shadow:5px 5px 10px #000;
  border-radius:50px;
  cursor:pointer;
  transition:.5s;
}
.btn-main:hover{
  box-shadow:3px 3px 5px #444;
}
.btn-main:focus{
  box-shadow:inset 0 0 10px #444;
}
.progress-bar{
  border:1px solid #444;
  box-shadow:inset 0 0 5px #444;
  display:flex;
  align-items:center;
  width:300px;
  height:30px;
  background:#bfbfbf;
}
.progress-bar span{
  background:linear-gradient(180deg, #6A696B 0%, #800517 100%);
  height:28px;
}
.mobile-menu-icon{
  position:fixed;
  top:20px;
  right:20px;
  min-width:auto!important;
  cursor:pointer;
  z-index:10000;
  display:none;
}
.mobile-menu-container{
  position:fixed;
  width:100%;
  height:100%;
  overflow-y:auto;
  top:0;
  right:0;
  bottom:0;
  left:0;
  background:rgba(0,0,0,.8);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-start;
  padding:40px 20px;
  opacity:0;
  z-index:-1;
  transition:.5s;
}
.mobile-menu-container div{
  margin:5px 0;
}
.mobile-menu-container a{
  color:#fff;
}
.mobile-menu-container .adres img,
.mobile-menu-container .mail img,
.mobile-menu-container .header-phone img{
  filter:invert(1);
}
.mobile-menu-container .header-social a{
  margin:0 10px 0 0;
}
.mobile-menu-container .header-social img{
  filter:grayscale(100%) brightness(1.5);
}
.mobile-menu-container .header-social img:hover{
  filter: brightness(1.2);
}
.mobile-menu-container.active{
  opacity:1;
  z-index:9999;
}




.landing-form{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:700px;
}
.landing-form .input-form{
  width:100%;
  min-width:300px;
  display:flex;
  justify-content:center;
  align-items:center;
  margin:8px 0;
}
.landing-form .input-form input,
.landing-form .input-form textarea{
  min-width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:20px 30px;
  background:#fff;
  border-radius:50px;
  font-size:24px;
  min-height:70px;
  max-height:200px;
}
.landing-form .input-form textarea{
  padding:20px 30px 0 30px;
}
.input-form.submit{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:30px 0 0 0;
}
.landing-form .input-form.submit input{
  min-width:380px;
  background:#800517;
  color:rgba(255, 255, 255, 0.7);
}
.landing-form .input-file{
  width:100%;
  display:flex;
  justify-content:space-around;
  align-items:center;
  margin:8px 0;
}
.landing-form .input-file label{
  display:flex;
  justify-content:center;
  cursor:pointer;
}
.landing-form .input-file label .btn-main{
  background:rgba(0, 0, 0, 0.55);
  color:rgba(255, 255, 255, 0.7);
  padding:20px 30px;
}
.landing-form .input-file .filename{
  display:flex;
  justify-content:center;
  align-items:center;
  color:rgba(255, 255, 255, 0.7);
  font-size:24px;
  margin:0 10px;
}
.landing-form .form-text{
  color:rgba(255, 255, 255, 0.7);
  font-size:20px;
  text-align:center;
  margin:20px 0;
}
.landing-form .form-text p{
  margin:10px 0;
}



.popup-background{
  position:fixed;
  overflow-y:auto;
  overflow-x:hidden;
  top:0;
  left:0;
  width:100%;
  height:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  background:rgba(0,0,0,.6);
  transition:.3s ease;
  opacity:0;
  z-index:-1;
  visibility:hidden;
}
.popup-background.active{
  opacity:1;
  transition:.3s ease;
  visibility:visible;
  z-index:10000;
}
.popup{
  position:relative;
  padding:30px;
  background:rgba(0,0,0,.5);
}
.popup-element{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}
.popup-message{
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  position: absolute;
  background: rgba(0,0,0,.8);
  padding: 20px;
  width: 100%;
  visibility:hidden;
  opacity:0;
  z-index:-1;
  transition: 1s;
}
.popup-message.active{
  z-index: 3;
  opacity:1;
  visibility:visible;
}
.error{
  color:#b9021d;
}
.access{
  color:#00ff00;
}
.close{
  position:absolute;
  top:5px;
  right:5px;
  cursor:pointer;
  border:1px solid #fff;
  color:#fff;
  background:rgba(0,0,0,.7);
  font-size:16px;
  padding:5px 10px;
  margin:5px 5px 0 0;
  z-index:100;
}
.close::before{
  content:"X";
}

/***********
 Media query
***********/
@media(max-width:1520px){
  .quiz-form.active{
    background:#fff;
  }
  .quiz-body{
    max-height:720px;
  }
  .quiz-page-background{
    height:100%;
    max-height:100%;
  }
  .header-container.workarea{
    justify-content:space-around;
    flex-wrap:wrap;
  }
  .header-container.workarea > div{
    flex:1;
    min-width:300px;
    max-width:33%;
    justify-content:center;
    align-items:center;
  }
  .header-container.workarea .header-adres{
    max-width:50%;
  }
  .header-container.workarea .mail{
    min-width:200px;
    max-width:20%;
  }
  .pagetitle-img{
    max-height:400px;
  }
  .pagetitle{
    min-width:50%;
    font-size:30px;
  }
  .pagetitle h1{
    font-size:1.7em;
  }
  .pagetitle p{
    font-size:1em;
  }
}
@media(max-width:1200px){
  .quiz-body{
    max-height:none;
    height:auto;
  }
  .quiz-img{
    max-height:none;
    height:auto;
  }
  
}
@media(max-width:1000px){
  .quiz-img{
    display:none;
  }
}
@media(max-width:950px){
  .mobile-menu-icon{
    display:flex;
  }
  .header-container > div{
    display:none;
  }
  .header-container .header-logo{
    display:flex;
  }
}
@media(max-width:900px){
  header.sitearea{
    margin: 0;
    padding: 0;
  }
  .sitearea,
  .quiz-button,
  .arrows-area,
  .gift-container,
  .alert-container{
    padding:0 10px;
  }
  .quiz-content-container{
    padding:20px 10px;
  }
  .pagetitle-img{
    display:none;
  }
  .pagetitle{
    font-size:20px;
  }
  .gift-container.workarea{
    flex-wrap:wrap;
  }
  .quiz-button{
    font-size:30px;
    height:auto;
    padding:20px;
    line-height:1;
  }
  .arrows-area{
    flex-wrap:wrap;
    justify-content:center;
  }
  .header-container.workarea div{
    margin:3px 0;
  }
  .header-container.workarea {
    margin: 0;
    padding: 0;
    justify-content: flex-start;
  }
  .quiz-buttons{
    justify-content:center;
  }
  .quiz-btn{
    margin:0 20px;
  }
  .quiz-page-title.end{
    font-size:20px;
  }
  .quiz-page-title.end p{
    font-size:1.5em;
  }
  .congr{
    flex-wrap:wrap;
  }
  .congr img{
    right:0;
  }
  .congr p{
    font-size:1.5em;
  }
  .check-error{
    position:relative;
  }
  .end-text{
    display:flex;
    flex-direction:column;
  }
  .end-text p:nth-child(1){
    margin:0 0 60px 0;
  }
  .quiz-page.last{
    height:100%;
  }
  .quiz-page.last .quiz-body{
    height:100%;
  }
  .quiz-content-container{
    width:100%;
  }
}