@import url(https://fonts.googleapis.com/css?family=Open+Sans:600);

#meninger2 { 
  font-family: "Raleway";
  color: #000;
  overflow: hidden;
  width: 100%; /* Fyller hele bredden av skjermen */
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.item-1, 
.item-2, 
.item-3 {
  position: absolute;
  display: block;
  width: 100%;
  text-align: center;
  font-size: 2em;
  animation-duration: 20s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.item-1 {
  animation-name: anim-1;
}

.item-2 {
  animation-name: anim-2;
}

.item-3 {
  animation-name: anim-3;
}

@keyframes anim-1 {
  0%, 8.3% { opacity: 0; transform: translateX(-100%); }
  8.3%, 25% { opacity: 1; transform: translateX(0); }
  33.33%, 100% { opacity: 0; transform: translateX(100%); }
}

@keyframes anim-2 {
  0%, 33.33% { opacity: 0; transform: translateX(-100%); }
  41.63%, 58.29% { opacity: 1; transform: translateX(0); }
  66.66%, 100% { opacity: 0; transform: translateX(100%); }
}

@keyframes anim-3 {
  0%, 66.66% { opacity: 0; transform: translateX(-100%); }
  74.96%, 91.62% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(100%); }
}

#meningsammensetning{
    display: flex;
    justify-content: space-evenly;

}

#stjerner{
  position: relative;
  grid-area: s;
  font-size: medium;
  top: 10px;
}
#dato{
  position: relative;
  grid-area: d;
  font-size: medium;
  top: 10px;
}
#review{
  position: relative;
  grid-area: t;
  font-size: medium;
  top: 10px;
}
#navn{
  grid-area: n;

}

#meningboks{
  display: grid;
  height: 200px;
  width: 450px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  grid-template-areas: 's . d'
                       't t t'
                       'n . .';
}

#underborder{
  border-bottom: 2px solid #000;
  position: relative;
  top: -40px;
  margin-left: auto;
  margin-right: auto;
  width: 10%;
}