/*CSS Desktop-first */
@font-face {
  font-family: 'Inter';
  src: '../font/static/Inter-Regular.ttf';
            /* für IE9 */
  src: '../font/static/Inter-Regular.ttf' 
            format('embedded-opentype'),
            /* für IE6-IE8 */
        '../font/static/Inter-Regular.ttf' 
            format('woff'), 
           /* für moderne Browser */
        '../font/static/Inter-Regular.ttf' 
            format('truetype');
          /* für Safari, Android, iOS */
 }

*{
    font-family: "Inter", sans-serif;
    font-size: 100%;
    padding: 0;
    margin: 0;
}

.wrapper {
  display: grid;
  grid-column-gap: 10px;
  grid-row-gap: 0px;
  grid-template-columns: 25% 25% 25% 25%;
  margin-right: 30px;
}

header {
  margin: 0;
  background-color: white;
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 2;
  max-height: 160px;
  width: 100%;
}

nav {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 2;
  grid-row-end: 3;
  position: sticky;
  bottom: 0px;
  top: 0px;
  width: 100%;
}

main {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 3;
  grid-row-end: 4;
}

footer {
  color: black;
  padding-left: 30px;
  padding-bottom: 40px;
  background-color: rgb(235, 235, 235);
  box-shadow: inset 0px 3px 10px rgb(220, 220, 220);
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 4;
  grid-row-end: 5;
}

.teresa {
  color: black;
  font-size: 25px;
  padding-top: 60px;
  padding-left: 50px;
  position: fixed;
  left: 0px;
  transition: all 1s;
}

.teresa:hover {
  cursor: pointer;
  transition: all 1s;
  left: 20px;

}

.impressum {
  font-style: normal;
  font-weight: bold;
  padding-top: 100px;
}

.titeltext {
  width: 100%;
  text-align: center;
  height: 500px;
  position: fixed;
  margin-top: 140px;
  z-index: -1;
}

.titeltext h1 {
  width: auto;
  font-size: 100px;
}

.titeltext p {
  font-size: 30px;
}

.containerFooter {
  display: flex;
  justify-content: space-between;
}

.containerFooter>div {
  margin-left: 30px;
  margin-right: 100px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.containerFooter>div h2 {
  font-size: 18px;
  line-height: 400%;
}

footer a:link {
  text-decoration: none;
  color: black;
}

footer a:visited {
  color: black;
}

footer a:hover {
  text-decoration: underline;
}

footer ul {
  list-style-type: none;
}

.buttonpos {
  text-align: center;
  margin: 30px 10px 30px 10px;
}

.demobutton {
  text-decoration: none;
  color:rgb(50, 50, 50);
  border: 1px solid rgb(50, 50, 50);
  border-radius: 12px;
  padding: 10px 40px 10px 40px;
  transition: all 1s;
}

.demobutton:hover {
  background-color: rgb(50, 50, 50);
  color: white;
  transition: all 1s;
}

.zurueck {
  margin: 40px 0px 0px 0px;
}

.zurueck a {
  text-decoration: none;
  color: rgb(50, 50, 50);
  font-weight: bold;
  font-size: 20px;
}

.zurueck a:hover {
  font-weight: bold;
  text-decoration: underline;
}

.projectdescription {
  margin-top: 50px;
}

video {
  width: 100%;
}

.titelbild img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  position: fixed;
  z-index: -1;
}

.content {
  background-color: white;
  margin-top: 600px;
  padding-left: 220px;
  padding-right: 220px;
  padding-bottom: 50px;
}

.contentstart {
  background-color: white;
  margin-top: 600px;
  padding-left: 200px;
  padding-right: 20px;
  padding-bottom: 50px;
}


.impressumtext {
  margin-top: 250px;
  padding: 0px 0px 100px 300px;
}

.impressumtext h1 {
  font-size: 25px;
  margin-bottom: 20px;
}

.seitenueberschrift {
  width: 100%;
  text-align: center;
  font-size: 30px;
  padding-bottom: 10px;
}

