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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
}

/* 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;
  }
/* General Reset */

/* Header */
header h1 {
    text-align: center;
    padding: 1.5rem 0;
    color: #004aad;
    font-size: 2.5rem;
}
.intro-text {
    text-align: center;
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
    color: #555;
}

/* Features Section */
.feature-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.feature {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}
.feature:hover {
    transform: translateY(-5px);
}
.feature img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}
.feature h2 {
    font-size: 1.5rem;
    color: #004aad;
    margin-bottom: 0.5rem;
}
.feature p {
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-navbar ul {
        flex-direction: column;
    }
    header h1 {
        font-size: 2rem;
    }
}

/* 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;
}



