/*-------------
 	General
-------------*/

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

html{
	font: normal 20px sans-serif;;
    font-family: 'Roboto', sans-serif;
	color: #fff;
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}



ul, nav{
	list-style: none;
}

a{
	text-decoration: none;
	color: #fff;
	cursor: pointer;
	opacity: 1;
}

a:hover{
	opacity: 0.8;
}

a.btn{
	color: #fff;
	background-color: #002536;
	font-weight: 800;
	text-align: center;
	line-height: 2;
}


.responsive{
	display: none;
}


#burger
{
  display: block;
  position: absolute;
  top: 50px;
  right: 50px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#burger input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  -webkit-touch-callout: none;
}


#burger span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #fff;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#burger span:first-child
{
  transform-origin: 0% 0%;
}

#burger span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}


#burger input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #fff;
}

#burger input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#burger input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

#burgernav
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -180px;
  box-shadow: 0px 0px 10px #002536;
  padding: 50px;
  padding-top: 125px;
  display: none;
  
  background: #002536;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
}

#burgernav li
{
  padding: 10px 0;
  font-size: 22px;
}


#burger input:checked ~ ul
{
  transform: none;
  display: block;
}

/* end burger */

hr{
	width: 150px;
	height: 2px;
	background-color: #2196F3;
	border: 0;
	margin-bottom: 80px;
}

section{
	display: flex;
	flex-direction: column;
	align-items: center;

	padding: 80px 80px;
}

.responsive{
	display: block;
}

.desktop{
	display: none;
}

@media (max-width: 1000px){

	section{
		padding: 50px 50px;
	}

}

@media (max-width: 800px){
	.responsive{
	display: block;
}

.desktop{
	display: none;
}
}

@media (max-width: 600px){

	section{
		padding: 0px 0px;
	}

}

section h3.title{
	color: #fff;
	font: bold 32px 'Open Sans', sans-serif;
	margin-bottom: 35px;
	text-align: center;
}

section p{
	text-align: center;
	margin-bottom: 35px;
	padding: 0 0px;
	line-height: 1;
}

ul.grid{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}


/*-------------
 	Header
-------------*/

header{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #fff;
	padding: 35px 80px 0;
}

header h2{
	   font-family: 'Roboto', sans-serif;
}

header nav{
	display: flex;
}

header nav li{
	margin: 0 15px;
}

header nav li:first-child{
	margin-left: 0;	
}

header nav li:last-child{
	margin-right: 0;	
}



@media (max-width: 1000px){
	header{
		padding: 20px 40px;
	}
}


@media (max-width: 700px){
	header{
		flex-direction: column;		
	}

	header h2{
		margin-bottom: 15px;
	}
}



/*----------------
 	Hero Section

<span>Photo by <a href="https://unsplash.com/@visuallert?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jonas Allert</a> on <a href="https://unsplash.com/s/photos/half-underwater?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span>

----------------*/

.hero{
	position: relative;
	justify-content: center;
	min-height: 100vh;
    background: url("../../assets/img/underwater8.jpg");
    background-repeat: no-repeat;
    background-size: cover;
	color: #002536;
	text-align: center;
	margin: auto;
	background-color: #002536;
    padding: 10px;
}




.headtext1{
    animation-name: head1;
    animation-duration: 18s;
    animation-iteration-count: infinite;
    height: 0;
}

.headtext2{
    animation-name: head2;
    animation-duration: 18s;
    animation-iteration-count: infinite;
    height: 0;
}

.headtext3{
    animation-name: head3;
    animation-duration: 18s;
    animation-iteration-count: infinite;
    height: 0;
}

@keyframes head1 {
    0% {opacity:0;}
    2% {opacity:1;}
    30% {opacity:1;}
    32% {opacity:0;}
    64% {opacity:0;}
    66% {opacity:0;}
    99% {opacity:0;}
    100% {opacity:0;}
}

@keyframes head2 {
    0% {opacity:0;}
    2% {opacity:0;}
    30% {opacity:0;}
    32% {opacity:1;}
    64% {opacity:1;}
    66% {opacity:0;}
    99% {opacity:0;}
    100% {opacity:0;}
}

@keyframes head3 {
    0% {opacity:0;}
    2% {opacity:0;}
    30% {opacity:0;}
    32% {opacity:0;}
    64% {opacity:0;}
    66% {opacity:1;}
    99% {opacity:1;}
    100% {opacity:0;}
}

.herotext{
    width: 90%;
}


.hero h1{
	font-size: 100px;
	color: #fff;
    display: block;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.hero h2{
	font-size: 50px;
	color: #fff;
    margin-top: 100px;
    display: block;
    position: relative;
}

#h2alt {
    font-weight: 300;
    
}

.hero h3{
	font-size: 30px;
	font-weight: 400;
	color: #fff;
    position: absolute;
    bottom: 10px;

}


@media (max-width: 800px){


	.hero h1{
		font-size: 70px;
	}
    
    .hero h2{
		font-size: 32px;
	}


	.hero h3{
		font-size: 20px;
	}

}

@media (max-width: 600px){


	.hero h1{
		font-size: 50px;
	}

	.hero h2{
		font-size: 24px;
	}    
    
	.hero h3{
		font-size: 14px;
	}

}


/*----------------------
 	Features Section
----------------------*/


.features{
	margin: auto;
	background-color: #00080b;

}

.features .grid li{
	padding: 40px 40px;
	flex-basis: 100%;
	margin-bottom: 0px;
	background-color: #fff;
	box-shadow: 0px 0px 5px #a0a0a0;
}

.features a:hover{
	opacity: 1;
	box-shadow: 1px 1px 5px #002536;
}

.features a{
    padding: 10px 20px;

}

