/*____________________________________________

Fonts
____________________________________________*/
* {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
}

h6 {
  font-weight: 700;
}

a {
  text-decoration:none;
  font-weight: bold;
}

.navbar-list a {
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

button {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  letter-spacing: 1px;
}

label {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}

input, select {
  font-weight: 500;
}

#footer h6 {
  font-size: 0.65rem;
}

#footer p, #footer a {
  font-size: 14px;
}

/*____________________________________________

Colors
____________________________________________*/
button {
  border-color: black;
  background-color: #fff;
}

button.cta-btn-light {
  background-color: black;
  color: #fff;
}

.text-light a {
  color: #fff;
}

/*
____ Navigation ____
*/

.main-nav {
  background-color: #fff;
}

.navbar-list.mobile {
  background-color: rgba(0, 0, 0, 0.8);
}

.navbar-list a {
  color: #fff;
}

@media only screen and (min-width: 768px) {
  .navbar-list a {
    color: #424245;
  }
}


/*____________________________________________

Layout
____________________________________________*/
* {
  box-sizing: border-box;
}

body {
  margin: 50px 0 0;
}

.row {
  scroll-margin-top: 65px;
}

.section-overview {
  text-align: center;
}

#above-the-fold, #about-ic, #about {
  min-height: 90vh;
}

#contact .col {
  max-width: 1000px
}

@media only screen and (max-width: 768px) {

  .dynamic-spacer {
    display: none;
  }

  .section-overview {
    padding-bottom: 0 !important;
  }

  #contact .col-lg-8 {
    padding-left: 2% !important;
    padding-right: 2% !important;
  }

}

/*____________________________________________

Elements
____________________________________________*/

/*
____ Buttons ____
*/
button {
  border-width: 2px;
  border-radius: 20px;
  padding: 7px 15px 10px;
  margin-right: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

button:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.atf-button {
  width: 170px;
}

/*
____ Images & Icons ____
*/
.allusion-map-col {
  position: relative;
  min-height: 50vh;
}

.allusion-map {
  width: 110%;
  display: block;
  position: absolute;
  right: 0;
  z-index: -9999;
}

.dfinity-logo {
  max-width: 50%;
}

.bi-server {
  font-size: 5rem;
}

/*
____ Backgrounds ____
*/

#about-ic {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* "Apply Now" Section Animations */
@-webkit-keyframes bg-scrolling-reverse {
  100% { background-position: 50px 50px; }
}
@-moz-keyframes    bg-scrolling-reverse {
  100% { background-position: 50px 50px; }
}
@-o-keyframes      bg-scrolling-reverse {
  100% { background-position: 50px 50px; }
}
@keyframes         bg-scrolling-reverse {
  100% { background-position: 50px 50px; }
}

@-webkit-keyframes bg-scrolling {
  0% { background-position: 50px 50px; }
}
@-moz-keyframes    bg-scrolling {
  0% { background-position: 50px 50px; }
}
@-o-keyframes      bg-scrolling {
  0% { background-position: 50px 50px; }
}
@keyframes         bg-scrolling {
  0% { background-position: 50px 50px; }
}

/* Background data (Original source: https://subtlepatterns.com/grid-me/) */
#apply-now {
  -webkit-animation: bg-scrolling-reverse 5s infinite; /* Safari 4+ */
  -moz-animation:    bg-scrolling-reverse 5s infinite; /* Fx 5+ */
  -o-animation:      bg-scrolling-reverse 5s infinite; /* Opera 12+ */
  animation:         bg-scrolling-reverse 5s infinite; /* IE 10+ */
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function:    linear;
  -o-animation-timing-function:      linear;
  animation-timing-function:         linear;
}

#about {
  background-attachment: fixed;
}

#contact, #contact .inverted-bg {
  position: relative;
  overflow: hidden;
}

#contact:after {
  content: "";
  background-image: linear-gradient(
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.6) 35%,
    rgba(0, 0, 0, 0.7) 50%
  ), url("/endless_constellation.svg");
  background-attachment: local, fixed;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
}

#contact .inverted-bg {
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 20% 10%;
  border-radius: 2em;
  box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

#contact .inverted-bg div {
  z-index: 1;
  position: relative;
}

#contact .inverted-bg:after {
  content: "";
  background-image: linear-gradient(
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 15%,
    rgba(0, 0, 0, 1) 40%
  ), url("/endless_constellation.svg");
  background-attachment: local, fixed;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  filter: invert(100%);
  -webkit-filter: invert(100%);
}

/*____________________________________________

Contact Form
____________________________________________*/
textarea {
  width: 100%; height: 140px;
}

.form-control, .form-select {
  border-width: 2px;
  border-radius: 1.5rem;
}

#contact .mb-3:nth-child(-n+4) {
  width: 47%;
  display: inline-block;   
}

#contact .mb-3:nth-child(-2n+3) {
  margin-right: 4%;
}

@media only screen and (max-width: 652px) {

  #contact .mb-3:nth-child(-n+4) {
    width: 100%;  
  }
}

/*____________________________________________

Footer
____________________________________________*/

#footer img {
  max-width: 100%;
}

#footer .partner-logo img {
  margin-left: 5%;
  max-height: 55px;
}

#footer h6 {
  margin-left: 5%;
  white-space: nowrap;
}