body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #009443;
}

.wrapper {
    display: grid;
    grid-template-columns: 1fr ;
    grid-template-rows: auto;
    grid-template-areas: "section section"
                         "footer footer ";
    
    
    }

header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em;
}

section {
    margin: 5%;
    margin-bottom: 50px;
    background-color: #2d6f93; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px; 
    color: #fff; 
    padding: 1em;
    position: relative;
    top: 5%;
    grid-area: section;
    display: grid;
    grid-template-columns: 5fr 1fr;
    grid-template-rows:auto;
    grid-template-areas: "h1 bild "
                          "textarea textarea"
                          "footer footer";
}

h1{
    grid-area: h1;
    font-size: 30px;
    font-weight: bold;
}
p {
    
    color: #eee; 
    text-align: justify;
    grid-area: p;
}
picture {
  grid-area: bild;
}

img {
    
    
    width: 100px;
    height: auto;
    position: relative;
    border-radius: 5%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   
   margin-right: 5%;
   margin-left: 5%;
}
#text{
    grid-area: textarea;
}

footer{
    grid-area: footer;
    padding: 2%;
    background-image: linear-gradient(to bottom ,#2C3540,#116466);
    border-radius: 5%;
    color: rgb(255, 255, 255);
    font-size: 15px;
    text-align: center;
   position: relative;
  }

  @media only screen and (min-width: 767px) {
    section{
        margin: 100px ;
    margin-top: 150px;
    }
    img {
    
    
width: 90%;
max-height: 100%;
  }

    section {
      
      display: grid;
      grid-template-columns: 5fr 2fr;
      grid-template-rows:auto;
      grid-template-areas: "h1 bild "
                            "textarea bild"
                            "footer bild";
  }
  

  }



.page-reveal {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
}

.page-reveal .element {
  position: absolute;
  height: 100%;
  width: 100%;
  transform-origin: left;
}

.page-reveal .element-1 {
  background: #0b393a;
  transform: scaleX(0);
  animation: revealAnim 1250ms ease;
}

.page-reveal .element-2 {
  background: #116466;
  transform: scaleX(0);
  animation: revealAnim 1000ms ease;
  animation-delay: 450ms;
}

.page-reveal .element-3 {
  background: #0038b1;
  animation: revealContentAnim forwards;
  animation-delay: 500ms;
}

@keyframes revealAnim {
  50% {
    transform: scaleX(1);
    transform-origin: left;
  }
  51% {
    transform-origin: right;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

@keyframes revealContentAnim {
  to {
    transform: scale(0);
  }
}