.ueber {
  font-size: 45px;
  padding-bottom: 10px;
}

.standardText {
  padding-bottom: 30px;
  width: 60%;
}

.projects {
  overflow: hidden;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 100px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.projects div {
  width: 100%;
  color: black;
  padding: 20px;
  margin: 10px;
}

.projects div:hover {
  transition: 1s;
  cursor: pointer;
}

.projects img {
  object-fit: cover;
  width: 500px;
  height: 400px;
  transition: all 1s;
}

.projects img:hover {
  transition: all 1s;
  width: 520px;
  height: 420px;
}

.projects h3 {
  font-size: 40px;
  margin: 10px 0px 0px 10px;
  position: relative;
  left: 500px;
  top: -200px;
}

.projects p {
  font-size: 18px;
  margin: 3px 10px 10px 10px;
  position: relative;
  left: 500px;
  top: -200px;
}

.projects a {
  text-decoration: none;
  color: black;
}

.right img {
 float: right;
 padding-right: 220px;
 margin-bottom: 130px;
}

.right p {
  position: absolute;
  top: auto;
  left: auto;
  right: 710px;
  margin-top: 250px;
  text-align: right;
}

.start4 p, .start8 p {
  margin-top: 300px;
}

.right h3 {
  position: absolute;
  top: auto;
  left: auto;
  right: 715px;
  margin-top: 200px;
  text-align: right;
}

.projektbilder {
  padding: 100px 20px 20px 0px;
}

.projektbilder img {
  width: 100%;
  margin: 10px 20px 30px 0px;
}

.containerInhalt {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.text {
  margin-left: 30px;
}

:target:before {
	content: "";
	display: block;
	height: 210px;
	margin: -210px 0 0;
}

.icebreaker {
  padding-top: 60px;
  display: flex;
}

.icetext {
  margin-top: 50px;
  margin-right: 200px;
}

.starttext {
  width: 60%;
  padding-right: 100px;
  margin: 150px 60px 300px 60px;
}

.projekttext {
  padding: 30px 100px 30px 100px;
  column-count: 2;
  column-gap: 50px;
}

.projekttext p {
  margin-bottom: 10px;
}

.sub {
  font-size: 20px;
  text-align: center;
  font-weight: normal;
  margin-bottom: 10px;
}

#profilbild {
  width: 23%;
  transition: all 1s;
  position: absolute;
  margin-top: 80px;
  right: 220px;
}

#profilbild:hover {
  transition: all 1s;
  width: 24%;
}

#portfoliotext {
  width: 50%;
  margin-bottom: 100px;
}



@media (min-width: 768px) and (max-width: 1024px) { /* TABLETS */
  *{
    font-size: 14px;
  }

  .content {
    padding: 0px 120px 80px 120px;
    margin-top: 400px;
  }

  .contentstart {
    padding: 0px 120px 80px 120px;
    margin-top: 400px;
  }

  .ueber {
    font-size: 35px;
  }

  .titeltext h1 {
    font-size: 60px;
  }

  .titeltext p {
    font-size: 25px;
  }

  .starttext {
    padding-left: 50px;
    width: 70%;
  }

  .icebreaker div {
    padding-top: 10px;
    margin: 50px 0px 60px 0px;
  }

  #profilbild {
    margin-top: 40px;
    right: 120px;
  }
  
  #profilbild:hover {
    transition: all 1s;
    width: 24%;
  }

  .teresa {
    font-size: 20px;
    padding-left: 30px;
  }

  .projects {
    margin-top: 100px;
    margin-bottom: 80px;
    margin-right: 20px;
  }
  
  .projects img {
    padding-left: 0px;
    width: 340px;
    height: 240px;
  }

  .right img {
    float: left;
    margin: 0px;
    margin-top: 0px;
  }

  
  .projects img:hover {
    width: 350px;
    height: 250px;
  }
  
  .projects h3, .right h3 {
    position: relative;
    text-align: left;
    font-size: 25px;
    left: 335px;
    top: -150px;
    margin: 0px 0px 0px 10px;
    padding-top: 0px;
  }
  
  .projects p, .right p {
    position: relative;
    text-align: left;
    font-size: 12px;
    left: 335px;
    top: -150px;
    margin: 0px 0px 0px 10px;
  }

  .projects div {
    width: 500px;
  } 

  .projekttext {
    padding: 30px 50px 30px 50px;

  }

  .zurueck a {
    font-size: 16px;
  }



