:root {
  /* Colors */
  --primary: #1aa01a;

  /* Effects */
  --text-shadow-highlight: 0px 0px 5px rgba(36, 180, 36, 0.4);
  --box-shadow-highlight: 0px 0px 10px rgba(36, 180, 36, 0.7);
}

main .video-overlay {
  width: 100%;
  max-width: none;
  position: absolute;
  top: 80px;
  z-index: 1;
  top: 100px;
}

main .video-overlay .title {
  font-size: 40px;
  font-weight: bold;
  color: var(--primary-text);
  text-shadow: 1px 1px 3px #000000a0;
}

#video-logo {
  transition: height 0.2s ease;
}

#video-content {
  display: none;
}

main {
  padding-top: 80px;
}

header {
  height: 80px;
}

header .header-menu {
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
}

header span.menu-logo {
  margin-right: 24px;
  margin-top: 6px;
  transition: margin 0.2s ease;
}

header img.menu-logo {
  width: auto;
  height: 60px;
  transition: width 0.2s ease, height 0.2s ease;
}

header img.social-icon {
  width: 32px;
  height: 32px;
  margin-left: 8px;
}

header a.active {
  font-weight: bold;
  color: #fff;
}

header a:hover,
main a:hover,
footer a:hover,
input[type="submit"]:hover {
  filter: brightness(1.1);
}

footer img.social-icon {
  width: 32px;
  height: 32px;
  margin-left: 8px;
}

header.unpin {
  background-color: var(--primary);
  height: 56px;
}

header.unpin section {
  padding: 4px 16px 0 16px;
}

header.unpin span.menu-logo {
  margin-top: 56px;
}

header.unpin img.menu-logo {
  width: auto;
  height: 80px;
}

.flex-service-container {
  /* box-shadow: 0px 0px 2px blue; */
  display: flex;
  padding: 0 16px 0 16px;
  flex-flow: row wrap;
  justify-content: center;
}

.flex-service-box {
  /* box-shadow: 0px 0px 2px green; */
  width: 50%;
  max-width: 100%;
}

.flex-service {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  margin: var(--font-md);
  box-shadow: 0px 0px 1px 4px var(--primary);
  /* border-radius: 4px; */
}

.flex-service:hover, .hover-bright:hover {
  filter: brightness(125%);
}

.flex-service img {
  max-width: 100%;
  /* border-radius: 4px; */
}

.flex-service p {
  /* box-shadow: 0px 0px 2px blue; */
  position: absolute;
  width: 95%;
  text-align: center;
  font-size: 40px;
  color: #e0e0e0;
  text-shadow:  0 0 5px #000;
}


@media screen and (max-width: 600px) {
  main p,
  main h1,
  main h2 {
    margin-left: 16px;
    margin-right: 16px;
  }

  header.unpin img.menu-logo {
    width: 40px;
    height: 40px;
  }

  .flex-service-box {
    width: 100%;
  }

  .flex-service p {
    font-size: 32px;
  }  
  
}

@media screen and (min-width: 601px) {
  #video-content {
    display: block;
  }
  #header-image-container {
    display: none;
  }
}
