﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

header {
    background: #3799B1;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 24px;
}


/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* Set padding to display errors that occur during databinding */
.padding-error {
    padding-top: 20px;
}

@media only screen and (max-width: 767px) {
    .nofloat {
        float: none;
        padding: 10px 15px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.header-content img {
    height: 50px;
}

#content {
    padding: 20px 0;
}   

.section-title {
    padding: 0 10px;
}

.section-title h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #878282;
}
.section-content ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: start;
    align-items: top;
    flex-wrap: wrap;
}   
.section-content ul li {
    width: 33.333334%;
}

.gym-item {
    padding: 10px;
}

.gym-item a {
    background-color: #ffffff;
    padding: 15px;
    display: block;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gym-item a:hover {
    color: #3799B1;
    transform: translateY(-5px);
    background-color: #f4f4f4;
}

.gym-item img {
    max-width: 100%;
    height: 100px;
    width: auto;
    margin-bottom: 10px;
}

.gym-item span {
    display: block;
    margin-bottom: 5px;
}
.gym-item span small {
    color: #666;
    display: block;
}

.footer {
    background-color: #fff;
    padding: 10px 0;
    text-align: right;
    margin-top: 20px;
}

.footer .powered small {
  display: inline-block;
  vertical-align: middle;
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding-top: 6px;
}

.footer .powered img {
  display: none;
  vertical-align: middle;
  width: 96px;
  margin-left: 3px;
  height: auto;
}

.footer .powered img.footer-logo {
  display: inline-block;
}

@media (max-width: 1030px) {
  
    .header-content img {
        height: 40px;
    }

    header h1 {
        font-size: 20px;
    }

    .section-title h1 {
        font-size: 24px;
    }

    #content .container {
        padding: 0;
    }

    .section-title {
        padding: 0 15px;
    }

    .section-content {
        padding: 0 5px;
    }
}


@media (max-width: 1030px) {
    header {
        padding: 10px 0;
    }
    .header-content {
        gap: 5px;
    }
  
    .header-content img {
        height: 30px;
    }

    header h1 {
        font-size: 13px;
    }

    #content {
        padding: 10px 0;
    }

    .section-title h1 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    #content .container {
        padding: 0;
    }

    .section-title {
        padding: 0 5px;
    }

    .section-content {
        padding: 0;
    }

    .section-content ul li {
        width: 50%;
    }

    .gym-item {
        padding: 5px;
    }
}

@media (max-width: 420px) {
    .section-content ul li {
        width: 100%;
    }

    .footer .powered img {
        width: 66px;
    }
    .footer .powered small {
        font-size: 9px;
    }
}