.features .grid li i{
    font-size: 52px;
    color: #002536;
    margin-bottom: 25px;

}

.features .grid li h2{
    font-size: 42px;
    font-weight: 900;
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1;
}

.features .grid li p{
	font-size: 22px;
	text-align: left;
}

#answers {
	position: relative;
	color: #002536;
	z-index: 9;
}

#references{
	position: relative;
	background-color: #fff;
	color: #002536;
	z-index: 10;
	margin-bottom: 40px;
	margin-top: 40px;
}

#about {
	position: relative;
	color: #002536;
	margin-bottom: 0px;
	z-index: 11;

}


.logo {

	position: absolute;
	top: 40px;
	left: 40px;
	width: 5%;

}

@media (max-width: 1000px){

.features .grid li{
		flex-basis: 100%;
		margin-bottom: 65px;
	}

.features .grid li:last-child{
		margin-bottom: 0;
	}

}




@media (max-width: 600px){

	.features .grid li{
		flex-basis: 100%;
		box-shadow: 0px 0px #002536;
	}

	#answers {
		margin-bottom: 1px;
		left: 0%;
		width: 100%;
	}

	#references{
		margin-bottom: 1px;
		margin-top: 0px;
		right: 0%;
		width: 100%;
	}

	#about {
		margin-bottom: 100px;
		left: 0%;
		width: 100%;

	}

.logo {

	position: absolute;
	top: 40px;
	left: 40px;
	width: 10%;

}

}





/*--------------------
 	Reviews Section
--------------------*/

.reviews{
    background-color: #fff;
	background-repeat: no-repeat;
  	background-size: cover;
}

.reviews hr{
    width: 60%;
    text-align: center;
    height: 1px;
    background-color: #002536;
}

.hidehr{display: none;}

#reviews-right{
    display: inline-block;
    float: right;
    width: 49%;
    padding: 20px;
}

#reviews-left{
    display: inline-block;
    float: left;
    width: 49%;
    padding: 20px; 
}

.reviews .quote{
	text-align: center;
	width: 100%;
	font-style: italic;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0;
}

.reviews .author{
    font-size: 14px; 
    text-align: center;
	width: 100%;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0;
}

.reviews .author:last-child{
    margin-bottom: 0;
}

@media (max-width: 1000px){

	.reviews .quote{
		font-size: 16px;
        	width: 100%;
	}

	.reviews .author{
	    font-size: 14px;
        	width: 100%;
	}

}

@media (max-width: 600px){

.reviews{
	background-color: #fff;
  	margin-top: 40px;
  	border: 0px;
}

.hidehr{display: block;}
    
.btn{
	font-size: 18px;
}
    
#reviews-right{
    display: block;
    float: none;
    width: 100%;
    padding: 0px;
}

#reviews-left{
    display: block;
    float: none;
    width: 100%;
    padding: 0px;
}

}

/*---------------------
 	Contact Section
---------------------

.contact{
	background-color: #f7f7f7;
}

.contact form{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;

	max-width: 800px;
	width: 80%;
}

.contact form input{
	padding: 15px;
	flex: 1;
	margin-right: 30px;
	font-size: 18px;
	color: #555;
}

.contact form .btn{
	padding: 18px 42px;
}


@media (max-width: 800px){

	.contact form input{
		flex-basis: 100%;
		margin: 0 0 20px 0;
	}

}

*/


/*-------------
 	Accordion
-------------*/


#nestle-section{
    float:left;
    position:relative;
}
#nestle-section label{
    float:left;
    width:100%;
    padding:30px 10px;
    text-align:left;
    font-weight: 400;
    font-size: 28px;
    cursor:pointer;
}

#nestle-section label:hover{
   background: #e8e8e8;
}

#nestle-section .tab-content1{
    float:left;
    padding:0 10px;
    height:0;
    -moz-transition: height 1s ease;
    -webkit-transition: height 1s ease;
    -o-transition: height 1s ease;
    transition: height 1s ease;
    overflow:hidden;
    border-bottom:1px solid #ccc;
}

#answers-ul {
list-style-position: outside;
  list-style-type: disc;
}

#answers-li{
	padding: 10px 0px;
	box-shadow: none;
    margin-left: 10px;
}

#nestle-section .arrow-down{
float: right;
  border: solid #002536;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 5px;
    margin-right: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

#nestle-section input:checked + label + .tab-content1{
    padding: 10px;
    height: auto;
    -moz-transition: height 1s ease;
    -webkit-transition: height 1s ease;
    -o-transition: height 1s ease;
    transition: height 1s ease;
}

#nestle-section input:checked + label{
    background:#e8e8e8;
    color:#002536;
}

#nestle-section input{
    display:none;
}

@media (max-width: 800px){

#answers-li{
	margin-bottom: 0px;
}
}

/*-------------
 	Footer
-------------*/

footer{
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	background-color: #00080b;
	padding: 20px 20px;
}

footer ul{
	display: flex;
	margin-bottom: 10px;
	font-size: 32px;
}

footer ul li{
	margin: 0 8px;	
}

footer ul li:first-child{
	margin-left: 0;	
}

footer ul li:last-child{
	margin-right: 0;	
}

footer p{
	font-size: 12px;
	color: #fff;
	margin-bottom: 0px;
}

footer p a{
	color: #fff;
}

.callout{
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 80px;
	width: 75%;
}

@media (max-width: 600px){

	footer{
		padding: 30px 15px;
	}

}




/*-------------
 	Elements
-------------*/


.arrow {
  border: solid #002536;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 5px;
}


.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}


.arrowanim{
    border: solid #fff;
      border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 5px;
    animation-name: arrow;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    margin-top: 5px;
}

@keyframes arrow {
    0% {opacity:0;}
    50% {opacity:1;}
    100% {opacity:0;}
}