*{
    list-style: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'nunito', serif;
    outline: none;
    border: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    overflow-x: hidden;
}

html::-webkit-scrollbar{
    width: 1rem; /*Controla o scroll*/
}

html::-webkit-scrollbar-track{
    /*cor de fundo da barra*/
    background-color: black;
}

html::-webkit-scrollbar-thumb{
    /*cor da barra*/
    background-color: red
}

body{
    background-color: black;
    & span{
        color: red;
        font-size: 3rem;
    }
}

section{
    padding: 5rem 9%;
}
.heading{
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: aliceblue;
    & span{
        font-size: 3rem;
        color: red;
        background: black;
        padding: .5rem 1.5rem;
        border: 0.1rem solid #aaa;
        border-radius: .5rem;
    }
}
.heading::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: .1rem;
    width: 100%;
    background: #aaa ;
    z-index: -1;

}
.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 2.8rem;
    padding-right: 3rem;
    background: linear-gradient(130deg, red 93%,transparent 90%);
    color: #fff;
    cursor: pointer;
    font-size: 1.7rem;
}
.btn:hover{
    transform: scale(1.1);
}

header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 9%;
    z-index: 1000;
    background: black;
    & .logo{
        font-weight: bolder;
        color: #fff;
        font-size: 3rem;

        & span{
            color: red;
        }
    }

    & #meu-btn{
        font-size: 3rem;
        color: #fff;
        cursor: pointer;
        display: none;
    }
    
    & nav{
        & a{
            display: inline-block;
            gap: 60px;
            padding: 1.5rem 2rem;
            font-size: 1.7rem;
            color: #fff;
        }
        a:hover{
            color: red;
        }
    }

}

.home{
    padding: 0;
    margin-top: 5rem;
}

.home .slide{
        min-height: 90vh;
                background-size: cover !important;
                background-position: center !important;
                padding: 2rem 9%;
                display: flex;
                align-items: center;
}
.home .slide .content{
    width: 60rem;

    & span{
        font-size: 3rem;
        font-weight: bolder;
        color: red;
        display: block;
    }
    & h3{
        color: #fff;
        font-size: 5rem;
        padding: 1rem 0;
    }
}
/*Id de swipwer para criar as bolinhas*/

.swiper-pagination-bullet{
    height: 2rem;
    width: 2rem;
    background: #fff;
    border-radius: 0;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active{
    background: red;
}

.about{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8rem;

}

.about .image{
    flex: 1 1 42rem;
    position: relative;
}
 .about .image::before, /*Adiciona um quadrado vermelho do lado da imagem*/
 .about .image::after {
    content: '';
    position: absolute;
    z-index: -1;
    background: red;
    height: 15rem;
    width: 15rem;
}
.about .image::before{
    top: 0;
    left: 0;
}
.about .image::after{
    bottom: 0;
    right: 0;
}
.about .image img {
    width: 100%;
    padding: 2rem;
}
.about .content{
    flex: 1 1 42rem;
}
.about .content .title{
    font-size: 4rem;
    color: #fff;
    margin-top: .5rem;
}
.about .content p{
    font-size: 1.5rem;
    color: #aaa;
    padding: 1rem 0;
    line-height: 2;
}
.about .content .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}
.about .content .box-container .box{
    flex: 1 1 20rem;
}

