/* theme */

body {
    color: #222324;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4 {
    font-weight: 300;
    margin: 0;
}

p {
  margin: 0;
}

main {
    padding: 50px 0;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}

a {
    text-decoration: none;
}


/* unvisited link */
a:link {
    color: #222324;
}
/* visited link */
a:visited {
    color: #222324;
}
/* mouse over link */
a:hover {
  color: #d8a076;
  text-decoration: none;
  font-weight: 500;
}
/* selected link */
a:active {
  color: #222324;
}

a.current {
  font-weight: 500;
  border-left: solid 1px white;
  border-bottom: solid 1px white;
  border-right: solid 1px white;
  padding: 40px 8px 8px 8px;
}

header li a:visited {
  color: white;
}

/* header */

header {
  width: 100%;
  margin: 0 auto;
  padding-top: 25px;
  background-image: url(images/banner.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

header ul {
  list-style: none;
  padding: 0;
}

header ul li {
  color: white;
  display: inline-block;
  margin: 0 5px;
}

.header-content {
  max-width: 1170px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  flex: auto;
  max-width: 150px;
  margin-top: 5px;
  margin-left: 10px;
}

nav {
  flex: auto;
  text-align: right;
  margin-right: 10px;
}

.header-intro-container {
  max-width: 1170px;
  margin: 0 auto;

}

.header-intro {
  max-width: 567.5px;
  width: 50%;
  float: right;
  padding-top: 275px;
  padding-bottom: 50px;
  margin-right: 10px;

}

.header-intro h1 {
  color: white;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
}

header a:link {
    color: white;
}





/* main */

.block {
  display: flex;
  margin: 10px 0;
  padding-bottom: 40px;
  margin-left: 10px;
  margin-right: 10px;
}

.block-title {
  width: 25%;
  color: lightgrey;
}

.block-title h3 {
  color: #d8a076;
}

.block-txt {
  width: 75%;
}

.block-txt p {
}

.block-image {
  max-width: 75%;
}

.block-image img {
  width: 100%;
}


/* services */

.services-container {
  width: 75%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
}

.services {
  width: 275px;
  padding-bottom: 20px;
}

.services img {
  height: 42px;
}

.icon-title {
  display: flex;
}

.icon-container {
  margin-right: 10px;
}

.title-container h3 {
  font-weight: 500;
  line-height: 1.3;
}

.text-container p {
  margin-bottom: 0;
  margin-top: 10px;
}

.block-title ul {
  list-style: none;
  padding: 0;
}

.block-title li {
}

.block-title a {
}

/* unvisited link */
.block-title a:link {
    color: lightgrey;
}
/* visited link */
.block-title a:visited {
    color: lightgrey;
}
/* mouse over link */
.block-title a:hover {
  color: #d8a076;
}

.block-title a.current {
  text-decoration: none;
  color: #222324;
  padding: 0;
}



/* gallery */

.gallery {
  display: flex;
  width: 75%;
  max-width: 877.5px;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.container {
  position: relative;
  width: 275px;
  height: 275px;
  margin-bottom: 22.5px;
  padding: 0;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: white;
}

.container:hover .overlay {
  opacity: 0.7;
}

.text {
  color: black;
  padding: 20px;
}






/* footer */

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
  background-color: #d8a076;
}

footer ul {
  list-style-type: none;
  padding: 0;
}

footer ul li {
  color: black;
  display: inline-block;
  padding: 0;
}

.footer-content {
  max-width: 1170px;
  width: 100%;
  height: 100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  text-align: left;
  margin-left: 10px;
}

.social {
  text-align: right;
  margin-right: 10px;
}
