/* MOBILE AND GLOBAL STYLES */


/* applies to screens smaller than 500px (first breakpoint) */


/* and above unless overwritten below */

body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Arial', serif;
  background: #fff;
}


/* Style the header */

header {
  background-color: #303036;
  padding: 30px;
  text-align: center;
  font-size: 35px;
  color: #fff;
}


/*nav starts*/

nav {
  display: none;
  clear: both;
  flex-direction: column;
  font-weight: bold;
}

nav a {
  padding: 1.25em 1.5em;
  color: #000;
  background: #fff;
  text-decoration: none;
  transition: all 1.5s;
}

nav a:hover {
  color: #ddd;
  background: #303036;
}

.menu {
  background: #fff;
  text-align: center;
  color: #000;
  line-height: 5em;
  font-weight: bold;
  border: 1px solid #c1c1c1;
}

.menuToggle {
  display: flex;
}

.nav {
  background: #fff;
  color: #000;
  list-style: none;
  text-align: right;
  padding: 20px 0 0 0;
}

.menu:hover {
  color: #ddd;
  background: #303036;
  cursor: pointer;
}


/* nav ends */


/*banner */

.banner {
  width: 100%;
  display: block;
}

.banner>.bannerImage {
  width: 100%;
  display: block;
  background-size: contain;
}


/*end banner*/

h1 {
  font-size: 30px;
  font-weight: bold;
  color: #000;
}

h1 a {
  color: #000;
  text-decoration: none;
}

.heading {
  text-align: center;
  font-size: 25px;
  color: #000;
  margin: 100px 0 50px 0;
}

.headingtwo {
  text-align: center;
  font-size: 25px;
  color: #fff;
  background-color: #303036;
  margin: 100px 0 50px 0;
}

.service1 {
  width: 298px;
  border: 1px solid #c1c1c1;
  margin: 20px 10px;
  padding: 0 5px;
  float: left;
}

.service1>p {
  font-size: 14px;
  color: #636363;
}

.serviceFitnessBox:hover {
  opacity: 0.2;
}

.serviceFoodBox:hover {
  opacity: 0.2;
}

.serviceClassBox:hover {
  opacity: 0.2;
}

.serviceContactBox:hover {
  opacity: 0.2;
}


/*end of box*/


/*contact inputs*/

.form {
  display: flex;
  justify-content: center;
}


/*map styles*/

#map {
  height: 400px;
  width: 100%;
}

.middleSplitting {
  background-color: #303036;
  color: #fff;
  height: 280px;
  position: relative;
  text-decoration: none;
}


/*workout page image*/

.workoutDecImage {
  display: flex;
  justify-content: center;
}


/*model*/

.oneModel {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

.twoModel {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

.modelContent {
  width: 500px;
  height: 300px;
  background-color: #303036;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.close {
  position: absolute;
  top: 1px;
  right: 20px;
  color: #fff;
  font-size: 42px;
  transform: rotate(45deg);
  cursor: pointer;
}

.closetwo {
  position: absolute;
  top: 1px;
  right: 20px;
  color: #fff;
  font-size: 42px;
  transform: rotate(45deg);
  cursor: pointer;
}


/*contacts forms*/

.mainInputNameInput {
  display: flex;
  align-content: center;
  align-items: center;
  border-style: solid;
  padding: 5px;
  width: 500px;
}

.mainInputEmailInput {
  border-style: solid;
  padding: 5px;
  width: 500px;
}

.mainInputContactInput {
  padding: 15px;
  border-style: solid;
  padding: 5px;
  padding-bottom: 5em;
  width: 500px;
}


/*style image slider*/

.slider {
  max-width: 700px;
  border: 10px solid #303036;
  margin: 80px auto;
  position: relative;
  overflow: hidden;
}
.sliderItems{
  background-color: #303036;
  color: #fff;
}

.slider .leftSlide,
.slider .rightSlide {
  position: absolute;
  height: 40px;
  width: 40px;
  background-color: #303036;
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  top: 50%;
  cursor: pointer;
  margin-top: -20px;
  text-align: center;
  line-height: 40px;
}

.slider .leftSlide:hover,
.slider .rightSlide:hover {
  box-shadow: 0px 0px 10px black;
  background-color: #ddd;
}

.slider .leftSlide {
  left: 30px;
}

.slider .rightSlide {
  right: 30px;
}

.slider .sliderItems .item img {
  max-width: 100%;
  display: block;
  animation: zoom 1s ease;
}

@keyframes zoom {
  0% {
    transform: scale(2);
    opacity: 0
  }
  50% {
    transform: scale(2);
  }
  100% {
    transform: scale(1);
    opacity: 1
  }
}

.slider .sliderItems .item {
  display: none;
  position: relative;
}

.slider .sliderItems .item .caption {
  position: absolute;
  width: 100%;
  height: 60px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, .5);
  line-height: 60px;
  text-align: center;
  color: #ffffff;
  font-size: 30px;
}

.slider .sliderItems .item.active {
  display: block;
}





/* Style the footer */

.footer {
  background-color: #303036;
  color: #fff;
  position: relative;
  text-decoration: none;
}

.footerContent {
  border: 1px;
  height: 350px;
}

.services {
  display: inline-table;
  text-align: center;
}

.link {
  text-decoration: none;
}

.footerSectionContactForm {
  width: 298px;
  margin: 20px 10px;
  padding: 0 5px;
  float: right;
  text-align: center;
  padding-left: 200px;
}

#linkss {
  list-style-type: none;
  padding-right: 2.5em;
  padding-top: 20px;
}

