/*
  Table of Content:
    1. Colors
    2. Elements
    3. Classes
    4. Responsive
*/  

/*
    COLORS
*/

:root {
  --accent-blue: #00A1FF;
  --link-highlight: #222222;
  --accent-background: #F8F8F8;
}

/* 
    ELEMENTS
*/

html {
  scroll-behavior: smooth;
}

body {
  margin: 0px;
  font-size: 17px;
  line-height: 1.49;
  font-weight: 300;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

header {
  top: 0px;
  width: 100%;
  background-color: white;
  height: 44px;
  z-index: 100;
  position: fixed;
  border-bottom: solid 0.5px lightgray;
}

section {
  padding-left: 40px;
  padding-right: 40px;
  margin-bottom: 80px;
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

h1, h2, h3, h4, h5, p {
    text-align: center;
}

h1 {
  font-size: 56px;
  font-weight: 700;
  margin-top: 0px;
  margin-bottom: 0px;
}

h2 {
  font-size: 40px;
  font-weight: 500;
}

h3 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 0px;
}

h4 {
  font-size: 28px;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 0px;
}

h5 {
  font-size: 21px;
  font-weight: 400;
  margin-top: 0px;
  margin-bottom: 0px;
}

textarea {
  height: 200px;
}

form {
  margin-top: 40px;
}

a {
  display: inline-block;
  margin-right: 10px;
  line-height: 44px;
  text-align: center;
  vertical-align: middle;
  color: #666666;
  font-weight: 500;
  text-decoration: none;
  font-size: 17;
}

a img {
  height: 34px;
  margin-right: 10px;
  vertical-align: middle;
}

footer {
  background-color: var(--accent-background);
  padding: 20px;
}

footer p {
  font-size: 12px;
}

footer a {
  font-size: 12px;
    display: block;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: none;
    text-decoration: none;
}

label {
  width: 100px;
  margin-top: 3px;
  font-weight: 300;
}

a:hover, a:active {
  color: var(--link-highlight);
}

input:hover, input:active {
  color: var(--link-highlight);
}



/* Classes */

.navlink {
  text-transform: uppercase;
  font-weight: 800;
}

.quicklink {
  background-color: var(--accent-blue);
  color: white;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 10px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  font-weight: 400;
  text-decoration: none;
  font-size: 13;
  border-radius: 12px;
}

.icon-small {
  max-height: 32px;
  width: auto;
  height: auto;
}

.icon-medium {
  max-width: 70px;
  max-height: 70px;
  margin-bottom: 20px;
}

.navbar-content {
  max-width: 900px;
  display: block;
  padding-left: 10px;
  padding-right: 10px;
}

.portrait {
  margin: 40px;
  height: 400px;
  max-width: 400px;
  border-radius: 200px;
}

.menu {
  float: right;
  height: 100%;
}

.text-highlight {
  color: var(--accent-blue);
}

.introduction {
  padding-top: 80px;
}

.contact-alert {
  padding-top: 40px;
}

.inputfield {
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 10px;
  background-color: var(--accent-background);
  width: 100%;
  min-height: 32px;
  border-radius: 10px;
  border: solid #eee 1px;
}

#services div {
  margin-bottom: 80px;
}

.seperator-horizontal {
  max-width: 300px;
  height: 4px;
  background-color: black;
}

.link {
  color: var(--accent-blue);
  background: transparent;
  font-size: 20px;

  display: block;
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;

  text-align: center;
  border: none;
  text-decoration: none;
  cursor: pointer;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.grid {
  margin: 0px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
}
 
.grid div {
  border-radius: 8px;
  padding: 40px;
  background-color: var(--accent-background);
}



/* Responsiveness */

/* Large */
@media (min-width: 800) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body {
    font-size: 17px;
  }

  h1 {
    font-size: 56px;
  }
  
  h2 {
    font-size: 40px;
  }
  
  h3 {
    font-size: 32px;
  }
  
  h4 {
    font-size: 28px;
  }
  
  h5 {
    font-size: 21px;
  }
}

/* Portable */
@media (max-width: 799px) {
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Portable */
@media (max-width: 600px) {

  body {
    font-size: 27px;
  }

  h1 {
    font-size: 66px;
  }
  
  h2 {
    font-size: 50px;
  }
  
  h3 {
    font-size: 42px;
  }
  
  h4 {
    font-size: 38px;
  }
  
  h5 {
    font-size: 31px;
  }
}