/* Art Serwis Artur Dadełło — static site styles */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 13px/1.5 "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  color: #333;
  background: #8d949b url("../images/bg.png") repeat;
}

h1, h2, h3 {
  margin: 0 0 .25em;
  font-family: "Trebuchet MS", "Helvetica Neue", Verdana, sans-serif;
  font-weight: normal;
  color: #e02462;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }

p {
  margin: 0 0 1em;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

a {
  color: #e02462;
}

/* Wrapper — full-width white page body --------------------------------- */

.wrapper {
  background-color: #fff;
}

/* every centered band is 960px wide */
.inside {
  width: 960px;
  margin: 0 auto;
}

/* Header -------------------------------------------------------------- */

.site-header {
  height: 290px;
  overflow: hidden;
  background: #e6e8ea url("../images/bg-light.png") repeat;
}

.site-header .inside {
  position: relative;
  height: 290px;
  overflow: hidden;
  text-align: right;
  background: url("../images/header.png") no-repeat;
}

.slogan {
  float: right;
  padding-top: 40px;
}

.slogan p {
  margin: 0;
  font-size: 1.4em;
  color: #6b635a;
}

.slogan strong {
  color: #6b635a;
}

.logo {
  padding-top: 115px;
}

/* Content ------------------------------------------------------------- */

.content {
  font-size: 1.3em;
}

.content .inside {
  padding: 40px 0 20px;
  background: url("../images/bottom.png") left top no-repeat;
}

/* content sits in the right-hand 640px column, leaving a 320px gap on
   the left for the decorative image */
.content .main {
  width: 640px;
  margin-left: 320px;
}

.intro h1,
.intro h2,
.intro p {
  text-align: center;
}

.intro p {
  margin: 0 0 .5em;
}

.seo {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #dadfdf;
}

.seo p {
  font-size: 11px;
  color: #777;
}

.seo strong {
  font-style: italic;
  font-weight: normal;
}

/* Footer -------------------------------------------------------------- */

.site-footer {
  font-size: 1.3em;
  color: #fff;
  background: #5b626a url("../images/bg.png") repeat;
}

.site-footer .inside {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  background: url("../images/footer.png") top center no-repeat;
}

.site-footer .credit {
  flex: 0 0 300px;
  padding: 0 10px;
}

.site-footer .copyright {
  padding: 0 10px;
}

.site-footer .copyright p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
}

/* Responsive --------------------------------------------------------- */

@media (max-width: 1000px) {
  .inside {
    width: auto;
  }

  .site-header,
  .site-header .inside {
    height: auto;
  }

  .site-header .inside {
    padding: 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
  }

  .slogan {
    float: none;
    padding-top: 15px;
  }

  .logo {
    padding-top: 0;
  }

  .content .inside {
    padding: 30px 20px 60px;
    background-position: left bottom;
  }

  .content .main {
    width: auto;
    margin-left: 0;
  }

  .site-footer .inside {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .site-footer .credit {
    flex: 0 0 auto;
  }
}
