*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
  }
  body{
	font-family: "montserrat";
        margin: 0px;
        padding: 0px;
        background: url(images/clubfitness.jpg);
  }
  nav{
    background: #0082e6;
    height: 80px;
    width: 100%;
  }
  label.logo{
    color: white;
    font-size: 35px;
    line-height: 80px;
    padding: 0 100px;
    font-weight: bold;
    user-select: none;
  }
  nav ul{
    float: right;
    margin-right: 20px;
  }
  nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
  }
  nav ul li a{
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
  }
  li a i{
    padding: 5px;
  }
  a.active,a:hover{
    background: #1b9bff;
    transition: .5s;
  }
  .checkbtn{
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
  }
  #check{
    display: none;
  }
  @media (min-width: 952px){
    img{
      width:50%;
    }
  }
  @media (max-width: 952px){
    label.logo{
      font-size: 30px;
      padding-left: 50px;
    }
    img{
      position:inherit;
      align:center;
      width:100%;

    }

    nav ul li a{
      font-size: 16px;
    }
  }
  @media (max-width: 858px){
   .checkbtn{
     display: block;
   }
   ul{
     position: fixed;
     width: 100%;
     height: 100vh;
     background: #2c3e50;
     top: 80px;
     left: -100%;
     text-align: center;
     transition: all .5s;
   }
   nav ul li{
     display: block;
     margin: 50px 0;
     line-height: 30px;
   }
   nav ul li a{
     font-size: 20px;
   }
   a:hover,a.active{
     background: none;
     color: #0082e6;
   }
   #check:checked ~ ul{
     left: 0;
   }
 }
body{
    margin: 0;
    padding: 0;
}
.gallery{
  padding: 50px;
    text-align: center;
    background-color: #474e5d;
    color: white;
}
 h1{
    font-weight: 200px;
    width: auto;
    text-align: center;
    color: white;
    font-size: 35px;
    user-select: none;

}
.images{
  margin: auto;
z-index:-1;
  justify-content: center;
  box-sizing: border-box;
}
img{
z-index:-1;
  border:5px solid #555;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  height:450px;
  position:relative;
  float: left;
  top: 0;
  align: center;
}
