section {
    margin-left: 50px;
    margin-right: 50px;
}

.text-link {
    color: #173f71;
    transition: 0.5s;
}

.text-link:after {
    content: " ";
    display: inline-block;
    padding-bottom: 1vmin;
    font: var(--fa-font-solid);
    font-size: 0.8em;
    margin-left: 1em;
}

.text-link:hover, .text-link:focus {
    color: #2e7de1;
}

.nav {
    display: grid;
    grid-template-columns: minmax(20vmin, 14vmax) 1fr minmax(40vmin, 28vmax);
    grid-template-areas: 'logo . nav';
    min-height: 16vmin;
    max-height: 12vmax;
    background: #fff;
    align-items: center;
    transition: 500ms;
}

div.nav .logo {
    margin: min(1vh, 1em) max(2vw, 1em);
    align-self: center;
    grid-area: logo;
}

.nav nav {
    display: grid;
    grid-area: nav;
    grid-template-columns: 1fr 1fr 1fr;
    height: 100%;
}

.nav nav a {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    box-sizing: border-box !important;
    border-top: 5px solid #fff0;
    padding: 20% 10%;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;

}

.nav nav a.active, .nav nav a:hover {
    transition: 500ms;
    background: #fff;
    color: #fcd84b;
    border-top: 5px solid #fcd84b;
}

.header {
    background-size: cover;
}

.header .content {
    padding: 10vmin 20vw 10vmin 50vw;
    background-image: linear-gradient(to right, #0000 0%, #0002 50%, #000c 100%);
}

.header .content dl {

    display: grid;
    justify-content: space-around;
    grid-template-columns: 11vmin 33vmin;
    row-gap: 1.5em;
    grid-template-rows: 11vmin 11vmin 11vmin;

}

.header .content dl dt {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 7vmin;
    font-weight: 700;
    background: #000a;
    color: #FCD84B;
    text-align: center;
    height: 11vmin;
    width: 11vmin;
    align-items: center;
}

.header .content dl dt img {
    margin-top: calc((11vmin - 7vmin) / 2);
    height: 7vmin;
}

.header .content dl dd {
    color: #fff;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    align-self: center;
    width: 33vmin;
}

.offer {
    background: #feeca5;
    transition: 1s;

}

.offer a {
    background: #fcd84b;
    display: block;
    box-sizing: border-box;
    border: 2px solid #000;
    border-bottom: 5px solid #000;
    height: 8vh;
    font-size: 2.5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20em;
    transition: 0.25s;
    margin: auto;
    border-radius: 1vmin;
}

.offer a i {
    margin-left: 1em;
}

.offer a:hover {
    border: 4px solid #000;
    border-bottom: 8px solid #000;
}

.about {
    text-align: center;
}

.decorated-header h2 {
    font-family: 'Roboto Condensed';
    font-weight: bold;
    text-transform: uppercase;
    background: #fff;
    width: 30vw;
    font-size: 3vw;
    text-align: center;
    margin: 2vw auto;
}

.about .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-evenly;
    gap: 2vmax;
}

.about .about-content .about-card {
    display: grid;
    margin: 0 1vmax;
    grid-template-rows: 35vh;
    grid-auto-rows: auto;
    grid-template-areas: 'img''txt';
    
}

.about .about-content .about-card p {
    text-align: left;
    align-self: start;
    margin: 0;
    padding: 1vmax 2vmax 2vmax;
    background: #feeca5;
    height: 100%;
    font-size: 20px;
    border-radius: 0 0 1vmin 1vmin;
    border-bottom: 5px solid #000;
    grid-area: txt;
}

.about-image-container {
    grid-area: img;
}

.about-image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.decorated-header {
    background-image: url("https://web-archive.nli.org.il/National_Library/oe_/https://fitness-450.com/img/title-pattern.png");
    background-repeat: repeat-x;
    background-position: center;
}

.offer, .about, .classes, .pricing, .schedule, .photos, .bios {
    margin: 0;
    padding: 2vw 5vmin;
}

.about, .classes, .pricing, .schedule, .photos, .bios {
    background: #fff;
}


.classes .sub-header, .schedule .sub-header {
    text-align: center;
    font-size: 3vmin;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    margin: 0.5vmin auto;
    padding: 0;

}

.three-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
}

.mtp {}

