/*
Theme Name: Gym Theme
Author URI: http://example.com
Description: Gym theme
Author: example
Version: 1.0
*/

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

@font-face {
    font-family: Teko;
    src: url('/wp-content/themes/gymtheme/assets/fonts/Teko/Teko-VariableFont_wght.ttf');
}

#sliderBg {
    position: absolute;
    left: 0;
    top: -50px;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#slider,
#slider>div {
    position: relative;
}

#slider>div {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-left: 100px;
}

#slider {
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.img-cont {
    min-height: 0px;
    min-width: 0px;
    max-height: none;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    display: flex;
    /* width: 100p;
    height: 300px; */
    overflow: hidden;
    position: relative;
    align-items: center;
    justify-content: center;
}

.text-cont {
    position: absolute;
    left: 0;
    top: 200px;
    z-index: 10;
}

.img-cont img {
    /* position: relative; */
    /* object-fit: cover; */
    z-index: 5;
    display: block;
    /* height: 100%; */
    width: 100%;
    /* height: auto; */
}

#slider>div {
    display: flex;
    flex-direction: row;
}

#slider h3 {
    z-index: 10;
    font-family: Teko;
    text-transform: uppercase;
    color: rgb(41, 40, 45);
    text-decoration: none;
    white-space: normal;
    width: 585px;
    height: 181px;
    min-height: 0px;
    min-width: 0px;
    max-height: none;
    max-width: none;
    text-align: inherit;
    line-height: 80px;
    letter-spacing: 10px;
    font-weight: 600;
    font-size: 75px;
    transform-origin: 50% 50% 0px;
    opacity: 1;
    transform: translate(0px);
    visibility: visible;
}

.open-m-menu {
    display: flex !important;
    width: 100%;
}

.mobile-nav>div {
    width: 100%;
}

.mobile-nav>nav {
    width: 100%;
}

.open-m-cont {
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    transition: height .3s ease;
}

.open-m-cont ul {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto !important;
}

.open-m-cont li {
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.open-m-cont li a {
    padding: 9px 0;
}

header {
    height: 106px;
    /* display: flex; */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    z-index: 100;
    position: relative;
}

header>div:first-child {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 40px 20px 0;
}

.desc-nav {
    display: none;
}

nav a {
    text-decoration: none;
    --color: #333;
    transition: color .3s ease;
}

nav a:hover {
    --color: #f34e3a
}

.desc-nav nav {
    position: relative;
    width: 100%;
    height: 100%;
}

.desc-nav nav ul {
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    height: 100%;
    list-style: none outside none;
    text-align: left;
}

.desc-nav nav ul>li {
    display: inline-block;
    height: 100%;
}

.desc-nav nav ul>li>a {
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    height: 100%;
    padding: 0 22px;
    color: #29282d;
    font-size: 19px;
    line-height: 24px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: 600;
    font-family: Teko, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.desc-nav nav ul>li>a,
.desc-nav nav ul>li>a>span {
    display: block;
    color: var(--color);
    /* top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%); */
}

.mobile-nav nav {
    background-color: #fff;
    width: 100%;
    position: relative;
    z-index: 100;
}

.mobile-nav nav ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

@media screen and (min-width: 600px) {
    .open-m-cont {
        display: none;
    }

}

.mobile-nav nav ul>li {
    position: relative;
    padding: 0;
    margin: 0;
}

.mobile-nav nav ul>li>a {
    --color: color: #9c9c9c;
}

a:visited {
    text-decoration: none;
    color: var(--color);
}

.mobile-nav nav ul>li>a:hover {
    --color: #f34e3a;
}

.mobile-nav nav ul>li>a,
.mobile-nav nav ul>li>a>span {
    font-size: 16px;
    line-height: 27px;
    font-weight: 300;
    font-family: Ubuntu, sans-serif;
    color: var(--color);
}

.menu-btn {
    display: flex;
    position: absolute;
    left: 10px;
}

.mobile-nav {
    display: none;
}

@media screen and (min-width: 1100px) {
    .menu-btn {
        display: none;
    }

    .desc-nav {
        display: block;
    }

    header>div:first-child {
        margin: 0 auto;
        width: 1100px;
        justify-content: space-between;
    }

    header {
        margin: 0;
    }

}

/* body {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100vh;
    margin: 0;
} */


table {
    /* table-layout: fixed; */
    width: 100%;
    border-collapse: collapse;
}

tr:first-child {
    background-color: #ededed;
}

tr {
    border: 1px solid rgb(155, 155, 155);
}

th,
td {
    text-align: left;
    border-right: 1px solid rgb(155, 155, 155);
    padding: 10px;
}

th {
    padding: 15px;
}

@media screen and (max-width: 650px) {
    #slider .text-cont h3 {
        font-size: 35px !important;
        letter-spacing: 2px !important;
        line-height: 40px !important;
    }
    #slider .text-cont {
        top: 100px !important;
    }
    #slider .img-cont {
        top: 400px !important;
    }
    /* tbody,
    tr {
        display: flex;
        flex-direction: column;
    } */
    /* table {
        min-width: 500px;
    } */
    .table-wrapper {
        display: block;
        overflow-x: auto;
        width: calc(100% - 10px);
        padding-left: 10px;
        padding-right: 10px;
    }
}

.menuBtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
}

.line {
    fill: none;
    stroke: black;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}

.line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}

.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

.sl-shown-slide {
    display: flex;
    /* opacity: 0; */
}

.sl-hidden-slide {
    display: none !important;
}

.three-tiles {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 546px;
}

.tile {
    width: 33.33%;
    height: 100%;
    --tsy: 30px;
    --opac: 0;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.tile::after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-transition: opacity .2s ease-out;
    -o-transition: opacity .2s ease-out;
    transition: opacity .2s ease-out;
    background-color: #0e0d0b;
    opacity: var(--opac);
    z-index: 5;
}

.tile div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 10;
    position: relative;
    transform: translateY(var(--tsy));
    transition: transform .2s ease;
}

.tile:hover {
    --tsy: 0;
    --opac: 1;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: Teko, sans-serif;
    font-weight: 600;
}
main h3,
main h4 {
    margin-top: 10px !important;
    margin-bottom: 15px !important;
}

main li {
    margin: 0;
    margin-bottom: 5px !important;
}



main p {
    padding: 0 !important;
}
.tile h3 {
    margin: 20px 0;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 1.167em;
    letter-spacing: .05em;
    color: white;
}

.tile p {
    font-family: Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 27px;
    font-weight: 300;
    color: white;
    text-align: center;
    padding: 0 40px;
    opacity: var(--opac);
    transition: opacity .2s ease;
}

.tile a {
    color: rgb(243, 78, 58);
    transition: color .2s ease;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-family: Ubuntu, sans-serif;
    text-decoration: none;
    margin-top: 15px;
    opacity: var(--opac);
    transition: opacity .2s ease;
}

.tile a:hover {
    color: white;
}

footer {}

footer>div:first-child {
    width: 100%;
    background-color: #252525;
    padding: 100px 0 100px;
}

footer>.copyright {
    width: 100%;
    padding: 20px 0;
    background-color: #202020;
}

.copyright p {
    color: #b1b2b2;
    margin: 0 auto;
    font-family: Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 27px;
    font-weight: 300;
    text-align: center;
}

