
/* Universal Styles */
html {
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: #3b3730;
}

body {
  margin: 0 auto;
  background-color: #f4f3f1;
}

.image-container img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
 text-decoration: none;
}


@media only screen and (max-width: 1200px) {
  html {
    font-size: 12px;
  }
}

.mobile-fa {
  display: none;
}

.tablet-fa {
  display: none;
}


/* Header */
header {
  position: fixed;
  width: 100%;
  z-index: 100;
  border-bottom: solid 1px #3d5456;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4rem;
  background-color: rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
}

.logo {
  flex: 1;
  font-size: 2.5rem;
  font-family: 'Lobster', cursive;
  font-style: italic;
  margin-left: 1.5rem;
}

header a:hover {
  border-bottom: 4px solid #dde812;
}

.logo a {
  text-decoration: none;
  color: #dde812;
}

.logo a:hover {
  border-bottom: none;
}

.desktop ul li {
  display: inline;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 1.4rem;
}

.desktop ul:last-child {
  margin-right: 0.5rem;
}

.desktop ul li a {
  color: #f4f3f1;
}

.mobile {
  display: none;
}


@media only screen and (max-width: 840px) {

  header {
    height: auto;
    letter-spacing: 0;
  }

  header a:hover {
    border-bottom: 3px solid #dde812;
  }

  header .desktop {
    display: none;
  }

  header .logo {
    display: none;
  }

  header .mobile {
    width: 100%;
    display: flex;
  }

  .mobile .logo-mobile {
    flex: 1;
    margin: 1.2rem;
    font-family: 'Lobster', cursive;
    font-size: 2.2rem;
    font-style: italic;
  }

  .logo-mobile a {
    text-decoration: none;
    color: #dde812;
  }

  .logo-mobile a:hover {
    border-bottom: none;
  }

  header .mobile ul {
    display: flex;
    justify-content: space-around;
  }

  header .mobile li {
    padding: 0;
    margin: 1.3rem;;
  }

  .mobile ul li {
    font-size: 1.4rem;
    font-weight: bold;
    margin-right: 1.3rem;
  }

  .mobile ul li a {
    color: white;
  }
}

@media only screen and (max-width: 600px) {

  header {
    display: none;
  }
}


/* Banner */
.banner {
  padding-top: 4rem;
}

.banner-container {
  background-image: url("../images/schody.jpg");
  overflow: hidden;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.banner-text {
  background-color: rgba(84, 76, 62, 0.9);
  border: 0.5px solid #383838;
  border-radius: 0.5rem;
  color: #f4f3f1;
  padding: 3rem;
  width: 50vw;
  height: 18rem;
  margin-left: 5rem;
  margin-top: 45vh;
  letter-spacing: 1px;
}

.banner-text h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 6rem;
  font-weight: 600;
  margin-bottom: 2rem;
  margin-top: 2rem;
  line-height: 5rem;
}

.banner-text h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 3.5rem;
  margin-bottom: 1rem;
}


@media only screen and (max-width: 1340px) {

  .banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .banner-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 85%;
    padding: 5%;
    margin-left: 0;
    height: 10rem;
  }

  .banner-text h1 {
    margin-top: 0;
  }
}

@media only screen and (max-width: 1026px) {

  .banner {
    padding-top: 0;
  }

  .banner-container {
    height: 70vh;
  }

  .banner-text {
    margin-top: 40vh;
    letter-spacing: 0;
    height: 8rem;
  }

  .banner-text h1 {
    font-size: 4.7rem;
    margin-bottom: 1.3rem;
  }

  .banner-text h2 {
    font-size: 3rem;
    line-height: 2.5rem;
  }
}

@media only screen and (max-width: 850px) {

  .banner-text {
    align-items: flex-start;
    height: 8rem;
  }

  .banner-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
  }

  .banner-text h2 {
    font-size: 2.7rem;
    line-height: 3.2rem;
  }
}

