
body {
    margin: 0;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    background-color: #332046;

}

.hero {
    height: 600px;
    background-image: url("images/background.jpg");
    background-size: cover;
    display: flex; 
    flex-direction: column;
    
    align-items: center;
    font-family: 'Oswald', sans-serif;
    color: #fff;
    text-shadow: 0 0 4px #332046;
    font-size: 35px;

}

h1{
  
    padding-top: 30px;

}


.hero > h2 {
    font-size: 30px;
    font-style: italic;
}

.nav-bar {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    background-color: #8564c181;
    font-size: 20px;
    text-shadow: 0 0 5px #000;
    
}

/* -------- linkkien muotoilu ------- */

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  
  li {
   float: left;
  }
  
  li a {
    font-family: 'Roboto', sans-serif;
    display: block;
    color: #dacdf2;
    text-align: center;
    padding: 10px 10px;
    text-decoration: none;
   
  }

    a:link{
        color: #dacdf2;
    }
    a:visited{
        color: greenyellow;
    }
    a:hover{
    color: #feb780;
  }
    

.emojies {

    background-color: #332046;

}



.emojies {
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    
}

.emoji:hover {
    rotate: 20deg;
}


.emoji-background {
    background-color: #8564c181;
    padding: 30px 45px;
    border: 1px solid rgb(197, 152, 215);
    border-radius: 50%;
}


i {
    font-size: 100px;
}


p {
    font-style: italic;
}

.hero-serenity {
    
    height: 2150px;
    background-image: url("images/serenitynow.gif");
}

.hero-problem  {
    height: 2150px;
    background-image: url("images/problem.gif");

}

.hero-truth {
    height: 2150px;
    background-image: url("images/thetruth.gif");
}

h2 {
    position: relative;
    animation: mymove 30s infinite;
    animation-timing-function: ease-in;
}

@keyframes mymove {
    from {right: 0px;}
    to {right: 300px;}
  }