/*Footer*/
  .containerFooter {
    justify-content: space-between;
  }
  .containerFooter>div {
    margin-top: 30px;
    margin-left: 50px;
    margin-right: 50px;
  }

  .containerFooter>div h2 {
    font-size: 15px;
    line-height: 200%;
  }

  .kontakt {
    width: 300px;
    padding-right: 0px;
  }

  address {
    font-size: 14px;
  }

  .containerFooter p {
    font-size: 14px;
  }

  footer a:link {
    font-size: 14px;
  }
}





@media(max-width: 768px) { /*SMARTPHONES*/
  *{
    font-size: 12px;
  }

  .content {
    padding: 0px 40px 80px 40px;
    margin-top: 300px;
  }

  .contentstart {
    padding: 0px 40px 80px 40px;
    margin-top: 300px;
  }

  .projekttext {
    column-count: 1;
  }

  .ueber {
    font-size: 25px;
    padding-left: 30px;
  }

  .titeltext {
    margin-top: 100px;
  }

  .titeltext h1 {
    font-size: 30px;
  }

  .titeltext p {
    font-size: 20px;
  }

  .standardText {
    padding-left: 30px;
    padding-right: 0px;
    width: 100%;
  }

  .starttext div {
    margin: 30px 30px 30px 30px;
  }

  .icebreaker div {
    padding-top: 10px;
    margin: 0px 0px 0px 0px;
  }

  #profilbild {
    margin-right: 30px;
    width: 120px;
    height: 200px;
    margin-top: 40px;
    position: static;
    object-fit: cover;
    
  }
  
  #profilbild:hover {
    width: 120px;
  }

  .teresa {
    top: -20px;
    font-size: 15px;
    padding-left: 10px;
  }


  .projects, .right {
    align-items: left;
    margin-top: 50px;
    margin-bottom: 0px;
    margin-right: 20px;
  }
  
  .projects img, .right img {
    margin: 10px;
    width: 340px;
    height: 240px;
  }

  .right img {
    float: left;
  }
  
  .projects img:hover {
    width: 350px;
    height: 250px;
  }

  .projects a {
    margin: 0px;
  }
  
  .projects h3, .right h3 {
    text-align: left;
    font-size: 25px;
    position: static;
    margin: 0px;
    padding: 0px;
    padding-left: 10px;
  }
  
  .projects p, .right p {
    text-align: left;
    font-size: 18px;
    position: static;
    margin: 0px;
    padding: 0px;
    padding-left: 10px;
  }

  .projects div, .right div {
    margin: 20px;
    padding: 0px;
    margin-top: 60px;
  }

  .projekttext {
    padding: 30px 50px 30px 50px;

  }

  .zurueck a {
    font-size: 16px;
  }

  div .projektbilder {

    padding-right: 0px;
  }

  .impressumtext {
    padding-left: 50px;
  }



/*Footer*/  
  .containerFooter div {
    align-items: left;
    margin-top: 30px;
    margin-left: 0px;
    margin-right: 0px;
    padding: 0px;
  }

  .containerFooter>div h2 {
    font-size: 11px;
    line-height: 200%;
  }

  .kontakt {
    width: 60%;
    padding-right: 0px;
  }

  address {
    font-size: 9px;
  }

  .containerFooter p {
    text-align: center;
    font-size: 9px;
  }

  footer a:link {
    font-size: 9px;
    text-align: center;
  }
}


