.head {
  background: #fdfdfd;
  color: #cccccc;
  padding: 13px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  overflow: hidden;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}
.head a{
color: #cccccc;
}
#sidebar { /*изначально невидимый для мобильных (в медиа запросе изначально видимый для пк)*/
background: #d4d4d4;
position: fixed;
  top: 0;
  bottom: 0;
  margin-left: -270px;
  z-index: 60;
  box-sizing: border-box;
  width: 270px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: margin-left 0.1s ease-in-out;
}

#sidebar.opened{ /*для скрипта*/
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  margin-left: 0;
}
#overlay{ /*изначально невидимый*/
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  -webkit-transition: background .3s ease-in-out;
  transition: background .3s ease-in-out;
  -webkit-transform: translateX(0)
  background: transparent;
  visibility: hidden;
  background-color: transparent;
  -webkit-transition: visibility 300ms, background-color .3s ease;
  -moz-transition: visibility 300ms, background-color .3s ease;
  -ms-transition: visibility 300ms, background-color .3s ease;
  transition: visibility 300ms, background-color .3s ease;
}

#overlay.opened{
  background-color: rgba(0, 0, 0, 0.5);
  visibility: visible;
  -webkit-transition: visibility 0s, background-color .3s ease;
  -moz-transition: visibility 0s, background-color .3s ease;
  -ms-transition: visibility 0s, background-color .3s ease;
  transition: visibility 0s, background-color .3s ease;
}

.hamburger{
  width: 40px; 
  height: 40px; 
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-size: larger;
}

.content{
margin: 55px 10px 10px 10px;
}

.pc{
display:none;
}
.mobile{
display:content;
}
#back-top {
display:none;
}

/* дальше правки если это пк*/
@media all and (min-width: 800px){ 
.content{
margin: 55px 10px 10px 280px;
}
#overlay{
display: none;
}
#sidebar{
top:55px;
z-index:45;
margin-left:0;
}
#sidebar.opened{
box-shadow: initial;
}
textarea {
width: 95%;
  max-width: 95%;
  min-width: 95%;
}
input {
width: 95%;
}
select {
width: 98%;
}
.bbimg{
max-width: 500px;
margin: 15px 0 0px 0;
}
.pc{
display: flex;
}
.mobile{
display:none;
}
#back-top {
    background: #272727;
    width:60px;
    height:100%;
    position:fixed;
    top:0;
    left:0;
    display: none;
    text-align:center;
    font:bold 12px Verdana, sans-serif;
    text-decoration:none;
    color:#82847f;
    padding-top:250px;
    }
#back-top:hover {
     background: #191919;
}
}