@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Roboto:wght@100;300&display=swap');

:root{
    --blue:#00b8b8;
    --black:#333;
    --white:#fff;
    --light-color:#666;
    --light-bg:#eee;
    --border: .2rem solid rgba(0,0,0,.1);
    --box-shadow:0 0.5rem 1rem rgba(0,0,0,0.2);
}

section{
    padding: 7rem 2rem;
}
*{
    font-family: 'roboto', cursive;
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none !important;
    
}

*::-webkit-scrollbar{
    height: 0.5rem;
    width: 1rem;

}

*::-webkit-scrollbar-track{
    background-color: transparent;
}

*::-webkit-scrollbar-thumb{
    background-color: var(--blue);
}

html{
    font-size: 65%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
    

}

.heading{
    text-align: center;
    font-size: 4rem;
    color: var(--black);
    text-transform: uppercase;
    font-weight: bolder;
    margin-bottom: 3rem;
}

#menu-btn{
    font-size: 2.5rem;
    color: var(--black);
    cursor: pointer;
    display: none;
}

.link-btn{
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    background-color: var(--blue);
    cursor: pointer;
    font-size: 1.7rem;
    color: var(--white);
}

.link-btn:hover{
    background-color: var(--black);
    color: var(--white);
}

.header{

    position:fixed;
    top: 0; right: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 9%;
    height: 100px;
    border-bottom:var(--border);
    
}
.header.active{
    background-color: var(--white);
    box-shadow: var(--border);
    border: 0;

}

.header .logo{
    font-size: 3rem;
    color: var(--black);
}

.header .logo span{
    color: var(--blue);
}


.header .nav a {
    margin: 0 1rem;
    font-size: 2rem;
    color: var(--black);
    font: bold;
}

.header .nav a:hover{
    color: var(--blue);
}

.home{
    background:url(../midia/teste1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.home .content{
    width: 50rem;
    padding: 2rem;
    
}

.home .content h3{
    font-size: 5rem;
    text-transform: uppercase;
    color: var(--black);

}

.home .content p{
    line-height: 2;
    font-size: 1.7rem;
    color: var(--light-color);
    padding: 1rem 0;
}

.about .row{
    min-height: 50vh;
}

.about .content span{
    font-size: 2rem;
    color: var(--blue);
}

.about .content h3{
    font-size: 3rem;
    color: var(--black);
    margin-top: 1rem;

}

.about .content p{
    padding: 1rem 0;
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 2;
}

.services{
    background-color: var(--light-bg);
}

.services .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(30rem,1fr));
    gap: 1rem;
}

.services .box-container .box{
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: 0.5rem;
}

.services .box-container .box img{
    margin: 1rem 0;
    height: 10rem;
}

.services .box-container .box h3{
    font-size: 2rem;
    padding: 1rem 0;
    color: var(--black);
}

.services .box-container .box p{
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 2;
}

.process .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(30rem,1fr));
    gap: 1rem;
}

.process .box-container .box{
    background-color: var(--blue);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.process .box-container .box img{
    height: 15rem;
    margin: 1rem 0;
}

.process .box-container .box h3{
    font-size: 2rem;
    color: var(--white);

}

.process .box-container .box p{
    font-size: 1.5rem;
    color: var(--white);
    line-height: 2;
}

.review{
    background-color: var(--light-bg);
}

.review .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(30rem,1fr));
    gap: 1rem;

}

.review .box-container .box{
    background-color: var(--white);
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    padding: 2rem;

}

.review .box-container .box img{
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
}

.review .box-container .box p{
    padding: 2rem 0;
    line-height: 2;
    font-size: 1.5rem;
    color: var(--light-color);

}

.review .box-container .box .stars{
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

.review .box-container .box .stars i{
    font-size: 1.5rem;
    color: var(--blue);
}

.review .box-container .box h3{
    font-size: 2rem;
    color: var(--black);
}

.review .box-container .box span{
    color: var(--light-color);
    font-size: 1.5rem;
}
/*convenio*/
.conv1 img {
    padding: 1.5rem 1.5rem;
    position:absolute;
    width: calc(100% / 5);
    border-radius: 50%;
    display: inline-block;
    
}

/*time*/
.card-body {
    text-align: center;
  }

.main-title {
    font-size: 1.5rem;
    color: var(--blue);;
}

.contact form{
    border-radius: 0.5rem;
    background-color: var(--light-bg);
    padding: 2rem;
    margin: 0 auto;
    max-width: 50rem;
}

.contact form .box{
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    background-color: var(--white);
    padding: 1.2rem 1.7rem;
    font-size: 1.7rem;
    color: var(--black);
}

.contact form span{
    font-size: 1.7rem;
    color: var(--black);
}

.contact form .message{
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    padding: 1.5rem 1rem;
    background-color: var(--blue);
    font-size: 1.7rem;
    color: var(--white);
    text-align: center;
}

.footer {
    background-color: var(--light-bg);
}

.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(30rem,1fr));
    gap: 1rem;

}

.footer .box-container .box{
    text-align: center;
}

.footer .box-container .box i{
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    line-height: 5rem;
    font-size: 2rem;
    background-color: var(--blue);
    color: var(--white);
    margin-bottom: 1rem;
}

.footer .box-container .box p{
    font-size: 1.5rem;
    color: var(--light-color);
    text-transform: none;
    line-height: 2;
}

.footer .box-container .box h3{
    font-size: 2rem;
    margin: 1rem 0;
    color: var(--black);
}


@media (max-width:991px){

    html{
        font-size: 55%;
    }

    .header .link-btn{
        display: none;
    }

    section{
        padding: 5rem 2rem;
    }

}

@media (max-width:768px){
    #menu-btn{
        display: inline-block;
        transition: 0.s linear;
    }

    section{
        padding: 2rem 1rem;
    }

    #menu-btn .fa-times{
        transform: rotate(180deg);
    }

    .header .nav{
        position:absolute;
        top: 99%; left: 0; right: 0;
        background-color: var(--white);
        border-top:var(--border);
        border-bottom: var(--border);
        padding: 1rem 0;
        text-align: center;
        flex-flow: column;
        margin: 1rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.2s linear;

    }

    .header .nav.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    
    .header .nav a{
        margin: 1rem 0;
        font-size: 2rem;
    }

    .home{
        background-position: left;
    }

    .home .content{
        width: auto;
    }
}

@media (max-width:450px){

    html{
        font-size: 50%;
    }

    .home .content h3{
        font-size: 3rem;
    }

    .heading{
        font-size: 3rem;
    }
}