* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  letter-spacing: 0.0725em;

}

/*Nav – nr26. 

https://foolishdeveloper.com/navigation-bar-html-css-javascript/ */


body {
  min-width: 300px;
  background-color:beige;

}


header>h1 {

  color: rgb(255, 255, 255);
  outline: black 2px;
  background-image: url(../img/TolIbkbakgrundimg.jpg);
  text-align: center;
  padding: 3.4rem;
  font-size: 1.3rem;



}

header>h2 {
  text-align: center;
  padding: 10px;

  box-sizing: border-box;
  font-size: 2.5rem;
  text-align: center;

}

#traning{
  background-color: beige;
}

.container {
  width: 80%;
  margin: auto;
}

/** Showcase **/

#showcase {
  
  background-size: cover;
  background-position: 60%;
  background-repeat: no-repeat;
 
}

#showcase .navbar {
  display: flex;
  justify-content: space-between;
  max-width: 1024px; 
  
 align-items: center;
background-color: #f5f5dc;
  transition: all 1s;
  position: fixed;
  top: 0;
width: 100%; 


  align-items: center;
}


#showcase .logo span {
  color: #0004ff;
  font-weight: 900;
}

#showcase .logo a {
  color: #001eff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 24px;
}

#showcase> nav> ul> li {
  display: inline;
  
}



 nav ul li a:hover {
  border-bottom: 3px #3353e0 solid;
  transition: all 0.7s;
}

.link {
  background-color: #333fe0;
  border-radius: 16px;
  color: white;
  padding: 10px 34px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  transition-timing-function: linear;
  transition: all 1s;
}

 .link:hover {
  background-color: transparent;
  color: #333fe0;
  padding: 10px 34px;
  transition-timing-function: linear;
  transition: all 1s;
  transform: scale(1.4);
}


tr>td {
border-radius: 1rem;

padding: 1rem;

  background-color:beige;
width:100%;


}








.container {
  width: 100%;
  text-align: center;
}

#showcase .link {
display: none
}

#showcase .navbar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 0;
  text-align: center;
}








/** article **/

article {
  background-color: #abc6ef;
  
}

article> h2 {
  font-size: 2.4rem;
  text-transform: uppercase;
}

article> .gridas {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 90%;
  margin: auto;
}









/** Ready? Vill du börja Träna?**/

#ready {
  background: linear-gradient(
      360deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.1)
    ),
    url(../img/molvaktbild.jpg);
      background-attachment: fixed;
  background-position: 19% 50%;
  height: 350px;
  background-size: 120%;
  text-align: center;
  display: flex;
}

#ready h2 {
  text-transform: uppercase;
  color: #2222e9;
  font-size: 36px;
  border-radius: 12px;
  padding-bottom: 20px;
}


#ready a {
  background-color: #fff;
  border: 1px #337ee0 solid;
  border-radius: 16px;
  color: #1927e6;
  padding: 10px 22px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 1s;
}

#ready a:hover {
  transition: all 2s;
  transform: scale(1.4) rotate(1080deg);
}

#prefooter {
  background-color: #ffffff;
  display:flex ; 
justify-content:center;
}


#prefooter ul li  {
  list-style-type: none;
  font-size: 1rem;
  padding-bottom: 10px;

  display:flex;
}

#prefooter  ul li img {
  display:flex;
 
max-width: 8rem;
align-items: center;

}

#prefooter ul li a {
  text-decoration: none;
  color: #0911ff;
  
}

#prefooter .main {
  
  padding-bottom: 20px;
  font-size: 17px;
}

#prefooter> p {
  color: #0c0c57;
  font-size: 1rem;
}

#prefooter form {
  
margin:auto;
  padding: 2rem;
  
}

#prefooter> input[type=email] {
  margin-top: 150px;
  border: none;
  
}

#prefooter> .submit {
  font-size: 4rem;
  display:flex;
}

footer {
  padding: 15px 0;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content:space-evenly;
  align-items: center;
  font-size: 12px;
  background-color: beige;

}



nav ul li a {
  margin:0;

  color: #0d76de;
  text-decoration: none;

  display: flex;

}
/* Surfplatta*/

@media screen and (min-width: 678px) {

   nav ul li a {
    
    display:contents;
    justify-content: center;
  }

  #prefooter>img {
  
    flex-direction: row-reverse;
 
  
  


}




}


/* dator*/

@media screen and (min-width: 1024px) {

  body {
    margin: auto;
    background-image: url(../img/coolcolorbackground.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 1024px;
  }

  nav ul li a {
    margin:0 1rem;

    color: #0d76de;
    text-decoration: none;
    font-size: 2rem;
   
  
  }
  
  #showcase .navbar {
    width:1024px;
    
  
    align-items: center;
  }

tr>td {
 
  
  padding: 1rem 8rem;
   
    background-color:beige;
    align-items: center;
  
  }


  #prefooter ul  {
    
  
    display:flex;
    
  }


  article >p {

    font-size: 3rem;
  }
  


}