* {
  margin: 0px;
  padding: 0px;
  border: 0px;
  outline: 0px;
  box-sizing: border-box;
}

body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #fff;
  min-width: 220px;
}

img {
  width: 100%;
  height: auto;
}

h1 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.3px;
  text-align: center;
  color: #fff;
}

h2 {
  font-size: 24px;
  text-align: center;
  line-height: 40px;
  text-transform: uppercase;
  font-weight: 400;
}

h3 {
  font-size: 24px;
  text-align: center;
  line-height: 40px;
  font-weight: normal;
  letter-spacing: 0.3px;
}

h4 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

p {
  font-size: 14px;
  line-height: 20px;
  font-family: 'OpenSans', sans-serif;
  font-weight: 300;
}

ul {
  list-style-type: none;
}

a {
  color: inherit;
  text-decoration: none;  
}

a:visited, a:active {
  color: inherit;
}

a.button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid white;
  color: #fff;
  border-radius: 50px;
  min-width: 160px;
  margin: 0 auto;
  margin-top: 30px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  padding: 12px 30px;
}

/* HEADER */

header {
  margin: 0 auto;
  background: url(./atg_assets/top_bg.jpg);
  width: 100%;
  background-position: top center;
  height: 64vh;
  max-height: 600px;
  min-height: 300px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow-x: hidden;
}

nav {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
  box-sizing: border-box;
  top: 0;
  z-index: 999;
  color: #fff;
  align-items: center;
}

.join {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  justify-content: center;
  text-align: center;
}

.gradient {
  z-index: 0;
  top: 0;
  position: absolute;
  width: 100%;
  height: 60vh;
  min-height: 480px;
  background: rgb(255,255,255);
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.65) 15%, rgba(255,255,255,0.25) 30%, rgba(255,255,255,0) 45%);
}

.clouds {
  width: auto;
  opacity: 0.6;
  height: 75vh;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.hide-in-desktop {
  display: none;
}

header nav img, header nav svg {
  width: 232px;
}

.nav-desktop {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 420px;
}

.nav-desktop ul {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
}

.nav-desktop ul li a {
  font-size: 14px;
  letter-spacing: -0.4px;
}

.nav-mobile {
  font-size: 30px;
  cursor: pointer;  
  display: none;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  line-height: 50px;
}

.sidenav li a {
  padding: 30px;
  font-size: 24px;
}

.sidenav .closebtn {
  position: absolute;
  top: 0px;
  font-size: 46px;
  width: 100%;
  text-align: right;
  padding: 10px 20px;
}

.header-title {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  padding: 0 60px;
}

.section-arrow {
  display: flex;
  justify-content: center;
  align-content: flex-end;
}

.section-arrow img {
  width: 100%;
  min-width: 2200px;
  height: auto;
}

/* Parallax Section */
.parallax {
  perspective: 1px;
  perspective-origin: center;
  height: 100vh;
  background-attachment: fixed;
  margin-top: 0;
  overflow-x: hidden;
}

.parallax .group {
  position: relative;
  transform-style: preserve-3d;
  z-index: 0;
}

.parallax .layer {
  position: absolute;
  width: 100%;
}

#gradient {
  transform: translateZ(0vh) scale(1) translateY(-300px);
  height: 300px;
}

#clouds {
  top: -20vh;
  left: 50%;
  transform: translate(-50%, -50%);
}

#cloud-01 {
  transform: translateZ(-1.25px) scale(.8) translateX(-85vw) translateY(-140vh);
}

#cloud-02 {
  transform: translateZ(-1.25px) scale(.8) translateX(85vw) translateY(-120vh);
}

/* MAIN CONTENT */

#main {
  z-index: 2;
  position: relative;
  background: #fff;
  margin-top:-5px;
}

/* OUR COMPANY */

#our-company {
  width: 100%;
  max-width: 980px;
  height: 305px;
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  z-index: 999;
  position: relative;
  color:#3A3A3A
}

#our-company div {
  display: flex;
  width: 50%;
  align-items: baseline;
  justify-content: flex-end;
  padding: 80px 20px;
}