#linkss a {
  text-decoration: none;
  color: #fff;
}

#linkss>li {
  padding-top: 15px;
}

#linkss>li:hover {
  opacity: 0.2;
}

#naav {
  list-style-type: none;
  padding-right: 2.5em;
}

#naav>li {
  padding-top: 10px;
}

#naavdup {
  list-style-type: none;
  padding-right: 2.5em;
}

#naavdup>li {
  padding-top: 10px;
}

.footerSectionAbout>p {
  color: #fff;
}

.textInputNameInput {
  border-style: none;
  padding: 5px;
  width: 200px;
}

.textInputEmailInput {
  border-style: none;
  padding: 5px;
  width: 200px;
}

.textInputContactInput {
  padding: 15px;
  border-style: none;
  width: 180px;
}

.footerBottom {
  background-color: #fff;
  color: #000;
  height: 50px;
  width: 100%;
  text-align: center;
  bottom: 0px;
  padding-top: 20px;
}

.socials {
  font-size: 2em;
}

.socials a {
  text-decoration: none;
  color: #fff;
}


/* TABLET STYLES */

@media screen and (min-width: 500px) {
  /* applies to screens wider than 499px */
  /*footer styling*/
  .footer {
    height: 880px;
  }
  .footerContent {
    display: grid;
  }
  .footerSectionAbout {
    width: 298px;
    margin: 20px 10px;
    padding: 0 5px;
    float: left;
    text-align: center;
    padding-left: 160px;
  }
  .footerSectionLink {
    width: 298px;
    margin: 20px 10px;
    padding: 0 5px;
    float: left;
    text-align: center;
    padding-left: 160px;
  }
  .footerSectionContactForm {
    width: 298px;
    margin: 20px 10px;
    padding: 0 5px;
    float: right;
    text-align: center;
    padding-left: 160px;
  }
  .footerBottom {
    position: relative;
  }
  .services {
    padding-left: 150px;
  }
  .service1 {
    display: inline-block;
    margin-right: 5px;
  }
  .serviceFitnessBox {
    max-width: 200px;
    margin: 15px 0 0 0;
  }
  .serviceFoodBox {
    max-width: 115px;
    margin: 15px 0 0 0;
  }
  .serviceClassBox {
    max-width: 115px;
    margin: 15px 0 0 0;
  }
  .serviceContactBox {
    max-width: 74px;
    margin: 15px 0 0 0;
  }
}


/* DESKTOP STYLES */

@media screen and (min-width: 1000px) {
  /* applies to screens wider than 999px */
  /*services design-positioning */
  .services {
    justify-content: center;
  }
  .serviceFitnessBox {
    max-width: 200px;
    margin: 15px 0 0 0;
  }
  .serviceFoodBox {
    max-width: 115px;
    margin: 15px 0 0 0;
  }
  .serviceClassBox {
    max-width: 115px;
    margin: 15px 0 0 0;
  }
  .serviceContactBox {
    max-width: 74px;
    margin: 15px 0 0 0;
  }
  /*footer styling*/
  .footer {
    height: 450px;
  }
  .footerContent {
    display: flex;
  }
  .footerSectionAbout {
    width: 298px;
    margin: 20px 10px;
    padding: 0 5px;
    float: left;
    text-align: center;
    padding-right: 230px;
  }
  .footerSectionLink {
    width: 298px;
    margin: 20px 10px;
    padding: 0 5px;
    float: left;
    text-align: center;
  }
  .footerSectionContactForm {
    width: 298px;
    margin: 20px 10px;
    padding: 0 5px;
    float: right;
    text-align: center;
    padding-left: 200px;
  }
  .footerBottom {
    position: absolute;
  }
}