.mtp>div {
    text-align: center;
    background-image: url(https://web-archive.nli.org.il/National_Library/oe_/https://fitness-450.com/img/icon-seperator.png);
    background-repeat: repeat-x;
    background-position-y: calc(9vmin - 5px);
}

.mtp h3 {
    font-size: 4vmin;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    margin: 0.5vmin auto;
    padding: 0;
}

.mtp p {
    font-size: 2.5vmin;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    margin: 0.5vmin auto;
    padding: 0;
    width: 35vmin;
}

.mtp>div>div {
    background: #fcd84b;
    width: 12vmin;
    height: 12vmin;
    padding: 1em;
    border-radius: 50%;
    margin: 3vmin auto;
    border: 4px solid #b09735;
    outline: 3vmin solid #fff;
    transition: 0.25s;
    box-shadow: 0 0 0 0px hsl(0, 0%, 80%);
}

.mtp>div>div:hover {
    box-shadow: 0 0 0 2vmin #feeca5;
    outline: 1vmin solid #fff;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 22%));
    gap: 2vmin
}

.staff-card {
    display: grid;
    grid-template-rows: calc(minmax(300px, 22%) * 5 / 4) 7vmin;
    grid-template-columns: 25% 75%;
    grid-template-areas: 'image image'
        'insta more';
    gap: 0;
    background: #fcd84b;

    border-radius: 1vmin;
}

.staff-card .staff-img-container {
    overflow: hidden;
    grid-area: image;
}

.staff-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.staff-card h3 {
    font-size: 4vmin;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-align: center;
    background: #fffa;
    padding: 1vmin;
    margin: 0;
    height: 7vmin;
    align-self: end;
    grid-area: image;
}

.staff-card a {
    background: #fcd84b;
    height: 100%;
    text-align: center;
}

.staff-card i {
    padding: 1.5vmin;
    margin: auto;
    font-size: 4vmin;
}

.staff-card a:hover {
    color: #fff;
    transition: all 0.5s;
    background: #e3c244;
}

@keyframes slideInRight {
    from {
        transform: translate3d(100%, 0, 0);
        visibility: visible
    }

    to {
        transform: translate3d(0, 0, 0)
    }
}

.slide-in-right {
    animation-fill-mode: forwards;
    animation-duration: 1s;
    animation-name: slideInRight;
}

.pricing-box {
    border: 4px solid #fcd84b;
    border-bottom: 8px solid #fcd84b;
    padding: 2vmin;
    border-radius: 1vmin;
    background: #fffefb;
    width: clamp(300px, 50%, 1200px);
    margin: auto;
    transition: 1s;
    outline: 2vmin solid #fff;
}

.pricing-box:hover {
    box-shadow: 0 0 0 2vmin #feeca5;
    outline: 1vmin solid #fff;
}

.pricing-box p {
    margin: 0 0 2vmin 0;

}

.fitness-schedule {
    border-collapse: collapse;
    width: 100%;
    padding: 0% 6.25%;
}

.fitness-schedule td, .fitness-schedule th {
    border: 0px;
}

.Group-Fitness {
    border-radius: 1vmin;
    margin: 4px 8px 0.5em 8px;
    padding: 8px;
    font-size: 12px;
}

.fitness-schedule td+td {
    border-left: 2px solid #D9DCE7;
}


.Group-Fitness {
    background-color: #fcd84b;
}

.Group-Fitness:nth-of-type(2n) {
    background-color: #feeca5;
}

.Group-Fitness .details {
    text-align: justify;
    display: flex;
    justify-content: space-between;
}

.Group-Fitness h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: normal;
    text-align: Left;
    font-size: 1em;
    margin: 0.25em 0em;
    padding: 0;
}

.Group-Fitness h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.75em;
    margin: 0.25em 0em;
    padding: 0;
    text-align: left;
    display: inline-block;
}

.Group-Fitness h5 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.75em;
    margin: 0.25em 0em;
    padding: 0;
    text-align: right;
    display: inline-block;
}

.fitness-schedule thead th {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    font-weight: bold;

    width: 12.5%;
}

.fitness-schedule tbody tr td {
    vertical-align: top;
}

@media only screen and (max-width: 1400px) {
    .group-fitness .details {
        display: block;
    }
}

@media only screen and (max-width: 800px) {
    .fitness-schedule th {
        display: none;
    }

    .fitness-schedule td {
        display: inline-block;
        border-left: none !important;
    }

    .Group-Fitness h3 {
        font-size: 1.2em;
    }

    .Group-Fitness .details h4, .Group-Fitness .details h5 {
        display: block;
        text-align: left;
    }

    .fitness-schedule tr {
        display: block;
    }

    .fitness-schedule td {
        width: 45%;
    }

    .fitness-schedule td::before {
        text-align: center;
        display: block;
        width: 100%;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 13px;
        font-weight: bold;
        margin-top: 3em;
        margin: 1em;
    }

    .fitness-schedule td:first-of-type::before {
        content: "Sun"
    }

    .fitness-schedule td:nth-of-type(2)::before {
        content: "Mon"
    }

    .fitness-schedule td:nth-of-type(3)::before {
        content: "Tue"
    }

    .fitness-schedule td:nth-of-type(4)::before {
        content: "Wed"
    }

    .fitness-schedule td:nth-of-type(5)::before {
        content: "Thu"
    }

    .fitness-schedule td:nth-of-type(6)::before {
        content: "Fri"
    }

    .fitness-schedule td:last-of-type::before {
        content: "Sat"
    }
}
@media screen and (max-width: 1200px)
{


.about .about-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    justify-content: space-evenly;
    gap: 2vmax;
}

