@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&family=Open+Sans:wght@400;700;800&display=swap');

/* font-family: 'Anton', sans-serif; */

*{
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: normal;
}

html{
    overflow-x: hidden;
}

:root{
    --cor-tema-um: #a057e1;

    --open-sans: 'Open Sans', sans-serif;
    --montserrat: 'Montserrat', sans-serif; 

    --bg-base-um: #e4e4e4;  
}

header{
    display: flex;
}

::selection{
    background-color: #5f1e82;
    color: var(--bg-base-um);
}

header{
    /* max-width: 1920px; */
    width: 100%;    
    height: 550px;
    flex-direction: column;
    background: url("../imagens/banner.jpg") var(--cor-tema-um) top center no-repeat;
   
}

nav{
    margin: 0 auto;
    width: 85%;
    margin-top: 20px;
}

main{
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 50% 50%;
    color: var(--bg-base-um);    
}

main img{
    width: 80%;
    margin-top: -90px;
}

.embreve{
    margin-top: 60px;
}

h1{
    font-size: 4rem;
    text-transform: uppercase;
    line-height: 0.9;
    font-family: var(--montserrat);
}

span{
    font-size: 2rem;
    margin-top: 3px;
    display: inline-block;
}

section{
    width: 60%;
    margin: 0 auto;
    display: grid;
    gap: 40px;
    grid-template-columns: 522px 50%;
    align-items: center;
    text-align: right;
}


p{
    font-size: 1.8rem;
    color: var(--cor-tema-um);
}

button{
    border: none;
    margin-top: 50px;
    background-color: transparent;
}

button a{
    background-color: var(--cor-tema-um);
    color: var(--bg-base-um);
    padding: 20px 60px;
    border: 2px solid var(--cor-tema-um);
    font-size: 1.4rem;
    border-radius: 50px;
    
    text-decoration: none;
}

button a:hover{
    background-color: var(--bg-base-um);
    color: var(--cor-tema-um);
}

section img{
    width: 100%;
}

section .box-txt{
    margin-top: 150px;
}

/* Ajustando os itens flutuantes */


.fone{
    left: 110px;
    top: 440px;
    position: absolute;
}

.controle{
    right: 110px;
    top: 759px;
    position: absolute;
}

.mobile{
    display: none;
}

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

    nav{
        width: 80%;
       
    }

    main{
        width: 90%;        
    }

    section{
        width: 85%;        
        grid-template-columns: 49% 51%;       
    
    }

    main img{
        width: 100%;
        margin-top: -45px;
        margin-left: -50px;
    }
    
    .fone{
        left: -158px;
        top: 443px;
    } 

    .controle {
        right: -213px;
        top: 480px;
    }
    
}


@media screen and (max-width: 600px) {
    body {
        display: flex;
        flex-direction: column;
      
    }

    .fone, .controle {
        display: none;
    } 

    nav{
        width: 100%;
        text-align: center;
    }


    main{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .embreve{
        text-align: center;
    }

    main h1{
        font-size: 2rem;
        text-align: center;
    }

    main img {
        width: 100%;
        margin-top: 30px;
        margin-left: 0px;
    }

    main span{
        font-size: 1.5rem;
    }


    section{
        display: flex;
        flex-direction: column;
    }

    section p{

        order: -1;
        font-size: 1.4rem;
        text-align: center;

    }

    section img{
        order: 1;
        margin-left: 30px;
    }
    

    .desk{
        display: none;
    }

    

    .mobile{
        display: flex;
        order: 2;
        margin-top: -70px;
        margin-bottom: 20px;
    }


    
  }