body{
    background-image: url(../images/bg-with-overlay.jpg);
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    font-family: "Chakra Petch", sans-serif;
}



.yläpalkki{
    background-color: #DE7ED5;
    text-align: right;
	height:10px;
}

.käyttäjä{
    right: 57px;
    margin-top: 0px;
    
}

#profiili-icon{
    position: relative;
    top: 9px;
    right: 200px;
}

#kirjautumisnappi{
    position: relative;
    top: 9px;
}

.login{
    right: 8px;
    position: relative;
}

.käyttäjä, .login{
    color: #1A5077;
}

/* About Us yläotsikko */

h1{
    font-family: "Jersey 15", sans-serif;
    display: flex;
    justify-content: center;
    margin-left: -18px;
    font-size: 100px;
    color: whitesmoke;
    text-shadow: -2px 0 black, 0 3px black, 3px 0 black, 0 -2px black;
    text-transform: uppercase;
    background: rgb(222,126,213);
    background: linear-gradient(180deg, rgba(222,126,213,1) 0%, rgba(222,126,213,1) 25%, rgba(255,255,255,1) 50%, rgba(66,222,255,1) 75%, rgba(66,222,255,1) 100%);
    padding-top: 20px; padding-bottom: 35px;
    margin-top: 0;
    margin-bottom: 0;
	/*height:70px;*/
}



.otsikkopalkki{
    
    display: flex;
    font-size: 27px;
    font-weight: bold;
    justify-content: center;
    gap: 20%;  
}

.etusivu{
    color: #1A5077;
    position: relative;
    bottom: 40px;
    
}
.meistä{
    color: #1A5077;
    position: relative;
    bottom: 40px;
    
}
.käyttäjä{
    right: 57px;
    margin-top: 0px;
    position: relative;
    
}
.tuki{
    color: #1A5077;
    position: relative;
    bottom: 40px;
}

a{
  text-decoration: none;
}

a:hover{
  font-weight: bolder;
  color: white;
}



.linjat{
    position: relative;
    bottom: 30px;
}

  .linja2 {
    border-bottom: 14px solid #42deff;
    margin-top: 7px;
  }

  .linja3 {
    border-bottom: 7px solid #42deff;
    margin-top: 9px;
  }




.info{
    margin-top: 1%;
    margin-bottom: 3%;
    margin-left: 9%;
    margin-right: 9%;
    text-align: center;
    font-size: 20px;

}


/* top row of the pictures. */
.row{
    margin-left:8%;
    
}

.card {
    /* Add shadows to create the "card" effect */
    display: inline-block;
    vertical-align: top;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 25%;
    margin: 0% 3% 3% 3%;
    border-radius: 10px;
  }

  .card:hover {
    box-shadow: 8px 16px 32px 8px skyblue;
  }

  img {
    width: 100%;
    border-radius: 10px;
  }

  .container {
    padding: 2px 16px;
    background-color: white;  
    border-radius: 10px;
    
  }

  .container a{
    font-weight: 700;
    color: #42deff;
  }
  
  .container a:hover{
   color:rgb(222,126,213);
   font-weight: 900;
  }

  .git{
    position: relative;
    width: 10%;
    left: 88%;
  }
  
  .linkkari{
    position: relative;
    width: 11%;
    left: 65%;
    border-radius: 0;
  }

/* Makes it first go to 2 pictures in line and then 1 picture in line when size of window is scaled down. */

  @media (max-width:1300px){
    .card{
        width: 35%;
    }

  }

  @media (max-width:800px){
    .card{
        width: 55%;
    }
  }

