* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #3f3f3f;
  min-height: 100vh;
}

.row {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.heading-secondary {
  color: #3f3f3f;
  font-size: 26px;
  margin-bottom: 30px;
}

/* HEADER */

.header {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo img {
  width: 100%;
  max-width: 178px;
}

.header__links {
  display: flex;
  gap: 20px;
}

.header-link img {
  width: 100%;
  max-width: 48px;
}
.header-link:hover img,
.footer-link:hover img,
.btn:hover {
  opacity: 0.5;
  transition: all 0.3 ease;
}

/* SECTION MAIN */

.section-main {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 20px 0 60px 0;
  min-height: calc(100vh - 182px);
}

.main__content {
  font-size: 20px;
}

.main__content--1 {
  margin-bottom: 20px;
}

/* MAIN IMG */
.main__img {
  max-width: 100%;
}

/* MAIN-FEATURES */

.main-features {
  margin-bottom: 20px;
}

.main-features__list {
  color: #707070;
  margin-bottom: 40px;
}

.main-features__list p {
  margin-bottom: 20px;
}

.more-link {
  color: #3f3f3f;
  text-decoration: none;
  font-weight: 700;
}

.main-features__arrow {
  text-align: right;
  margin: 15px 50px 0 0;
}

/* MAIN-FORM */

.main-form {
  color: #707070;
  margin-bottom: 50px;
}

.main-form__heading {
  font-size: 34px;
  margin-bottom: 15px;
}

.input-field {
  margin-bottom: 15px;
}

.input-field input,
.input-field select {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  margin-top: 5px;
  border: 1px solid #3f3f3f;
  background-color: #fff;
  padding: 0 10px;
  font-size: 18px;
}

.input-field label {
  font-size: 18px;
  margin-bottom: 5px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-block;
}

select#temat {
  background-image: linear-gradient(45deg, transparent 50%, #808080 50%), linear-gradient(135deg, #808080 50%, transparent 50%);
  background-position: calc(100% - 30px) calc(1em + 2px), calc(100% - 16px) calc(1em + 2px);
  background-size: 15px 15px, 15px 15px;
  background-repeat: no-repeat;
}

.zgody {
  font-size: 10px;
  line-height: 14px;
  font-weight: 600;
}

.zgody__wrap {
  display: flex;
  margin-bottom: 20px;
}

.zgody__wrap--dane {
  display: flex;
  align-items: flex-end;
}

.zgody__wrap--checkbox input {
  margin-right: 10px;
}

.zgody__wrap--checkbox:last-child {
  margin-bottom: 10px;
}

.zgody__link {
  text-decoration: none;
  font-size: 10px;
  color: #707070;
}

.checkbox1__label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.btn-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.btn {
  color: #fff;
  background-color: #d22028;
  border-radius: 12px;
  padding: 15px 40px;
  border: none;
  font-weight: 600;
  font-size: 17px;
  text-transform: uppercase;
}
.main-form .error {
  color: #dc3545;
  font-size: 12px;
}
.politics {
  text-decoration: underline;
  font-weight: 700;
}
.thanks {
  color: #3f3f3f;
  font-weight: 900;
}
/* MAIN-CONTACTS */

.main-contacts {
  padding: 25px;
  color: #707070;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.contacts {
  width: 80%;
  margin: 0 auto;
}

.contacts__text {
  margin-bottom: 20px;
}

.contacts__phone {
  margin-bottom: 10px;
}

.contacts__phone,
.contacts__mail {
  display: flex;
  justify-content: center;
}

.contacts__mailtext,
.contacts__phonetext {
  margin-left: 10px;
}
.contacts__phonetext a,
.contacts__mailtext a {
  color: #707070;
  text-decoration: none;
}

/* FOOTER */

.section-footer {
  color: #707070;
  background-color: #dddddd;
  padding: 30px 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  font-size: 20px;
}

.footer__address {
  display: flex;
  align-items: center;
  color: #707070;
  text-decoration: none;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__addresstext {
  display: inline-block;
  margin-left: 10px;
}

@media only screen and (min-width: 480px) {
  .main-contacts {
    padding: 30px 50px;
  }
}

@media only screen and (min-width: 768px) {
  .main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main__content {
    width: 48%;
  }

  .main__img {
    max-width: 380px;
  }

  .main-features {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1200px) {
  .main {
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .main__content {
    width: 30%;
  }

  .main__content--1 {
    margin-bottom: 0;
  }
}
