* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: #333;
  }

  h1, h2, h3, h4, h5 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
  }

  h2.redish {
    font-size: 2.75rem;
    margin-bottom: 25px;
    line-height: 140%;
  }

  .subredish {
    font-size: 18px;
    
  }

  .white {
    color: white;
  }

  .redish {
    color: #C00D0D;
  }

  header {
    display: block;
    text-align: center;
    padding: 2rem;
    height: 501px;
    position: relative;
    top: 50px;
    background: url('/img/frontend/people1.png') no-repeat;
    /* background-size: 60%; */
    background-position: bottom -150px right 50px;
  }
  
  .header2 {
    display: block;
    text-align: center;
    padding: 2rem;
    height: 300px;
    position: relative;
    top: 50px;
  }

  .logo {
    display: block;
    margin: 0 auto;
    height: auto;
  }

  .logoimage {
    align: center;
    margin: 0 auto;
    padding: 0;
  }

  .logoimage img {
    width: 300px;
    height: auto;
    margin-bottom: 2rem;
  }
  
  h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #a00;
    text-shadow: 0 4px 8px white !important;
  }

  h1 span {
    font-weight: 300;
  }

  .hero {
    background: url('/img/frontend/redmask.png') no-repeat center center/cover;
    padding: 7rem 0 0 0;
    height: 490px;
    width: 100%;
    text-align: left;
    position: relative;
    top: -2px;
  }

  .hero .container p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem;
    color: white;
    font-weight: 100;
  }

  .hero h2 {
    max-width: 620px;
    width: 90%;
  }

  .hero .partial {
    max-width: 440px;
  }

  .hero .partial span {
    font-weight: 700;
  }
  
  .hero2 {
    display: block;
    position: relative;
    width: 100%;
    padding: 20px;
    text-align: center;
  }

  .hero2 .btn {
    padding: 1rem 2rem;
    color: white;
    background: #a00;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
  }

  .section {
    padding: 3rem 1rem;
  }

  .gray-bg {
    background: #A5A5A4;
  }
 
  .double-column {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    text-align: left;
  }

  .double-column .tekst {
    display: block;
    color: white;
    padding: 40px 20px;
  }

  .underh2 {
    font-size: 1.1rem;
    font-weight: 800;
  }

  .double-column .imageround img {
    width: 85%;
    height: auto;
    filter: drop-shadow(-8px 8px 0 #A5A5A4) drop-shadow(-1px 1px 0 red)
  }



  /* rewards */
 
  .rewards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: #636362;
    color: white;
    position: relative;
    height: 250px;
    margin-bottom: 200px;
  }
 
  .rewards-header{
    text-align: center;
    font-size: 2rem;
    margin-top: 1rem;
    color: white;
  }

  .rewards-header p {
    font-size: 1rem;
    margin-top: 0.5rem;
    color: #ccc;
  }

  .rewards-icons-wrap {
    position: absolute;
    width: 100%;
    top: 200px;
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .rewards-icons {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: space-around;
    margin: auto;
  }

  .reward {
    display: flex;
    flex-direction: column;
    width: 25%;
    align-items: center;
    align-content: center;
    justify-content: start;
    text-align: center;
  }

  .rewardimage {
    display: block;
    width: 180px;
    height: 180px;
    background: #404040;
    border: 2px solid white;
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1;
    position: relative;
  }

  .rewardimage img {
    width: 60%;
    height: auto;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }

  .reward p {
    margin-top: 20px;
    color: #404040;
  }


  /* form */

  .form-section {
    
    background: #fff;
    padding: 3rem 1rem;
    text-align: center;
  }
  .form-section form {
    max-width: 900px;
    margin: auto;
    text-align: left;
  }
  .form-section label {
    display: block;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
  }
  .form-section input[type="text"],
  .form-section input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .next {
    width: 60px;
    height: 60px;
    background-image: url('/img/frontend/fast-forward_muj2.gif');
    background-size: cover;
    margin: auto;
    position:relative;
    top: -35px;
  }

  /* checkboxy */

  .checkbox-under {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
  }

  .form-section .checkbox-group {
    margin: 1rem 0;
  }

  .form-section .submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #a00;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    margin-top: 1rem;
    cursor: pointer;
  }

  .form-section label {
    font-weight: 300;
    font-size: 0.9rem;
  }

  .wybory {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap:nowrap;
    gap: 30px;
    justify-content: center;
  }

  .naszkolor {
    font-family: "Montserrat", sans-serif;
    font-weight: 500 !important;
  }

  
.link-white {
  
  width: 100%;
  color: white;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.3;
  text-align: end;
}

.footerright .social {
  margin: 0 10px;
}

.footerleft, .footermid, .footerright {
  padding: 30px 0;
}

.footermid {text-align: end;}

ul.another {
  list-style:  none;
}

li.anotherli{
 display: flex;
 width: 100%;
 justify-content: left;
}

