h1 {
    font-size: 20px;
    text-align: center;
}


.sidebar {
  height: 100%;
  width: 15%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
 
}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 15px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
    position: fixed;
    left: 0;
    top: 0;
}

.openbtn:hover {
  background-color: #444;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
  margin-left: 270px;
}
    
/*scroll*/
     
  html {
  scroll-behavior: smooth;
}

#section1 {
  height: 340px;
  /*background-color: pink;*/
}

#section2 {
  height: 180px;
  /*background-color: yellow;*/
}
    
  
#section3 {
  height: 380px;
  /*background-color: green;*/
}
    
#section4 {
  height: 400px;
  /*background-color: pink;*/
}
    


    
    

.logo-n img {
    display: block;
    margin: auto;
}


    
/*scroll*/
    

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
    
}
    
 
@media screen and (max-width:800px ) {
    .sidebar {width: 0px;position: fixed;}
    #main{margin-left: 0px;}
    
    
    
    /*section*/
    
    
#section1 {
  height: 650px;
 /* background-color: pink;*/
}

#section2 {
  height: 400px;
  /*background-color: yellow;*/
}
    
  
#section3 {
  height: 800px;
 /* background-color: green;*/
}
    
#section4 {
  height: 700px;
  /*background-color: pink;*/
}
    


    
    
    
    /*section*/
    
    
    }