.gym-description {
    display: flex;
    margin: 85px auto;
    padding: 0 200px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gym-description h1 {
    margin: 20px 0;
    text-transform: uppercase;
    color: #29282d;
    font-size: 50px;
    line-height: 1em;
    letter-spacing: .05em;
}

.gym-description h2 {
    margin: 40px 0 15px;
    text-transform: uppercase;
    color: #29282d;
    font-size: 32px;
    line-height: 1em;
    letter-spacing: .02em;
}

.gym-description h3 {
    margin: 10px 0;
    color: #29282d;
    font-size: 25px;
    line-height: 1em;
    letter-spacing: .01em;
}

.recent-posts {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.recent-posts>div {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    position: relative;
    width: 25%;
}

.recent-posts>div>div {
    z-index: 10;
    position: relative;
    background-color: #ffffff;
    padding: 30px;
    width: 92%;
    /* margin: -45px auto 15px; */
}

.recent-posts h3 a {
    text-decoration: none;
    font-size: 24px;
    line-height: 28px;
    font-style: normal;
    font-weight: 500;
    text-transform: none;
    color: #f34e3a;
}

.recent-posts h3 a:visited {
    color: #f34e3a;
}


.recent-posts .date {
    line-height: 1.3rem;
    font-size: 12px;
    font-family: Ubuntu, sans-serif;
    margin-bottom: 20px;
}

.recent-posts img {
    width: 100%;
    height: auto;
    z-index: 0;
    position: relative;
}

.recent-posts .excerpt {
    color: #2d2d2d;
    font-size: 16px;
    font-weight: 400;
    font-family: Ubuntu, sans-serif;
}

.gym-description p {
    display: block;
    margin: 11px 0 0;
    position: relative;
    z-index: 1;
    font-size: 18px;
    line-height: 30px;
    font-weight: 300;
    font-family: Ubuntu, sans-serif;
    color: rgb(67, 67, 67);
    text-transform: none;
    letter-spacing: 0;
    /* text-align: center; */
}

.gym-description li {
    font-size: 18px;
    line-height: 30px;
    font-weight: 300;
    font-family: Ubuntu, sans-serif;
    color: rgb(67, 67, 67);
    margin-left: 25px;
}

.gym-description section {
    width: 100%;
}

footer>div>div {
    display: flex;
    flex-direction: row;
    column-gap: 80px;
    margin: 0 auto;
    width: fit-content;
}

footer>div>div h3 {
    color: #fff;
    margin-bottom: 11px;
    font-family: Teko, sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.167em;
    letter-spacing: .05em;
    text-transform: uppercase;
}

footer>div>div p {
    font-size: 12px;
    color: #9c9c9c;
    font-family: Ubuntu, sans-serif;
}

footer>div>div p:hover {
    color: #fff;
}

footer ul {
    list-style: none;
    padding-left: 6px;
}

footer a {
    margin: 10px 0;
    display: inline;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-transform: uppercase;
    font-family: Teko, sans-serif;
    font-size: 18px;
    color: #717274;
    font-weight: 600;
    letter-spacing: .05em;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    transition: all .2s ease;
    text-decoration: none;
}

footer a:visited {
    color: #717274;
}

footer a:hover {
    color: #fff;
}


.logo p {
    text-transform: uppercase;
    background-color: red;
    color: white;
    font-size: 20px;
    position: absolute;
    bottom: -25px;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-family: Teko;
    letter-spacing: 1px;
    z-index: 100;
}


@media screen and (max-width: 1540px) {
    #slider>div {
        margin-left: 50px;
    }

    .img-cont {
        width: 50%;
        max-height: 77vh;
    }

    .text-cont {
        padding-left: 0;
    }
}

@media screen and (max-width: 1200px) {
    #slider>div {
        margin-left: 15px;
    }

    /* .img-cont {
        width: 40%;
        max-height: 65vh;
    } */
}

@media screen and (max-width: 1000px) {
    #slider>div {
        margin-left: 0;
    }

    .text-cont {
        padding-left: 0;
    }

    .img-cont {
        width: 55%;
        max-height: 50vh;
        position: absolute;
        top: 300px;
    }
}

@media screen and (max-width: 700px) {
    .three-tiles {
        flex-direction: column;
        width: 100%;
        height: 1245px;
    }

    .tile {
        width: 100%;
        height: 33.33%;
    }

    .logo {
        width: 100%;
        justify-content: center;
        display: flex;
        z-index: -10;
        left: 0 !important;
    }

    header {
        margin-bottom: 200px;
    }
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
    box-sizing: border-box;
}

.writer-cont p {
    padding-left: 15px !important;
}

@media screen and (max-width: 650px) {
    .logo img {
        height: 150px;
    }

    header {
        margin-bottom: 40px;
    }

    .text-cont {
        padding-left: 5px;
    }

    .gym-description p,
    .gym-description li {
        font-size: 17px;
        line-height: 28px;
    }

    .text-cont h3 {
        width: auto !important;
        height: auto !important;
    }

    .img-cont {
        width: 100%;
        max-height: 45vh;
        position: absolute;
        top: 500px;
    }
    .logo p {
        bottom: -30px;
    }

    footer>div:first-child {
        padding-left: 15px;
        padding-right: 15px;
    }

    footer>div>div {
        flex-direction: column;
        justify-content: center;
        row-gap: 30px;
    }

    main {
        padding: 0 5px;
    }

    .gym-description {
        padding: 0 15px;
    }

    .gym-description p {
        text-align: justify;
    }

    .recent-posts {
        flex-direction: column;
        row-gap: 30px;
        margin-bottom: 40px;
    }

    .recent-posts>div {
        width: 100%;
        padding: 0 15px;
    }
    .recent-posts>div>div {
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .text-cont {
        top: 120px;
    }

    .img-cont {
        top: 400px;
    }

    #slider .text-cont h3 {
        font-size: 50px;
        letter-spacing: 4px;
        line-height: 55px;
    }

    #sliderBg {
        top: 100px;
        height: 100vh;
        width: 100%;
    }

    #sliderBg img {
        width: 100%;
        height: auto;
    }

    #slider {
        min-height: 100vh;
        max-height: 100vh;
    }
}