html{
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', sans-serif;
  color: #545E6C;
  background: #f5f5f5;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: url('../images/bg.png');
  background-repeat: repeat;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

a {
  color: #7A743E;
}

a:hover {
  text-decoration: underline;
  color: #5C5828;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

a:focus {
  text-decoration: none;
}

p {
  line-height: 1.5;
}

.wrapper {
  background: #736D3B;
  max-width: 960px;
  margin: 0 auto;
  margin-top: 30px;
  position: relative;
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-wrapper {
  background: #8F8847;
  position: absolute;
  width: 240px;
  height: 100%;
  min-height: 800px;
  color: #fff;
}

.sidecontainer{
  position:sticky;
  top:0px;
}

.sidebar-wrapper a {
  color: #fff;
}

.sidebar-wrapper .profile-container {
  padding: 30px;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #fff;
}

.sidebar-wrapper .name {
  font-size: 32px;
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 10px;
}

.sidebar-wrapper .container-block {
  padding: 0px 0px;
}

.main-wrapper {
  background: #fff;
  padding: 60px;
  padding-left: 300px;
}

.main-wrapper .section-title {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
  color: #7A743E;
  position: relative;
  margin-top: 0;
  margin-bottom: 20px;
}

.main-wrapper .section {
  margin-bottom: 60px;
}

.main-wrapper .job-title {
  color: #3F4650;
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 500;
}

.button {
  background-color: #8F8847;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none !important;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  margin-bottom: -14px;
  transition-duration: 0.4s;
}

.button:hover{
  background-color: #7A743E;
  color:#f5eebe;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

.container{
  overflow-y: scroll;
  scroll-behavior: smooth; 
  display: flex;
}

.alert{
  background-color: #f5eebe;
  padding:25px 30px 15px 40px;
}

.headerpic-container {
  position: relative;
  width: 100%;
}

.headerpic-title {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
  line-height: 1.3;
  max-width: 60%;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .sidebar-wrapper {
    position: static;
    width: inherit;
  }
  .main-wrapper {
    padding: 30px;
  }
  .headerpic {
    content:url("../images/headerpic-5-mobil.png");
  }
  .headerpic-title {
    font-size: 18px;
    left: 8%;
    max-width: 75%;
  }
}

@media (min-width: 768px) {
  .headerpic {
    content:url("../images/headerpic-5.png");
  }
}

.hamburger-btn {
  display: none;
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 4px;
  background-color: #7A743E;
  float: right;
}

.hamburger-btn .bar1, .hamburger-btn .bar2, .hamburger-btn .bar3 {
  width: 25px;
  height: 2px;
  background-color: #fff;
  margin: 6px 0px;
  transition: 0.4s;
}

@media screen and (max-width: 768px) {
  ul.menu {
    display: none;
    position: absolute;
    z-index: 2;
  }
  .sidebar-wrapper {
    background: #8F8847;
    position: absolute;
    width: 0px;
    height: 100%;
    min-height: 0px;
    color: #fff;
  }
  .profile-container{
    display:none;
  }
  .hamburger-btn {
    display: inline-block;
  }
  .wrapper{
    margin-top:0px;
  }    
}