@media only screen and (max-width: 680px) {

  .banner-text h1 {
    font-size: 3rem;
  }

  .banner-text h2 {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 486px) {

  .banner-container {
    height: 65vh;
  }

  .banner-text {
    width: 100vw;
    border-radius: 0;
    height: 10rem;
  }

  .banner-text h1 {
    line-height: 3rem;
    margin-left: 0.5rem;
  }

  .banner-text h2 {
    line-height: 2.5rem;
    margin-left: 0.5rem;
  }
}

@media only screen and (max-width: 364px) {

  .banner-text {
    height: 12rem;
  }

  .banner-text h1 {
    font-size: 2.8em;
    line-height: 2rem;
    margin-left: 0;
    margin-bottom: 1.6rem;
  }

  .banner-text h2 {
    font-size: 2rem;
    line-height: 2.6rem;
    margin-left: 0;
  }
}

@media only screen and (max-width: 288px) {

  .banner-text {
    height: 9rem;
  }

  .banner-text h1 {
    font-size: 2.4rem;
    line-height: 2.2rem;
    margin-left: 0;
    margin-bottom: 1.2rem;
  }

  .banner-text h2 {
    font-size: 1.8rem;
    line-height: 2.2rem;
    margin-left: 0;
  }
}


/* Main */
.info {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: bold;
  border-bottom: 4px solid #dde812;
  margin-left: 5rem;
  margin-top: 1.5rem;
  display: inline-block;
}

.wrapper {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.go-back {
  color: black;
  font-style: italic;
  font-weight: bold;
  color: #004b90;
}

a:hover {
  border-bottom: 2px solid #dde812;
}


@media only screen and (max-width: 770px) {

  .info {
    margin-top: 1.3rem;
    margin-bottom: 1.5rem;
    padding-top: 0;
    padding-bottom: 1rem;
  }

  .info h3 {
    font-size: 2.2rem;
    border-bottom: 3px solid #dde812;
    padding-bottom: 0.1rem;
    padding-top: 3rem;
    margin-left: 2rem;
  }

  .wrapper {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media only screen and (max-width: 486px) {

  .info h3 {
    font-size: 1.9rem;
    border-bottom: 2.5px solid #dde812;
    margin-bottom: 1rem;
  }

  .wrapper {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}


/* Offer section */
.offer {
}

.offer-section {
  display: flex;
  justify-content: center;
  text-align: center;
}

.offer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 8rem 0 8rem;
}

.offer-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: bold;
  margin-top: 3rem;
  color: #004b90;
}

.offer-box a:hover {
  border-bottom: 4px solid #dde812;
}

.offer-details {
  font-size: 1.5rem;
  line-height: 2rem;
  margin-left: 5rem;
}

.offer-details h4 {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: bold;
  border-bottom: 2px solid #dde812;
  margin-bottom: 2rem;
}

.offer-details ul li {
  list-style-type: disc;
  list-style-position: inside;
  margin-top: 0.6rem;
}

.offer-details ul li:first-child {
  margin-top: 1.2rem;
}

.offer-details p {
  margin-top: 2rem;
  text-indent: 4rem;
}

.offer-details h5 {
  border-bottom: 2px solid #dde812;
  display: inline;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: bold;
}

.warsztaty {
  margin-bottom: 2rem;
}

@media only screen and (max-width: 946px) {

  .offer-box {
    margin: 0 6rem 0 6rem;
  }

  .offer-details {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .offer-details p {
    text-indent: 2rem;
  }
}

@media only screen and (max-width: 770px) {

  .desktop-fa {
    display: none;
  }

  .mobile-fa {
    display: none;
  }

  .tablet-fa {
    display: inline;
  }

  .offer-section {
    justify-content: space-around;
  }

  .offer-box {
    margin: 0 0.5rem 0 0.5rem;
  }

  .offer-box h4 {
    font-size: 1.7rem;
    margin-top: 2.2rem;
  }

  .offer-box a:hover {
    border-bottom: 3px solid #dde812;
  }

  .offer-details {
    font-size: 1.4rem;
    margin-left: 1rem;
    margin-right: 1rem;
    line-height: 1.8rem;
  }
}

@media only screen and (max-width: 486px) {

  .tablet-fa {
    display: none;
  }

  .mobile-fa {
    display: inline;
  }

  .offer-box h4 {
    font-size: 1.2rem;
    margin-top: 2rem;
  }

  .offer-box {
    margin: 0 0.1rem 0 0.1rem;
  }

  .offer-details {
    font-size: 1.2rem;
    line-height: 1.6rem;
    text-indent: 1rem;
  }

  .offer-details h4 {
    font-size: 1.5rem;
    line-height: 1.8rem;
    margin-top: 0;
    margin-bottom: 0;
    display: inline;
  }

  .offer-details h5 {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 364px) {

  .offer-section {
    flex-direction: column;
  }
  .offer-box {
    margin: 2rem;
  }

  .tablet-fa {
    display: inline;
  }

  .mobile-fa {
    display: none;
  }

  .offer-box h4 {
    font-size: 1.6rem;
  }
}


/* About me section */
.about {
  background-color: #d3cfcf;
}

.about-section {
  margin-left: 10rem;
  margin-right: 10rem;
}

.about-section {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.about-section .image-container {
  width: 20%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.about-section p {
  font-size: 1.5rem;
  line-height: 1.7rem;
  margin-left: 2rem;
  text-indent: 4rem;
  width: 80%;
  display: block;
}

.about-section h4 {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: bold;
  border-bottom: 2px solid #dde812;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.about-section a {
  color: #004b90;
}


@media only screen and (max-width: 946px) {

  .about-section {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .about-section p {
    font-size: 1.4rem;
    line-height: 2rem;
    text-indent: 3rem;
  }
}

@media only screen and (max-width: 768px) {

  .about-section p {
    font-size: 1.3rem;
    line-height: 1.9rem;
    text-indent: 2rem;
  }
}

@media only screen and (max-width: 486px) {

  .about-section {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .about-section {
    flex-direction: column;
    width: 100%;
  }

  .about-section .image-container {
    width: 60%;
    overflow: hidden;
  }

  .about-section p {
    flex-direction: column;
    width: 80%;
    font-size: 1.2rem;
    line-height: 1.8rem;
    text-indent: 1rem;
  }

  .about-section h4 {
    font-size: 1.5rem;
    margin-top: 2.8rem;
    margin-bottom: 1.5rem;
  }
}


/* Blog section */
.blog {
}

.blog-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.blog-section .post {
  width: 40%;
  margin: 2rem;
  display: flex;
  align-items: center;
}

.post .image-container {
  width: 25%;
  overflow: hidden;
}

.post span {
  font-size: 1.5rem;
  line-height: 1.7rem;
  margin-left: 2rem;
  width: 75%;
  display: block;
}

.post a {
  /*color: #3b67ba;*/
  color: #004b90;
}

.post a:hover {
  border-bottom: 2px solid #dde812;
}


@media only screen and (max-width: 946px) {

  .blog-section {
    display: flex;
    flex-direction: column;
  }

  .blog-section .post {
    width: 90%;
    margin: 1rem;
    border-top: 1px solid #b5abac;
    padding-top: 2rem;
    padding-bottom: 0;
  }
/*
  .blog-section .post:last-of-type {
    border-bottom: 1px solid #b5abac;
    padding-bottom: 2rem;
  }
*/
  .blog-section .post:nth-child(3+0) {
    border-bottom: 1px solid #b5abac;
    padding-bottom: 2rem;
  }

  .post .image-container {
    width: 15%;
  }

  .post span {
    margin-left: 1.5rem;
    width: 85%;
  }
}

@media only screen and (max-width: 486px) {

  .blog-section .post {
    width: 95%;
    margin: 0.5rem;
    padding-bottom: 0;
    padding-top: 1rem;
  }

  .blog-section .post:last-of-type {
    padding-bottom: 0.7rem;
    padding-top: 0.7rem;
  }

  .post .image-container {
    width: 15%;
  }

  .post span {
    margin-left: 0.7rem;
    width: 85%;
    font-size: 1.2rem;
    line-height: 1.4rem;
  }
}


/* Price list section */
.price {
  background-color: #d3cfcf;
}

.price-section {
  display: flex;
  flex-direction: column;
  margin-left: 20rem;
  margin-right: 5rem;
}

.price-section h5, p {
  font-size: 1.5rem;
  line-height: 1.7rem;
  margin-bottom: 2rem;
}

.price-section span {
  font-weight: bold;
}


@media only screen and (max-width: 946px) {

  .price-section {
    margin-left: 5rem;
    margin-right: 5rem;
  }
}

@media only screen and (max-width: 640px) {

  .price-section {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media only screen and (max-width: 486px) {

  .price-section {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .price-section h5, p {
    font-size: 1.2rem;
    line-height: 1.4rem;
    margin-bottom: 1.5rem;
  }
}


/* Contact section */
.contact {
}

.contact-section {
  display: flex;
  flex-direction: column;
  margin-left: 20rem;
  margin-right: 5rem;
}

.contact-section h5 {
  font-size: 1.5rem;
  line-height: 1.7rem;
  margin-bottom: 2rem;
}

.contact-section span {
  font-weight: bold;
}

.contact-section .fa {
  display: inline;
  margin-right: 1rem;
}

.contact-section a {
  color: #004b90;
}

.contact-section .widget {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 946px) {

  .contact-section {
    margin-left: 5rem;
    margin-right: 5rem;
  }
}

@media only screen and (max-width: 640px) {

  .contact-section {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media only screen and (max-width: 486px) {

  .contact-section {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .contact-section h5 {
    font-size: 1.2rem;
    line-height: 1.4rem;
    margin-bottom: 1.5rem;
  }
}


/* Footer */
footer {
  font-size: 1.2rem;
  height: 6rem;
  background-color: rgba(220, 208, 210, 0.9);
}

footer span {
  display: inline-block;
  margin-left: 5rem;
  margin-top: 2.5rem;
}

@media only screen and (max-width: 946px) {

  footer {
    height: 4rem;
  }

  footer span {
    margin-left: 2rem;
    margin-top: 1.5rem;
  }
}

@media only screen and (max-width: 486px) {

  footer {
    height: 3rem;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  footer span {
    margin: 0;
  }
}