.about .about-content .about-card {
    display: grid;
    margin: 0 1vmax;
    grid-template-rows: 35vh;
    grid-template-columns: 2fr 1fr;
    grid-template-areas: 'txt img';
}

.about .about-content .about-card p {
    font-size: 18px;
    border-bottom: none;
    border-left: 5px solid #000;
    border-radius: 1vmin 0 0 1vmin;
}
}

@media screen and (max-width: 1024px) {
    section {
        margin-left: 50px;
        margin-right: 50px;
    }
    
}

@media screen and (max-width: 768px) {
    section {
        margin-left: 20px;
        margin-right: 20px;
    }

    .header .content {
        padding: 0;
    }

    .header .content dl {
        padding: 10vmin;
        margin: 0;
        background: #00000066;
        grid-template-columns: 1fr 3fr;
    }

    .header .content dl dt {
        width: 100% !important;
    }

    .header .content dl dd {
        margin: 0;
        margin-right: 10vmin;
        width: 100% !important;
    }

    .offer a {
        width: 75vw;
    }

    .decorated-header h2 {
        margin-top: 2em;
        margin-bottom: 1em;
        width: 75vw;
        font-size: 8vw;
    }

    .three-column {
        grid-template-columns: 1fr;
        gap: 5vh;
    }

    .mtp>div {
        background-position-y: calc(15vw + 3vmin - 5px);
    }

    .mtp h3 {
        font-size: 7vw;
    }

    .mtp p {
        font-size: 6vw;
        width: 90%;
    }

    .mtp .circle {
        height: 30vw;
        width: 30vw;
    }

    .mtp .circle img {
        width: 100%;
        height: 100%;
    }

    p.sub-header {
        font-size: 6vw !important;
    }

    .nav {
        display: grid;
        grid-template-columns: minmax(20vmin, 14vmax) 1fr minmax(40vmin, 36vmax);
    }

    .about .about-content{
        max-width: 50vh;
        margin: auto;
    }
    .about .about-content .about-card {
        display: flex;
        flex-flow: column-reverse;
    }
    .about .about-content .about-card p{
        border-left: none;
        height: max-content;
        border-bottom: 5px solid #000;
        border-radius: 0 0 1vmin 1vmin;
    }
    .about-image-container{
        height: 50vh;
    }
}

@media screen and (max-width: 512px) {
    section {
        margin-left: 0;
        margin-right: 0;
    }
}

@media only screen and (max-width: 600px) {
    .fitness-schedule td {
        width: 95%;
    }
}

@media only screen and (min-width: 600px) {
    .group-fitness {
        font-size: 10px;
    }
}

@media only screen and (min-width: 800px) {
    .group-fitness {
        font-size: 11px;
    }
}

@media only screen and (min-width: 1000px) {
    .group-fitness {
        font-size: 12px;
    }
}

@media only screen and (min-width: 1400px) {
    .group-fitness {
        font-size: 14px;
    }
}

footer {
    background: #777;
    padding: 2em 0;
}

.footer {
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 3fr 3fr;
    justify-content: space-around;
    margin: 0 5%;
    grid-template-areas:

        '  logo  links .  '
        '  logo links email   '
        '  social  links  hours   ';

    font-family: "Roboto", Helvetica, Arial, Sans-serif;
    Font-size: 0.7em;
    column-gap: 4em;
}

.link-section-footer {
    margin: 2em auto 2em;
    width: 100%;
    display: flex;
    column-gap: 3em;
    grid-area: links;
    justify-content: space-evenly;
}

.hour-section-footer {
    margin: 0em 0em 2em;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    column-gap: 1em;
    grid-area: hours;
    align-items: end;
}

.links-footer {
    display: flex;
    align-items: end;
}

.hours-footer,
.address-footer {
    display: flex;
    flex-direction: column;
    font-weight: normal;
    font-size: 0.9em;
}

.hours-footer dl {
    display: grid;
    font-size: 1em;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
    column-gap: 2em;
}

.hours-footer dt,
.hours-footer dd {
    margin: 0;
    padding: 0;
    display: inline-block;
    font-weight: normal;
}

.address-footer>div {
    display: flex;
    flex-flow: row wrap;
    gap: 1em;

}

