 /* =============================================================================
	PARTICLES | MIRIAM BUSCH | miriam-busch.de | HTML5 & CSS Project
	
	CONTENTS
	- Container
	- Toggle
	- Menue
	- Bildgalerie
         - link
   =============================================================================*/  

body {
  background-image: url("bilder/");
  background-color: #A39D98;
  height: 500px;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

/* Basic styles */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
}
h1{
  font-family: helvetica, arial;
  font-size: 1.2em;
  text-decoration: none;
  font-weight: normal;
  color: #E0D9D1;
}

body {
  font-family: helvetica, arial;
  scroll-behavior: smooth; 
}

.content {
  max-width: 750px;
  margin: auto;
}

.container {
  color: #6E6256;
  position: fixed;
  top: 0px;
  margin: 1px auto 0;
  width: 100%;
  background-color: #6E6256;
  overflow: hidden;
}
.container2 {
  color: #6E6256;
  position: fixed;
  top: 0px;
  margin: 1px auto 0;
  width: 100%;
  overflow: hidden;
}

.togglecontainer {
  position: fixed;
  top: 0px;
  color: transparent;
  background-color: transparent;
  margin: 0 auto 0;
}

/* Toggle functionality */
#toggle {
  position: absolute;
  left: -100%;
  top: -100%;
}

#toggle:focus ~ .toggle-container .button-toggle {
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1);
}

#toggle:checked ~ .toggle-container .button-toggle {
  box-shadow: 0 0 0 550px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1);
}
#toggle:checked ~ .toggle-container .button-toggle:hover {
  box-shadow: 0 0 0 550px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1), 0 0 0 8px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1);
}
#toggle:checked ~ .toggle-container .button-toggle:before {
  transform: translateY(-50%) rotate(45deg) scale(1);
}
#toggle:checked ~ .toggle-container .button-toggle:after {
  transform: translateY(-50%) rotate(-45deg) scale(1);
}
#toggle:checked:focus ~ .toggle-container .button-toggle {
  box-shadow: 0 0 0 550px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1), 0 0 0 8px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1);
}
#toggle:checked ~ .nav {
  margin-bottom: 100px;
  pointer-events: auto;
  transform: translate(50px, 50px);
}
#toggle:checked ~ .nav .nav-item {
  color: #EC7263;
  letter-spacing: 0;
  height: 40px;
  line-height: 40px;
  margin-top: 0;
  opacity: 1;
  transform: scaleY(1);
  transition: 0.5s, opacity 0.1s;
}
#toggle:checked ~ .nav .nav-item:nth-child(1) {
  transition-delay: 0.15s;
}
#toggle:checked ~ .nav .nav-item:nth-child(1):before {
  transition-delay: 0.15s;
}
#toggle:checked ~ .nav .nav-item:nth-child(2) {
  transition-delay: 0.1s;
}
#toggle:checked ~ .nav .nav-item:nth-child(2):before {
  transition-delay: 0.1s;
}
#toggle:checked ~ .nav .nav-item:nth-child(3) {
  transition-delay: 0.05s;
}
#toggle:checked ~ .nav .nav-item:nth-child(3):before {
  transition-delay: 0.05s;
}
#toggle:checked ~ .nav .nav-item:nth-child(4) {
  transition-delay: 0s;
}
#toggle:checked ~ .nav .nav-item:nth-child(4):before {
  transition-delay: 0s;
}
#toggle:checked ~ .nav .nav-item:before {
  opacity: 0;
}
#toggle:checked ~ .dummy-content {
  padding-top: 30px;
}
#toggle:checked ~ .dummy-content:before {
  background-color: rgba(0, 0, 0, 0.3);
}

/* Toggle button */
.button-toggle {
  position: absolute;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 25px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  border-radius: 100%;
  transition: 0.6s;
}
.button-toggle:hover {
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1);
}
.button-toggle:before, .button-toggle:after {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #EC7263;
  border-radius: 5px;
  transition: 0.5s;
}
.button-toggle:before {
  transform: translateY(-50%) rotate(45deg) scale(0);
}
.button-toggle:after {
  transform: translateY(-50%) rotate(-45deg) scale(0);
}

/* Menu */
.nav {
  display: inline-block;
  margin: 25px 25px 20px;
  pointer-events: none;
  transition: 0.5s;
}

