/* General */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #f6f9fc;
    font-family: 'Open Sans', sans-serif;
}

header {
    position: relative;
    height: 100vh;
    background-image: linear-gradient(135deg, #05386b, #5ab9ea);
    animation: fadeIn 4s;
}

svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10vw;
}

p {
    font-weight: 300;
}

a:hover {
    text-decoration: none;
}

.btn-primary {
    color: white;
}

/* Navbar */
.navbar-light {
    background-color: white;
    box-shadow: 0 2px 5px rgba(83,78,76,.5);
    -webkit-transition: background 0.7s ease-in-out;
    -moz-transition: background 0.7s ease-in-out;
    transition: background 0.7s ease-in-out;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
}

.navbar-logo {
    width: 150px;
}

.navbar-light .navbar-nav .nav-link {
    color: black;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-light .navbar-nav .active>.nav-link {
    font-weight: 700;
}

@media(max-width: 600px) {
    .navbar {
        padding-left: 25px;
        padding-right: 25px;
    }
}

/* Hero */
hr.hero {
    color: white;
    border-top: 1px solid rgba(255,255,255,.9);
}

.site-title {
    color: white;
    position: relative;
}

.welcome {
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: .2em;
}

.company-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
}

.description {
    font-size: 1.5em;
    font-weight: 300;
}

.svg-desk {
    margin-bottom: 5vh;
    margin-top: auto;
    width: 40%;
    z-index: 1;
}

/* About Us & Services */
#about, #services {
    font-size: 1.05rem;
}

#about {
    background-color: white;
    padding-top: 90px;
    padding-bottom: 110px;
}

#services {
    padding-top: 70px;
}

.ergo-heading {
    color: #24b47e;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.img-about {
    max-width: 100%;
}

.clip-path {
    -webkit-clip-path: polygon(0 0, 0 100%, 100% 88%, 100% 0);
    clip-path: polygon(0 0, 0 100%, 100% 88%, 100% 0);
}

.fa-lg {
    color: #05386b;
    font-size: 5rem;
    padding-bottom: 20px;
}

.card-1, 
.card-2 {
    border: 0;
    border-radius: 8px;
    -webkit-box-shadow: 0 13px 27px -5px rgba(50,50,93,.25), 0 8px 16px -8px rgba(0,0,0,.3), 0 -6px 16px -6px rgba(0,0,0,.025);
    box-shadow: 0 13px 27px -5px rgba(50,50,93,.25), 0 8px 16px -8px rgba(0,0,0,.3), 0 -6px 16px -6px rgba(0,0,0,.025);
    margin-bottom: -200px;
    padding: 30px;
}

.card-title {
    color: #5ab9ea;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.card-text {
    font-weight: 300;
    font-size: 1.1em;
}

.icon-list {
    list-style: none;
}

ul > li > .fas, 
ul > li > .far {
    width: 25px;
}

.spacer {
    height: 200px;
}

/* Contact */
#contact {
    background-color: #05386b;
    color: white;
}

.form-container {
    padding: 100px 0 100px;
    width: 50%;
}

.contact-heading {
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.form-label {
    font-size: 1.25rem;
}

.individual-form {
    opacity: 0;
}

.individual-form.transition {
    opacity: 1;
    transition: opacity 2s ease-in;
}

.business-form {
    opacity: 0;
}

.business-form.transition {
    opacity: 1;
    transition: opacity 2s ease-in;
}

.business-list {
    font-weight: 300;
}

/* Footer */
.apple-link a {
    color: white;
}

/* Mobile @media */
@media(max-width: 1250px) {
    .form-container {
        width: 60%;
    }
}

@media(max-width: 992px) {
    .svg-desk {
        margin: 0 auto;
        width: 50vw;
    }
    .site-title {
        font-size: 0.8rem;
        margin-top: auto;
    }
    .card-1 {
        margin-bottom: 50px;
    }
    .form-container {
        width: 70%;
    }
}

@media(max-width: 768px) {
    .svg-desk {
        width: 60vw;
    }
    .company-name {
        font-size: 2.5rem;
    }
    .clip-path {
        -webkit-clip-path: polygon(0 0, 0 100%, 100% 90%, 100% 0);
        clip-path: polygon(0 0, 0 100%, 100% 90%, 100% 0);
    }
    .form-container {
        width: 75%;
    }
    .list-left {
        padding-left: 0px;
    }
}

/* Animations */
@-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
} 
 
@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
} 

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
    -webkit-animation: fadeInUp 2s;
    animation: fadeInUp 2s;
}

/* Recaptcha */
.g-recaptcha {
    margin: 0 auto;
    width: 304px;
}