@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

:root{
    --main-color:#2894b2; ;
    --bg-color-1:#eee;
    --bg-color-2:#fff;
    --text-color-1:#444;
    --text-color-2:#666;
    --box-shadow:0 .5rem 1.5rem rgba(0,0,0,.1);
}


*{
    font-family: 'Nunito', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border:none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}


.letra{
    color: #2894b2;
    display: block;
}

.logo1{
    position: relative;
    left: 20%;
}

.imagem{
    margin-top: 5%;
    margin-bottom: 2%;    
 }


/*-------- HTML INICIO --------*/

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width:1rem;
}

html::-webkit-scrollbar-track{
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background: var(--main-color);
    border-radius: 5rem;
}

/*------ BODY ------*/


body{
    background:var(--bg-color-1);
}

body.active{
    --bg-color-1:#222;
    --bg-color-2:#333;
    --text-color-1:#fff;
    --text-color-2:#eee;
    --box-shadow:0 .5rem 1.5rem rgba(0,0,0,.3);
}

section{
    padding:2rem 9%;
    
}


/*------ BOTÕES INICIO ------*/


.btn{
    margin-top: .5rem;
    display: inline-block;
    padding:.9rem 3.5rem;
    font-size: 1.7rem;
    color:#fff;
    background: var(--main-color);
    border-radius: 5rem;
    cursor: pointer;
    user-select: none;
    display: inline-block;
    position: relative;
}

.btn:hover{
    letter-spacing: .2rem;
    opacity: .8;
}

/*------- HEADING --------*/


.heading{
    text-align: center;
    color:var(--text-color-1);
    text-transform: uppercase;
    font-size: 4rem;
    padding-bottom: 2rem;
}

.heading span{
    color:var(--main-color);
    text-transform: uppercase;
}


/*-------- HEADER ---------*/

.header{
    position: fixed;
    top:0; left:0; right:0;
    background:var(--bg-color-2);
    padding:1.5rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.header .logo{
    font-size: 2.5rem;
    font-weight: bolder;
    color:var(--text-color-1);
    position: relative;
    left: -4%;
}

.header .icons div{
    height: 4.5rem;
    line-height: 4.5rem;
    width: 4.5rem;
    text-align: center;
    border-radius: 50%;
    font-size: 1.7rem;
    color:var(--text-color-1);
    background:var(--bg-color-1);
    margin-left: .5rem;
    cursor: pointer;
    
}

.header .icons div:hover{
    background:var(--main-color);
    color:#fff;
}

.header .navbar{
    position: absolute;
    top:115%; right: 9%;
    background:var(--bg-color-2);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    width:25rem;
    padding:1rem;
    display: none;
}

.header .navbar.active{
    display: block;
}

.header .navbar a{
    font-size: 2rem;
    padding:1rem;
    color:var(--text-color-1);
    display: block;
}

.header .navbar a:hover{
    color:var(--main-color);
    padding-left: 2rem;
}

.header .search-form{
    position: absolute;
    top:115%; right: 9%;
    background:var(--bg-color-2);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    height: 5rem;
    width:50rem;
    padding:1rem;
    display: none;
}

.header .search-form.active{    
    display: flex;
}

.header .search-form input{
    height: 100%;
    width: 100%;
    background:none;
    text-transform: none;
    font-size: 1.6rem;
    color:var(--text-color-1);
    padding:1rem;
}

.header .search-form label{
    color:var(--text-color-1);
    font-size: 2rem;
    padding-right: .8rem;
    cursor: pointer;
}

.header .search-form label:hover{
    color:var(--main-color);
}

.header .colors-palette{
    position: absolute;
    top:115%; right: 9%;
    background:var(--bg-color-2);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    padding:1rem;
    text-align: center;
    width: 20rem;
    display: none;
}

.header .colors-palette.active{
    display: block;
}

.header .colors-palette h3{
    padding:.7rem;
    font-size: 2rem;
    color:var(--text-color-1);
}

.header .colors-palette .colors{
    display: flex;
    flex-wrap: wrap;
    padding:.7rem;
    justify-content: center;
    gap:1rem;
}

.header .colors-palette .colors .color{
    border-radius: .5rem;
    cursor: pointer;
    height: 4.5rem;
    width: 4.5rem;
}

/*------- HOME INICIO ----------*/

.home{
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding-top: 8rem;
}

.home .content{
    border-radius: .5rem;
    max-width: 55rem;
    padding:3rem 5rem;
    background: var(--bg-color-2);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.home .content h3{
    color:var(--text-color-1);
    font-size: 3.5rem;
}

.home .content p{
    color:var(--text-color-2);
    font-size: 1.5rem;
    padding:1.5rem 0;
    line-height: 1.9;
}

/*------ SERVICES INICIO -------*/

.services{
    position: relative;
    margin-bottom:10% ;
}

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

.services .box-container .btn{
    margin-top: 14%;
    text-align: center;
    justify-content: center;
}

.services .box-container .box{
    padding:3rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    background: var(--bg-color-2);
    position: relative;
}

.services .box-container .box span{
    font-size: 6rem;
    color:var(--text-color-2);
    font-weight: bolder;
    opacity: .2;
    position: absolute;
    top:1rem; right: 2.5rem;
}

.services .box-container .box i{
    height: 5.5rem;
    line-height: 5.5rem;
    width: 5.5rem;
    font-size: 2.5rem;
    border-radius: 50%;
    color:#fff;
    background: var(--main-color);
    margin-bottom: .5rem;
    text-align: center;
}

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

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

/*------- CONTATOS INICIO --------*/

.contact form{
    max-width: 70rem;
    margin:1rem auto;
    text-align: center;
}

.contact form .inputBox{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .inputBox input,
.contact form textarea{
    width: 100%;
    padding:1rem;
    font-size: 1.6rem;
    color:var(--text-color-1);
    background:var(--bg-color-2);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    margin:.7rem 0;
    text-transform: none;
}

.contact form .inputBox input{
    width:49%;
}

/*-------- FOOTER INICIO ------*/
 
.footer{
     background:var(--bg-color-2);
     
}

.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
    position: relative;
    left: 10%;
}

.footer .box-container .box{
    box-shadow: none;
}

.footer .box-container .box h3{
    font-size: 2.5rem;
    color:var(--text-color-1);
    padding:0.5rem 0;
}

.footer .box-container .box a{
    display: block;
    text-transform: none;
    font-size: 1.5rem;
    color:var(--text-color-2);
    padding:1rem 0;
}

.footer .box-container .box a:hover{
    color: #2894B2;
    text-decoration: none;
}

.footer .box-container .box a i{
    padding-right: .5rem;
    color:var(--main-color);
}

.footer .credit{
    font-size: 1.2rem;
    padding:0.8rem;
    margin-top: 0.8rem;
    text-align: center;
    color:var(--text-color-1);
}

.footer .credit span{
    color:var(--main-color);
}


/* ------- PRELOADER -------- */
 
#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#fff; /* cor do background que vai ocupar o body */
    z-index:999; /* z-index para jogar para frente e sobrepor tudo */
}
#preloader .inner {
    position: absolute;
    top: 50%; /* centralizar a parte interna do preload (onde fica a animação)*/
    left: 50%;
    transform: translate(-50%, -50%);  
}



