/*
Theme Name: Gym theme
Theme URI: http://takacskeserucsilla.kescsiwt.hu/Fitness-theme
Author: Takács-Keserű Csilla
Author URI: http://takacskeserucsilla.kescsiwt.hu 
Description: Fitness Theme by Takács-Keserű Csilla
Version: 1.0 
License: GNU General Public License v2 or later 
License URI: http://www.gnu.org/licenses/gpl-2.0.html 
Text Domain: basic-theme 
*/
html {
    font-size: 22px;
    color: #ffffff;

}

@media screen and (min-width: 1200px) {
    html {
        font-size: 1.4vw;
    }
}

@media screen and (max-width: 1199px) {
    html {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 18px;
    }
}

body {
    background-image: url(img/body.png);
    background-repeat: repeat;
}

.content-box {
    width: 62.5%;
    margin: 0 auto;
    overflow: hidden;
    clear: both;
    margin-bottom: 3.7rem;
}

.inner-page {
    margin-bottom: 2rem;
    background: #07070c;
}

img {
    margin-bottom: 1rem;
}

#header {
    max-height: 4rem;
    padding: 0.8rem 0 2.5rem 0;
    background: rgba(0, 0, 0, 1);
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0, 0, 0, 1)), color-stop(100%, rgba(255, 255, 255, 0)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#ffffff', GradientType=0);

}

#header .content-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    overflow: visible;
}

#header ul li {
    display: inline-block;
    padding: 0.5rem;
    text-align: right;

}

#header ul li a {
    position: relative;
    padding: 0 0.5rem;
}

#header ul li a:before {
    content: "/";
    color: #a7e129;
    position: absolute;
    right: 0;
    top: 0;
    font-weight: bold;
}

#header ul li:hover {
    background: #a7e129;
}

#header ul li:active {
    color: black;
}

#header ul a {
    text-transform: uppercase;
    font-family: 'Yantramanav', sans-serif;
    font-size: 0.7rem;
    font-weight: bold;
}

#logo {
    max-width: 10.45rem;
    float: left;
}

#hero {
    background-image: url(img/welcome.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    border-top: 1px solid rgba(0, 0, 0, 0.4);
    box-shadow: 5rem 1px 0 rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;

}

#welcome {
    padding-top: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

#welcome-box {
    width: 50%;
    text-align: left;
    margin-left: 0.9rem;
    padding: 2.7rem 0;
}

#welcome-intro {
    width: 80%;
    text-align: left;

}

#welcome-box h1 {
    text-align: left;
    line-height: 0.9;
}

h1 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
}

h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.15rem;
    color: #a7e129;
    /*világoszöld*/
    margin-bottom: 0.5rem;
}


#offer {
    background-image: url(img/offer.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 5rem 1px 0 rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(0, 0, 0, 0.4);

}

#offer-text {
    float: right;
    width: calc(50% - 40px)
}

#offer .content-box {
    padding: 2.3rem;
}


#offer ul li {
    line-height: 2.3rem;
    padding-left: 1.2rem;
    font-family: 'Yantramanav', sans-serif;
    font-size: 0.8rem;

    background: url(img/point.svg) center left no-repeat;
    background-size: 0.8rem 0.8rem;

}

h3 {
    font-size: 1.5rem;
    font-family: 'Racing Sans One', cursive;
    color: #a7e129;
    /*világoszöld*/
    margin-bottom: 0.5rem;
}

h4 {
    text-transform: uppercase;
    margin-bottom: 1.35rem;
    line-height: 1.3;
    font-size: 0.7rem;
}

p {
    font-family: 'Yantramanav', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 1.3rem;
}

a {
    color: inherit;
    text-decoration: none;
}

.button a,
.button2 a {
    text-transform: uppercase;
    color: #000000;
    font-family: 'Yantramanav', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;

}

.button a:hover,
.button2 a:hover {
    color: #ffffff;
}

.intro {
    padding: 0.9rem;
    background: #000000;

}

center {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Yantramanav', sans-serif;
    font-size: 0.8rem;
}

.align-center {
    text-align: center;
}

