/*---------------------------------------------------------------------------------------------------------------------*/

/*ABAIXO, CONFIGURAÇÕES DE FONTE E DE COMPONENTES QUE NÃO SÃO ESTILIZADOS POR ID OU CLASS.*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/*Adição da fonte Inter, utilizada nos títulos.*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Oxygen:wght@300;400;700&display=swap');
/*Adição da fonte Oxygen, utilizada nos parágrafos.*/

html{
    scroll-behavior: smooth;
    /*Suavização do movimento, quando os links de "catálogos" e "sobre nós" forem selecionados.*/
}

*{
    margin: 0px;
    padding: 0px;
    list-style: none;
    text-decoration: none;
    /*Estilizações que serão aplicadas a todos os componentes do arquivo (padrão default).*/
}

body{
    width: 100%;
    height: 100%;
    background-color: #E4E4E4;
}

hr{
    width: 90%;
    margin: 50px auto 50px auto;

    border: solid 1px;
    color: #606060;

    filter: blur(1px);
    opacity: 50%;
    /*Linha divisória do arquivo, com margem de divisão entre as <section>'s.*/
}

#last-hr{
    display: block;
}

/*---------------------------------------------------------------------------------------------------------------------*/


/*ABAIXO, ESTILIZAÇÕES DE TEXTO.*/

/*
    As estilizações de texto tem, essencialmente, quatro componentes: fonte; tamanho da fonte;
    grossura da fonte; e cor. Apenas duas fontes serão usadas, a Oxygen e a Inter, exportadas acima.
*/

.barra-de-navegacao{
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 480;
    color: white;
}

#subtitulo{
    font-family: "Inter", sans-serif;
    font-size: 28px;
    font-weight: 550;
    color: white;
}

#titulo{
    font-family: "Inter", sans-serif;
    font-size: 52px;
    font-weight: 550;
    color: white;
}

.titulo-secao{
    font-family: "Inter", sans-serif;    
    font-size: 35px;
    font-weight: 550;
    color: #606060;
    text-align: center;

    margin: 0 0 50px 0;
}

.paragrafo{
    font-family: "Oxygen", sans-serif;    
    font-size: 16px;
    font-weight: 505;
    color: #606060;
}

.titulo-testemunho{
    font-family: "Inter", sans-serif;    
    font-size: 19px;
    font-weight: bolder;
    color: #606060;
}

.funcao-trabalho{
    font-family: "Inter", sans-serif;    
    font-size: 18px;
    font-weight: 500;
    color: #606060;
}

/*ABAIXO, AS CLASSES DA SESSÃO HEADER.*/


#cabecalho{
    width: 100%;
    height: 550px;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

    background-image: url(../imagens/image.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header div{
    width: 100%;
    height: min-content;

    display: flex;
    flex-direction: row;
}

#logo-megadan{
    width: 300px;
    height: max-content;
}

#barra-de-navegacao{
    width: 600px;
    height: 20px;
    margin-right: 40px;
    margin-top: 50px;
}

#barra-de-navegacao ul{
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
}

#divisao-titulos{
    flex-direction: column; 
    margin: 110px 0 0 25px; 
    width: 50%;
}

/*ABAIXO, AS CLASSES DA SESSÃO SOBRE NÓS.*/

#sobre-nos{
    width: 975px;
    height: 690px;
    margin: 50px auto 0 auto;

    display: flex;
    flex-direction: column;
}

#div-pai{
    display: flex; 
    flex-direction: row; 
    margin-top: 20px; 
    justify-content: space-between;
}

.div-filha{
    width: 465px;
    height: 570px;
    margin: 0 15 0 15;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.child_div img{
    max-width: 457px;
}

/*ABAIXO, AS CLASSES DA SESSÃO CATÁLOGOS.*/

#sessao-catalogo{
    justify-content: space-between;
}

#secao-filho-catalogo{
    width: 800px;
    height: auto;
    margin: auto auto 100px auto;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.imagem-catalogo{
    width: 150px;
    height: 150px;
}

/*ABAIXO, AS CLASSES DA SESSÃO TRABALHE CONOSCO.*/

