/*CSS for MAPP'D Northumberland website
Team 5 Lauren Smith - 22/04/19*/

html{
	background-image: url("../IMG/background.png") ; 
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
    overflow: hidden;
    overflow-x: hidden;
    background-color: #035B5D;
}

body{
    width: 960px; 
    height: 4870px;
	margin: 0 auto;
	background-color: #4e9992;
}

p{
    font-size: 18px;
	color: 	#EDDCCC;
	padding:20px;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}

a{
    font-size: 18px;
	color: 	#d18968;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    text-decoration: none;
    font-weight:bold;
    -webkit-transition:.5s;
}

a:hover{
    color: #f2aa8a;
}

h1{
    color: #EDDCCC;
    font-family:"Trebuchet MS", Helvetica, sans-serif;
    font-size: 50px;
    text-decoration: none;
    font-weight:bold;
    text-align: center;
}

/*CSS for the nav bar*/

.nav {
    position: fixed;
    z-index: 9999;
    background-color: #295e5d; 
	max-width: 961px;
	min-width: 960px; 
}

.nav a { 
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    float: left;
    display: block;
    color: #EDDCCC;
    text-align: center;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 17px;
    font-weight:normal;
    
}

.nav a:first-of-type{
    margin-left: 49px;
}

.nav a:hover {
    background-color:#d18968;
    transition: 0.4s;
}

/*CSS for slideshows*/

.slideshow-container{
    position: relative;
}

.slide{
    position: absolute;
    top:30px;
    left:300px;
    width: 800px;
    z-index: 110;
}

.backslide{
    position: absolute;
    top:30px;
    left:300px;
    width: 800px;
    z-index: 100;
}

.slide:nth-of-type(1){
     -webkit-animation: fadeInOut 10s linear 6s infinite; 
}

.slide:nth-of-type(2){
     -webkit-animation: fadeInOut 10s linear 4s infinite;
}

.slide:nth-of-type(3){
     -webkit-animation: fadeInOut 10s linear 2s infinite;
}

.slide:nth-of-type(4){
     -webkit-animation: fadeInOut 10s linear infinite;
}

.slide2{
    position: absolute;
    top:-1450px;
    left:356px;
    width: 750px;
    z-index: 110;
}

.backslide2{
    position: absolute;
    top:-1450px;
    left:356px;
    width: 750px;
    z-index: 100;
}

.slide2:nth-of-type(1){
     -webkit-animation: fadeInOut 10s linear 6s infinite;
}

.slide2:nth-of-type(2){
     -webkit-animation: fadeInOut 10s linear 4s infinite;
}

.slide2:nth-of-type(3){
     -webkit-animation: fadeInOut 10s linear 2s infinite;
}

.slide2:nth-of-type(4){
     -webkit-animation: fadeInOut 10s linear infinite;
}

.slide3{
    position: absolute;
    top:-770px;
    left:356px;
    width: 750px;
    z-index: 110;
}

.backslide3{
    position: absolute;
    top:-770px;
    left:356px;
    width: 750px;
    z-index: 100;
}

.slide3:nth-of-type(1){
     -webkit-animation: fadeInOut 10s linear 6s infinite;
}

.slide3:nth-of-type(2){
     -webkit-animation: fadeInOut 10s linear 4s infinite;
}

.slide3:nth-of-type(3){
     -webkit-animation: fadeInOut 10s linear 2s infinite;
}

.slide3:nth-of-type(4){
     -webkit-animation: fadeInOut 10s linear infinite;
}

@-webkit-keyframes fadeInOut{
    0.001% { opacity:1; } 
    17% { opacity:1; } 
    25% { opacity:0; } 
    92% { opacity:0; } 
    100% { opacity:1; }
}

/*CSS for splash screen*/

#loading{
    background-color: #006466;
    position:  fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10000;
}

#background{
    z-index: 200000;
    position: absolute;
    width: 400px;
    top: 0; bottom:0; left: 0; right:0;
    margin: auto;
}

/*CSS for first section*/

#clouds{
    width: 960px;
    position:absolute;
    margin-top: 45px;
}

#top{
    width: 400px;
    padding-top: 130px;
    padding-left: 50px;
    z-index: 1000;
    position: relative; 
}

