html {
  scroll-behavior: smooth;
  padding: 0px;
  margin: 0px;
}

body {
  padding: 0px;
  margin: 0px;

  min-height: 100vh;

  background-color: #42a1a6;
}

* {
  font-family: avenir-book, sans-serif;
  line-height: 150%;
  font-size: 1.2rem;
  box-sizing: border-box;
}

a {
  text-decoration-line: none;
  color: #f2982c;
}

a:hover {
  color: #a86a1f;
  transition-duration: 500ms;
}

.error {
  color: #FF0000;
}

form label {
  margin-top: 10px;
}

h2 {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 2.5rem;
  text-align: center;
  margin: 0px;
  padding: 0px;
}

h3 {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 2rem;
  margin: 0px;
  padding: 0px;
}

/* ================= */

#page-container {
  max-width: 1188px;
  margin: auto;
  background-color: #ffffff;
}

header {
  background: url("images/header.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top right;
  height: 600px;
  color: #FFFFFF;
  max-width: 1188px;
  border-bottom: 25px solid #f2982c;
}

#header-content {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
}

#header-banner {
  background: #42a1a6;
  background: linear-gradient(90deg, #42a1a6 30%, #ffffff00 100%);
  padding: 10px;
  width: 100%;
}

#header-banner .first-name {
  font-family: Montserrat;
  font-weight: 300;
  font-size: 3.8rem;
}

#header-banner .last-name {
  font-family: Montserrat;
  font-weight: 800;
  font-size: 3rem;
  position: relative;
  top: -30px;
}

#header-banner .title {
  display: inline-block;
  border-top: 3px solid #ffffff;
  padding-top: 20px;
}

section {
  margin-top: 30px;
}

footer {
  padding: 10px;
  text-align: center;
  font-size: 0.8rem;
}

#copyright-year {
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  header {
    max-width: 100%;
    min-width: 375px;
  }
}

/* ================= */

.service {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 4fr 2fr 1fr;
}

.service.even {
  grid-template-columns: 1fr 2fr 4fr;
}

.service .details {
  padding: 0px 20px 0px 20px;
}

.service .accent {
  background: #ffffff;
  background: linear-gradient(90deg, #ffffff00 30%, #f2982c 100%);
  padding: 10px;
  width: 100%;
  height: 50%;
}

.service.even .accent {
  background: linear-gradient(90deg, #f2982c 0%, #ffffff00 70%);
}

.service .image img {
  width: 100%;
}

@media (max-width: 768px) {
  .service.odd, .service.even {
    display: grid;
    grid-template-columns: none;
    grid-template-rows: auto 1fr;
  }

  .service .image {
    grid-row-start: 1;
    text-align: center;
  }

  .service .image img {
    max-height: 200px;
    width: auto;
  }

  .service .details {
    grid-row-start: 2;
  }

  .service .accent {
    display: none;
  }
}

/* ================= */

#about-section .accent {
  background: #ffffff;
  background: linear-gradient(90deg, #f2982c 0%, #ffffff00 70%);
  padding: 10px;
  width: 100%;
  height: 75px;
  margin-bottom: 20px;
}

#about-section .details {
  padding: 0px 90px 0px 90px;
}

#about-section .social-icon {
  height: 31px;
}

@media (max-width: 768px) {
  #about-section .details {
    padding: 0px 20px 0px 20px;
  }
}

/* ================= */

#contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  padding: 20px;
}

#contact-section h2 {
  text-align: left;
  color: #42a1a6;
}

#contact-section .image {
  display: flex;
  justify-content: center;
  align-items: center;
}

#contact-section .image img {
  width: 100%;
  max-height: 400px;
  max-width: 400px;
}

#contact-section label {
  display: block;
}

#contact-section input[type=text],
#contact-section textarea {
  box-sizing: border-box;
  width: 100%;
}

#contact-section .submit-button {
  text-align: right;
}

#contact-section .submit-button input[type=submit] {
  background-color: #f2982c;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  padding: 5px 10px 5px 10px;
  line-height: 30px;
}

@media (max-width: 768px) {
  #contact-section {
    display: block;
    padding: 20px;
  }

  #contact-section .image {
    display: none;
  }
}

/* ================= */