@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');

$opensans: 'Open Sans', sans-serif;

$yellow: #fecc00;
$dark: #383535;
$white: #fff;
$gray: #ededed;
$footerdark: #232323;

@mixin res1200 {
  @media (max-width: 1200px) {
    @content;
  }
}

@mixin res992 {
  @media (max-width: 992px) {
    @content;
  }
}

@mixin res768 {
  @media (max-width: 768px) {
    @content;
  }
}

@mixin res360px {
  @media (max-width: 360px) {
    @content;
  }
}

*,
html,
body {
  font-family: $opensans;
}

.yellow-bg {
  background-color: $yellow;
}

.gray-bg {
  background-color: $gray;
}

.white-bg {
  background-color: $white;
}

.footer {
  background-color: $footerdark;
  color: $white;
}

h2 {
  text-align: center;
  font-weight: 700;
}

.main {
  h1,
  h2 {
    text-align: center;
    margin: 0;
  }

  h1 {
    font-size: 50px;
    color: $dark;
    font-weight: 700;
    margin-top: 20px;

    @include res992 {
      font-size: 40px;
    }

    @include res768 {
      font-size: 30px;
      margin-top: 0;
    }
  }

  h2 {
    font-size: 30px;
    color: $dark;
    font-weight: 400;
    margin-bottom: 20px;

    @include res768 {
      font-size: 24px;
      margin-bottom: 0;
    }
  }
}

.row-benefits {
  margin: 40px 0;

  .single-benefit-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    .last {
      margin-left: 30px;
    }

    @include res768 {
      flex-direction: column;

      p {
        margin-top: 10px;
        margin-bottom: 10px;
      }

      .last {
        margin-left: 0;
      }
    }
  }

}

.row-flex {
  display: flex;
  align-items: center;
}

.section-1 {
  padding-top: 20px;
  padding-bottom: 50px;
}

.section-2 {
  padding-top: 10px;
  padding-bottom: 50px;

  @include res768 {
    .map,
    .paczkomat2 {
      display: block;
      margin: 0 auto;
    }
  }
}

.section-3 {
  iframe {
    display: block;
    margin: 40px auto;
  }
}

.flex-belt {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;

  @include res768 {
    padding: 40px 10px;
  }
}

.section-5 {
  h2 {
    margin: 40px 0;

    a {
      color: $dark;
    }
  }
}

footer {
  padding-top: 20px;
  padding-bottom: 20px;
}