.nav-item {
  position: relative;
  display: inline-block;
  float: left;
  clear: both;
  color: transparent;
  font-size: 14px;
  letter-spacing: -6.2px;
  height: 7px;
  line-height: 7px;
  text-transform: uppercase;
  white-space: nowrap;
  transform: scaleY(0.2);
  transition: 0.5s, opacity 1s;
}
.nav-item:nth-child(1) {
  transition-delay: 0s;
}
.nav-item:nth-child(1):before {
  transition-delay: 0s;
}
.nav-item:nth-child(2) {
  transition-delay: 0.05s;
}
.nav-item:nth-child(2):before {
  transition-delay: 0.05s;
}
.nav-item:nth-child(3) {
  transition-delay: 0.1s;
}
.nav-item:nth-child(3):before {
  transition-delay: 0.1s;
}
.nav-item:nth-child(4) {
  transition-delay: 0.15s;
}
.nav-item:nth-child(4):before {
  transition-delay: 0.15s;
}
.nav-item:nth-child(1) {
  letter-spacing: -8px;
}
.nav-item:nth-child(2) {
  letter-spacing: -7px;
}
.nav-item:nth-child(n + 4) {
  letter-spacing: -8px;
  margin-top: -7px;
  opacity: 0;
}
.nav-item:before {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #EC7263;
  transform: translateY(-50%) scaleY(5);
  transition: 0.5s;
}

/* Dummy content */
.dummy-content {
  position: relative;
  top: -35px;
  text-align: center;
  transition: 0.5s;
}
.dummy-content:before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: transparent;
  z-index: 2;
  transition: 0.5s;
}

.circle {
  display: inline-block;
  width: 75px;
  height: 75px;
  background-color: #EC7263;
  border-radius: 100%;
}
.text span {
  display: inline-block;
  height: 10px;
  margin: 0 5px;
  background-color: #111111;
  border-radius: 5px;
}
.text {
  margin: 1px 0 1px;
}
.text span:first-child {
  width: 50px;
}
.text span:last-child {
  width: 80px;
}

.square-top {
  display: inline-block;
  position: relative;
  width: 200px;
  height: 300px;
  background-color: #FEBE7E;
  z-index: 1;
}

.square-behind {
  display: inline-block;
  position: relative;
  top: -256px;
  width: 250px;
  height: 210px;
  background-color: #C28683;
}
.square-behind:before, .square-behind:after {
  position: absolute;
  content: '';
  top: 0;
  width: 40%;
  height: 100%;
}
.square-behind:before {
  left: 0;
  background-color: #9D567C;
}
.square-behind:after {
  right: 0;
  background-color: #958C6B;
}
/* Projektekacheln */

.flex-container {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  position: relative;
  top: 130px;
}

.flex-container > div {
  background-color: #E67300;
  width: 300px;
  margin: 10px;
}
p {
  font-family: helvetica, arial;
  font-size: 1em;
  padding-left: 5px;
  padding-right: 5px;
  }

font {
  font-family: helvetica, arial;
  font-size: 0.8em;
  }


a {color: #000000;
   font-family: helvetica, arial;
   font-size: 0.9em;
  }
a:hover {color: #8F5F00;}


.link-container > div {
  background-color: #D95A00;
  text-align: right;
  margin: 0px;
  padding: 15px;
  position: fixed;
  bottom: 5%;  
}

.arrow-container > div {
  background-color: #D95A00;
  margin: 10px;
  padding: 10px;
  position: fixed;
  top: 0px; 
  right: -1px; 
}


.info-container{
 
  text-align: left;
  margin: 0px;
  padding: 2px;
  position: relative;
  top: 50px;
  background-color: #E0D9D1;
}

.inhalt-container{
 
  text-align: left;
  margin: 0px;
  padding: 2px;
  position: relative;
  top: 60px;
  background-color: #E0D9D1;
  color: #D95A00;
}

.inhalt-container2{
 
  text-align: left;
  margin: 0px;
  padding: 2px;
  position: relative;
  top: 60px;
  background-color: #D95A00;
  color: #FFFFCC;
}

/* Bildgalerie */

.bild-container > div {
  width: 100%;
  position: relative;
  top: 70px;
}

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

.column {
  -ms-flex: 10%; /* IE10 */
  flex: 80%;
  max-width: 100%;
  padding: 0 4px;
}

.column img {
  margin-bottom: 20px;
  vertical-align: middle;
  max-height: 100%;
}

.arrow {
cursor: pointer;
color: #333333;
font-size: 2em;
font-weight: bold;
display: inline-block;
line-height: 0px;
padding: 11px 3px;
}
.arrow:before{
 content: "x";
}

.elastic-video {
position: relative;
padding-bottom: 55%;
padding-top: 15px;
height: 0;
overflow: hidden;
}
.elastic-video iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;

.space {
padding-top: 100px;
}