#our-company .background-image-needle {
  background: url('./atg_assets/needle.jpg') no-repeat;
  background-position: bottom;
  background-position-x: right;
}

#our-company h2 span {
  color:#3399CD;
}

#our-company p {
  line-height: 26px;
}

/* COMPANY STATISTICS */

#company-stats {
  display: flex;
  flex-direction: row;
  margin-bottom: -2px;
  text-transform: uppercase;
}

#company-stats p {
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.35px;
}

#company-stats > div {
  display: flex;
  min-height: 200px;
  width: 25%;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 20px 16px 20px;
  color: white;
}

.company-stats-bottom {
  position: relative;
}

.company-stats-bottom .number {
  padding-left: 20px;
  font-size: 16px;
  font-weight: 400;
}

.stats-arrow {
  width: 0;
  height: 0;
  position: absolute;
  top: 3px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid rgb(0, 155, 210);
}

.stats-one {
  background-color: #000;
}

.stats-two {
  background-color: #3A3A3A;
}

.stats-three {
  background-color: #626262;
}

.stats-four {
  background-color: #838383;
}

.stats-five {
  background-color: #A8A8A8;
}

.company-stats-number {
  white-space: nowrap;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 44px;
  letter-spacing: -2px;
}

/* TECHNOLOGY */

#technology {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  background: url(./atg_assets/trees_bg.jpg) no-repeat;
  background-position: bottom center;
  height: 350px;
  margin-bottom: -45px;
  width: 100%;
  background-size: cover;
  padding: 0 24px;
  /*clip-path: polygon(100% 0, 100% 88%, 53% 88%, 50% 100%, 47% 88%, 0 88%, 0 0);*/
  margin-top: 2px;
  border-top: 1px solid #ffffff;
}

#technology h3 {
  margin-top: -80px;
  max-width: 800px;
  display: flex;
  align-items: center;
}

/* CULTURE */

#culture {
  background: url('./atg_assets/bottom_bg.jpg') no-repeat;
  background-position: bottom center;
  width: 100%;
  background-size: cover;
  min-height: 540px;
  position: relative;
}

#culture h2 {
  padding-top: 60px!important;
  padding: 30px;
}

.upsidedown-triangle {
  width: 0; 
  height: 0; 
  border-left: 55px solid transparent;
  border-right: 55px solid transparent;
  border-top: 35px solid #000;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}

.card-container {
  display: flex;
  max-width: 900px;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
}

.card {
  height: 310px;
  width: 280px;
  padding: 20px;
  box-sizing: border-box;
  font-weight: 100;
  color: #fff;
}

.card:nth-of-type(1) {
  background: #3a719e;
}

.card:nth-of-type(2) {
  background: #5c8cb9;
}

.card:nth-of-type(3) {
  background: #92b9dd;
}

.card-title {
  font-size: 48px;
  margin-bottom: 50px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

.card-subtitle {
  font-size: 24px;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

/* LEGAL INFORMATION */

#legal {
  color: #3A3A3A;
}

#legal header {
  max-height: 300px;
}

#legal #gradient {
  transform: translateZ(0vh) scale(1) translateY(-100px);
  height: 100px;
}

#legal #main {
  margin: 0 auto;
  text-align: left;
  background: #fff;
  width: 100%;
}

#legal #main .content {
  max-width: 1024px;
  margin: 0 auto;
}

#legal #main h3 {
  font-size: 18px;
  text-align: left;
  line-height: normal;
  font-weight: 700;
  margin: 16px 0 10px 0;
}

#legal #main h4 {
  font-size: 14px;
  margin: 10px 0 -5px 0;
  font-family: 'OpenSans', sans-serif;
  font-weight: 700;
}

#legal #main p {
  margin: 8px 0;
}

#legal #main li {
  list-style: disc;
  margin-left: 20px;
  font-size: 14px;
  line-height: 20px;
  font-family: 'OpenSans', sans-serif;
  font-weight: 300;
}

#legal .footer {
  background: #fff;
}