#subsecao-trabalhe-conosco{
    width: 900px;
    height: 330px;
    margin: auto;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#subsecao-trabalhe-conosco img{
    width: 60%;
    height: max-content;
}
    
#formulario-trabalhe-conosco img{
    width: 60%;
    height: max-content;
}

#formulario-trabalhe-conosco{
    display: flex;
    flex-direction: column;
}

#formulario-trabalhe-conosco input{
    width: 270px;
    height: 40px;
    margin-top: 15px;
    padding: 0 15px 0 15px;

    background-color: #3976CF;
    border: none;
    
    border-radius: 40px;

    font-family: "Inter", sans-serif;
    font-size: 17px;
    text-shadow: 0px 2px rgba(96, 96, 96, 0.5);
    color: rgb(255, 255, 255);
}

#formulario-trabalhe-conosco input[type="submit"]{
    width: 115px;
    height: 40px;
    margin-top: 15px;

    background-color: #3976CF;
    border: none;
    border-radius: 0%;

    font-family: "Inter", sans-serif;
    text-align: center;
    font-size: 17px;
    text-shadow: 0px 2px rgba(96, 96, 96, 0.5);
    color: rgb(255, 255, 255);
}

#file{
    display: none;
}

#file-label{
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background-color: #3976CF;

    display: flex;
    justify-content: center;
    align-items: center;
}

#file-label:hover{
    background-color: #3976CF;
}

input:focus{
    outline: none;
}

::placeholder{
    font-family: "Inter", sans-serif;
    font-size: 17px;
    text-shadow: 0px 2px rgba(96, 96, 96, 0.5);
    color: rgb(255, 255, 255);
}

#formulario-trabalhe-conosco div{
    margin: 15px 0;

    display: flex; 
    flex-direction: row; 
    align-items: center;
}

#formulario-trabalhe-conosco div button{
    width: 60px;
    height: 60px;

    background-color: #3976CF;

    border: none;
    border-radius: 18px;

    display: flex;
    justify-content: center;
    align-items: center;
}

#formulario-trabalhe-conosco div p{
    margin-left: 15px;

    font-family: "Inter", sans-serif;
    font-size: 17px;
    text-shadow: 0px 2px rgba(96, 96, 96, 0.5);
    color: #606060;
}

/*ABAIXO, AS CLASSES DA SESSÃO TESTEMUNHOS.*/

#testemunhos{
    height: auto;

    display: flex;
    flex-direction: column;

}

.divisao-imagem-titulos{
    display: flex; 
    flex-direction: row; margin: 15px 15px 15px 0;
}

#testemunhos img{
    margin: 10px 10px 10px 0;
}

#testemunho-mae{
    display: flex; 
    flex-direction: row;
    margin: 15px auto;
}

.testemunho-filho{
    width: 300px;
    margin: 0 70px auto 70px;
    height: auto;
}

footer{
    width: 100%;
    height: 30px;
    background-color: #3976CF;

    display: flex;
    justify-content: center;
    align-items: center;
}/*Rodapé*/

footer p{
    font-family: "Inter", sans-serif;
    color: #fff;
}/*Parágrafo do rodapé*/
    
#overlay {
    display: none; /* Inicialmente oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo escuro semi-transparente */
    z-index: 1000; /* Garante que fique acima de tudo */
}

/* Estilo para o loading spinner */
#loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #f3f3f3; /* Cor do spinner */
    border-top: 8px solid #3498db; /* Cor do spinner */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite; /* Animação de rotação */
}

