/*-- ------------------------------------------------------------------------ --*/
/*@HD: ### Fonte Google  ### */
/*-- ------------------------------------------------------------------------ --*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/*-- ------------------------------------------------------------------------ --*/
/*@HD: ### Definicoes Gerais - Root  ### */
/*-- ------------------------------------------------------------------------ --*/

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    text-decoration: none;
}

:root{
    --text-color: #f5f5f5;
    --hover-color: #12f7ff;
    --bg-color: #0f062e;
    --secon-bg-color: #292e33;
    --big-font: 2.5rem;
    --normal-font: 2rem;
    --neon-box-shadow:0 0 .5rem #12f7ff;
    --h2-font: 3rem;
    --font-neon-text-shadow:
        0 0 10px rgba(18, 247, 255, 0.3),
        0 0 20px rgba(18, 247, 255, 0.3),
        0 0 30px rgba(18, 247, 255, 0.3),
        0 0 40px rgba(18, 247, 255, 0.3),
        0 0 70px rgba(18, 247, 255, 0.3),
        0 0 80px rgba(18, 247, 255, 0.3),
        0 0 100px rgba(18, 247, 255, 0.3),
        0 0 150px rgba(18, 247, 255, 0.3);
}

::-webkit-scrollbar{
    height: 10px;
    width: .5rem;
}

::-webkit-scrollbar-track{
    background: var(--secon-bg-color);
}

::-webkit-scrollbar-thumb{
    background: var(--hover-color);
    border-radius: 5rem;
}


/* ------------------------------------------------------------------------ */
/* @HD: ### Estruturas ### */ 
/* ------------------------------------------------------------------------ */

/* Corpo */
body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 100%;
}

/* Cabeçalho */
header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 10%;
}

/* Cabeçalho Fixo */
header.sticky{
    background: var(--bg-color);
    border-bottom: 1px solid var(--secon-bg-color);
    padding: 12px 10%;
}

/* Sessao */
section{
    padding: 100px 10%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* ------------------------------------------------------------------------ */
/* @HD: ### Footer ### */
/* ------------------------------------------------------------------------ */
footer{
    padding: 1.5rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer p{
    color: #bdbdbd;
}

footer a{
    display: inline-flex;
    justify-content: center;
    color: var(--text-color);
    background: var(--hover-color);
    padding: .6rem;
    border-radius: 5px;
}

footer a i{
    font-size: 1rem;
    color: var(--secon-bg-color);
}

/* ------------------------------------------------------------------------ */
/* @HD: 
/* ------------------------------------------------------------------------ */

.textoPADRAO {
    width: 100%;
    text-align: center;
    color: var(--hover-color);
}

.textoPADRAO h2{
    font-weight: 700;
    font-size: var(--normal-font);
}

.textoPADRAO span{
    color: #fdfdfd;
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/*-- ------------------------------------------------------------------------ --*/
/*@HD: ### Barra de Navegaca  ### */
/*-- ------------------------------------------------------------------------ --*/

/* Logo - Fonte / Tamanho / Espcamento */
.logo {
    display: flex;
    width: 160px;
    height: 60px;
    
}



/* Menus - Responsivo */
.navlist{
    display: flex;
}

/* Menus - Cor / Tamanho / Espacamento */ 
.navlist a{
    display: inline-block;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 20px;
    animation: slideAnimation 1s ease forwards;
    animation-delay: calc(.3s * var(--i));
    opacity: 0;
}

 /* Menus - Cor de Fundo */ 
.navlist a:hover{
    color: var(--hover-color);
    text-shadow:
        0 0 10px rgba(18, 247, 255, 0.6),
        0 0 20px rgba(18, 247, 255, 0.6),
        0 0 30px rgba(18, 247, 255, 0.6),
        0 0 40px rgba(18, 247, 255, 0.6),
        0 0 70px rgba(18, 247, 255, 0.6),
        0 0 80px rgba(18, 247, 255, 0.6),
        0 0 100px rgba(18, 247, 255, 0.6),
        0 0 150px rgba(18, 247, 255, 0.6);;
}

.navlist a.active{
    color: var(--hover-color);
}

/* ------------------------------------------------------------------------ */
/* @HD: ### IconeMenu  ### */ 
/* ------------------------------------------------------------------------ */
#menu-icon{
    font-size: 1.5rem;
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    background-color: var(--hover-color);
    border-radius: 3px;
    color: var(--secon-bg-color);
    display: none;
}
/* ------------------------------------------------------------------------ */




/* ------------------------------------------------------------------------ */
/* @HD: ### Botoes ### */ 
/* ------------------------------------------------------------------------ */

/* @HD: ### Botao Galeria ### */ 
.btn-box{
    margin: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;

}

/* @HD: ### Botao Galeria ### */
.btn-box .btn{
    padding: 2px 4px;
    cursor: pointer;

    background: var(--hover-color);
    color: var(--bg-color);
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: .6s;
    box-shadow: var(--neon-box-shadow);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--hover-color)
    

}

/* @HD: ### Botao Galeria ### */
.btn:hover{
    color: var(--hover-color);
}

/* @HD: ### Botao Galeria ### */
.btn::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-color);
    width: 0;
    height: 100%;
    z-index: -1;
    transition: .4s;
}