.about .content .box-container .box h3{
    font-size: 2rem;
    color: #fff;
}
.about .content .box-container .box h3 i{
    padding-right: 1.5rem;
    color: red;
}
.features .box-container{
    display: grid;
    /*Vai criar o leo fit tambem tenta colocar quantas colunas der,
    expandindo os itens para caber e com controle minimo e maximo dos itens*/
    grid-template-columns: repeat(auto-fit,minmax(32rem,1fr));
    gap: 1.5rem;
}
.features .box-container .box{
    background: black;
}
.features .box-container .box.second{
    display: flex;
    flex-flow: column-reverse;
}
.features .box-container .box:hover .image img{
    transform: scale(1.1);
}
.features .box-container .box .image{
    height: 30rem;
    width: 100%;
    overflow: hidden;
}
.features .box-container .box .image img{
    height: 100%;
    width: 100%;
    /*a imagem é dimensinado para manter sua proporção e preencher
    toda a caixa de conteúdo do elemento*/
    object-fit: cover;
}
.features .box-container .box .content{
    padding: 2rem;
    text-align: center;
}
.features .box-container .box .content img{
    height: 9rem;
    margin-bottom: 1rem;
    filter: invert(1);
}
.features .box-container .box .content h3{
    font-size: 2rem;
    color: red;
}
.features .box-container .box .content p{
    line-height: 2;
    font-size: 1.5rem;
    color: #aaa;
    padding: 1rem 0;
}
.pricing{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(32rem,1fr));
    gap: 1.5rem;
}
.pricing .information span{
    font-size: 2rem;
    color: red;
}
.pricing .information h3{
    font-size: 4rem;
    padding-top: .5rem;
    color: #fff;
}
.pricing .information p{
    line-height: 2;
    padding: 1rem 0;
    font-size: 1.4rem;
    color: #aaa;
}
.pricing .information p i{
    padding-right: 1rem;
    color: red;
}
.pricing .plan {
    text-align: center;
    padding: 2rem;
}
.pricing .plan.basic{
    background: linear-gradient(130deg, #111 93%, transparent 90%) ;

}
.pricing .plan h3{
    font-size: 2.5rem;
    margin: 1rem 0;
    color: #fff;
}
.pricing .plan .price{
    font-size: 5rem;
    font-weight: bolder;
    color: red;
}
.pricing .plan .price span{
    color: #fff;
    font-size: 2rem;
}
.pricing .plan .list{
    padding: 1rem 0;
}
.pricing .plan .list p{
    line-height: 2;
    padding: 1rem 0;
    font-size: 1.4rem;
    color: #aaa;
}
.pricing .plan .list p i{
    padding-right: 1rem;
    color: red;
}
.trainers .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(29rem,1fr));
    gap: 1.5rem;
}
.trainers .box-container .box{
    height: 40rem;
    overflow: hidden;
    position: relative;
}
.trainers .box-container .box:hover .content{
    transform: translateY(0)
}
.trainers .box-container .box img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.trainers .box-container .box .content{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    padding: 2rem;
    transform: translateY(6.5rem);
}