.social-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.5em;
    margin: 2em 0 2em;
    align-items: center;
}

.social-footer a {
    --icon-size: 15px;
    --icon-padding: 0.6em;
    display: inline-flex;
    align-items: center;
    border-radius: 10%;
    box-sizing: border-box;
    color: #ffffff;
    justify-content: center;
    cursor: pointer;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.21);
    height: calc(var(--icon-size, 25px) + (2 * var(--icon-padding, .5em)));
    width: calc(var(--icon-size, 25px) + (2 * var(--icon-padding, .5em)));
    line-height: var(--icon-size, 25px);
    font-size: var(--icon-size, 25px);

}

.social-footer a:hover {
    background: #fff;
    color: #000;
    transition: 500ms;
}

.email-subscribe label {
    display: flex !important;
    font-family: "Roboto", Helvetica, Arial, Sans-serif !important;
    font-size: 0.9em !important;

}

.footer-logo {
    align-items: end;
}

.footer-logo a img {
    width: 6em;
}

.footer-button {
    font-family: "Roboto", Helvetica, Arial, Sans-serif !important;
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.21) !important;
    border-radius: 0px 5px 5px 0px !important;
}

.email-form .footer-input {
    border-radius: 5px 0px 0px 5px;
}

.footer-button:hover {
    border: #2e7de1 solid 3px !important;
    background: #2e7de1 !important;
    color: #eee !important;
    transition: 500ms !important;
}

.links-footer a:hover {
    text-decoration: underline;
    transition: 500ms !important;
}

.footer ul {
    list-style: none;
    padding: 0 !important;
}

.footer a {
    color: #fff;
}

.email-form {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        'label label label label label'
        'input input input button button';
    margin-bottom: 1em;
}

.email-form label {
    grid-area: label;
    align-items: end;
}

.email-form .footer-input, .email-form .footer-button {
    font-size: 1em;
    border: none !important;
    height: 2em;
    grid-area: input;
    margin: 0 !important;
}

.email-form .footer-button {
    grid-area: button;

    padding: 0 !important;
}

.social-footer i {
    font-family: "Font Awesome 5 Brands" !important;

}

.address-footer i {
    font-family: "Font Awesome 5 Free" !important;

}

@media only screen and (min-width: 1400px) {
    .footer {
        font-size: 0.8em !important;
        grid-template-columns: 2fr 1fr 4fr 1fr 5fr 1fr;
        justify-content: space-around;
        margin: 0 5%;
        grid-template-areas:

            '  logo .  links . . . '
            '  logo . links . email .  '
            '  social . links . hours .  ';

    }

    .hour-section-footer {
        justify-content: start !important;
    }
}

@media only screen and (min-width: 1150px) {
    .footer {
        font-size: 0.7em !important;
    }
}

@media only screen and (max-width: 1150px) {
    .footer {
        font-size: 0.6em !important;
    }
}

@media only screen and (max-width: 850px) {
    .footer {
        font-size: 0.7em !important;

    }

    .footer {
        grid-template-columns: 1fr 1fr 4fr;
        margin: 0 5%;
        grid-template-areas:

            'logo  . links'
            'social . links'
            'social . hours'
            'email email email';
    }

    .social-footer {
        grid-template-columns: 1fr 1fr;
        justify-content: space-around;
        justify-items: space-around;
        row-gap: 0em;
    }

    .footer-logo {
        display: flex;
        align-content: end;
    }

    .footer-logo, .footer-logo a {
        width: 100%;
        text-align: center !important;
    }

    .footer-logo a img {
        width: 5em !important;
        margin: auto;
    }

    .email-form {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        grid-template-areas:
            'label input input button';
        margin-bottom: 1em;
    }
}

@media only screen and (max-width: 680px) {

    .link-section-footer, .hour-section-footer {
        justify-content: space-between !important;
    }

    .footer-logo a img {
        width: 10em !important;
        margin: auto;
    }

    .footer {
        grid-template-columns: 1fr 2fr 1fr;
        margin: 0 1em !important;
        grid-template-areas:

            '. logo .'
            'links links links'
            'hours hours hours'
            'email email email'

            'social social social';
    }

    .social-footer {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        justify-content: space-evenly !important;
    }
}

@media only screen and (max-width: 375px) {
    .hour-section-footer {
        display: flex;
        flex-direction: column;
        font-weight: normal;
        justify-content: space-around !important;
    }

    .hours-footer, .address-footer {
        width: 100% !important;
        margin: 2em 0em;
        justify-content: start !important;
    }

    .email-form {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr 1fr;
        grid-template-areas:
            'label label label'
            'input input button';
        margin-bottom: 1em;
    }

    .hours-footer dl {
        margin-right: 40%;
        justify-content: start;
    }
}