* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
} 

/* //////////VERTICAL-NAV//////////// */

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 999999; /* Stay on top */
    top: 0; /* Stay at the top */
    right: 0;
    background-color: #444; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    border-left: 3px solid #060606;
  }
  
  /* The navigation menu links */
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    transition: 0.3s;
  }
  
  /* When you mouse over the navigation links, change their color */
  .sidenav a:hover {
    color: #fff;
  }
  
  /* Position and style the close button (top right corner) */
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 36px;
    margin-left: 50px;
  }

  .sub-link {
    margin-left: 1rem;
  }
  
  /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
  #main {
    transition: margin-left .5s;
    padding: 20px;
  }
  
  /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }

  .open-nav {
      z-index: 999;
      font-size: 5rem;
      color: #333;
      display: none;
      padding-right: 0.6;
  }



/* //////////HEADER//////////// */

.header {
    padding: 1.2rem 2.4rem;
    background-color: #444;
    position: fixed;
    width: 100%;
    z-index: 5;
}

.header-box {
    margin: 0 auto;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.4rem;
}

.logo-box {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.logo {
    font-size: 3.2rem;
    color:#fff;
}

.logo-mob {
    display: none;
}

.header-social {
    width: 4rem;
    transition: all 0.3s;
}

.header-social:hover {
    transform: scale(1.05);
}

.header-nav {
    display: flex;
    gap: 2.4rem;
    align-content: center;
}

.header-link {
    font-size: 3.2rem;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
}

.header-special {
    border: 1px solid #fff;
    transition: all 0.3s;
}

.header-special:hover {
    transform: scale(1.05);
}


/* //////////HERO//////////// */

.hero {
    padding: 0.6rem 0;
    background-image: url("/imgs/banner.jpg");
    height: 100vh;
    background-size: cover;
    background-position-x: left;
    position: relative;
}

.hero-pt {
    background-image: url("/imgs/personal-training-banner.jpg");
}

.hero-box {
    margin: 0 auto;
    height: 100%;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 1.2rem;
    gap: 2.4rem;
    flex-direction: column;
    background-color: rgba(51, 51, 51, 0.171);
    text-align: center;
}

.hero-header {
    font-size: 7.2rem;
    color: #fff;
    padding: 0 0.6rem
}

.hero-caption {
    font-size: 4.8rem;
    color: #fff;
    padding: 0 0.6rem
}

/* //////////ABOUT//////////// */

.about {
    padding: 3.6rem 1.2rem 3.6rem;
}

.about-box {
    margin: 0 auto;
    max-width: 100rem;
}

.about-container {
    display: grid;
    align-content: center;
    justify-items: center;
    grid-template-columns: 1fr;
}

.about-image-box {
    align-self: center;
    justify-self: center;
}
.about-img {
    width: 50rem;
}

.about-text-box {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.about-header {
    font-size: 3.2rem;
    color: #333;
    text-align: center;
}

.about-text {
    text-align: center;
    font-size: 2.2rem;
    color: #666;
    font-family: jf;
}

.about-link {
    font-size: 2.2rem;
    background-color: #b3bd87;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 13px;
    width: 12rem;
    text-align: center;
    align-self: flex-end;
    transition: all 0.3s;
    border: 1px solid #b3bd87;
}

.about-link:hover {
    background-color: #fff;
    color: #b3bd87;
}



/* //////////SERVICES//////////// */

.services {
    padding: 4.8rem 1.2rem 4.8rem;
    background-color: #444;
}

.services-box {
    margin: 0 auto;
    max-width: 140rem;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.services-item {
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: space-between;
    gap: 2.4rem;
    text-align: center;
}

.services-header {
    font-size: 3.6rem;
    color: #fff;
}

.services-text {
    font-size: 2.4rem;
    color: #eee;
}

.services-cost {
    font-size: 2.4rem;
    color: #fff;
}



/* //////////Z//////////// */

.z {
    padding: 9.6rem 1.2rem 9.6rem;
}

.z-box {
    margin: 0 auto;
    max-width: 120rem;
}

.z-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.8rem;
}

.z-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.8rem;
    justify-content: center;
    align-items: center;
}

.z-img {
    width: 50rem;
}

.z-text-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2.4rem;
    text-align: center;
}

.z-header {
    font-size: 3.6rem;
    color: #333;
}

.z-text {
    font-size: 2.4rem;
    color: #666;
}

.z-link {
    padding: 0.6rem 1.2rem;
    background-color: #444;
    color: #fff;
    font-size: 2.4rem;
    text-decoration: none;
    width: 13rem;
    text-align: center;
}

/* //////////PARALLAX 1 SECTION//////// */