/* Style the tab */
.tab {
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  padding-top: 10px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  display: flex;
  width: -webkit-fill-available;
  justify-content: center;
  background: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #f3f3f3;
}

/* Create an active/current tablink class */
.tab button.active {
  border-bottom: 2px solid #3399cc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
}

.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* FOOTER */

.footer {
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  font-size: 12px;
}

.footer a {
  display: inline-block;
}

/*Show hide-in-desktop elements*/
@media only screen and (max-width: 1024px) {
  .hide-in-desktop {
    display: block;
  }
  .hide-in-mobile {
    display: none;
  }
  .nav-desktop {
    display: none;
  }
  .nav-mobile {
    display: block;
  }
}

@media only screen and (max-width: 1024px) {
  h3 {
    font-size: 18px;
    line-height: 30px;
    max-width: 600px;
  }
  #legal header {
    max-height: 90px;
    min-height: 90px;
  }
  #legal header .header-title, #legal .group {
    display: none;
  }
  #cloud-01 {
    transform: translateZ(-1.25px) scale(.8) translateX(-85vw) translateY(-130vh);
  }
  #company-stats {
    flex-direction: column;
  }
  #company-stats > div {
    min-height: 75px;
    width: 100%;
    padding: 20px;
    flex-direction: unset;
  }
  #company-stats p {
    font-size: 17px;
    line-height: 48px;
  }
  .company-stats-number {
    font-size: 36px;
  }
  .card-container {
    flex-direction: column;
      padding: 0 38px;
  }
  .card {
    height: auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 15px;
  }
  .card-title {
    font-size: 40px;
    margin-bottom: 20px;
  }
/*  #technology {
    clip-path: polygon(100% 0, 100% 88%, 56% 88%, 50% 100%, 44% 88%, 0 88%, 0 0);
  }*/
}

/* @media only screen and (max-width: 900px) {
  #cloud-01 {
    transform: translateZ(-1px) scale(1) translateX(-75vw) translateY(-130vw);
  }
} */

@media only screen and (max-width: 800px) {
  h1, h4 {
    font-size: 28px;
  }
  a.button {
    margin-top: 20px;
    padding: 8px 20px;
  }
  .header {
    height: 50vh;
  }
  #cloud-02 {
    transform: translateZ(-1px) scale(1) translateX(75vw) translateY(-80vh);
    opacity: 0.75;
  }
  #our-company {
    height: auto;
    flex-direction: column;
  }
  #our-company div {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 30px 24px;
  }
  #our-company div:nth-of-type(2) {
    background-color: #F3F3F3;
    border-top: 1px solid #DDDDDD;
  }
  #our-company .background-image-needle {
    background-position: bottom left;
    background-position-x: 24px;
    height: 280px;
    background-size: contain;
  }
  .join {
    min-height: 180px;
  }
}

@media only screen and (max-width: 720px) {
/*  #technology {
    clip-path: polygon(100% 0, 100% 88%, 58% 88%, 50% 100%, 42% 88%, 0 88%, 0 0);
  }*/
}

@media only screen and (max-width: 600px) {
  h2 {
    font-size: 18px;
  }
  #culture h2 {
      padding: 20px 0 10px 0;
  }
  h3 {
    font-size: 15px;
    line-height: 24px;
  }
  header {
    min-height: 345px;
  }
  #legal header {
    max-height: 70px;
    min-height: 70px;
  }
  header nav img, header nav svg {
    width: 180px;
  }
  nav {
    padding: 16px 20px;
  }
  #technology {
    min-height: 240px;
    /*clip-path: polygon(100% 0, 100% 88%, 60% 88%, 50% 100%, 40% 88%, 0 88%, 0 0);/*/
  }
  #our-company .background-image-needle {
    height: 160px;
  }
  .footer {
    padding: 20px;
  }
}

@media only screen and (max-width: 480px) {
  .company-stats-number {
    font-size: 26px;
    line-height: 44px;
  }
}

@media only screen and (max-width: 1200px) {
  .header-title {
    padding: 0 20px;
  }
}