/* Animação do spinner */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media(max-width: 500px){
    /*---------------------------------------------------------------------------------------------------------------------*/
    
    /*ABAIXO, CONFIGURAÇÕES DE FONTE E DE COMPONENTES QUE NÃO SÃO ESTILIZADOS POR ID OU CLASS.*/
    
    @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
    /*Adição da fonte Inter, utilizada nos títulos.*/
    
    @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Oxygen:wght@300;400;700&display=swap');
    /*Adição da fonte Oxygen, utilizada nos parágrafos.*/
    
    html{
        scroll-behavior: smooth;
        /*Suavização do movimento, quando os links de "catálogos" e "sobre nós" forem selecionados.*/
    }
    
    *{
        margin: 0px;
        padding: 0px;
        list-style: none;
        text-decoration: none;
        /*Estilizações que serão aplicadas a todos os componentes do arquivo (padrão default).*/
    }
    
    body{
        width: 100vw;
        height: 100%;
        background-color: #E4E4E4;
    }
    
    hr{
        width: 90%;
        margin: 25px auto 25px auto;
    
        border: solid 1px;
        color: #606060;
    
        filter: blur(1px);
        opacity: 50%;
        /*Linha divisória do arquivo, com margem de divisão entre as <section>'s.*/
    }

    #last-hr{
        display: none;
    }
    
    /*---------------------------------------------------------------------------------------------------------------------*/
    
    
    /*ABAIXO, ESTILIZAÇÕES DE TEXTO.*/
    
    /*
        As estilizações de texto tem, essencialmente, quatro componentes: fonte; tamanho da fonte;
        grossura da fonte; e cor. Apenas duas fontes serão usadas, a Oxygen e a Inter, exportadas acima.
    */
    
    .barra-de-navegacao{
        font-family: "Inter", sans-serif;
        font-size: 12px;
        font-weight: 480;
        color: white;
    }
    
    #subtitulo{
        font-family: "Inter", sans-serif;
        font-size: 28px;
        font-weight: 550;
        color: white;
    }
    
    #titulo{
        font-family: "Inter", sans-serif;
        font-size: 20px;
        font-weight: 550;
        color: white;
    }
    
    .titulo-secao{
        font-family: "Inter", sans-serif;    
        font-size: 25px;
        font-weight: 550;
        color: #606060;
        text-align: center;
    
        margin: 0;
    }
    
    .paragrafo{
        font-family: "Oxygen", sans-serif;    
        font-size: 10px;
        font-weight: 505;
        color: #606060;
    }
    
    .titulo-testemunho{
        font-family: "Inter", sans-serif;    
        font-size: 19px;
        font-weight: bolder;
        color: #606060;
    }
    
    .funcao-trabalho{
        font-family: "Inter", sans-serif;    
        font-size: 18px;
        font-weight: 500;
        color: #606060;
    }
    
    /*ABAIXO, AS CLASSES DA SESSÃO HEADER.*/
    
    #cabecalho{
        width:100vw;
        height: auto;
    
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    
        background-image: url(../imagens/image.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    header div{
        width: 100%;
        height: min-content;
    
        display: flex;
        flex-direction: row;
    }
    
    #logo-megadan{
        width: 20%;
        height: max-content;
    }
    
    #barra-de-navegacao{
        width: 25%;
        height: auto;
        margin-top: 10px;
        margin-right: 10px;
    }
    
    #barra-de-navegacao ul{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: baseline;
        justify-content: space-between;
    }
    
    #barra-de-navegacao ul li{
        width: 100%;
        margin-top: 5px;
        text-align: right;
    }
    
    #divisao-titulos{
        flex-direction: column; 
        margin: 0 0 30px 10px; 
        width: 50%;
    }
    
    /*ABAIXO, AS CLASSES DA SESSÃO SOBRE NÓS.*/
    
    #sobre-nos{
        width: 100vw;
        height: auto;
        margin: 20px auto 0 auto;
    
        display: flex;
        flex-direction: column;
    }
    
    #div-pai{
        display: flex; 
        flex-direction: column; 
        margin-top: 20px; 
        justify-content: space-between;
    }
    
    .div-filha{
        width: 90vw;
        height: auto;
        padding: 0 5vw 0 5vw;
    
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .div-filha img{
        max-width: 90%;
        margin: 15px 5% 15px 5%;
    }
    
    /*ABAIXO, AS CLASSES DA SESSÃO CATÁLOGOS.*/
    
    #sessao-catalogo{
        justify-content: space-between;
    }
    
    #secao-filho-catalogo{
        width: 90vw;
        height: auto;
        margin: 25px 0px 0px 0px;
        padding: 0px 5vw 0px 5vw;
    
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .imagem-catalogo{
        width: 20vw;
        height: auto;
    }
    
    /*ABAIXO, AS CLASSES DA SESSÃO TRABALHE CONOSCO.*/

    #subsecao-trabalhe-conosco{
        width: 80vw;
        height: 330px;
        margin: 25px 10vw auto 10vw;
    
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    
    #subsecao-trabalhe-conosco img{
        display: none;
    }
        
    #formulario-trabalhe-conosco img{
        display: block;
        width: 40%;
        height: max-content;
    }    
    
    #formulario-trabalhe-conosco{
        display: flex;
        flex-direction: column;
    }
    
    #formulario-trabalhe-conosco input{
        width: 270px;
        height: 40px;
        margin-top: 15px;
        padding: 0 15px 0 15px;
    
        background-color: #3976CF;
        border: none;
        
        border-radius: 40px;
    
        font-family: "Inter", sans-serif;
        font-size: 17px;
        text-shadow: 0px 2px rgba(96, 96, 96, 0.5);
        color: rgb(255, 255, 255);
    }
    
    #formulario-trabalhe-conosco input[type="submit"]{
        width: 115px;
        height: 40px;
        margin-top: 15px;
    
        background-color: #3976CF;
        border: none;
        border-radius: 0%;
    
        font-family: "Inter", sans-serif;
        text-align: center;
        font-size: 17px;
        text-shadow: 0px 2px rgba(96, 96, 96, 0.5);
        color: rgb(255, 255, 255);
    }
    
    input:focus{
        outline: none;
    }
    
    ::placeholder{
        font-family: "Inter", sans-serif;
        font-size: 17px;
        text-shadow: 0px 2px rgba(96, 96, 96, 0.5);
        color: rgb(255, 255, 255);
    }
    
    #formulario-trabalhe-conosco div{
        margin: 15px 0;
    
        display: flex; 
        flex-direction: row; 
        align-items: center;
    }
    
    #formulario-trabalhe-conosco div button{
        width: 60px;
        height: 60px;
    
        background-color: #3976CF;
    
        border: none;
        border-radius: 18px;
    
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    #formulario-trabalhe-conosco div p{
        margin-left: 15px;
    
        font-family: "Inter", sans-serif;
        font-size: 17px;
        text-shadow: 0px 2px rgba(96, 96, 96, 0.5);
        color: #606060;
    }
    
    /*ABAIXO, AS CLASSES DA SESSÃO TESTEMUNHOS.*/
    
    #testemunhos{
        height: auto;
    
        display: none;
        flex-direction: column;
    
    }
    
    .divisao-imagem-titulos{
        display: flex; 
        flex-direction: row; margin: 15px 15px 15px 0;
    }
    
    #testemunhos img{
        margin: 10px 10px 10px 0;
    }
    
    #testemunho-mae{
        display: flex; 
        flex-direction: row;
        margin: 15px 70px;
    }
    
    .testemunho-filho{
        width: 300px;
        margin: auto 15px;
        height: auto;
    }
    
    footer{
        width: 100%;
        height: 30px;
        background-color: #3976CF;
    
        display: flex;
        justify-content: center;
        align-items: center;
    }/*Rodapé*/
    
    footer p{
        font-family: "Inter", sans-serif;
        color: #fff;
    }/*Parágrafo do rodapé*/
        
    #overlay {
        display: none; /* Inicialmente oculto */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7); /* Fundo escuro semi-transparente */
        z-index: 1000; /* Garante que fique acima de tudo */
    }
    
    /* Estilo para o loading spinner */
    #loading-spinner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 8px solid #f3f3f3; /* Cor do spinner */
        border-top: 8px solid #3498db; /* Cor do spinner */
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: spin 1s linear infinite; /* Animação de rotação */
    }
    
    /* Animação do spinner */
    @keyframes spin {
        0% { transform: translate(-50%, -50%) rotate(0deg); }
        100% { transform: translate(-50%, -50%) rotate(360deg); }
    }
}