.parallax1 {
    background-image: url("imgs/para1.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 50rem;
}




/* -----------------FAQ PAGE------------------- */

.faq {
    padding: 9.6rem 4.8rem;
}

.faq-box {
    margin: 0 auto;
    max-width: 120rem;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr;
}

.faq-title {
    font-size: 4.8rem;
    color:#333;
    padding: 2.4rem 0;
}

.accordion {
    font-size: 2.4rem;
    background-color: #444;
    color: #fff;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

.active, .accordion:hover {
    background-color: #fff;
    color: #444;
    font-weight: bold;
}

.panel {
    border-bottom: 3px solid #eee;
    padding: 0 2.4rem;
    font-size: 2.4rem;
    background-color: #eee;
    color: #31525b;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.panel p {
    padding: 2.4rem;
}

.panel ul {
    padding: 0 2.4rem 2.4rem;
}



/* //////////QUAD SECTION//////// */

.quad {
    padding: 4.8rem 1.2rem;
}

.quad-box {
    max-width: 140rem;
    margin: 0 auto;
}

.quad-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-items: center;
    align-items: flex-start;
    gap: 2.4rem;
}

.quad-item {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
}

.quad-img {
    width: 11rem;
}

.quad-header {
    color: #333;
    font-size: 3.2rem;
    text-align: center;
}

.quad-text {
    color: #666;
    font-size: 1.8rem;
    text-align: center;
}


/* //////////PARALLAX 2 SECTION//////// */

.parallax2 {
    background-image: url("imgs/para2.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 50rem;
}


/* //////////PT SECTION//////// */

.pt {
    padding: 1.2rem 1.2rem 4.8rem;
}

.pt-box {
    max-width: 120rem;
    margin: 0 auto;
}

.pt-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    gap: 2.4rem;
}

.pt-text-box {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.pt-header {
    font-size: 4.8rem;
    color: #333;
}

.pt-text {
    font-size: 2.4rem;
    color: #666;
}

.pt-img {
    width: 100%;
}

.pt-link {
    align-self: center !important;
    padding: 0.6rem 1.2rem;
    background-color: #444;
    color: #fff;
    font-size: 2.4rem;
    text-decoration: none;
    width: 13rem;
    text-align: center;
}

/* -------CTA SECTION------ */

.cta {
    padding: 2.4rem 0.6rem 9.6rem;
    display: grid;
}

.cta-box {
    max-width: 120rem;
    margin: 0 auto;
}

.email-text {
    font-size: 2.4rem;
    color: #333;
    text-align: center;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
}

.cta-form-page {
    width: 70rem;
    justify-self: center;
}


.cta-text {
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    justify-items: center;
    align-items: center;
    color: #777;
}

.cta-title {
    font-size: 3.6rem;
    color: #333;
    text-align: center;
}

.cta-text-box {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    font-size: 2.4rem;
    text-align: center;
    padding: 0rem;
}

.cta-socials {
    align-self: center;
    justify-self: center;
    display: flex;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-box {
    border: none;
    border-bottom: 3px solid #444;
    resize: none;
    padding: 1.2rem;
}

.input-box::placeholder {
    font-family: 'Quicksand', sans-serif;
}



.message-input {
    height: 12rem;
}

.message-input::placeholder {
    font-family: 'Quicksand', sans-serif;
}

.submit-btn {
    width: auto;
    align-self: flex-end;
    padding: 0.6rem 1.2rem;
    border-radius: 13px;
    border: none;
    background-color: #444;
    color: #fff;
    font-size: 2.4rem;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
    border: 1px solid #444;
}




  /* -------FOOTER SECTION------ */

.footer {
    padding: 9.6rem 1.2rem;
    background-color: #333;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr;
}

.footer-box {
    max-width: 150rem;
    margin: 0 auto;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 3rem;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
}

.footer-logo-copy {
    align-items: center;
    text-align: center;
}

.footer-logo {
    width: 30rem;
}

.copyright {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #fff;
}

.footer-socials-box {
    display: flex;
    gap: 2.4rem;
}

.footer-social {
    width: 4.8rem;
    transition: all 0.3s;
    cursor: pointer;
}

.footer-social:hover {
    transform: scale(1.05);
}

.footer-header {
    font-size: 2.8rem;
    padding-bottom: 1.8rem;
    color: #e9ecf4;
}

.footer-details {
    font-size: 1.8rem;
}

.footer-link {
    font-size: 2.2rem;
    text-decoration: none;
    color: #e9ecf4;
    position: relative;
}

.created-by {
    justify-self: center;
    margin-top: 5rem;
    font-size: 1.8rem;
    color:#ddd;
    text-align: center;
}

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

.footer-placeholder {
    font-size: 4.8rem;
}