.trainers .box-container .box .content span{
    font-size: 1.5rem;
    color: red;
}
.trainers .box-container .box .content h3 {
    font-size: 2rem;
    color: #fff;
    padding-top: .5rem;
}
.trainers .box-container .box .content .share {
    padding-top: 2rem;
    color: #fff;
    border-top: 0.1rem solid #aaa;
}
.trainers .box-container .box .content .share a {
    font-size: 2rem;
    color: #fff;
    margin-right: 1.5rem;
}
.trainers .box-container .box .content .share a:hover{
    color: red;
}
.banner{
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(img/FITNESS\ CENTER\ _\ GYM.jpeg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}
.banner span{
    font-size: 2rem;
    color: red;
}
.banner h3 {
    padding-top: 1rem;
    color: #fff;
    text-transform: uppercase;
    font-size: 3.5rem;
}
.banner p {
    margin: 1rem auto;
    max-width: 60rem;
    font-size: 1.5rem;
    color: #aaa;
    line-height: 2;
}
.review{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.review .information{
    flex: 1 1 35rem;
}
.review .information span{
    font-size: 2rem;
    color: red;
}
.review .information h3{
    font-size: 3rem;
    color: #fff;
    padding-top: 1rem;
}
.review .information p {
    font-size: 1.5rem;
    line-height: 2;
    color: #aaa;
    padding: 1rem 0;
}
.review .review-slider{
    flex: 1 1 60rem;
}
.review .review-slider .slide{
    background: linear-gradient(130deg, #111 93%, transparent 90%);
    padding: 2rem 3rem;
}
.review .review-slider p {
    font-size: 1.5rem;
    line-height: 2;
    color: #aaa;
}
.review .review-slider .slide .user{
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}
.review .review-slider .slide .user img{
    height: 5rem;
    width: 5rem;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1rem;
    
}
.review .review-slider .slide .user span{
    color: red;
    font-size: 1.5rem;
}
.review .review-slider .slide .user h3{
    color: #fff;
    font-size: 2rem;
}
.review .review-slider .slide .user i {
    font-size: 5rem;
    margin-left: auto;
    margin-right: 5%;
    color: red;
}
.blogs .slide {
    background: #111;
    margin-bottom:7rem;
}
.blogs .slide:hover .image img{
    transform: scale(1.1);
}
.blogs .slide .image{
    height: 25rem;
    width: 100%;
    overflow: hidden;

}
.blogs .slide .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.blogs .slide .content {
    padding: 2rem;
}
.blogs .slide .content .link {
    padding-bottom: 1.5rem;
    font-size: 1.5rem;
}
.blogs .slide .content .link a {
    color: red;
}
.blogs .slide .content .link a:hover {
    color: #fff;
}
.blogs .slide .content .link span {
    color: #fff;
    padding: 0 1rem;
}
.blogs .slide .content h3 {
    font-size: 2rem;
    color: #fff;
    line-height: 1.5;
}
.blogs .slide .content p {
    font-size: 1.5rem;
    color: #aaa;
    line-height: 2;
    padding: 1rem 0;
}
.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem,1fr));
    gap: 1.5rem;
}
.footer .box-container .box h3 {
    font-size: 2.2rem;
    color: #fff;
    padding: 1rem 1rem;
}
.footer .box-container .box .links {
    font-size: 1.5rem;
    display: block;
    padding: 1rem 3rem;
    color: #aaa;
}
.footer .box-container .box .links:hover{
    color: red
}
.footer .box-container .box p {
    font-size: 1.5rem;
    color: #aaa;
    padding: 1rem 3rem;
}
.footer .box-container .box p i {
    color: red;
    padding-right: .5rem;
}
.footer .box-container .box.contato p {
    color: #aaa;
    
}
.footer .box-container .box .share {
    padding: 1rem 3rem;
}
.footer .box-container .box .share a {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    font-size: 1.7rem;
    color: #fff;
    background: #111;
    border-radius: 50%;
    text-align: center;
    margin-right: .5rem;
}
.footer .box-container .box .share a:hover{
    background: red;
}
.footer .box-container .box form {
    margin-left: 2rem;
}
.footer .box-container .box form .email {
    margin-bottom: 1rem;
    width: 100%;
    background-color: #111;
    padding: 1.2rem;
    font-size: 1.5rem;
    color: #fff;
    text-transform: none;
}
/*Responsividade*/
@media(max-width: 991px){
    html{
        font-size: 55%;
        scroll-padding: 7rem;
    }
    .header{
        padding: 0 2rem;
    }
    section{
        padding: 2rem 5%;
    }
    .home .slide {
        padding: 2rem 5%;
    }
    .home .slide .content{
        width: 50rem;
    }
    .home .slide .content h3 {
        font-size: 4rem;
    }
}
@media(max-width: 778px){
    header {
        & #meu-btn{
            display: inline-block;
        }
    }
    #meu-btn.fa-times{
        transform: rotate(180deg);
    }
    .header{
        padding: 2rem;
    }
    .header .nav{
        position: absolute;
        top: 99%;
        left: 0;
        right: 0;
        background: #000;
        clip-path: polygon(0 0, 100% 0, 0 0);
    }
    .header .nav.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .header .nav a {
        display: block;
        font-size: 2rem;
    }
    .about{
        gap: 3rem;
    }
    .about .image{
        margin-top: 5rem;
    }
    .about .content .title{
        font-size: 3rem;
    }
    .features .box-container .box.second{
        flex-flow: column;
    }
}
@media(max-width: 450px){
    html{
        font-size: 50%;
    }

}
