* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-template-areas: "slideshow"
    " dots"
    " box1"
    "box2"
    "footer";


}


footer {
  position: relative ;

}


p{
  font-size: small;
}

.bildspel-container {
  width: 100%;
  position: relative;
  margin: auto;
  height: auto;
  grid-area: slideshow;
  margin-top: 5%;

}



img {
  border-radius: 15px;
  width: 100%;


}





  



nav {
  background-color: grey;
}



body {
  overflow-x: hidden;


}

.wrapper {
  transition: transform 1s ease-in-out;
}



@keyframes slideOutToleft {
  0% {
    transform: translateX(0%) ;
    opacity: 1;
  }
  100% {
    transform: translateX(-100%) ;
    opacity: 0;
  }
}
.slide-out {
  transform: translateX(-125%);
  animation:slideOutToleft 1s ease-in-out;
}
@keyframes slideInFromRight {
  0% {
    transform: translateX(100%) ;
    opacity: 0;
  }
  100% {
    transform: translateX(0) ;
    opacity: 1;
  }
}

.slide-in  {
  display: block; /* Ensure the wrapper is visible during animation */
  animation: slideInFromRight 1s ease-in-out;
}




@media only screen and (min-width: 767px) {
   
p{
  font-size: large;
}
}


@media only screen and (min-width: 1030px){

p{font-size: 30px;}


}