/* @HD: ### Botao Galeria ### */
.btn:hover::before{
    width: 100%;
}


.btn:nth-child(2){
    background: var(--bg-color);
    color: var(--hover-color);
}
.btn:nth-child(2):hover{
    color: var(--bg-color);
}
.btn:nth-child(2)::before{
    background: var(--hover-color);
}




/* ------------------------------------------------------------------------ */
/* @HD: ### Icones Sociais ### */ 
/* ------------------------------------------------------------------------ */
.social-icons{
    margin: 10px;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.container-social-icons{

    justify-content: center;
    align-items: center;    
}

.social-icons a{
    display: inline-flex;
    width: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    /*background: var(--bg-color);*/
    color: var(--hover-color);
    border: 2px solid var(--hover-color);
    transition: .6s;
    box-shadow: 0 0 0.3rem #12f7ff;
    border-radius: 6px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.social-icons a i{
    font-size: 1.5rem;
}

.social-icons a:hover{
    color: var(--bg-color);
}

.social-icons a::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--hover-color);
    transition: .6s;
    z-index: -1;
}

.social-icons a:hover::before{
    width: 100%;
}


/* ------------------------------------------------------------------------ */
/* @HD: ### SESSAO - home/Home ### */ 
/* ------------------------------------------------------------------------ */
.inicio{
    min-height: 110vh; /*Espacamento da Sessao */
    margin-top: 2rem;    
}



/* ------------------------------------------------------------------------ */
/* @HD: ### sessao1 ### */
/* ------------------------------------------------------------------------ */
.sessao1{
    min-height: 110vh;
    margin-top: 2rem;
    background: var(--secon-bg-color);
}



/* ------------------------------------------------------------------------ */
/* @HD: ### sessao2  ### */
/* ------------------------------------------------------------------------ */

/* Define o estilo da seção de habilidades */
.sessao2{
    min-height: 110vh;
    margin-top: 2rem;
}


/* ------------------------------------------------------------------------ */
/* @HD: ### sessao3 ### */
/* ------------------------------------------------------------------------ */
.sessao3{
    min-height: 110vh;
    margin-top: 2rem;
    background: var(--secon-bg-color);
}


/* ------------------------------------------------------------------------ */
/* @HD: ### Footer ### */
/* ------------------------------------------------------------------------ */

/*Ajustas os componentes no Rodape (Midias/Copyright/btnback)*/
.footer-container {
    display: flex;
    justify-content: space-between; /* Itens justificados */
    align-items: center; /* Itens centralizados verticalmente */
}


.footer-copyright{
    text-align: left;
}

/*Aumenta o Iconeda Seta*/
.bx-up-arrow-alt{
    font-size: 1.3rem; 
}

/* ------------------------------------------------------------------------ */
/* @HD: ### ### Parallax - Efeito Texto (Texto/Botaoes/ScrollPagina)  ### */
/* ------------------------------------------------------------------------ */

.scroll-scale{
    opacity: 0;
    transform: scale(.9);
    transition: all 2s;
}

.scroll-bottom{
    opacity: 0;
    transform: translateY(300px);
    transition: 3s;
}

.scroll-top{
    opacity: 0;
    transform: translateY(-300px);
    transition: 3s;
}

.show-items{
    opacity: 1;
    transform: translateX(0);
}

