/* Shared
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button {
  border-radius: 4px;
}
.back-to-top {
    position: fixed;
    bottom: 2em;
    right: 0px;
    text-decoration: none;
    color: #fff;
    background-color: #1EAEDB;
    font-size: 1rem;
    padding: 1em;
}

.back-to-top:hover {    
    background-color: #0FA0CE;
    color: #fff;
}
.back-to-top {
	display: none;
}
.error_message {
	background-color: #ff0000;
	color: #fff;
	text-align: center;
	display: block;
	margin: 10px 0px;
}
.ok_message {
	background-color: #22b700;
	color: #fff;
	text-align: center;
	display: block;
	margin: 10px 0px;
}

/* Sections
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.section {
  padding: 3rem 0 2rem;
  text-align: justify;
}
.section-heading,
.section-description {
  margin-bottom: 1.2rem;
}

/* Visual Rows (rows with background image tile)
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.visual {
  background-image: url('img/visual.jpg');
  background-size: cover;
  color: #fff;
  border-bottom: 2px #ff6600 solid;
}
.visual-heading {
  margin-bottom: .3rem;
}
.visual-description {
  opacity: .8;
  font-weight: 300;
}

/* Image tweaks
–––––––––––––––––––––––––––––––––––––––––––––––––– */
img{ max-width:100%; height:auto;}

/* Media tweaks
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Bigger than 400 */
@media (min-width: 400px) {
  .section {
    padding: 5rem 0 1rem;
  }
  .light {
    padding-bottom: 2rem;
    text-align: left;
  }
  .contact {
    padding: 6rem 0;
  }
  .light-heading {
    font-size: 2.4rem;
  }
  .visual {
  padding-top: 120px;
  }
}

/* Bigger than 550 */
@media (min-width: 550px) {
  .section {
    padding: 10rem 0 6rem;
  }
  .light {
    padding-bottom: 6rem;
    text-align: left;
  }
  .contact {
    padding: 6rem 0;
  }
  .light-heading {
    font-size: 2.4rem;
  }
}

/* Bigger than 750 */
@media (min-width: 750px) {
  .light-heading {
    font-size: 2.6rem;
  }
  .section {
    padding: 11rem 0 7rem;
  }
  .light {
    padding: 9rem 0 4rem;
  }
  .contact {
    padding: 7rem 0;
  }
  .section-description {
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .categories {
    padding: 15rem 0 8rem;
  }
}

/* Bigger than 1000 */
@media (min-width: 1000px) {
  .section {
    padding: 15rem 0 4rem;
  }
  .light {
    padding: 4rem 0 2rem;
  }
  .light-heading {
    font-size: 3.0rem;
  }
  .contact {
    padding: 4rem 0;
  }
}

