@charset "UTF-8";

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 0%;
  width: 100%;
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  right: 0;
  top: 0;
  background-color: rgb(0, 0, 0); /* Black fallback color */
  background-color: #212121; /* Grey  */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.2s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

.overlay-content-mobile {
  position: relative;
  top: 10%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlaytext {
  padding: 20px;
  text-decoration: none;
  font-size: 2.1rem;
  line-height: 2.2rem;
  color: rgba(255, 255, 255, 0.3);
  display: block; /* Display block instead of inline */
  transition: 0.5s; /* Transition effects on hover (color) */
}

.icon {
  width: 70px;
  margin: 0 auto;
  opacity: 0.3;
  transition: 0.5s;
}
.icon:hover {
  width: 70px;
  margin: 0 auto;
  opacity: 0.9;
  transition: 0.5s;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover,
.overlay a:focus {
  color: #ffffff;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 60px;
  right: 4vw;
  width: 20px;
  height: 19px;
  margin-right: 5px;
}

/*
.overlay .logobtn {
  position: absolute;
  top: 15px;
  left: 30px;
  width: 50px;
  height: 50px;
}
*/

.break_mob {
  display: none;
}

.hamburger {
  position: absolute;
  width: 30px;
  top: 60px;
  right: 4vw;
}

.portfolio_close {
  position: absolute;
  width: 20px;
  top: 60px;
  right: 4vw;
  margin-right: 5px;
}

.closebtn_singlepage_mob {
  position: fixed;
  top: 30px;
  right: 20px;
  height: 25px;
  width: 25px;
  background-image: url(../images/hamburger_closed.svg);
  z-index: 6;
}
.closebutton {
  display: block;
}
.closebutton_mob {
  display: none;
}

.logobtn {
  background-image: url(../images/logo_ohne_text.svg);
}
.closebtn {
  background-image: url(../images/hamburger_closed.svg);
  background-repeat: no-repeat;
}
.closebtn_dark {
  background-image: url(../images/hamburger_closed.svg);
}

.overlay-content {
  display: block;
}
.overlay-content-mobile {
  display: none;
}
.overlay-content-mobile a:hover,
.overlay a:focus {
  color: #c8c8c8;
}