/* ------------------------------------------------------------------------ */
/* @HD: ### keyframes - Animacoes (Mexer aqui some o menu) ### */
/* ------------------------------------------------------------------------ */

@keyframes morph{
    0%,
    100%{
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    }
    30%{
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }
    60%{
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
    80%{
        border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
    }
}




@keyframes html{
    0%{width: 0;}
    100%{width: 72%;}
}


@keyframes javascript{
    0%{width: 0;}
    100%{width: 80%;}
}

@keyframes css{
    0%{width: 0;}
    100%{width: 62%;}
}


@keyframes glow{
    0%{
        background: var(--bg-color);
        box-shadow: none;
    }
    100%{
        background: var(--hover-color);
        box-shadow: var(--neon-box-shadow);
    }
}

@keyframes slideAnimation{
    0%{
        opacity: 0;
        transform: translateY(100px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}


@media(max-width:1000px){
    header,
    header.sticky {padding: 15px 5%;} /* Use ponto e vírgula para separar os valores */
    
    .form {
        flex-direction: column;
    }
    
    
    
    footer {padding: 15px 5%;}
    
    
    

}


/* ------------------------------------------------------------------------ */
/* @HD: ### 768 ### */
/* ------------------------------------------------------------------------ */

@media(max-width:768px){

    #menu-icon{
        display: block;
        transition: all .4s ease;
    }

    #menu-icon.bx-x{
        transform: rotate(-360deg);
    }
    
    .logo {
        display: flex;
        width: 80px;
        height: 30px;
    }

    .navlist{
        display: flex;
        position: absolute;
        top: -1000px;
        right: 0;
        left: 0;
        flex-direction: column;
        background: var(--bg-color);
        text-align: left;
        padding: 0 5%;
        transition: all .45s ease;
    }
    .navlist a{
        display: block;
        padding-bottom: 1rem;
        font-size: 1rem;

    }
    .navlist.open{
        top: 100%;
    }
    
    .form {
        flex-direction: column;
    }

    
    footer p{
        font-size: .8rem;
    }

    
}



/* ------------------------------------------------------------------------ */
/* @HD: ### 420 ### */
/* ------------------------------------------------------------------------ */
@media(max-width:420px){
    html{font-size: 80%;}
    
    .form {
        flex-direction: column;
    }
    
    footer p{font-size: .6rem;}
    .fillter-buttons .button{font-size: .8rem;}
   

}








/* ------------------------------------------------------------------------ */
/* @HD: ### Spinner - Icone de Carregamento ### */
/* ------------------------------------------------------------------------ */
.spinner {
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-left-color: #22a6b3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2; /* Certifique-se de que o ícone de carregamento esteja acima do botão */
}

.container-spinner .spinner {
    display: inline-block;
    width: 45px;
    height: 45px;
    background-color: transparent;
    position: relative;
    margin-right: 120px; /* Alinha a imagem à esquerda */
}


@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ------------------------------------------------------------------------ */
/*  @HD: ### API`s ### */
/* ------------------------------------------------------------------------ */

form {
    margin: 20px 0;
}

label {
    font-weight: bold;
}

input {
    width: 200px;
    padding: 5px;
}


#cepResult {
    /*background-color: white;*/
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
}

#cepResult h2 {
    font-size: 1.5rem;
    margin-top: 0;
}

#cepResult p {
    margin: 0;
}


.container-cepresultado {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 2rem;
}

.body-json{
    display: block; 
    overflow-x: auto; 
    padding: 0.5em; 
    background: rgb(51, 51, 51); 
    color: white;
    white-space: pre;
}


.container-caixa-maior {
    cursor: pointer;
    width: 100%; /* Largura total da tela */
    overflow-x: auto; /* Habilita a rolagem horizontal */
}

.caixa-maior {
    min-width: 1000px; /* Define a largura mínima */
    width: auto; /* Permite que a largura seja ajustada automaticamente se o conteúdo for maior que 400px */
    background-color: #000000;
    opacity: 0.8;
    padding: 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.climaResult{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.form{
    display: flex;
    align-items: center;
    justify-content: center;
    

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}

.hidden {
    display: none;
}

.container-botoes-api{
    display: flex;
    align-items: center;
    justify-content: center;
    

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}