#services .box {
    position: relative;
    margin-bottom: 2rem;
    background: rgba(237, 237, 237, 0.02);
    background: -moz-linear-gradient(top, rgba(237, 237, 237, 0.02) 0%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(237, 237, 237, 0.02)), color-stop(100%, rgba(0, 0, 0, 1)));
    background: -webkit-linear-gradient(top, rgba(237, 237, 237, 0.02) 0%, rgba(0, 0, 0, 1) 100%);
    background: -o-linear-gradient(top, rgba(237, 237, 237, 0.02) 0%, rgba(0, 0, 0, 1) 100%);
    background: -ms-linear-gradient(top, rgba(237, 237, 237, 0.02) 0%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(to bottom, rgba(237, 237, 237, 0.02) 0%, rgba(0, 0, 0, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#000000', GradientType=0);
}


#testi .content-box {
    background-image: url(img/testi-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 2.7rem;
}

#testi-text {
    float: left;
    width: calc(50% - 40px)
}

#testi-text {
    padding-left: 2rem;
}

.button,
.button2 {
    background: #a7e129;
    display: inline-block;
    height: 1.7rem;
    line-height: 1.7rem;
    padding: 0 1.3rem;
    position: relative;
    max-width: 85%;
}

.button:before,
.button2:before {
    content: "";
    top: 0;
    right: -0.45rem;
    background: #a7e129;
    display: block;
    position: absolute;
    height: 1.7rem;
    width: 0.9rem;
    transform: skew(-20deg, 0deg);
}

.button:after,
.button2:after {
    content: "";
    top: 0;
    right: 0rem;
    background: #a7e129;
    display: block;
    position: absolute;
    height: 1.7rem;
    width: 0.55rem;
    transform: skew(-20deg, 0deg);
    border-left: 3px solid black;
    border-right: 3px solid black;
}

.button2 {
    position: absolute;
    bottom: 8.3%;
    left: 0rem;
}

footer {
    background: #0e0e18;
}

footer .content-box {
    margin-bottom: 0;
    padding: 1.5rem 0.9rem;
}

.social li {
    float: left;
    margin-right: 0.5rem;
}

.social li a {
    width: 2rem;
    height: 2rem;
    border: 2px solid #fff;
    border-radius: 50%;
    display: inline-block;
    padding: 0.4rem;
    background-size: 0.8rem auto;
}

.social li a:hover {
    border: 2px solid #a7e129;
}

.face a {
    background: url(img/facebook.svg) center center no-repeat;
}

.twitter a {
    background: url(img/twitter.svg) center center no-repeat;
}

.linkedin a {
    background: url(img/linkedin.svg) center center no-repeat;
}

.youtube a {
    background: url(img/youtube.svg) center center no-repeat;
}

.footer-box ul li a,
.post-date {
    font-family: 'Yantramanav', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 1.3rem;
    color: inherit;
    text-decoration: none;
}

.row {
    margin-left: 1rem;
    margin-right: 1rem;
}

.widget {
    margin-bottom: 1rem;
}

.widget h4 {
    font-size: 1.2rem;
    font-family: 'Racing Sans One', cursive;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.widget ul li a {
    font-weight: bold;

}

.widget ul li a:hover {
    color: #a7e129;

}

.post-date {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.blogpost {
    margin-bottom: 2rem;
}

#blog a {
    color: #a7e129;
    font-family: 'Yantramanav', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;

}


.column-3 p {
    margin-bottom: 1rem;
}

#copyright-info {
    text-align: center;
    background: #07070c;
    max-height: 3.25rem;
    color: #49494a;
    font-weight: bold;
    vertical-align: middle;
    font-family: 'Yantramanav', sans-serif;
    font-size: 0.8rem;
    padding: 1rem 0;
}


@media only screen and (min-width:1280px) {
    .content-box {
        width: 90%;
    }
}

@media only screen and (max-width:1279px) {
    .content-box {
        width: 80%;
    }
}

@media only screen and (max-width:1140px) {
    .content-box {
        width: 95%;
    }
}

@media only screen and (max-width:1025px) {
    .column-4 > div {
        width: calc(50% - 40px);
    }
}

