* {
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	border: 0;
}

html {
	font-size: 1vw;
}

body{
	background-color: #05053b;
	overflow: hidden;
}

#navbar{
	height: 10vh;
	width: 100vw;
	overflow: hidden;
	display: flex;
    flex-grow: 1;
	justify-content: center;
	align-items: center;
	background-color: #05053b;
	top: 0;
	position: fixed;
	padding: 10vh 0;
    transition: 0.4s;
	z-index: 99;
	font-size: 2vw;
	border-bottom: 3px solid rgb(251, 225, 102);
}

#logoContainer{
	height: 30vh;
	width: 20vw;
	flex-grow: 1;
	transition: 0.4s;
	position: absolute;
	overflow: hidden;
	z-index: 100;
}

#headerLogo{
	height: 100%;
	width: 100%;
	object-fit: contain;
}

#navButtonsContainer{
	width: 100%;
	height: 60%;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
}

.navButtonsSideContainer{
	display: inline-flex;
	justify-content: space-between;
	width: 35vw;
	transition: 0.4s;
}

#navButtonsLeft{
	margin-left: 3vw;
}

#navButtonsRight{
	margin-right: 3vw;
}

.navbarList{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style-type: none;
}

.navbarListItem{
}

.navbarButton{
	text-decoration: none;
	color: white;
	font-weight: bold;
}

.navbarButton:hover{
	text-decoration: underline;
	color: lightgrey;
	font-weight: bold;
}

/*
====================
 Parallax variables 
====================
*/

.parallax {
    -webkit-perspective: 1px;
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.parallax__group{
	position: relative;
	width: 100vw;
	height: 100vh;
	transform-style: preserve-3d;
}

.parallax__layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.parallax__layer--base {
    transform: translateZ(-4px) scale(5);
    z-index: 3;
}
.parallax__layer--back {
    transform: translateZ(-10px) scale(11);
    z-index: 2;
}

.parallax__layer--deep {
    transform: translateZ(-6px) scale(7);
    z-index: 1;
}



/*
===================
 Specific sections
===================
*/

#group1{
    z-index: 2;
}

#group2{
    z-index: 5;
}

#group3{
    z-index: 3;
}

#group4{
    z-index: 5;
}

.parallaxContent{
    width: 100%;
    display: block;
    object-fit: cover;
    position: relative;
}

#homeBackgroundImg1{
    height: 110vh;
}

#homeBackgroundImg2{
    top: 90vh;
    height: 500px;
}

#homeBackgroundImg3{
    top: 150vh;
    height: 500px;
}

.infoBox{
	background-color: white;
	color: #2D2D33;
	overflow: hidden;
	text-align: center;
	padding: 23px 10px 0 10px;
	width: 75vw;
	margin: 0 auto;
	border-radius: 13px;
	height: auto;
}

.infoBoxTitle{
	font-size: 60px;
}

.infoBoxText{
	font-size: 22px;
	margin: 30px 0;
	font-family: arial;
	text-align: justify;
	padding: 0 35px;
}

#infoBox1{
    top: 103vh;
}

#establishedText{
    font-size: 20px;
    margin-top: 5px;
	font-family: "Times New Roman";
}

#infoBox2{
    top: 162vh;
}

/*
==================
 Scroll indicator
==================
*/

.scrollIconContainer {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 24px;
  height: 24px;
  z-index: 100;
}

.scrollIconContainer:hover {
    cursor: pointer;
}

.chevron {
  position: absolute;
  width: 28px;
  height: 8px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.chevron:first-child {
  animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #fff;
}

.chevron:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

@keyframes pulse {
  to {
    opacity: 1;
  }
}

/*
==================
  MOBILE VERSION
==================
*/

@media all and (max-width: 500px) {
    body{
        height: 100%;
        width: 100vw;
    }
    
    #navbar{
        height: 150px;
    	width: 100%;
    	padding: 0;
    }
    
    #logoContainer{
    	height: 140px;
    	width: 140px;
    	overflow: visible;
    }
    
    #navButtonsContainer{
    	height: 80%;
    }
    
    .navButtonsSideContainer{
    	width: 100px;
    	height: 100%;
    }
    
    #navButtonsLeft{
        text-align: left;
        margin-left: 2vw;
    }
    
    #navButtonsRight{
        text-align: right;
        margin-right: 2vw;
    }
    
    .navbarList{
        display: block;
    }
    
    .navbarButton{
    	font-size: 17px;
    	display: block;
    	height: 10px;
    	width: 100%;
    	margin: 12px 0 30px 0;
    }
    
    .infoBoxTitle{
    	font-size: 30px;
    }
    
    .infoBoxText{
    	font-size: 16px;
    	margin-top: 15px;
    	padding: 0 17px;
    }
    
    #establishedText{
        font-size: 13px;
    }
    
    .parallax {
    -webkit-perspective: 1px;
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    }
    
    .parallax__group{
    	position: relative;
    	width: 100vw;
    	height: 100vh;
    	transform-style: preserve-3d;
    }
    
    .parallax__layer {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
    .parallax__layer--base {
        transform: translateZ(0px) scale(1);
        z-index: 3;
    }
    .parallax__layer--back {
        transform: translateZ(-2.5px) scale(3.5);
        z-index: 2;
    }
    
    .parallax__layer--deep {
        transform: translateZ(-1.5px) scale(2.5);
        z-index: 1;
    }
    
}









