body, html {
  height: 100vh;
  margin: 0;
  padding: 0;
}
body {

 background-image: url("images/man.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p{
  font-size: 1.2rem;
}
.container {
  position: relative; /* added */
  max-width: 100%;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
 
}

h1 {
  margin-bottom: 20px;
  position: absolute;
  top: 20px;
  left: 18px;
  font-family: 'Manrope';
  font-weight: 500;
  font-size: 3rem;
  line-height: 3rem;
  color: whitesmoke;
  z-index: 10;
}
h2 {
  position: absolute;
  right: 20px;
  top: 20px;
    font-family: 'Manrope';
  font-size: 3rem;
  line-height: 3rem;
    color: whitesmoke;
    font-weight: 200;

}

a{
  color: whitesmoke;
}
h4 {
  position: absolute;
 right: 20px;
  top: 120px;
    font-family: 'Manrope';
  font-size: 3rem;
  line-height: 3.6rem;
    color: whitesmoke;
    font-weight: 200;


}
h3 {
  position: fixed;
left: 20px;
width: 50%;
  bottom: 20px;
  font-family: 'Manrope';
  font-size: 1.8rem;
    color: whitesmoke;
      font-weight: 300;
      letter-spacing: 0.7px;
      line-height: 2.1rem;


}


button {
 font-family: 'Manrope';
  font-size: 8rem;
  color: whitesmoke;
  font-weight: 100;
 cursor: pointer;
  position: fixed;
  bottom: -30px;
  right: 20px;
  z-index: 3;
  background-color: transparent;
  border: none;
}
button:before {

  content: '+';
  font-weight: 100;
  transition: all 0.5s ease-in-out;
}

button.clicked:before {
  content: '×';
  transition: all 0.5s ease-in-out;
  padding-right:5px;
}




.text-container { /* added */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2;
  display: none;
  justify-content: center;
  align-items: center;
}

.text { /* modified */
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  width: 60%;
  text-align: left;
  font-family: 'Manrope';
  font-weight: 4 00;
  text-align: left;
  
}
.kontakt {
  text-align: right;
  font-weight: 100;
  font-size: 1.5rem;
  margin-top:2rem;
  font-weight: 100;
}


@media (max-width: 600px)
{


  .container {
  position: relative; /* added */
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content:;
  align-items: flex-start;
  text-align: left;

  padding: 20px;
}

  h1 {

    font-size: 3.2rem;
    top: 5px;
    left: 10px;
    position: fixed;
    z-index: 10;
    font-weight: 300;
  }
  h2 {
    width: 100%;
    font-size: 3rem;
    line-height: 2.8rem;
    position: fixed;
    padding-bottom: 20px;
    top: 120px;
    left: 10px;
  }
  h3 {
    width: 60%;
    font-size: 1.2rem;
    position: fixed;
    bottom: 20px;
    left: 10px;
    letter-spacing: 0.5px;
    line-height: 1.2rem;
  }
 
  button {
    font-size: 6rem;
    position: fixed;
    bottom: -20px;
    right: 20px;
  }
  .text-container {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2;
    display: none;
    justify-content: center;
    align-items: center;
  }
  .text {
    font-size: 1.2rem;
    text-align: left;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Manrope';
    overflow-y: auto;
    max-height: calc(100% - 40px);
  }
  .kontakt {
  text-align: left;
  font-weight: 100;
  font-size: 1.2rem;
  margin-top:2rem;
  font-weight: 100;
	 
}

}



