html {
  scroll-behavior: smooth;
}
.content{
	
	display: block;
	padding-left: 5%;
	padding-right: 5%;
}
#section2 {
/* height: 1500px;*/
	
  font-size: auto;
}
#section3 {
/*  height: 600px;*/
  font-size: auto;
/*  background: #8dc540;*/
	background: #FAD7A0;
	color: black;
}

.topnav-right{
	float: right;
	    list-style: none;
    display: inline-block;
}

body {
  width: auto;
	height: auto;
	font-family: 'Kanit', sans-serif;
 background-image: url("img/bg.jpg");
font-size: auto;
	background-repeat : no-repeat ;
}
.responsive-bar{
    display: none;
}
nav{
    width: 100%;
   position: fixed;
    top: 0;
    left: 0;
    height: 100px;
    padding: 10px 0px;
    box-sizing: border-box;
    transition: .5s;
	z-index: 999;
/*	background-color:#646464;*/
/*    opacity:0.8;*/
}
nav.black{
/*    background: rgba(0,0,0,0.4);*/
	background: #2d3f29;
    height: 80px;
    padding: 10px 50px;
}
nav .logo{
            position: fixed;
/*           background-color: blue;*/
            top: 50;
/*            left: 50%;*/
	        right: 40vw;
/*
            margin-top: -100px;
            margin-left: -100px;
*/
}
nav.black .logo{
right: 80%;
}
nav .logo img{
    height: 80px;
    transition: .5s;
}
nav.black .logo img{
    height: 60px;
}
nav > ul{
/*    width: 100%;*/
    margin: 0 auto;
    padding: 0;
    float: right;

}
nav > ul > li{
    list-style: none;
    display: inline-block;
	 float: left;
	background-color: gray;
/*	width: 100%;*/
	opacity: 0.8;
/*	width: 150px;*/	
}

nav.black > ul > li{
	background-color: transparent;
}

nav > ul > li > a:hover{
    background: #FF6700;
    color: #fff;
    line-height: 50px;
/*    padding: 5px 80px;*/

}
nav > ul > li > a{
    color: #fff;
    text-decoration: none;
    text-transform: uppercase; /*for capitalisation of letters */
    line-height: 80px;
    padding: 20px 25px;
    transition: .5s;   
}
nav.black > ul > li > a{
    color: #fff;
    line-height: 60px;
}

.footer{
	background: #414143;
	width:100%;
	height:auto;
	color:#fff;
	text-align: center;
	font-size: auto;
	
}

	.logofoot > a > img{
/*	background: #F4080C;*/
/*		width:30%;*/
  display: block;
  margin-left: auto;
  margin-right: auto;
		padding-top: 10px;
/*  margin-right: auto;*/
	}
@media(max-width:1200px){
	
	h1{
		font-size:5vw;
	}
    .responsive-bar{
        display: block;
        width: 100%;
        height: 60px;
        background: #2d3f29;
        position: fixed;
        top: 0;
        left: 0;
        padding: 5px 20px;
        box-sizing: border-box;
/*        z-index: 1;*/
    }
   .responsive-bar .logo2 img{
        float: left;
        height: 50px;  
		z-index: 1;
    }
    .responsive-bar .menu h4{
        float: right;
        color: #fff;
        margin: 0;
        padding: 0;
        line-height: 50px;
        cursor: pointer;
        text-transform: uppercase;
/*		z-index: 1;*/
    }
    nav{
        padding: 0;
/*		background: #2d3f29;*/
/*		z-index: 0;*/
    }
    nav,
    nav.black{
    background: #262626;
    height: 60px;
    padding: 0;
    }
    nav .logo{
        display: none;
/*		z-index: 20;*/
    }
    nav ul{
        position: absolute;
        width: 100%;
        top: 60px;
        left: 0;
        background: #262626;
		opacity: 0.8;
        float: none;
        display: none;
/*		z-index: 1000;*/
    }
    nav ul.active{
        display: block;
    }
    nav ul li{
        width: 100%;
/*		z-index: 1000;*/
    }
	nav > ul > li >{
    list-style: none;
    display: inline-block;
	 float: right;
	background-color: black;
	opacity: 0.8;	
}
    nav ul li a{
        display: block;
        padding: 0;
        width: 100%;
        text-align: center;
        line-height: 30px !important;
        color: #fff;
/*		z-index: 1000;*/
        
    }

    nav > ul{
        width: 100%;
        display: none;
    }
    nav > ul > li{
        display: block;
        text-align: center;
    }
    .active{
        display: block;
    }
	.logofoot > img{
/*		background: #F90B0F	*/
	width:40%;
  display: block;
  margin-left: auto;
  margin-right: auto;
	}
}