

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: whitesmoke;
  color: #333;
}

p {
  font-style: italic;
}

/* Top Nav Bar*/

/* Use a flexbox to dynamically reposition items*/
.top-navbar nav {
  position: sticky;
  overflow-y: visible;
}
.top-navbar {
  overflow-x: scroll;
  background-color: navy;
  position: sticky;
  width: 100%;


}

.top-navbar ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
  overflow-y: hidden;
}
.top-navbar ul li {
  padding: 0px;
}


/* Change the color of the links*/

.top-navbar {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  background-color: navy;
  top: 0px;
  width: 100%;
  transition: top 0.5s;
}

.top-navbar a {
  float: left;
  display: block;
  color: white;
  font-weight: bold;
  background-color: navy;
  text-align: center;
  padding: 20px;
  text-decoration: none;
  height: 100%;

  /* Needed to fix the active element appearing smaller than usual*/

}

.top-navbar a:hover {
  /* font-weight: bold; */
  background-color: rgb(135, 135, 248);
}

.top-navbar .active:hover {
  background-color: rgb(66, 26, 176);
}

.top-navbar .active {
  background-color: rgb(66, 26, 176);
  text-decoration: underline;
  text-decoration-thickness: 3px;
}


header {
  text-align: center;
  padding: 1.5rem 0;
  padding-top: 0;
  background-color: navy;
  color: white;
}

header h1 {
  font-size: 2.5rem;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.faq-section {
  width: 100%;
  max-width: 700px;
  background: white;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.faq-section h2 {
  font-size: 2rem;
  color: #004aad;
  margin-bottom: 1.5rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  padding: 1rem 0;
  cursor: pointer;
  position: relative;
  font-weight: bold;
}

.faq-answer {
  display: none;
  padding: 0.5rem 0;
  color: #555;
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  position: absolute;
  right: 0;
}

.faq-item.active .faq-question::after {
  content: '-';
}

/* Footer */
footer {
  background-color: #1b1b3a;
  color: white;
  padding: 7rem 18rem;
  text-align: right;
}

#main {
  display: flex;
}

.footer-text {
  margin-bottom: 9px;
}

.feature-footer {
  display: inline-block;
  text-align: left;
  width: 55%
}

.subtitle {
  width: 15%;
}

#products, #resources, #company {
  font-size: 18px;
  font-weight: bold;
  padding: 9px 0px;
}

#logo {
  font-weight: bold;
  font-size: 40px;
}

#fitness {
  padding: 65px 0px 15px 300px;
  font-size: 17px;
}

#start-today {
  background-color: white;
  text-align: left;
  padding: 20px 70px;
  border: none;
  display: inline-block;
  font-size: 20px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: bold;
  border-radius: 40px;
}

#start-today:hover {
  background-color: #e3e8fd;
  transition-duration: 0.5s;
}

#moto {
  padding: 80px 0px 25px 0px;
  font-size: 20px;
}

#socials {
  padding-top: 20px;
  gap: 25px;
  justify-content: center;
  display: flex;
}

#arr {
  padding-top: 100px;
  display: flex;
  justify-content: center;
}
