html,body {
  margin: 0;
  font-size: 16px;
  font-family: Verdana, Geneva, sans-serif;
}

#logo {
  max-width: 150px;
  width: 100%;
}

#logo_container {
  display: flex;
  align-items: center;
}

#page {
  position: relative;
  margin: auto;
  max-width: 1200px;
  min-height: 100vh;
}

#header {
  padding: 10px 0;
  display: grid;
  grid-template-columns: minmax(90px,1fr) minmax(200px,1fr);
  grid-gap: 25px;
}

#contact_container {
  text-align: right;
}

#hero {
  background: rgb(56,187,147);
  background: linear-gradient(90deg, rgba(56,187,147,1) 0%, rgba(15,123,192,1) 35%, rgba(98,48,146,1) 100%);
  height: 200px;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero h1 {
  color: #ffffff;
  margin: 0;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  grid-gap: 25px;
  margin-bottom: 10px;
}

.section-grid header {
  text-align: center;
}

section h2 {
  text-align: center;
  position: relative;
  display: inline-block;
}

section h2:after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  bottom: -5px;
  left: 15px;
  right: -15px;
  border-bottom: 3px solid;
}

section.sec1 h2:after {
  border-color: #38bb93;
}

section.sec2 h2:after {
  border-color: #0f7bc0;
}

section.sec3 h2:after {
  border-color: #623092;
}

#contact_container .button_container {
  display: table;
  height: 100%;
  width: 100%;
}

#contact_container .button_container div {
  display: table-cell;
  vertical-align: middle;
}

.button {
  display: inline-block;
  background-color: #0f7bc0;
  color: #fff;
  border-radius: 5px;
  padding: 10px;
  text-decoration: none;
  font-weight: bold;
}

form {
  padding: 10px;
}

form .error {
  background-color: #FF4505;
  color: #fff;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 400px;
}

form label, form input[type=submit] {
  display: block;
}

form input[type=text], form input[type=email], form textarea {
  width: 95%;
  max-width: 400px;
  margin-bottom: 10px;
}

form textarea {
  height: 200px;
}

@media only screen and (max-width: 1200px) {
  #header, .section-grid {
    margin-left: 10px;
    margin-right: 10px;
  }
}