#info{
    margin-top: 217px;
    padding-left: 60px;
    padding-right: 60px;
    text-align: justify;
    color: #4a918a;
}

#para{
    text-align: center;
    width: 380px;
    padding-left: 65px;
    position: relative;
    margin-top: -30px;
}

#download{
    position: relative;
    width: 200px;
    padding: 25px;
    border-radius: 4px;
    background-color: #d18968;
    text-align: center;
    color: #EDDCCC;
    margin-left: 155px;
    
    top:100px;
    font-weight: normal;
    font-size: 20px;
    border:none;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    -webkit-transition:.5s;
    z-index: 1000;
    cursor:pointer;
}

#download:hover{
    background-color:#f4ac8b; 
}

#flickr{
    position: relative; top: 0; left: 0; 
    padding-left: 55px;
    padding-right: 55px;
    width: 850px;
    min-height: 630px;
    max-height: 670px;
    padding-bottom: 30px;
    opacity: 0.9;
    overflow: hidden;
    
}

#intro{
    background-color: #EDDCCC;
   padding-bottom: 20px;
}

/*CSS for features section*/

#features{
    margin-top: -30px;
    padding-top: 30px;  
}

#featureslist p{
    position: absolute;
    width: 350px;
}

.point{
    width: 50px;
    position: absolute;
}

.screenshots{
    width: 600px;
    position: absolute;
    z-index: 100;
}

#map{
    margin-left: -116px;
    margin-top: -50px;
}

#transport{
    margin-left: 80px;
    width: 500px;
    z-index: 90;
}

#attraction{
    margin-left: 475px;
    margin-top: 460px;
}

#menu{
    margin-left: 380px;
    width: 500px;
    margin-top: 500px;
    z-index: 90;
}

#one{
    margin-left: 480px;
    margin-top: 50px;
}

#two{
    margin-left: 480px;
     margin-top: 170px;
}

#three{
    margin-left: 480px;
    margin-top: 280px;
}

#four{
    margin-left: 480px;
    margin-top: 390px;
}

#five{
    margin-left: 55px;
    margin-top: 570px;
}

#six{
    margin-left: 55px;
    margin-top: 680px;
}

#seven{
    margin-left: 55px;
    margin-top:790px;
}

#eight{
    margin-left: 55px;
    margin-top: 890px;
}

#pone{
    margin-left: 540px;
    margin-top: 32px;
}

#ptwo{
    margin-left: 540px;
    margin-top: 154px;
}

#pthree{
    margin-left: 540px;
    margin-top: 265px;
}

#pfour{
    margin-left: 540px;
    margin-top: 384px;
}

#pfive{
    margin-left: 120px;
    margin-top: 555px;
}

#psix{
    margin-left: 120px;
    margin-top: 665px;
}

#pseven{
    margin-left: 120px;
    margin-top: 785px;
}

#peight{
    margin-left: 120px;
    margin-top: 875px;
}



/*CSS for how to use section*/

#howto{
    padding-bottom: 30px;
    padding-top: 20px;
    text-align: justify;
    margin-top: 1020px;
    background-color: #EDDCCC;
}

#howto h1{
    color: #4a918a;
}

#howtosection{
    position:relative;
    padding-top: 30px;
}

#howto p{
    width: 440px;
    margin-left: 50px;
    color: #4a918a;
}

#howto p:first-of-type{
    text-align: center;
    font-size: 19px;
    width: auto;
    margin-left: -20px;
}

/*CSS for bottom section*/

#technologies{
    top: -1860px;
    text-align: center;
}

#technologies h1{
    font-size: 35px;
    margin-bottom: 0px;
}

#backtotop{
    position: relative;
    left: 410px;
    top: 30px;
    text-align: center;
    font-size: 18px;
	color: 	#EDDCCC;
	padding: 20px;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    text-decoration: none;
    background-color: #d18968;
    border-radius: 7px;
}

#backtotop:hover{
    background-color:#f4ac8b;
    transition: 0.4s;
}

#footer{
    width: 920px;
    padding: 40;
    margin-top: 100px;
    background-color: #23605e;
    font-size: 15px;
    
}