@media only screen and (max-width:955px) {
    #header .content-box {
        flex-wrap: wrap;
    }

    #main-menu {
        margin: 0 auto;
    }

    #logo {
        margin: 0 auto;
    }

    #offer ul li {
        line-height: 1.5;
    }

    @media only screen and (max-width:833px) {
        #testi-text {
            padding: 1rem;
            background: rgba(10, 8, 19, 1);
            background: -moz-linear-gradient(top, rgba(10, 8, 19, 1) 0%, rgba(29, 29, 38, 0.63) 100%);
            background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(10, 8, 19, 1)), color-stop(100%, rgba(29, 29, 38, 0.63)));
            background: -webkit-linear-gradient(top, rgba(10, 8, 19, 1) 0%, rgba(29, 29, 38, 0.63) 100%);
            background: -o-linear-gradient(top, rgba(10, 8, 19, 1) 0%, rgba(29, 29, 38, 0.63) 100%);
            background: -ms-linear-gradient(top, rgba(10, 8, 19, 1) 0%, rgba(29, 29, 38, 0.63) 100%);
            background: linear-gradient(to bottom, rgba(10, 8, 19, 1) 0%, rgba(29, 29, 38, 0.63) 100%);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a0813', endColorstr='#1d1d26', GradientType=0);
        }
    }

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

        h1 {
            font-size: 1.9rem;
        }

        h3 {
            font-size: 1.3rem;
        }

    }

    #header ul li {
        padding: 0.5rem 0.25rem;
    }

    #header ul a {
        font-size: 1rem;
        line-height: 1.7;
    }

    .footer-box ul li a,
    footer p {

        font-size: 1rem;
    }



    #testi .content-box {
        background-position: right;
    }

    footer .column-3 {
        width: calc(100% - 40px);
        padding-bottom: 2rem;
        margin: 0 auto;
        text-align: center;


    }

    @media only screen and (max-width:634px) {
        #header ul li {
            display: block;
            text-align: center;
            padding: 0;
        }

        #logo {
            float: none;
            margin-bottom: 0.7rem;

        }

        #header {
            padding: 0.8rem 0 10rem;
        }

        #header ul li a:before {
            padding: 0;
            margin: 0;
            display: none;
        }

        #header ul li:last-of-type {
            margin-bottom: 0;

        }

        #header .content-box {
            display: block;
            height: auto;
        }

        #header .content-box {
            margin-bottom: 6rem;
        }

        #welcome-box {
            padding: 1rem 0 2.7rem 0;

        }

        #offer .content-box {
            padding: 2.3rem 0 2.3rem 2.3rem;
        }

        @media only screen and (max-width: 605px) {
            #welcome-box {
                width: 65%;
                padding-left: 1rem;
                background: rgba(10, 8, 19, 1);
                background: -moz-linear-gradient(top, rgba(10, 8, 19, 1) 0%, rgba(29, 29, 38, 0.63) 100%);
                background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(10, 8, 19, 1)), color-stop(100%, rgba(29, 29, 38, 0.63)));
                background: -webkit-linear-gradient(top, rgba(10, 8, 19, 1) 0%, rgba(29, 29, 38, 0.63) 100%);
                background: -o-linear-gradient(top, rgba(10, 8, 19, 1) 0%, rgba(29, 29, 38, 0.63) 100%);
                background: -ms-linear-gradient(top, rgba(10, 8, 19, 1) 0%, rgba(29, 29, 38, 0.63) 100%);
                background: linear-gradient(to bottom, rgba(10, 8, 19, 1) 0%, rgba(29, 29, 38, 0.63) 100%);
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a0813', endColorstr='#1d1d26', GradientType=0);
            }

            #testi-text {
                width: 100%;
                float:none;
            }

            #header {
                padding: 0.8rem 0 16rem;
            }

            .social li {
                float: none;
                display: inline-block;
                justify-content: space-between;
               
            }

            footer .post-date {
                text-align: center;
                display: block;
            }

        }
        @media only screen and (max-width:497px){
            .column-4 > div {
        width: calc(100% - 40px);
    }
        }
