/*ESTILO GERAL*/
/*RESETAR PAGINA*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Alegreya Sans", sans-serif;
    font-weight: 800;
    font-style: normal;
}

/*FUNDO DA PAGINA*/
body {
    background-image: linear-gradient( rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)),url(../Imagens/barbearia.JPG);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

/*TAMANHO DA PAGINA*/
.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.btn-contato button {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color: rgb(190, 178, 2);
    border: 0;
    border-radius: 25px;
    cursor: pointer;
    transition: 2s;
}

h2.titulo {
    color: #fff;
    font-size: 38px;
    text-align: center;
}

h2.titulo span {
    color: rgb(190, 178, 2);
}

button:hover,
form .btn-enviar input:hover {
    box-shadow: 0px 0px 8px rgb(190, 178, 2);
    transform: scale(1.15);
}

/*ESTILO CABEÇARIO*/
header {
    padding: 40px 4%;
}

header img {
    width: 200px;
    height: 200px;
    border-radius: 0%;
}

header>.interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a {
    color: #fff;
    text-shadow: 0px 0px 6px rgb(85, 79, 1);
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header nav.menu-desktop a:hover {
    color: rgb(190, 178, 2);
    text-shadow: 0px 0px 8px rgb(190, 178, 2);
    transform: scale(1.15);
}

header nav ul{
    list-style-type: none;
}

header nav.menu-desktop ul li {
    display: inline-block;
    padding: 0 40PX;
}

/*ESTILO MENU MOBILE*/
.btn-abrir-menu i{
    color: rgb(190, 177, 2);
    font-size: 40px;
    display: none;
}

.menu-mobile{
    background-color: rgba(5, 5, 5, 0.63);
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 0%;
    overflow: hidden;
    transition: .4s;
}

.menu-mobile.abrir-menu{
    width: 70%;
}


.menu-mobile.abrir-menu ~ .overlay-menu{
    display: block;
}

.menu-mobile .btn-fechar{
    padding: 20px 5%;    
}

.menu-mobile nav ul{
    text-align: right;    
}

.menu-mobile nav ul li a{
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    padding: 20px 8%;
    display: block;
}

.menu-mobile nav ul li a:hover{
    background-color: rgb(190, 177, 2);
    color: black;
}

.menu-mobile .btn-fechar i{
    color: rgb(190, 177, 2);
    font-size: 30px;    
}

.overlay-menu{
    background-color: #00000080;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 88888;
    display: none;
}


/*ESTILO BARBEARIA*/
section.historia {
    padding: 60px 4%;
}

section.historia .flex {
    align-items: center;
    gap: 60px;
}

.historia .txt-historia .img-historia{
    width: 100%;
    height: auto;

}

.historia .txt-historia {
    color: #fff;
}

.historia .txt-historia h1 {
    font-size: 40px;
    line-height: 40px;
}

.historia .txt-historia h1 span {
    color: rgb(190, 178, 2);
}

.historia .txt-historia p {
    margin: 20px 0;
    font-size: 120%;    
    text-align: justify;
}



/*ESTILO DO BOTAO SOCIAL*/
.btn-social button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: rgb(190, 178, 2);
    font-size: 20px;
    cursor: pointer;
    margin: 0 5px;
    transition: .2s;
}

/*ESTTILO DO RODAPE*/
footer {
    padding: 40px 4%;
}

footer .flex {
    align-items: center;
    justify-content: space-between;
}

footer .line-footer {
    padding: 20px 0;

}

footer .line-footer img {
    width: 90px;
    height: 90px;
}

.borda {
    border-top: 2px solid rgb(190, 177, 2);
}

footer .line-footer p {
    text-align: right;
}

footer .line-footer p i {
    color: rgb(190, 177, 2);
    font-size: 20px;
}

footer .line-footer p a {
    color: #fff;
}

/*ESTILO MOBILE*/
@media screen and (max-width: 1020px) {

    /*CLASSE GERAIS*/
    .flex {
        flex-direction: column;
    }

    h2.titulo {
        font-size: 34px;
        line-height: 30px;
    }

    .topo-do-site .flex {
        flex-direction: column-reverse;
    }

    /*CABEÇARIO*/
    .menu-desktop,
    .btn-contato {
        display: none;
    }

    .btn-abrir-menu i{
        display: block;
    }

    /*TOPO DO SITE*/
    section.topo-do-site .flex {
        gap: 40px;
    }

    section.topo-do-site {
        padding: 20px 8%;
    }

    .topo-do-site h1 {
        font-size: 30px;
    }

    .topo-do-site .img-top-site img {
        width: 100%;
    }

    
    
    /*HISTORIA*/
    section.historia {
        padding: 60px 8%;
    }

    .historia .txt-historia h1 {
        font-size: 34px;
        line-height: 30px;
        text-align: justify;
    }

    .historia .txt-historia p {
        text-align: justify;
    }

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

    .img-historia img{
        width: 100%;
    }
    

    /*RODAPE*/
    footer .flex {
        flex-direction: row;
    }    
}