/* ESTILOS GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'B612 Mono', monospace, sans-serif;
    background-color: #000;
    height: 100vh;
}

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

.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

/* HEADER */

header {
    padding: 15px 15% 1% 5%;
    border-bottom: 1px solid #8BFFFF;
    position: fixed;
    z-index: 200;
    background-color: #000;
    width: 100%;

}

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

header a {
    color: #EBEBEB;
    text-decoration: none;
}

header nav.menu_desktop a:hover {
    color: #8bffff;
}

header button {
    color: #fff;
    background-color: #000;
    padding: 5px 10px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

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

header nav.menu_desktop ul li {
    display: inline-block;
    padding: 0 15px;
}

/* Estilo menu MOBILE */
.btn_abrir_menu i{
    color: #8bffff;
    font-size: 2rem;
    position: absolute;
    right: 15px;
    top: 10px;
}

.menu_mobile{
    background-color: rgb(62, 62, 62);
    height: 100vh;
    position: fixed;
    top: 10px;
    right: 0;
    z-index: 99999;

    width: 0%;
    overflow: hidden;
    transition: .5s;
}

.menu_mobile.abrir_menu{
    width: 50%;
}

.menu_mobile.abrir_menu ~ .overlay_menu_mob{
    display: block;
}

.btn_abrir_menu{
    display: none;
}

.menu_mobile .btn_fechar{
    color: #8bffff;
    font-size: 30px;
}

.btn_fechar{
    padding: 20px 5%;
}

.menu_mobile nav ul{
    text-align: right;
    display: grid;
    grid-gap: 40px 8%; /* Espaçamento entre os itens */
}

.menu_mobile nav ul li a{
color: #fff;
font-size: 25px;
font-weight: 300;
display: block;
padding: 0 8% ;
align-items: center;}

.menu_mobile nav ul li a:hover{
color: #8bffff;
}

.overlay_menu_mob{
background-color: #575454;
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 9999999;
display: none;
}


/* ESTILO DO TOPO DO SITE */

section.topo_do_site {
    padding: 90px 4%;
}

section.topo_do_site .flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 200px;
}

.topo_do_site h1 {
    color: #fff;
    font-size: 40px;
    line-height: 40px;
}

.topo_do_site .txt_topo_site h1 span {
    font-size: 40px;
    color: #8bffff;
}

.topo_do_site .txt_topo_site p {
    color: #fff;
    margin: 30px 0;
    font-size: 22px;
}