/*------ RESPONSIVO -------*/

@media (max-width:1900px){
    .imagem{
        margin-top: 5%;
        margin-bottom: 2%;    
     }
    
}


@media (max-width:1600px){
    .imagem{
        margin-top: 7%;
        margin-bottom: 2%;    
     }
    
}


@media (max-width:991px){

    html{
        font-size: 55%;
    }    

    .header{
        padding:1.5rem 2rem;
    }

    section{
        padding:2rem;
    }

    .header .logo{
        position: relative;
        left: -1%;
     }

    
}


@media (max-width:768px){

    .header .navbar{
        right: 2rem;
        padding: 10%;
    }

    .header .search-form{
        right: 2rem;
        width:90%;
    }

    .header .colors-palette{
        right: 2rem;
    }

    .home .content{
        padding:3rem;
    }
    .header .logo{
        position: relative;
        left: -1%;
     }
}


@media (max-width:409px){

    html{
        padding: 10px;
        margin: 0;
        font-size: 50%;
    }   

    .contact form .inputBox input{
        width:100%;
    }

    .icons div{
        position: relative;
        left: 10%;
        margin-top: 20%; 
        margin-right: 8%;
        
    }

} 
    

@media(max-width:810px){
    .imagem{
        width: 100%;
    }
}



@media (max-width:550px){
    .icons div{
        position: relative;
        right: -20%;
        margin-top: 8%; 
        margin-right: 8%;
        
    }

    .navbar.active{
        left: 43%;
    }


    .header{
        width: -30%;
    }

    .home{
        
        margin-bottom: -10%;
        margin-top: 5%;
    }

    .credit{
        display: block;
        position: relative;
        text-align: center;
        justify-content: center;
    }

    .logo1{
        width: 80%;
        left: 1%;
    }

    .imagem{
        width: 100%;
         
     }

     .search-form.active{
        
        left: 2.50%;
     }

     .colors-palette{
        left: 50%;
     }


      .credit{
         
         text-align: center;
         justify-content: center;
     }

}





