@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400&display=swap');

/* ---- Outer Containers Styling Begin --- */
html {
    max-height: 100%;
    
}
body {
	margin: 0px;
	display: flex;
	flex-flow: column;
	justify-content: center;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    color: white;
    font-family: 'avenir', sans-serif;
    text-decoration: none;
}
/* removes link underlines */
a {
    text-decoration: none;
}
/* ---- Outer Containers Styling End --- */

/* ---- Top Bar Styling Begin --- */
#top-bar {
    position: fixed;
    top: 0;
    left: 0px;
    z-index: 1;
    width: 100%;
    height: 5vw;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
    background-color: black;
    font-family: 'Nunito Sans', sans-serif;
    color: white;
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 1vw;
    animation-name: background-fade;
	animation-duration: 6s;
	animation-fill-mode:forwards;
    animation-iteration-count: infinite;
    opacity: 0;
}
#menu {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    margin-right: 2vw;
}
#home-menu-item {
    opacity: 0.5;
}
.menu-divider {
    margin-left: 1vw;
    margin-right: 1vw;
    width: 1px;
    height: 1.25vw;
    background-color: white;
}
#logo {
    height: 2vw;
    margin-left: 2vw;
}
/* ---- Top Bar Styling End --- */

/* ---- Content Styling Begin --- */
#content {
    background-color: black;
    background-image: url("../images/last-mile-hero-image.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
    background-size: cover;
	width: 100%;
    height: 100vh;
    position: absolute;
    top: 0px;
    left: 0px;
    animation-name: background-fade;
	animation-duration: 6s;
	animation-fill-mode:forwards;
    animation-iteration-count: infinite;
    opacity: 0;
}
@keyframes background-fade {
	0% {opacity: 0;}
    10% {opacity: 1;}
    75% {opacity: 1;}
    80% {opacity: 0;}
    100% {opacity: 0;}
}

#intro-page {
    background-color: white;
    background-image: url("../images/intro_page.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
    opacity: 1;
    animation-name: intro-animation;
	animation-duration: 6s;
	animation-fill-mode:forwards;
    animation-iteration-count: infinite;
}
@keyframes intro-animation {
	0% {opacity: 1;}
    30% {opacity: 1;}
    50% {opacity: 0;}
	99% {opacity: 0;}
    100% {opacity: 1;}
}
/* ---- Content Styling End --- */


/* ---- Loading Page Styling Begin --- */
#loading-page {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    animation-name: loading-animation;
	animation-duration: 6s;
	animation-fill-mode:forwards;
    animation-iteration-count: infinite;
    opacity: 0;
}
@keyframes loading-animation {
	0% {opacity: 0;}
    70% {opacity: 0;}
    75% {opacity: 1;}
    99% {opacity: 1;}
	100% {opacity: 0;}
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ---- Loading Page Styling End --- */