.flex .btn_cv button {
    color: #000;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border: 0;
    border-radius: 30px;
    background: linear-gradient(95deg, #8BFFFF 13.3%, rgba(139, 255, 255, 0.81) 63.3%, rgba(139, 255, 255, 0.74) 96.06%);
    cursor: pointer;
    transition: .5s;
}

.btn_cv button:hover {
    transform: scale(1.05);
}


.topo_do_site .img_topo_site img {
    cursor: pointer;
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
}

@keyframes flutuar {
    0% {
        top: 0;
    }

    100% {
        top: 30px;
    }
}

/* Tecnologias */
section.tecnologias {
    padding: 40px 4%;
    background-color: #000;
    display: flex;
}

.icons {
    display: flex;
    align-items:center;
    justify-content: center;
    padding: 60px;
    display: flex;

    font-size: 3rem;
    color: #8BFFFF;

    flex-wrap: wrap;
    gap: 40px;
}

.icons>span {
    background: #000000;
    margin-right: 50px;
    /* Ajusta o espaçamento entre os ícones */
    border-top: 1px solid #8bffff;
    box-shadow: 2px 4px 4px 2px #4f6f6f;

    padding: 25px;
    border-radius: 20px 20px 0px 20px;
    width: 150px;
    height: 110px;
    text-align: center;
    flex-wrap: wrap;
}

.icons>span:hover {
    transform: scale(1.05);
}

.icons>span p {
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 5px;
}


/* Sobre */
section.sobre {
    padding: 100px 4%;
    background-color: #000;
    width: 100%;
}

section.sobre .flex {
    align-items: center;
    gap: 80px;
}


.sobre .txt_sobre h2 {
    color: #fff;
    font-size: 34px;
    margin-bottom: 30px;
}

.sobre .txt_sobre p {
    color: #fff;
    margin: 10px 0;
    text-align: justify;
}

.img_sobre{
    cursor: pointer;
}

/* Projetos */
section.projetos {
    padding: 80px 4%;
    background-color: #000;

    box-shadow: 0 0 40px 10px #6dcbcb;
}

.projetos h2 {
    color: #fff;
    font-size: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

section.projetos .flex {
    justify-content: space-around;
}

.img_proj {
    width: 330px;
    height: 430px;
    border-radius: 30px;
    cursor: pointer;
    background-size: cover;
    background-position: 100% 0%;
    transition: 5s;
    position: relative;
}

.img_proj:hover {
    background-position: 100% 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(54, 54, 54, 0.346);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 3px 2px #0172B7;
    opacity: 1;
}

.overlay:hover {
    transition: .5s;
    opacity: 0;
}

/* Container da barra de loading */
.loading-container {
    width: 80%;
    max-width: 600px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Barra de loading */
.loading-bar {
    width: 0;
    height: 100%;
    background-color: #3498db;
    border-radius: 6px;
    animation: loading 4s infinite;
}

/* Animação da barra de loading */
@keyframes loading {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

/* Contatos */
section.contatos {
    padding: 100px 4%;
    background-color: #000;
    width: 100%;
    height: 80vh;
}

section .interface h2 {
    color: #fff;
    font-size: 32px;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

section.contatos .flex {
    justify-content: center;
    align-items: center;
}

section .btn_contatos button {
    background: #000000;
    cursor: pointer;
    justify-content: center;
    text-align: center;
    margin-right: 50px;
    padding: 25px;
    border-radius: 50%;
    box-shadow: 4px 2px 4px 2px #8bffff;

    width: 110px;
    height: 110px;
    transition: 0.2s;
}

.btn_contatos button:hover {
    box-shadow: -4px -4px 10px 2px #64afaf;
    transform: scale(.9);
}

.btn_contatos p {
    color: #fff;
}

.btn_contatos i {
    align-items: center;
    padding: 12px;
    display: flex;

    font-size: 2rem;
    color: #8BFFFF;
}

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

    /* Classes gerais */
    .flex {
        flex-direction: column;
    }

    .topo_do_site .flex {
        flex-direction: column-reverse;

    }

    /* Header */
    .menu_desktop {
        display: none;
    }

    .btn_abrir_menu{
        display: block;
    }
    

    header nav ul li {
        padding: 10 20px;
    }
    /* Topo do site */
    section.topo_do_site .flex {
        gap: 40px;
    }

    section.topo_do_site {
        padding: 70px 8%;
    }

    .topo_do_site h1 {
        font-size: 30px;
    }

    .topo_do_site .txt_topo_site h1 span {
        font-size: 35px;
        color: #8bffff;
    }

    .topo_do_site .img_topo_site img {
        width: 100%;
        cursor: pointer;
        position: relative;
        animation: flutuar 2s ease-in-out infinite alternate;
    }

    /* Tecnologias */
    section.tecnologias {
        padding: 30px 8%;
        justify-content: center;
    }

    .icons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        flex-direction: column;
        padding: 15px;
        margin-left: 20px;
    }
    
    .icons>span {
        margin: 10px;
    }
    /* Sobre */
    section.sobre {
        padding: 50px 8%;
    }
    
    section.sobre .flex {
        flex-direction: column-reverse;
        gap: 80px;
    }
    
    .sobre .txt_sobre p {
        margin: 25px 0;
    }

    /* Projetos */
    section.projetos {
        padding: 80px 8%;
    }

    .img_proj {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    section.projetos .flex {
        gap: 20px;
    }

    /* Contatos */

 section.contatos {
    padding: 80px 4%;
}

section .interface h2 {
    margin-bottom: 40px;
}

section.contatos .flex {
    margin-left: 7.5%;
}

section .btn_contatos button{
    margin: 10px 0px 20px 25px;
}
    
}