:root {
  --clr-text: #fff;
  --clr-accent-light: #173fce;
  --clr-accent-dark: #081e44;
  --clr-dark-grey: #141414;

  --ft-family: "Inter", sans-serif;
  --ft-size: 0.9em;
  --ft-weight-slim: 400;
  --ft-weight-bold: 700;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  color: #fff;
  background: var(--clr-accent-light);
}

::-moz-selection {
  color: #fff;
  background: var(--clr-accent-light);
}

::-webkit-scrollbar {
  background: #000;
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #fff;
}

body {
  font-family: var(--ft-family);
  font-size: var(--ft-size);
  color: var(--clr-text);
}

body:not(.impressum) {
  background-color: var(--clr-accent-light);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
  font-weight: 700;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: #fff;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1em;
}

.h1 span,
.h2 span,
.h3 span,
.h4 span,
.h5 span,
.h6 span {
  font-weight: 400;
}

.subpage,
.subpage h1,
.subpage h2,
.subpage h3,
.subpage h4 {
  color: var(--clr-dark-grey);
}

.subpage h2 {
  margin-bottom: 1em;
  margin-top: 2em;
}

.subpage h3 {
  font-size: 1.3em;
  margin-top: 2em;
}

.subpage h4 {
  font-size: 1.2em;
  margin-top: 1.5em;
}

.headline {
  margin-bottom: 1.5em;
}

.headline h2,
.headline .h2 {
  font-size: 20px;
  margin-bottom: 0.3em;
}

.container {
  max-width: 1120px;
}

/** || UTILITIES **/

.text-uppercase {
  text-transform: uppercase;
  font-size: 0.7em;
  letter-spacing: 1px;
}

.p-8 {
  padding: 5% 8%;
}

@media only screen and (max-width: 991px) {
  .p-8 {
    padding: 12% 8% !important;
  }
}

@media only screen and (max-width: 1100px) {
  main.container {
    padding: 0 2rem;
  }
}

/** || HEADER **/

header#header-full {
  height: 800px;
  padding: 1.5em 0;
}

header#header-full.jumbotron {
  background-image: url(../assets/schulte-hero.jpg);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

header#header-full h1 {
  font-size: 3.5em;
  margin: 0;
}

header#header-full h2 {
  font-size: 2.3em;
  font-weight: 400;
  margin: 0;
}

.navbar-brand img {
  max-width: 200px;
}

.navbar-nav {
  margin-left: auto;
}

.navbar-nav a {
  font-size: 1.5em;
  margin-left: 1.5em;
}

.navbar-nav a:hover {
  color: #fff;
  font-weight: 700;
}

.navbar-toggler-icon svg {
  fill: #fff;
}

#header-full.jumbotron {
  position: relative;
}

#header-full.jumbotron::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
}

#header-full.jumbotron > .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: visible;
  z-index: 99;
}

.social-icons .icon {
  background: #fff;
  fill: var(--clr-accent-light);
  border-radius: 50%;
  display: inline-block;
  margin-left: 0.5em;
  transition: 250ms ease;
}

.social-icons .icon:hover {
  background: var(--clr-accent-dark);
  fill: #fff;
}

.social-icons svg {
  width: 25px;
  height: 25px;
  padding: 5px;
}

header#header-half {
  background-color: var(--clr-accent-dark);
}

@media only screen and (max-width: 991px) {
  .navbar-nav .nav-link {
    background: var(--clr-accent-light);
    padding: 0.5em;
    border-bottom: 1px solid #fff;
    margin-left: 0;
  }
  .navbar-nav .nav-link:last-of-type {
    border-bottom: 0 none;
  }
}

/** || INTRO **/

@media only screen and (min-width: 991px) {
  #intro .p-8 {
    padding: 5% 8% 5% 0;
  }
}

#intro .quote {
  font-size: 1.3em;
  font-weight: 700;
  font-style: italic;
}

/** || SERVICES **/

#services {
  background-color: var(--clr-dark-grey);
}

#services .background {
  position: relative;
}

#services .background_1 {
  background-image: url(../assets/services-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}

/** || FORM **/

input.form-control,
.form-check-input,
textarea.form-control {
  border: 0 none;
  background: #fff;
  border-radius: 0 !important;
  color: var(--clr-accent-light);
}

textarea {
  height: 150px;
}

button.btn {
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  background-color: var(--clr-accent-light);
  border-radius: 0;
  padding-top: 8px;
  transition: 350ms ease;
}

button.btn:hover {
  color: var(--clr-accent-light);
  background-color: #fff;
}

/*|| PROJECTS **/

#projects {
  background-color: #fff;
}

#projects .h2 {
  color: var(--clr-dark-grey);
}

#projects h2 {
  color: var(--clr-accent-light);
}

.projects-container {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.projects-container div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.projects-container img {
  width: 100%;
  max-width: 300px;
  margin: auto;
  opacity: 0.6;
  transition: 300ms ease-in-out;
}

.projects-container img:hover {
  opacity: 1;
}

/** || CONTACT **/

#contact {
  background-color: var(--clr-accent-dark);
}

#contact .background {
  position: relative;
}

#contact .background_1 {
  background-image: url(../assets/contact-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}

/** || FOOTER **/

footer {
  background-color: var(--clr-accent-light);
}

footer img {
  width: 100%;
  max-width: 350px;
}

footer .social-icons .icon {
  margin-left: 0;
  margin-right: 0.5em;
}

.contact-info > div {
  margin: 0.7em 0;
}

.contact-info svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  margin-right: 0.5em;
}

.scrollToTopBtn {
  font-size: 1.5em;
  color: var(--clr-accent-light);
  background: #fff;
  border: 0 none;
  border-radius: 50%;
  position: fixed;
  width: 45px;
  height: 45px;
  bottom: 45px;
  right: 45px;
  z-index: 100;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.5s ease;
}

.showBtn {
  opacity: 1;
  transform: translateY(0);
}

.dark.cc_dialog button.cc_b_ok,
.dark.cookie-consent-preferences-overlay
  .cookie-consent-preferences-dialog
  .cc_cp_container
  .cc_cp_footer
  .cc_cp_f_save
  button {
  background-color: var(--clr-accent-light) !important;
}

@media only screen and (max-width: 991px) {
  header#header-full {
    height: 500px;
    padding: 5% 5%;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
  }
}

@media only screen and (max-width: 768px) {
  header#header-full h1 {
    font-size: 2.5em;
  }

  header#header-full h2 {
    font-size: 1.7em;
  }

  .display-none-tablet {
    display: none;
  }
}

@media only screen and (max-width: 450px) {
  .navbar-brand img {
    max-width: 100px;
  }

  header#header-full h1 {
    font-size: 2em;
  }

  header#header-full h2 {
    font-size: 1.5em;
  }

  footer .footer-bottom {
    text-align: center;
  }

  .display-none-mobile {
    display: none;
  }
}