li.anotherli:before {
  content:  url(/img/frontend/rect.svg);
  display:  block;
  margin-right: 1em;
  margin-top: 3px;
}

ul.subanother {
  list-style:  none;
}

li.subanotherli{
  display: flex;
  margin-left: 50px;
  width: calc(100%-50px);
}
  
li.subanotherli:before {
  content:  url(/img/frontend/rect2.svg);
  display:  inline-block;
  margin-right: 1em;
  position: relative;
  top: -4px;
}

  footer {
    background: #3C3C3B;
    color: white;
    text-align: center;
    padding: 2rem 1rem; 
  }

  @media (max-width: 768px) {
    header {
      display: block;
      text-align: center;
      padding: 2rem;
      height: 500px;
      position: relative;
      top: 58px;
      background: url('/img/frontend/people1.png') no-repeat;
      background-size: contain;
      background-position: bottom -58px right 0;
    }

    .logoimage img {
      display: block;
      width: 200px;
      height: auto;
      margin-bottom: 2rem;
      position: relative;
      margin: auto;
      top: -40px;
    }

    .hero {
      height: 560px;
    }


    .next {
      width: 50px;
      height: 50px;
      top: -15px;
    }

    li.subanotherli{
      display: flex;
      margin-left: 10px;
      width: calc(100%-10px);
    }

    .rewards-icons-wrap {
      top: 300px;
    }

    .rewards {
      margin-bottom: 400px;
    }

    .reward {
      display: flex;
      flex-direction: column;
      width: 50%;
      align-items: center;
      align-content: center;
      justify-content: start;
      text-align: center;
    }

    .wrapdiff {
      flex-wrap: wrap-reverse !important;
    }

    .rewardimage {
      display: block;
      width: 100px;
      height: 100px;
      /* margin-bottom: 1rem; */
      background: #404040;
      border: 2px solid white;
      padding: 20px;
      border-radius: 50%;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      /* margin: 50px 0 auto; */
    }

    .rewardimage img {
      width: 60%;
      height: auto;
      z-index: 2;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
    }

    footer {
      background: #3C3C3B;
      color: white;
      text-align: center;
      padding: 0; 
    }

    .footerleft, .footermid, .footerright {
      padding: 20px 0;
      text-align: center;
    }

    .link-white {text-align: center;}
  }


  @media only screen and (max-width: 1499px) {
    body header .logo {
        width: 35%;
        margin: 0;
    }
    body header {
        background-size: 68%;
    }
 }
 
 @media only screen and (max-width: 767px) {
    body header .logo {
        width: 100%;
        margin: 0;
    }
    body .logoimage img {
        width: 120px;
    }
    body header {
        background-size: 456px auto;
        background-position: bottom center;
    }
 }
 
 @media only screen and (max-width:500px) {
    body header {
        background-size: 306px auto;
        background-position: bottom center;
    }
    body header {
        height: 440px;
    }
 }


 @media only screen and (max-width: 1290px) {
  body header .logo {
      width: 25%;
  }
  h1 {
      font-size: 17px;
  }
  body header {
      background-size: 74%;
      background-position: bottom -149px right 5px;
  }
  header {
      height: 400px;
  }
  body header .logo {
      width: 25%;
      margin-top: -30px;
  }
}

@media only screen and (max-width: 1199px) {
  header {
      height: 384px;
  }
  .section.gray-bg .double-column .row .imageround {
      width: 30%;
  }
  .section.gray-bg .double-column .row .tekst {
      width: 70%;
  }
  .double-column .imageround img {
      width: 100%;
  }
}

@media only screen and (max-width: 992px) {
  header {
      height: 314px;
  }
  .logoimage img {
      max-width: 100%;
      width: 100%;
  }
  h1 {
      font-size: 14px;
  }
}
@media only screen and (max-width: 767px) {
  .double-column .row:first-child .tekst {
      padding-bottom: 0;
      margin-bottom: -40px;
  }
  .double-column .row:last-child .tekst {
      padding-bottom: 0;
      margin-bottom: -30px;
  }
  .rewards {
      height: auto;
      padding: 40px 20px;
  }
  .rewards-icons-wrap {
      position: relative;
      top: auto;
      color: #fff;
  }
  .rewards-icons-wrap {
      padding: 10px 0 0 0;
      margin-bottom: -10px;
  }
  .rewards {
      margin-bottom: 0;
  }
  .reward p {
      color: #fff;
  }
  .rewards-header {
      margin: 0;
      padding: 0;
  }
  .section.gray-bg .double-column .row .imageround {
      width: 100%;
  }
  .section.gray-bg .double-column .row .tekst {
      width: 100%;
  }
  body header .logo {
      width: 100%;
  }
  body header {
      background-size: 456px auto;
      background-position: bottom center;
  }
  header {
      height: 374px;
  }
  body header {
      background-size: 319px auto;
      background-position: bottom center;
  }
}

@media only screen and (max-width: 500px) {
  body header {
      height: 374px;
  }
}